ERC-20
mStable
Overview
Max Total Supply
1.053512586627611548 mBTC
Holders
68 (0.00%)
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AssetProxy
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-12 */ pragma solidity 0.8.0; // SPDX-License-Identifier: MIT /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to * be specified by overriding the virtual {_implementation} function. * * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a * different contract through the {_delegate} function. * * The success and return data of the delegated call will be returned back to the caller of the proxy. */ abstract contract Proxy { /** * @dev Delegates the current call to `implementation`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _delegate(address implementation) internal { // solhint-disable-next-line no-inline-assembly assembly { // Copy msg.data. We take full control of memory in this inline assembly // block because it will not return to Solidity code. We overwrite the // Solidity scratch pad at memory position 0. calldatacopy(0, 0, calldatasize()) // Call the implementation. // out and outsize are 0 because we don't know the size yet. let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) // Copy the returned data. returndatacopy(0, 0, returndatasize()) switch result // delegatecall returns 0 on error. case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } /** * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function * and {_fallback} should delegate. */ function _implementation() internal virtual view returns (address); /** * @dev Delegates the current call to the address returned by `_implementation()`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _fallback() internal { _beforeFallback(); _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other * function in the contract matches the call data. */ fallback () external payable { _fallback(); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive () external payable { _fallback(); } /** * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback` * call, or as part of the Solidity `fallback` or `receive` functions. * * If overriden should call `super._beforeFallback()`. */ function _beforeFallback() internal virtual { } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an * implementation address that can be changed. This address is stored in storage in the location specified by * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the * implementation behind the proxy. * * Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see * {TransparentUpgradeableProxy}. */ contract UpgradeableProxy is Proxy { /** * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`. * * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded * function call, and allows initializating the storage of the proxy like a Solidity constructor. */ constructor(address _logic, bytes memory _data) payable { assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1)); _setImplementation(_logic); if(_data.length > 0) { // solhint-disable-next-line avoid-low-level-calls (bool success,) = _logic.delegatecall(_data); require(success); } } /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Returns the current implementation address. */ function _implementation() internal override view returns (address impl) { bytes32 slot = _IMPLEMENTATION_SLOT; // solhint-disable-next-line no-inline-assembly assembly { impl := sload(slot) } } /** * @dev Upgrades the proxy to a new implementation. * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(Address.isContract(newImplementation), "UpgradeableProxy: new implementation is not a contract"); bytes32 slot = _IMPLEMENTATION_SLOT; // solhint-disable-next-line no-inline-assembly assembly { sstore(slot, newImplementation) } } } contract TransparentUpgradeableProxy is UpgradeableProxy { /** * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and * optionally initialized with `_data` as explained in {UpgradeableProxy-constructor}. */ constructor(address _logic, address admin_, bytes memory _data) payable UpgradeableProxy(_logic, _data) { assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1)); _setAdmin(admin_); } /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin. */ modifier ifAdmin() { if (msg.sender == _admin()) { _; } else { _fallback(); } } /** * @dev Returns the current admin. * * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103` */ function admin() external ifAdmin returns (address admin_) { admin_ = _admin(); } /** * @dev Returns the current implementation. * * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. * * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc` */ function implementation() external ifAdmin returns (address implementation_) { implementation_ = _implementation(); } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. * * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}. */ function changeAdmin(address newAdmin) external ifAdmin { require(newAdmin != address(0), "TransparentUpgradeableProxy: new admin is the zero address"); emit AdminChanged(_admin(), newAdmin); _setAdmin(newAdmin); } /** * @dev Upgrade the implementation of the proxy. * * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}. */ function upgradeTo(address newImplementation) external ifAdmin { _upgradeTo(newImplementation); } /** * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the * proxied contract. * * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}. */ function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin { _upgradeTo(newImplementation); // solhint-disable-next-line avoid-low-level-calls (bool success,) = newImplementation.delegatecall(data); require(success); } /** * @dev Returns the current admin. */ function _admin() internal view returns (address adm) { bytes32 slot = _ADMIN_SLOT; // solhint-disable-next-line no-inline-assembly assembly { adm := sload(slot) } } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { bytes32 slot = _ADMIN_SLOT; // solhint-disable-next-line no-inline-assembly assembly { sstore(slot, newAdmin) } } /** * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}. */ function _beforeFallback() internal override virtual { require(msg.sender != _admin(), "TransparentUpgradeableProxy: admin cannot fallback to proxy target"); super._beforeFallback(); } } // import { InitializableAdminUpgradeabilityProxy } from "../shared/@openzeppelin-2.5/upgrades/InitializableAdminUpgradeabilityProxy.sol"; /** * @notice AssetProxy delegates calls to a Masset implementation * @dev Extending on OpenZeppelin's InitializableAdminUpgradabilityProxy * means that the proxy is upgradable through a ProxyAdmin. AssetProxy upgrades * are implemented by a DelayedProxyAdmin, which enforces a 1 week opt-out period. * All upgrades are governed through the current mStable governance. */ contract AssetProxy is TransparentUpgradeableProxy { constructor( address _logic, address admin_, bytes memory _data ) payable TransparentUpgradeableProxy(_logic, admin_, _data) {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260405162000aac38038062000aac8339810160408190526200002691620001ff565b82828282816200005860017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd62000350565b60008051602062000a8c833981519152146200008457634e487b7160e01b600052600160045260246000fd5b6200008f8262000179565b80511562000106576000826001600160a01b031682604051620000b39190620002d5565b600060405180830381855af49150503d8060008114620000f0576040519150601f19603f3d011682016040523d82523d6000602084013e620000f5565b606091505b50509050806200010457600080fd5b505b5062000136905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000350565b60008051602062000a6c833981519152146200016257634e487b7160e01b600052600160045260246000fd5b6200016d82620001ca565b505050505050620003bd565b6200018f81620001dd60201b620002f41760201c565b620001b75760405162461bcd60e51b8152600401620001ae90620002f3565b60405180910390fd5b60008051602062000a8c83398151915255565b60008051602062000a6c83398151915255565b803b15155b919050565b80516001600160a01b0381168114620001e257600080fd5b60008060006060848603121562000214578283fd5b6200021f84620001e7565b92506200022f60208501620001e7565b60408501519092506001600160401b03808211156200024c578283fd5b818601915086601f83011262000260578283fd5b815181811115620002755762000275620003a7565b604051601f8201601f1916810160200183811182821017156200029c576200029c620003a7565b604052818152838201602001891015620002b4578485fd5b620002c782602083016020870162000374565b809450505050509250925092565b60008251620002e981846020870162000374565b9190910192915050565b60208082526036908201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e746160408201527f74696f6e206973206e6f74206120636f6e747261637400000000000000000000606082015260800190565b6000828210156200036f57634e487b7160e01b81526011600452602481fd5b500390565b60005b838110156200039157818101518382015260200162000377565b83811115620003a1576000848401525b50505050565b634e487b7160e01b600052604160045260246000fd5b61069f80620003cd6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c3578063f851a440146100e35761005d565b3661005d5761005b6100f8565b005b61005b6100f8565b34801561007157600080fd5b5061005b610080366004610471565b610112565b61005b610093366004610492565b61014c565b3480156100a457600080fd5b506100ad6101f3565b6040516100ba9190610520565b60405180910390f35b3480156100cf57600080fd5b5061005b6100de366004610471565b610230565b3480156100ef57600080fd5b506100ad6102c9565b6101006102fe565b61011061010b61033f565b610364565b565b61011a610388565b6001600160a01b0316336001600160a01b031614156101415761013c816103ad565b610149565b6101496100f8565b50565b610154610388565b6001600160a01b0316336001600160a01b031614156101e657610176836103ad565b6000836001600160a01b03168383604051610192929190610510565b600060405180830381855af49150503d80600081146101cd576040519150601f19603f3d011682016040523d82523d6000602084013e6101d2565b606091505b50509050806101e057600080fd5b506101ee565b6101ee6100f8565b505050565b60006101fd610388565b6001600160a01b0316336001600160a01b031614156102255761021e61033f565b905061022d565b61022d6100f8565b90565b610238610388565b6001600160a01b0316336001600160a01b03161415610141576001600160a01b0381166102805760405162461bcd60e51b81526004016102779061054e565b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6102a9610388565b826040516102b8929190610534565b60405180910390a161013c816103ed565b60006102d3610388565b6001600160a01b0316336001600160a01b031614156102255761021e610388565b803b15155b919050565b610306610388565b6001600160a01b0316336001600160a01b031614156103375760405162461bcd60e51b815260040161027790610601565b610110610110565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610383573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6103b681610411565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b61041a816102f4565b6104365760405162461bcd60e51b8152600401610277906105ab565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b80356001600160a01b03811681146102f957600080fd5b600060208284031215610482578081fd5b61048b8261045a565b9392505050565b6000806000604084860312156104a6578182fd5b6104af8461045a565b9250602084013567ffffffffffffffff808211156104cb578384fd5b818601915086601f8301126104de578384fd5b8135818111156104ec578485fd5b8760208285010111156104fd578485fd5b6020830194508093505050509250925092565b6000828483379101908152919050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6020808252603a908201527f5472616e73706172656e745570677261646561626c6550726f78793a206e657760408201527f2061646d696e20697320746865207a65726f2061646472657373000000000000606082015260800190565b60208082526036908201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e74616040820152751d1a5bdb881a5cc81b9bdd08184818dbdb9d1c9858dd60521b606082015260800190565b60208082526042908201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60408201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606082015261195d60f21b608082015260a0019056fea2646970667358221220e4500d5aa93149b35eae3e61547d0eaada4754490a27f7f2b3eec3ef68093d3b64736f6c63430008000033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc00000000000000000000000069ad1387da6b2ab2ea4bf2bee68246bc042b587f0000000000000000000000005c8eb57b44c1c6391fc7a8a0cf44d26896f92386000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000003046bef4a8c00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000d36050b5f28126b5292b59128ed25e489a0f2f3f0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000007800000000000000000000000000000000000000000000000000b1a2bc2ec500000000000000000000000000000000000000000000000000000a688906bd8b0000000000000000000000000000000000000000000000000000000000000000000b6d537461626c652042544300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046d425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000eb4c2781e4eba804ce9a9803c67d0893436bb27d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fe18be6b3bd88a2d2a7f928d00292e7a9963cfc60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c3578063f851a440146100e35761005d565b3661005d5761005b6100f8565b005b61005b6100f8565b34801561007157600080fd5b5061005b610080366004610471565b610112565b61005b610093366004610492565b61014c565b3480156100a457600080fd5b506100ad6101f3565b6040516100ba9190610520565b60405180910390f35b3480156100cf57600080fd5b5061005b6100de366004610471565b610230565b3480156100ef57600080fd5b506100ad6102c9565b6101006102fe565b61011061010b61033f565b610364565b565b61011a610388565b6001600160a01b0316336001600160a01b031614156101415761013c816103ad565b610149565b6101496100f8565b50565b610154610388565b6001600160a01b0316336001600160a01b031614156101e657610176836103ad565b6000836001600160a01b03168383604051610192929190610510565b600060405180830381855af49150503d80600081146101cd576040519150601f19603f3d011682016040523d82523d6000602084013e6101d2565b606091505b50509050806101e057600080fd5b506101ee565b6101ee6100f8565b505050565b60006101fd610388565b6001600160a01b0316336001600160a01b031614156102255761021e61033f565b905061022d565b61022d6100f8565b90565b610238610388565b6001600160a01b0316336001600160a01b03161415610141576001600160a01b0381166102805760405162461bcd60e51b81526004016102779061054e565b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6102a9610388565b826040516102b8929190610534565b60405180910390a161013c816103ed565b60006102d3610388565b6001600160a01b0316336001600160a01b031614156102255761021e610388565b803b15155b919050565b610306610388565b6001600160a01b0316336001600160a01b031614156103375760405162461bcd60e51b815260040161027790610601565b610110610110565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610383573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6103b681610411565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b61041a816102f4565b6104365760405162461bcd60e51b8152600401610277906105ab565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b80356001600160a01b03811681146102f957600080fd5b600060208284031215610482578081fd5b61048b8261045a565b9392505050565b6000806000604084860312156104a6578182fd5b6104af8461045a565b9250602084013567ffffffffffffffff808211156104cb578384fd5b818601915086601f8301126104de578384fd5b8135818111156104ec578485fd5b8760208285010111156104fd578485fd5b6020830194508093505050509250925092565b6000828483379101908152919050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6020808252603a908201527f5472616e73706172656e745570677261646561626c6550726f78793a206e657760408201527f2061646d696e20697320746865207a65726f2061646472657373000000000000606082015260800190565b60208082526036908201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e74616040820152751d1a5bdb881a5cc81b9bdd08184818dbdb9d1c9858dd60521b606082015260800190565b60208082526042908201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60408201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606082015261195d60f21b608082015260a0019056fea2646970667358221220e4500d5aa93149b35eae3e61547d0eaada4754490a27f7f2b3eec3ef68093d3b64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000069ad1387da6b2ab2ea4bf2bee68246bc042b587f0000000000000000000000005c8eb57b44c1c6391fc7a8a0cf44d26896f92386000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000003046bef4a8c00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000d36050b5f28126b5292b59128ed25e489a0f2f3f0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000007800000000000000000000000000000000000000000000000000b1a2bc2ec500000000000000000000000000000000000000000000000000000a688906bd8b0000000000000000000000000000000000000000000000000000000000000000000b6d537461626c652042544300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046d425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000eb4c2781e4eba804ce9a9803c67d0893436bb27d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fe18be6b3bd88a2d2a7f928d00292e7a9963cfc60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _logic (address): 0x69AD1387dA6b2Ab2eA4bF2BEE68246bc042B587f
Arg [1] : admin_ (address): 0x5C8eb57b44C1c6391fC7a8A0cf44d26896f92386
Arg [2] : _data (bytes): 0x6bef4a8c00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000d36050b5f28126b5292b59128ed25e489a0f2f3f0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000007800000000000000000000000000000000000000000000000000b1a2bc2ec500000000000000000000000000000000000000000000000000000a688906bd8b0000000000000000000000000000000000000000000000000000000000000000000b6d537461626c652042544300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046d425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000eb4c2781e4eba804ce9a9803c67d0893436bb27d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fe18be6b3bd88a2d2a7f928d00292e7a9963cfc60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Encoded View---------------
29 Constructor Arguments found :
Arg [0] : 00000000000000000000000069ad1387da6b2ab2ea4bf2bee68246bc042b587f
Arg [1] : 0000000000000000000000005c8eb57b44c1c6391fc7a8a0cf44d26896f92386
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000304
Arg [4] : 6bef4a8c00000000000000000000000000000000000000000000000000000000
Arg [5] : 000000e000000000000000000000000000000000000000000000000000000000
Arg [6] : 00000120000000000000000000000000d36050b5f28126b5292b59128ed25e48
Arg [7] : 9a0f2f3f00000000000000000000000000000000000000000000000000000000
Arg [8] : 0000016000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000007800000000000000000000000000000000000000000000000000b1a2bc
Arg [10] : 2ec500000000000000000000000000000000000000000000000000000a688906
Arg [11] : bd8b000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000b6d537461626c65204254430000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 000000046d425443000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 00000003000000000000000000000000eb4c2781e4eba804ce9a9803c67d0893
Arg [17] : 436bb27d00000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [20] : 00000000000000000000000000000000fe18be6b3bd88a2d2a7f928d00292e7a
Arg [21] : 9963cfc600000000000000000000000000000000000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [24] : 000000000000000000000000000000002260fac5e5542a773aa44fbcfedf7c19
Arg [25] : 3bc2c59900000000000000000000000000000000000000000000000000000000
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
19359:220:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2877:11;:9;:11::i;:::-;19359:220;;2653:11;:9;:11::i;17107:111::-;;;;;;;;;;-1:-1:-1;17107:111:0;;;;;:::i;:::-;;:::i;17604:299::-;;;;;;:::i;:::-;;:::i;16346:131::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16693:246;;;;;;;;;;-1:-1:-1;16693:246:0;;;;;:::i;:::-;;:::i;15778:95::-;;;;;;;;;;;;;:::i;2305:105::-;2346:17;:15;:17::i;:::-;2374:28;2384:17;:15;:17::i;:::-;2374:9;:28::i;:::-;2305:105::o;17107:111::-;15234:8;:6;:8::i;:::-;-1:-1:-1;;;;;15220:22:0;:10;-1:-1:-1;;;;;15220:22:0;;15216:100;;;17181:29:::1;17192:17;17181:10;:29::i;:::-;15216:100:::0;;;15293:11;:9;:11::i;:::-;17107:111;:::o;17604:299::-;15234:8;:6;:8::i;:::-;-1:-1:-1;;;;;15220:22:0;:10;-1:-1:-1;;;;;15220:22:0;;15216:100;;;17714:29:::1;17725:17;17714:10;:29::i;:::-;17815:12;17832:17;-1:-1:-1::0;;;;;17832:30:0::1;17863:4;;17832:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17814:54;;;17887:7;17879:16;;;::::0;::::1;;15259:1;15216:100:::0;;;15293:11;:9;:11::i;:::-;17604:299;;;:::o;16346:131::-;16398:23;15234:8;:6;:8::i;:::-;-1:-1:-1;;;;;15220:22:0;:10;-1:-1:-1;;;;;15220:22:0;;15216:100;;;16452:17:::1;:15;:17::i;:::-;16434:35;;15216:100:::0;;;15293:11;:9;:11::i;:::-;16346:131;:::o;16693:246::-;15234:8;:6;:8::i;:::-;-1:-1:-1;;;;;15220:22:0;:10;-1:-1:-1;;;;;15220:22:0;;15216:100;;;-1:-1:-1;;;;;16768:22:0;::::1;16760:93;;;;-1:-1:-1::0;;;16760:93:0::1;;;;;;;:::i;:::-;;;;;;;;;16869:32;16882:8;:6;:8::i;:::-;16892;16869:32;;;;;;;:::i;:::-;;;;;;;;16912:19;16922:8;16912:9;:19::i;15778:95::-:0;15821:14;15234:8;:6;:8::i;:::-;-1:-1:-1;;;;;15220:22:0;:10;-1:-1:-1;;;;;15220:22:0;;15216:100;;;15857:8:::1;:6;:8::i;3926:422::-:0;4293:20;;4332:8;;3926:422;;;;:::o;18617:207::-;18703:8;:6;:8::i;:::-;-1:-1:-1;;;;;18689:22:0;:10;-1:-1:-1;;;;;18689:22:0;;;18681:101;;;;-1:-1:-1;;;18681:101:0;;;;;;;:::i;:::-;18793:23;:21;:23::i;13067:248::-;12917:66;13286:11;;13263:45::o;905:907::-;1297:14;1294:1;1291;1278:34;1515:1;1512;1496:14;1493:1;1477:14;1470:5;1457:60;1594:16;1591:1;1588;1573:38;1634:6;1703:38;;;;1775:16;1772:1;1765:27;1703:38;1722:16;1719:1;1712:27;17969:219;14973:66;18159:11;;18137:44::o;13442:155::-;13509:37;13528:17;13509:18;:37::i;:::-;13562:27;;-1:-1:-1;;;;;13562:27:0;;;;;;;;13442:155;:::o;18275:216::-;14973:66;18451:22;18436:48::o;13693:369::-;13775:37;13794:17;13775:18;:37::i;:::-;13767:104;;;;-1:-1:-1;;;13767:104:0;;;;;;;:::i;:::-;12917:66;14013:31;13998:57::o;14:175:1:-;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;:::-;345:41;264:128;-1:-1:-1;;;264:128:1:o;397:717::-;;;;545:2;533:9;524:7;520:23;516:32;513:2;;;566:6;558;551:22;513:2;594:31;615:9;594:31;:::i;:::-;584:41;;676:2;665:9;661:18;648:32;699:18;740:2;732:6;729:14;726:2;;;761:6;753;746:22;726:2;804:6;793:9;789:22;779:32;;849:7;842:4;838:2;834:13;830:27;820:2;;876:6;868;861:22;820:2;921;908:16;947:2;939:6;936:14;933:2;;;968:6;960;953:22;933:2;1018:7;1013:2;1004:6;1000:2;996:15;992:24;989:37;986:2;;;1044:6;1036;1029:22;986:2;1080;1076;1072:11;1062:21;;1102:6;1092:16;;;;;503:611;;;;;:::o;1119:273::-;;1302:6;1294;1289:3;1276:33;1328:16;;1353:15;;;1328:16;1266:126;-1:-1:-1;1266:126:1:o;1397:203::-;-1:-1:-1;;;;;1561:32:1;;;;1543:51;;1531:2;1516:18;;1498:102::o;1605:304::-;-1:-1:-1;;;;;1835:15:1;;;1817:34;;1887:15;;1882:2;1867:18;;1860:43;1767:2;1752:18;;1734:175::o;1914:422::-;2116:2;2098:21;;;2155:2;2135:18;;;2128:30;2194:34;2189:2;2174:18;;2167:62;2265:28;2260:2;2245:18;;2238:56;2326:3;2311:19;;2088:248::o;2341:418::-;2543:2;2525:21;;;2582:2;2562:18;;;2555:30;2621:34;2616:2;2601:18;;2594:62;-1:-1:-1;;;2687:2:1;2672:18;;2665:52;2749:3;2734:19;;2515:244::o;2764:470::-;2966:2;2948:21;;;3005:2;2985:18;;;2978:30;3044:34;3039:2;3024:18;;3017:62;3115:34;3110:2;3095:18;;3088:62;-1:-1:-1;;;3181:3:1;3166:19;;3159:33;3224:3;3209:19;;2938:296::o
Swarm Source
ipfs://e4500d5aa93149b35eae3e61547d0eaada4754490a27f7f2b3eec3ef68093d3b
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.