Overview
Max Total Supply
62,722.768300507184820255 GEMINI BTC
Holders
21
Transfers
-
0
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xE9c84d61...68efE5473 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
GlobalConfigProxy
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
istanbul EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0
/*
This file is part of the Enzyme Protocol.
(c) Enzyme Council <[email protected]>
For the full license information, please view the LICENSE
file that was distributed with this source code.
*/
pragma solidity 0.6.12;
import "./utils/GlobalConfigProxyConstants.sol";
import "./utils/ProxiableGlobalConfigLib.sol";
/// @title GlobalConfigProxy Contract
/// @author Enzyme Council <[email protected]>
/// @notice A proxy contract for global configuration, slightly modified from EIP-1822
/// @dev Adapted from the recommended implementation of a Proxy in EIP-1822, updated for solc 0.6.12,
/// and using the EIP-1967 storage slot for the proxiable implementation.
/// See: https://eips.ethereum.org/EIPS/eip-1822
/// See: https://eips.ethereum.org/EIPS/eip-1967
contract GlobalConfigProxy is GlobalConfigProxyConstants {
constructor(bytes memory _constructData, address _globalConfigLib) public {
// Validate constants
require(
EIP_1822_PROXIABLE_UUID == bytes32(keccak256("mln.proxiable.globalConfigLib")),
"constructor: Invalid EIP_1822_PROXIABLE_UUID"
);
require(
EIP_1967_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1),
"constructor: Invalid EIP_1967_SLOT"
);
require(
ProxiableGlobalConfigLib(_globalConfigLib).proxiableUUID() == EIP_1822_PROXIABLE_UUID,
"constructor: _globalConfigLib not compatible"
);
assembly {
sstore(EIP_1967_SLOT, _globalConfigLib)
}
(bool success, bytes memory returnData) = _globalConfigLib.delegatecall(_constructData);
require(success, string(returnData));
}
fallback() external payable {
assembly {
let contractLogic := sload(EIP_1967_SLOT)
calldatacopy(0x0, 0x0, calldatasize())
let success := delegatecall(sub(gas(), 10000), contractLogic, 0x0, calldatasize(), 0, 0)
let retSz := returndatasize()
returndatacopy(0, 0, retSz)
switch success
case 0 { revert(0, retSz) }
default { return(0, retSz) }
}
}
}// SPDX-License-Identifier: GPL-3.0
/*
This file is part of the Enzyme Protocol.
(c) Enzyme Council <[email protected]>
For the full license information, please view the LICENSE
file that was distributed with this source code.
*/
pragma solidity 0.6.12;
/// @title GlobalConfigProxyConstants Contract
/// @author Enzyme Council <[email protected]>
/// @notice Constant values used in GlobalConfig proxy-related contracts
abstract contract GlobalConfigProxyConstants {
// `bytes32(keccak256('mln.proxiable.globalConfigLib'))`
bytes32 internal constant EIP_1822_PROXIABLE_UUID =
0xf25d88d51901d7fabc9924b03f4c2fe4300e6fe1aae4b5134c0a90b68cd8e81c;
// `bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)`
bytes32 internal constant EIP_1967_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
}// SPDX-License-Identifier: GPL-3.0
/*
This file is part of the Enzyme Protocol.
(c) Enzyme Council <[email protected]>
For the full license information, please view the LICENSE
file that was distributed with this source code.
*/
pragma solidity 0.6.12;
import "./GlobalConfigProxyConstants.sol";
/// @title ProxiableGlobalConfigLib Contract
/// @author Enzyme Council <[email protected]>
/// @notice A contract that defines the upgrade behavior for GlobalConfigLib instances
/// @dev The recommended implementation of the target of a proxy according to EIP-1822 and EIP-1967
/// See: https://eips.ethereum.org/EIPS/eip-1822
/// See: https://eips.ethereum.org/EIPS/eip-1967
abstract contract ProxiableGlobalConfigLib is GlobalConfigProxyConstants {
/// @dev Updates the target of the proxy to be the contract at _nextGlobalConfigLib
function __updateCodeAddress(address _nextGlobalConfigLib) internal {
require(
ProxiableGlobalConfigLib(_nextGlobalConfigLib).proxiableUUID() == bytes32(EIP_1822_PROXIABLE_UUID),
"__updateCodeAddress: _nextGlobalConfigLib not compatible"
);
assembly {
sstore(EIP_1967_SLOT, _nextGlobalConfigLib)
}
}
/// @notice Returns a unique bytes32 hash for GlobalConfigLib instances
/// @return uuid_ The bytes32 hash representing the UUID
function proxiableUUID() public pure returns (bytes32 uuid_) {
return EIP_1822_PROXIABLE_UUID;
}
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-solc-0.6/contracts/",
"@uniswap/v3-core/=lib/uniswap-v3-core/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-solc-0.6/=lib/openzeppelin-solc-0.6/contracts/",
"openzeppelin-solc-0.7/=lib/openzeppelin-solc-0.7/contracts/",
"openzeppelin-solc-0.8/=lib/openzeppelin-solc-0.8/contracts/",
"uniswap-v3-core/=lib/uniswap-v3-core/",
"uniswap-v3-core-0.8/=lib/uniswap-v3-core-0.8/",
"uniswap-v3-periphery/=lib/uniswap-v3-periphery/contracts/",
"uniswap-v3-periphery-0.8/=lib/uniswap-v3-periphery-0.8/contracts/"
],
"optimizer": {
"enabled": true,
"runs": 200,
"details": {
"yul": false
}
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "none"
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "istanbul",
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"bytes","name":"_constructData","type":"bytes"},{"internalType":"address","name":"_globalConfigLib","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]Contract Creation Code
0x608060405234801561001057600080fd5b506040516103983803806103988339818101604052604081101561003357600080fd5b810190808051604051939291908464010000000082111561005357600080fd5b90830190602082018581111561006857600080fd5b825164010000000081118282018810171561008257600080fd5b82525081516020918201929091019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b5060408181526020928301516352d1902d60e01b835290519094506001600160a01b03851693506352d1902d92600480840193919291829003018186803b15801561012657600080fd5b505afa15801561013a573d6000803e3d6000fd5b505050506040513d602081101561015057600080fd5b50517f027b9570e9fedc1a80b937ae9a06861e5faef3992491af30b684a64b3fbec7a5146101af5760405162461bcd60e51b81526004018080602001828103825260258152602001806103736025913960400191505060405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5560006060826001600160a01b0316846040518082805190602001908083835b602083106102105780518252601f1990920191602091820191016101f1565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610270576040519150601f19603f3d011682016040523d82523d6000602084013e610275565b606091505b50915091508181906103055760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156102ca5781810151838201526020016102b2565b50505050905090810190601f1680156102f75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050605b806103186000396000f3fe60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc543660008037600080366000846127105a03f43d806000803e818015604957816000f35b816000fdfea164736f6c634300060c000a636f6e7374727563746f723a205f7661756c744c6962206e6f7420636f6d70617469626c650000000000000000000000000000000000000000000000000000000000000040000000000000000000000000e1a147b3fb8a7be78bf3a061f176bc718d89769500000000000000000000000000000000000000000000000000000000000000a45c9a6d37000000000000000000000000fdca78134c7ee4bc24df00691bb1f34e494a04f00000000000000000000000009e063cc5291a1f63bf4e62eb32b8b71a4551c6cf00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000011415243204d562047656d696e692042544300000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc543660008037600080366000846127105a03f43d806000803e818015604957816000f35b816000fdfea164736f6c634300060c000a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.
Add Token to MetaMask (Web3)