ETH Price: $3,103.70 (+1.02%)
Gas: 5 Gwei

Shroomies (SHROOM)
 

Overview

TokenID

125

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x3DdBC1c5...4CE9882eC
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ShroomiesProxy

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-05-15
*/

// SPDX-License-Identifier: MIT


/**
 * @author - Roi Di Segni (@sheeeev66 of @thecoredevs)
 */

pragma solidity ^0.8.7;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }
}

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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

/**
 * @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 internal call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        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 overridden 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 internal 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 overridden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 */
abstract contract ERC1967Upgrade {
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @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 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallSecure(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        address oldImplementation = _getImplementation();

        // Initial upgrade and setup call
        _setImplementation(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }

        // Perform rollback test if not already in progress
        StorageSlot.BooleanSlot storage rollbackTesting = StorageSlot.getBooleanSlot(_ROLLBACK_SLOT);
        if (!rollbackTesting.value) {
            // Trigger rollback using upgradeTo from the new implementation
            rollbackTesting.value = true;
            Address.functionDelegateCall(
                newImplementation,
                abi.encodeWithSignature("upgradeTo(address)", oldImplementation)
            );
            rollbackTesting.value = false;
            // Check rollback was effective
            require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades");
            // Finally reset to the new implementation and log the upgrade
            _upgradeTo(newImplementation);
        }
    }

    /**
     * @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 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }
}

/**
 * @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.
 */
contract ERC1967Proxy is Proxy, ERC1967Upgrade {
    /**
     * @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 initializing 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));
        _upgradeToAndCall(_logic, _data, false);
    }

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        return ERC1967Upgrade._getImplementation();
    }
}

contract ShroomiesProxy is ERC1967Proxy {

    modifier onlyAdmin() {
        require(msg.sender == _getAdmin(), "Only Admin Function!");
        _;
    }
    
    constructor (address _logic, bytes memory _data) ERC1967Proxy(_logic, _data) {
        _changeAdmin(msg.sender);
    }

    function getAdmin() external view returns(address) {
        return _getAdmin();
    }

    function implementation() external view returns(address) {
        return _implementation();
    }
    
    function changeAdmin(address newAdmin) external onlyAdmin {
        _changeAdmin(newAdmin);
    }

    function upgradeTo(address _newImplementation) external onlyAdmin {
        _upgradeTo(_newImplementation);
    }

    function upgradeToAndCall(address newImplementation, bytes memory data) external onlyAdmin {
        _upgradeToAndCall(newImplementation, data, false);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200114838038062001148833981016040819052620000349162000484565b81816200006360017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd620005b2565b600080516020620011018339815191521462000083576200008362000607565b6200009182826000620000a7565b506200009f905033620000e4565b505062000633565b620000b2836200013f565b600082511180620000c05750805b15620000df57620000dd83836200018160201b620003511760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200010f620001b0565b604080516001600160a01b03928316815291841660208301520160405180910390a16200013c81620001e9565b50565b6200014a816200029e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001a98383604051806060016040528060278152602001620011216027913962000341565b9392505050565b6000620001da600080516020620010e183398151915260001b620003c060201b6200037d1760201c565b546001600160a01b0316919050565b6001600160a01b038116620002545760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b806200027d600080516020620010e183398151915260001b620003c060201b6200037d1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b620002b481620003c360201b620003801760201c565b620003185760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016200024b565b806200027d6000805160206200110183398151915260001b620003c060201b6200037d1760201c565b6060600080856001600160a01b0316856040516200036091906200055f565b600060405180830381855af49150503d80600081146200039d576040519150601f19603f3d011682016040523d82523d6000602084013e620003a2565b606091505b509092509050620003b686838387620003d2565b9695505050505050565b90565b6001600160a01b03163b151590565b60608315620004435782516200043b576001600160a01b0385163b6200043b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016200024b565b50816200044f565b6200044f838362000457565b949350505050565b815115620004685781518083602001fd5b8060405162461bcd60e51b81526004016200024b91906200057d565b600080604083850312156200049857600080fd5b82516001600160a01b0381168114620004b057600080fd5b60208401519092506001600160401b0380821115620004ce57600080fd5b818501915085601f830112620004e357600080fd5b815181811115620004f857620004f86200061d565b604051601f8201601f19908116603f011681019083821181831017156200052357620005236200061d565b816040528281528860208487010111156200053d57600080fd5b62000550836020830160208801620005d8565b80955050505050509250929050565b6000825162000573818460208701620005d8565b9190910192915050565b60208152600082518060208401526200059e816040850160208701620005d8565b601f01601f19169190910160400192915050565b600082821015620005d357634e487b7160e01b600052601160045260246000fd5b500390565b60005b83811015620005f5578181015183820152602001620005db565b83811115620000dd5750506000910152565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b610a9e80620006436000396000f3fe60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100b55780636e9960c3146100f35780638f283970146101085761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b610128565b005b61006b610128565b34801561008157600080fd5b5061006b61009036600461087e565b61013a565b3480156100a157600080fd5b5061006b6100b0366004610899565b6101e7565b3480156100c157600080fd5b506100ca610293565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ff57600080fd5b506100ca6102a2565b34801561011457600080fd5b5061006b61012336600461087e565b6102ac565b61013861013361039c565b6103a6565b565b6101426103cf565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4f6e6c792041646d696e2046756e6374696f6e2100000000000000000000000060448201526064015b60405180910390fd5b6101e48161040f565b50565b6101ef6103cf565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4f6e6c792041646d696e2046756e6374696f6e2100000000000000000000000060448201526064016101d2565b61028f8282600061045c565b5050565b600061029d61039c565b905090565b600061029d6103cf565b6102b46103cf565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4f6e6c792041646d696e2046756e6374696f6e2100000000000000000000000060448201526064016101d2565b6101e481610487565b60606103768383604051806060016040528060278152602001610a42602791396104e8565b9392505050565b90565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600061029d61056d565b3660008037600080366000845af43d6000803e8080156103c5573d6000f35b3d6000fd5b505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b61041881610595565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6104658361040f565b6000825111806104725750805b156103ca576104818383610351565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104b06103cf565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a16101e4816106a2565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516105129190610979565b600060405180830381855af49150503d806000811461054d576040519150601f19603f3d011682016040523d82523d6000602084013e610552565b606091505b50915091506105638683838761076c565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6103f3565b73ffffffffffffffffffffffffffffffffffffffff81163b610639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016101d2565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b73ffffffffffffffffffffffffffffffffffffffff8116610745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101d2565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610361065c565b606083156107ff5782516107f85773ffffffffffffffffffffffffffffffffffffffff85163b6107f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101d2565b5081610809565b6108098383610811565b949350505050565b8151156108215781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d29190610995565b803573ffffffffffffffffffffffffffffffffffffffff8116811461087957600080fd5b919050565b60006020828403121561089057600080fd5b61037682610855565b600080604083850312156108ac57600080fd5b6108b583610855565b9150602083013567ffffffffffffffff808211156108d257600080fd5b818501915085601f8301126108e657600080fd5b8135818111156108f8576108f8610a12565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561093e5761093e610a12565b8160405282815288602084870101111561095757600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825161098b8184602087016109e6565b9190910192915050565b60208152600082518060208401526109b48160408501602087016109e6565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60005b83811015610a015781810151838201526020016109e9565b838111156104815750506000910152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212207c7ec78b664303283d16afc5b64f36d52228a9f7d131dbf01010a0b72ca6b2b364736f6c63430008070033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000084459f418d5d11bb546fbdf648b9202bae2811e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001643bab5670000000000000000000000000d7ac080800566d42ab9789a99b7ed0dd5ecbe594000000000000000000000000d7ac080800566d42ab9789a99b7ed0dd5ecbe59400000000000000000000000000000000000000000000000000000000000002bc000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000008e1bc9bf0400000000000000000000000000000000000000000000000000000000000000001e6100000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d526a76646e787a586a4b686655785a52743641384d323663395251516362647753504c42777636477236394c2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100b55780636e9960c3146100f35780638f283970146101085761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b610128565b005b61006b610128565b34801561008157600080fd5b5061006b61009036600461087e565b61013a565b3480156100a157600080fd5b5061006b6100b0366004610899565b6101e7565b3480156100c157600080fd5b506100ca610293565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ff57600080fd5b506100ca6102a2565b34801561011457600080fd5b5061006b61012336600461087e565b6102ac565b61013861013361039c565b6103a6565b565b6101426103cf565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4f6e6c792041646d696e2046756e6374696f6e2100000000000000000000000060448201526064015b60405180910390fd5b6101e48161040f565b50565b6101ef6103cf565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4f6e6c792041646d696e2046756e6374696f6e2100000000000000000000000060448201526064016101d2565b61028f8282600061045c565b5050565b600061029d61039c565b905090565b600061029d6103cf565b6102b46103cf565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4f6e6c792041646d696e2046756e6374696f6e2100000000000000000000000060448201526064016101d2565b6101e481610487565b60606103768383604051806060016040528060278152602001610a42602791396104e8565b9392505050565b90565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600061029d61056d565b3660008037600080366000845af43d6000803e8080156103c5573d6000f35b3d6000fd5b505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b61041881610595565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6104658361040f565b6000825111806104725750805b156103ca576104818383610351565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104b06103cf565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a16101e4816106a2565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516105129190610979565b600060405180830381855af49150503d806000811461054d576040519150601f19603f3d011682016040523d82523d6000602084013e610552565b606091505b50915091506105638683838761076c565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6103f3565b73ffffffffffffffffffffffffffffffffffffffff81163b610639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016101d2565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b73ffffffffffffffffffffffffffffffffffffffff8116610745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101d2565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610361065c565b606083156107ff5782516107f85773ffffffffffffffffffffffffffffffffffffffff85163b6107f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101d2565b5081610809565b6108098383610811565b949350505050565b8151156108215781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d29190610995565b803573ffffffffffffffffffffffffffffffffffffffff8116811461087957600080fd5b919050565b60006020828403121561089057600080fd5b61037682610855565b600080604083850312156108ac57600080fd5b6108b583610855565b9150602083013567ffffffffffffffff808211156108d257600080fd5b818501915085601f8301126108e657600080fd5b8135818111156108f8576108f8610a12565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561093e5761093e610a12565b8160405282815288602084870101111561095757600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825161098b8184602087016109e6565b9190910192915050565b60208152600082518060208401526109b48160408501602087016109e6565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60005b83811015610a015781810151838201526020016109e9565b838111156104815750506000910152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212207c7ec78b664303283d16afc5b64f36d52228a9f7d131dbf01010a0b72ca6b2b364736f6c63430008070033

Deployed Bytecode Sourcemap

14194:899:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7800:11;:9;:11::i;:::-;14194:899;;7569:11;:9;:11::i;14808:115::-;;;;;;;;;;-1:-1:-1;14808:115:0;;;;;:::i;:::-;;:::i;14931:159::-;;;;;;;;;;-1:-1:-1;14931:159:0;;;;;:::i;:::-;;:::i;14589:100::-;;;;;;;;;;;;;:::i;:::-;;;1920:42:1;1908:55;;;1890:74;;1878:2;1863:18;14589:100:0;;;;;;;14493:88;;;;;;;;;;;;;:::i;14701:99::-;;;;;;;;;;-1:-1:-1;14701:99:0;;;;;:::i;:::-;;:::i;7206:113::-;7283:28;7293:17;:15;:17::i;:::-;7283:9;:28::i;:::-;7206:113::o;14808:115::-;14297:11;:9;:11::i;:::-;14283:25;;:10;:25;;;14275:58;;;;;;;3363:2:1;14275:58:0;;;3345:21:1;3402:2;3382:18;;;3375:30;3441:22;3421:18;;;3414:50;3481:18;;14275:58:0;;;;;;;;;14885:30:::1;14896:18;14885:10;:30::i;:::-;14808:115:::0;:::o;14931:159::-;14297:11;:9;:11::i;:::-;14283:25;;:10;:25;;;14275:58;;;;;;;3363:2:1;14275:58:0;;;3345:21:1;3402:2;3382:18;;;3375:30;3441:22;3421:18;;;3414:50;3481:18;;14275:58:0;3161:344:1;14275:58:0;15033:49:::1;15051:17;15070:4;15076:5;15033:17;:49::i;:::-;14931:159:::0;;:::o;14589:100::-;14637:7;14664:17;:15;:17::i;:::-;14657:24;;14589:100;:::o;14493:88::-;14535:7;14562:11;:9;:11::i;14701:99::-;14297:11;:9;:11::i;:::-;14283:25;;:10;:25;;;14275:58;;;;;;;3363:2:1;14275:58:0;;;3345:21:1;3402:2;3382:18;;;3375:30;3441:22;3421:18;;;3414:50;3481:18;;14275:58:0;3161:344:1;14275:58:0;14770:22:::1;14783:8;14770:12;:22::i;2723:200::-:0;2806:12;2838:77;2859:6;2867:4;2838:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;2831:84;2723:200;-1:-1:-1;;;2723:200:0:o;790:151::-;919:4;790:151::o;2210:326::-;2505:19;;;:23;;;2210:326::o;14045:142::-;14112:12;14144:35;:33;:35::i;5796:918::-;6139:14;6136:1;6133;6120:34;6357:1;6354;6338:14;6335:1;6319:14;6312:5;6299:60;6436:16;6433:1;6430;6415:38;6476:6;6545:68;;;;6664:16;6661:1;6654:27;6545:68;6581:16;6578:1;6571:27;6469:227;;;5796:918;:::o;12287:124::-;12331:7;12011:66;12358:39;:45;;;;12287:124;-1:-1:-1;12287:124:0:o;9725:155::-;9792:37;9811:17;9792:18;:37::i;:::-;9845:27;;;;;;;;;;;9725:155;:::o;10021:304::-;10164:29;10175:17;10164:10;:29::i;:::-;10222:1;10208:4;:11;:15;:28;;;;10227:9;10208:28;10204:114;;;10253:53;10282:17;10301:4;10253:28;:53::i;:::-;;10021:304;;;:::o;12820:138::-;12885:35;12898:11;:9;:11::i;:::-;12885:35;;;2159:42:1;2228:15;;;2210:34;;2280:15;;;2275:2;2260:18;;2253:43;2122:18;12885:35:0;;;;;;;12931:19;12941:8;12931:9;:19::i;3117:332::-;3262:12;3288;3302:23;3329:6;:19;;3349:4;3329:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3287:67;;;;3372:69;3399:6;3407:7;3416:10;3428:12;3372:26;:69::i;:::-;3365:76;3117:332;-1:-1:-1;;;;;;3117:332:0:o;9112:142::-;9165:7;8831:66;9192:48;790:151;9350:262;2505:19;;;;9424:95;;;;;;;3712:2:1;9424:95:0;;;3694:21:1;3751:2;3731:18;;;3724:30;3790:34;3770:18;;;3763:62;3861:15;3841:18;;;3834:43;3894:19;;9424:95:0;3510:409:1;9424:95:0;9587:17;8831:66;9530:48;:74;;;;;;;;;;;;;;;-1:-1:-1;9350:262:0:o;12498:204::-;12562:22;;;12554:73;;;;;;;2956:2:1;12554:73:0;;;2938:21:1;2995:2;2975:18;;;2968:30;3034:34;3014:18;;;3007:62;3105:8;3085:18;;;3078:36;3131:19;;12554:73:0;2754:402:1;12554:73:0;12686:8;12011:66;12638:39;790:151;3745:644;3930:12;3959:7;3955:427;;;3987:17;;3983:290;;2505:19;;;;4197:60;;;;;;;4126:2:1;4197:60:0;;;4108:21:1;4165:2;4145:18;;;4138:30;4204:31;4184:18;;;4177:59;4253:18;;4197:60:0;3924:353:1;4197:60:0;-1:-1:-1;4294:10:0;4287:17;;3955:427;4337:33;4345:10;4357:12;4337:7;:33::i;:::-;3745:644;;;;;;:::o;4397:552::-;4558:17;;:21;4554:388;;4790:10;4784:17;4847:15;4834:10;4830:2;4826:19;4819:44;4554:388;4917:12;4910:20;;;;;;;;;;;:::i;14:196:1:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;406:1054::-;483:6;491;544:2;532:9;523:7;519:23;515:32;512:52;;;560:1;557;550:12;512:52;583:29;602:9;583:29;:::i;:::-;573:39;;663:2;652:9;648:18;635:32;686:18;727:2;719:6;716:14;713:34;;;743:1;740;733:12;713:34;781:6;770:9;766:22;756:32;;826:7;819:4;815:2;811:13;807:27;797:55;;848:1;845;838:12;797:55;884:2;871:16;906:2;902;899:10;896:36;;;912:18;;:::i;:::-;1046:2;1040:9;1108:4;1100:13;;951:66;1096:22;;;1120:2;1092:31;1088:40;1076:53;;;1144:18;;;1164:22;;;1141:46;1138:72;;;1190:18;;:::i;:::-;1230:10;1226:2;1219:22;1265:2;1257:6;1250:18;1305:7;1300:2;1295;1291;1287:11;1283:20;1280:33;1277:53;;;1326:1;1323;1316:12;1277:53;1382:2;1377;1373;1369:11;1364:2;1356:6;1352:15;1339:46;1427:1;1422:2;1417;1409:6;1405:15;1401:24;1394:35;1448:6;1438:16;;;;;;;406:1054;;;;;:::o;1465:274::-;1594:3;1632:6;1626:13;1648:53;1694:6;1689:3;1682:4;1674:6;1670:17;1648:53;:::i;:::-;1717:16;;;;;1465:274;-1:-1:-1;;1465:274:1:o;2307:442::-;2456:2;2445:9;2438:21;2419:4;2488:6;2482:13;2531:6;2526:2;2515:9;2511:18;2504:34;2547:66;2606:6;2601:2;2590:9;2586:18;2581:2;2573:6;2569:15;2547:66;:::i;:::-;2665:2;2653:15;2670:66;2649:88;2634:104;;;;2740:2;2630:113;;2307:442;-1:-1:-1;;2307:442:1:o;4282:258::-;4354:1;4364:113;4378:6;4375:1;4372:13;4364:113;;;4454:11;;;4448:18;4435:11;;;4428:39;4400:2;4393:10;4364:113;;;4495:6;4492:1;4489:13;4486:48;;;-1:-1:-1;;4530:1:1;4512:16;;4505:27;4282:258::o;4545:184::-;4597:77;4594:1;4587:88;4694:4;4691:1;4684:15;4718:4;4715:1;4708:15

Swarm Source

ipfs://7c7ec78b664303283d16afc5b64f36d52228a9f7d131dbf01010a0b72ca6b2b3
Loading...
Loading
Loading...
Loading
[ 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.