ETH Price: $3,378.17 (+0.80%)

Token

mBTC/HBTC Feeder Pool (fPmBTC/HBTC)
 

Overview

Max Total Supply

0.825604766852406443 fPmBTC/HBTC

Holders

15

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
mStable: Voter Proxy
Balance
0 fPmBTC/HBTC

Value
$0.00
0x10d96b1fd46ce7ce092aa905274b8ed9d4585a6e
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AssetProxy

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-03-31
*/

// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.2;


/**
 * @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 virtual {
        // 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 view virtual 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 virtual {
        _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 virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () external payable virtual {
        _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.4._
     */
    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.4._
     */
    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) {
            Address.functionDelegateCall(_logic, _data);
        }
    }

    /**
     * @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 view virtual override 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 virtual {
        _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 virtual 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 virtual 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 virtual ifAdmin {
        _upgradeTo(newImplementation);
        Address.functionDelegateCall(newImplementation, data);
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view virtual 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 virtual override {
        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

Contract ABI

[{"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"}]

608060405260405162000db538038062000db5833981016040819052620000269162000346565b82828282816200005860017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd62000475565b60008051602062000d6e833981519152146200008457634e487b7160e01b600052600160045260246000fd5b6200008f8262000130565b805115620000b057620000ae8282620001d160201b620003c41760201c565b505b50620000e0905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000475565b60008051602062000d4e833981519152146200010c57634e487b7160e01b600052600160045260246000fd5b620001248260008051602062000d4e83398151915255565b505050505050620004e2565b62000146816200020060201b620003f01760201c565b620001be5760405162461bcd60e51b815260206004820152603660248201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e746160448201527f74696f6e206973206e6f74206120636f6e74726163740000000000000000000060648201526084015b60405180910390fd5b60008051602062000d6e83398151915255565b6060620001f9838360405180606001604052806027815260200162000d8e602791396200020a565b9392505050565b803b15155b919050565b6060620002178462000200565b620002745760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401620001b5565b600080856001600160a01b03168560405162000291919062000422565b600060405180830381855af49150503d8060008114620002ce576040519150601f19603f3d011682016040523d82523d6000602084013e620002d3565b606091505b509092509050620002e6828286620002f0565b9695505050505050565b6060831562000301575081620001f9565b825115620003125782518084602001fd5b8160405162461bcd60e51b8152600401620001b5919062000440565b80516001600160a01b03811681146200020557600080fd5b6000806000606084860312156200035b578283fd5b62000366846200032e565b925062000376602085016200032e565b60408501519092506001600160401b038082111562000393578283fd5b818601915086601f830112620003a7578283fd5b815181811115620003bc57620003bc620004cc565b604051601f8201601f19908116603f01168101908382118183101715620003e757620003e7620004cc565b8160405282815289602084870101111562000400578586fd5b6200041383602083016020880162000499565b80955050505050509250925092565b600082516200043681846020870162000499565b9190910192915050565b60006020825282518060208401526200046181604085016020870162000499565b601f01601f19169190910160400192915050565b6000828210156200049457634e487b7160e01b81526011600452602481fd5b500390565b60005b83811015620004b65781810151838201526020016200049c565b83811115620004c6576000848401525b50505050565b634e487b7160e01b600052604160045260246000fd5b61085c80620004f26000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b6100803660046106c8565b610138565b61005b6100933660046106e2565b61017a565b3480156100a457600080fd5b506100ad6101ff565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e43660046106c8565b610265565b3480156100f557600080fd5b506100ad61037e565b6101066103fa565b6101366101317f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6104a1565b565b6000805160206107e0833981519152546001600160a01b0316336001600160a01b0316141561016f5761016a816104c5565b610177565b6101776100fe565b50565b6000805160206107e0833981519152546001600160a01b0316336001600160a01b031614156101f2576101ac836104c5565b6101ec8383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506103c492505050565b506101fa565b6101fa6100fe565b505050565b60006102176000805160206107e08339815191525490565b6001600160a01b0316336001600160a01b0316141561025a577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc545b9050610262565b6102626100fe565b90565b6000805160206107e0833981519152546001600160a01b0316336001600160a01b0316141561016f576001600160a01b03811661030f5760405162461bcd60e51b815260206004820152603a60248201527f5472616e73706172656e745570677261646561626c6550726f78793a206e657760448201527f2061646d696e20697320746865207a65726f206164647265737300000000000060648201526084015b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103466000805160206107e08339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a161016a816000805160206107e083398151915255565b60006103966000805160206107e08339815191525490565b6001600160a01b0316336001600160a01b0316141561025a576000805160206107e083398151915254610253565b60606103e9838360405180606001604052806027815260200161080060279139610505565b9392505050565b803b15155b919050565b6000805160206107e0833981519152546001600160a01b0316336001600160a01b0316141561049c5760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a401610306565b610136565b3660008037600080366000845af43d6000803e8080156104c0573d6000f35b3d6000fd5b6104ce816105e0565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060610510846103f0565b61056b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610306565b600080856001600160a01b0316856040516105869190610760565b600060405180830381855af49150503d80600081146105c1576040519150601f19603f3d011682016040523d82523d6000602084013e6105c6565b606091505b50915091506105d6828286610678565b9695505050505050565b6105e9816103f0565b6106545760405162461bcd60e51b815260206004820152603660248201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e74616044820152751d1a5bdb881a5cc81b9bdd08184818dbdb9d1c9858dd60521b6064820152608401610306565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b606083156106875750816103e9565b8251156106975782518084602001fd5b8160405162461bcd60e51b8152600401610306919061077c565b80356001600160a01b03811681146103f557600080fd5b6000602082840312156106d9578081fd5b6103e9826106b1565b6000806000604084860312156106f6578182fd5b6106ff846106b1565b9250602084013567ffffffffffffffff8082111561071b578384fd5b818601915086601f83011261072e578384fd5b81358181111561073c578485fd5b87602082850101111561074d578485fd5b6020830194508093505050509250925092565b600082516107728184602087016107af565b9190910192915050565b600060208252825180602084015261079b8160408501602087016107af565b601f01601f19169190910160400192915050565b60005b838110156107ca5781810151838201526020016107b2565b838111156107d9576000848401525b5050505056feb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220256d71a3bbf412c66e92f2feda363c4e126c868e314b821fa08c780ad30dde6664736f6c63430008020033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000bb128bc208c45b3dd277e001f88e1c6648060c640000000000000000000000005c8eb57b44c1c6391fc7a8a0cf44d26896f92386000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002c423fb4bd300000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000945facb997494cc2570096c74b5f66a3507330a10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000316eb71485b0ab14103307bf65a021042c6d38000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000145000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000c7d713b49da000000000000000000000000000000000000000000000000000000000000000000156d4254432f484254432046656564657220506f6f6c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000b66506d4254432f484254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000eb4c2781e4eba804ce9a9803c67d0893436bb27d000000000000000000000000fe18be6b3bd88a2d2a7f928d00292e7a9963cfc60000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b6100803660046106c8565b610138565b61005b6100933660046106e2565b61017a565b3480156100a457600080fd5b506100ad6101ff565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e43660046106c8565b610265565b3480156100f557600080fd5b506100ad61037e565b6101066103fa565b6101366101317f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6104a1565b565b6000805160206107e0833981519152546001600160a01b0316336001600160a01b0316141561016f5761016a816104c5565b610177565b6101776100fe565b50565b6000805160206107e0833981519152546001600160a01b0316336001600160a01b031614156101f2576101ac836104c5565b6101ec8383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506103c492505050565b506101fa565b6101fa6100fe565b505050565b60006102176000805160206107e08339815191525490565b6001600160a01b0316336001600160a01b0316141561025a577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc545b9050610262565b6102626100fe565b90565b6000805160206107e0833981519152546001600160a01b0316336001600160a01b0316141561016f576001600160a01b03811661030f5760405162461bcd60e51b815260206004820152603a60248201527f5472616e73706172656e745570677261646561626c6550726f78793a206e657760448201527f2061646d696e20697320746865207a65726f206164647265737300000000000060648201526084015b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103466000805160206107e08339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a161016a816000805160206107e083398151915255565b60006103966000805160206107e08339815191525490565b6001600160a01b0316336001600160a01b0316141561025a576000805160206107e083398151915254610253565b60606103e9838360405180606001604052806027815260200161080060279139610505565b9392505050565b803b15155b919050565b6000805160206107e0833981519152546001600160a01b0316336001600160a01b0316141561049c5760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a401610306565b610136565b3660008037600080366000845af43d6000803e8080156104c0573d6000f35b3d6000fd5b6104ce816105e0565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060610510846103f0565b61056b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610306565b600080856001600160a01b0316856040516105869190610760565b600060405180830381855af49150503d80600081146105c1576040519150601f19603f3d011682016040523d82523d6000602084013e6105c6565b606091505b50915091506105d6828286610678565b9695505050505050565b6105e9816103f0565b6106545760405162461bcd60e51b815260206004820152603660248201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e74616044820152751d1a5bdb881a5cc81b9bdd08184818dbdb9d1c9858dd60521b6064820152608401610306565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b606083156106875750816103e9565b8251156106975782518084602001fd5b8160405162461bcd60e51b8152600401610306919061077c565b80356001600160a01b03811681146103f557600080fd5b6000602082840312156106d9578081fd5b6103e9826106b1565b6000806000604084860312156106f6578182fd5b6106ff846106b1565b9250602084013567ffffffffffffffff8082111561071b578384fd5b818601915086601f83011261072e578384fd5b81358181111561073c578485fd5b87602082850101111561074d578485fd5b6020830194508093505050509250925092565b600082516107728184602087016107af565b9190910192915050565b600060208252825180602084015261079b8160408501602087016107af565b601f01601f19169190910160400192915050565b60005b838110156107ca5781810151838201526020016107b2565b838111156107d9576000848401525b5050505056feb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220256d71a3bbf412c66e92f2feda363c4e126c868e314b821fa08c780ad30dde6664736f6c63430008020033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000bb128bc208c45b3dd277e001f88e1c6648060c640000000000000000000000005c8eb57b44c1c6391fc7a8a0cf44d26896f92386000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002c423fb4bd300000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000945facb997494cc2570096c74b5f66a3507330a10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000316eb71485b0ab14103307bf65a021042c6d38000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000145000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000c7d713b49da000000000000000000000000000000000000000000000000000000000000000000156d4254432f484254432046656564657220506f6f6c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000b66506d4254432f484254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000eb4c2781e4eba804ce9a9803c67d0893436bb27d000000000000000000000000fe18be6b3bd88a2d2a7f928d00292e7a9963cfc60000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _logic (address): 0xBb128bc208c45b3DD277e001f88E1c6648060c64
Arg [1] : admin_ (address): 0x5C8eb57b44C1c6391fC7a8A0cf44d26896f92386
Arg [2] : _data (bytes): 0x23fb4bd300000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000945facb997494cc2570096c74b5f66a3507330a10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000316eb71485b0ab14103307bf65a021042c6d38000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000145000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000c7d713b49da000000000000000000000000000000000000000000000000000000000000000000156d4254432f484254432046656564657220506f6f6c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000b66506d4254432f484254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000eb4c2781e4eba804ce9a9803c67d0893436bb27d000000000000000000000000fe18be6b3bd88a2d2a7f928d00292e7a9963cfc60000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599

-----Encoded View---------------
27 Constructor Arguments found :
Arg [0] : 000000000000000000000000bb128bc208c45b3dd277e001f88e1c6648060c64
Arg [1] : 0000000000000000000000005c8eb57b44c1c6391fc7a8a0cf44d26896f92386
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 00000000000000000000000000000000000000000000000000000000000002c4
Arg [4] : 23fb4bd300000000000000000000000000000000000000000000000000000000
Arg [5] : 000001c000000000000000000000000000000000000000000000000000000000
Arg [6] : 00000200000000000000000000000000945facb997494cc2570096c74b5f66a3
Arg [7] : 507330a100000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000316eb71485b0ab14103307bf65a0210
Arg [11] : 42c6d38000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000024000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000014500000000000000000000000000000000000000000000000001634578
Arg [17] : 5d8a00000000000000000000000000000000000000000000000000000c7d713b
Arg [18] : 49da000000000000000000000000000000000000000000000000000000000000
Arg [19] : 000000156d4254432f484254432046656564657220506f6f6c00000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [21] : 0000000b66506d4254432f484254430000000000000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [23] : 00000003000000000000000000000000eb4c2781e4eba804ce9a9803c67d0893
Arg [24] : 436bb27d000000000000000000000000fe18be6b3bd88a2d2a7f928d00292e7a
Arg [25] : 9963cfc60000000000000000000000002260fac5e5542a773aa44fbcfedf7c19
Arg [26] : 3bc2c59900000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

19253:220:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2919:11;:9;:11::i;:::-;19253:220;;2687:11;:9;:11::i;17066:119::-;;;;;;;;;;-1:-1:-1;17066:119:0;;;;;:::i;:::-;;:::i;17570:219::-;;;;;;:::i;:::-;;:::i;16300:131::-;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1556:32:1;;;1538:51;;1526:2;1511:18;16300:131:0;;;;;;;16645:254;;;;;;;;;;-1:-1:-1;16645:254:0;;;;;:::i;:::-;;:::i;15734:95::-;;;;;;;;;;;;;:::i;2323:113::-;2372:17;:15;:17::i;:::-;2400:28;2410:17;12860:66;13237:11;;13214:45;2410:17;2400:9;:28::i;:::-;2323:113::o;17066:119::-;-1:-1:-1;;;;;;;;;;;18053:11:0;-1:-1:-1;;;;;15178:22:0;:10;-1:-1:-1;;;;;15178:22:0;;15174:100;;;17148:29:::1;17159:17;17148:10;:29::i;:::-;15174:100:::0;;;15251:11;:9;:11::i;:::-;17066:119;:::o;17570:219::-;-1:-1:-1;;;;;;;;;;;18053:11:0;-1:-1:-1;;;;;15178:22:0;:10;-1:-1:-1;;;;;15178:22:0;;15174:100;;;17688:29:::1;17699:17;17688:10;:29::i;:::-;17728:53;17757:17;17776:4;;17728:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;17728:28:0::1;::::0;-1:-1:-1;;;17728:53:0:i:1;:::-;;15174:100:::0;;;15251:11;:9;:11::i;:::-;17570:219;;;:::o;16300:131::-;16352:23;15192:8;-1:-1:-1;;;;;;;;;;;18053:11:0;;18031:44;15192:8;-1:-1:-1;;;;;15178:22:0;:10;-1:-1:-1;;;;;15178:22:0;;15174:100;;;12860:66;13237:11;16406:17:::1;16388:35;;15174:100:::0;;;15251:11;:9;:11::i;:::-;16300:131;:::o;16645:254::-;-1:-1:-1;;;;;;;;;;;18053:11:0;-1:-1:-1;;;;;15178:22:0;:10;-1:-1:-1;;;;;15178:22:0;;15174:100;;;-1:-1:-1;;;;;16728:22:0;::::1;16720:93;;;::::0;-1:-1:-1;;;16720:93:0;;2499:2:1;16720:93:0::1;::::0;::::1;2481:21:1::0;2538:2;2518:18;;;2511:30;2577:34;2557:18;;;2550:62;2648:28;2628:18;;;2621:56;2694:19;;16720:93:0::1;;;;;;;;;16829:32;16842:8;-1:-1:-1::0;;;;;;;;;;;18053:11:0;;18031:44;16842:8:::1;16829:32;::::0;;-1:-1:-1;;;;;1830:15:1;;;1812:34;;1882:15;;;1877:2;1862:18;;1855:43;1747:18;16829:32:0::1;;;;;;;16872:19;16882:8;-1:-1:-1::0;;;;;;;;;;;18345:22:0;18330:48;15734:95;15777:14;15192:8;-1:-1:-1;;;;;;;;;;;18053:11:0;;18031:44;15192:8;-1:-1:-1;;;;;15178:22:0;:10;-1:-1:-1;;;;;15178:22:0;;15174:100;;;-1:-1:-1;;;;;;;;;;;18053:11:0;15813:8:::1;18031:44:::0;9652:200;9735:12;9767:77;9788:6;9796:4;9767:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;9760:84;9652:200;-1:-1:-1;;;9652:200:0:o;3967:422::-;4334:20;;4373:8;;3967:422;;;;:::o;18511:207::-;-1:-1:-1;;;;;;;;;;;18053:11:0;-1:-1:-1;;;;;18583:22:0;:10;-1:-1:-1;;;;;18583:22:0;;;18575:101;;;;-1:-1:-1;;;18575:101:0;;3756:2:1;18575:101:0;;;3738:21:1;3795:2;3775:18;;;3768:30;3834:34;3814:18;;;3807:62;3905:34;3885:18;;;3878:62;-1:-1:-1;;;3956:19:1;;;3949:33;3999:19;;18575:101:0;3728:296:1;18575:101:0;18687:23;2323:113;916:915;1316:14;1313:1;1310;1297:34;1534:1;1531;1515:14;1512:1;1496:14;1489:5;1476:60;1613:16;1610:1;1607;1592:38;1653:6;1722:38;;;;1794:16;1791:1;1784:27;1722:38;1741:16;1738:1;1731:27;13392:163;13467:37;13486:17;13467:18;:37::i;:::-;13520:27;;-1:-1:-1;;;;;13520:27:0;;;;;;;;13392:163;:::o;10046:423::-;10157:12;10190:18;10201:6;10190:10;:18::i;:::-;10182:69;;;;-1:-1:-1;;;10182:69:0;;3349:2:1;10182:69:0;;;3331:21:1;3388:2;3368:18;;;3361:30;3427:34;3407:18;;;3400:62;-1:-1:-1;;;3478:18:1;;;3471:36;3524:19;;10182:69:0;3321:228:1;10182:69:0;10325:12;10339:23;10366:6;-1:-1:-1;;;;;10366:19:0;10386:4;10366:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10324:67;;;;10409:52;10427:7;10436:10;10448:12;10409:17;:52::i;:::-;10402:59;10046:423;-1:-1:-1;;;;;;10046:423:0:o;13651:369::-;13733:37;13752:17;13733:18;:37::i;:::-;13725:104;;;;-1:-1:-1;;;13725:104:0;;2926:2:1;13725:104:0;;;2908:21:1;2965:2;2945:18;;;2938:30;3004:34;2984:18;;;2977:62;-1:-1:-1;;;3055:18:1;;;3048:52;3117:19;;13725:104:0;2898:244:1;13725:104:0;12860:66;13971:31;13956:57::o;10477:742::-;10592:12;10621:7;10617:595;;;-1:-1:-1;10652:10:0;10645:17;;10617:595;10766:17;;:21;10762:439;;11029:10;11023:17;11090:15;11077:10;11073:2;11069:19;11062:44;10977:148;11172:12;11165:20;;-1:-1:-1;;;11165:20:0;;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:196;;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:715::-;;;;541:2;529:9;520:7;516:23;512:32;509:2;;;562:6;554;547:22;509:2;590:29;609:9;590:29;:::i;:::-;580:39;;670:2;659:9;655:18;642:32;693:18;734:2;726:6;723:14;720:2;;;755:6;747;740:22;720:2;798:6;787:9;783:22;773:32;;843:7;836:4;832:2;828:13;824:27;814:2;;870:6;862;855:22;814:2;915;902:16;941:2;933:6;930:14;927:2;;;962:6;954;947:22;927:2;1012:7;1007:2;998:6;994:2;990:15;986:24;983:37;980:2;;;1038:6;1030;1023:22;980:2;1074;1070;1066:11;1056:21;;1096:6;1086:16;;;;;499:609;;;;;:::o;1113:274::-;;1280:6;1274:13;1296:53;1342:6;1337:3;1330:4;1322:6;1318:17;1296:53;:::i;:::-;1365:16;;;;;1250:137;-1:-1:-1;;1250:137:1:o;1909:383::-;;2058:2;2047:9;2040:21;2090:6;2084:13;2133:6;2128:2;2117:9;2113:18;2106:34;2149:66;2208:6;2203:2;2192:9;2188:18;2183:2;2175:6;2171:15;2149:66;:::i;:::-;2276:2;2255:15;-1:-1:-1;;2251:29:1;2236:45;;;;2283:2;2232:54;;2030:262;-1:-1:-1;;2030:262:1:o;4029:258::-;4101:1;4111:113;4125:6;4122:1;4119:13;4111:113;;;4201:11;;;4195:18;4182:11;;;4175:39;4147:2;4140:10;4111:113;;;4242:6;4239:1;4236:13;4233:2;;;4277:1;4268:6;4263:3;4259:16;4252:27;4233:2;;4082:205;;;:::o

Swarm Source

ipfs://256d71a3bbf412c66e92f2feda363c4e126c868e314b821fa08c780ad30dde66
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.