MATIC Price: $0.61331 (+1.89%)
Gas: 30 GWei
 

Sponsored

Transaction Hash
Method
Block
From
To
Value
Set Approval For...581967372024-06-15 16:36:4113 hrs ago1718469401IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000002
Set Approval For...581933682024-06-15 14:35:1015 hrs ago1718462110IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000006
Set Approval For...581930072024-06-15 14:21:1815 hrs ago1718461278IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000003
Set Approval For...579455842024-06-09 9:15:246 days ago1717924524IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000004
Set Approval For...578441652024-06-06 18:18:209 days ago1717697900IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000002
Safe Transfer Fr...578441352024-06-06 18:17:169 days ago1717697836IN
0x90262E88...AEEeeBeC2
0 MATIC0.0030626730.00000002
Safe Transfer Fr...577302092024-06-03 19:01:5912 days ago1717441319IN
0x90262E88...AEEeeBeC2
0 MATIC0.0034551330.00000002
Safe Transfer Fr...577246022024-06-03 15:31:4312 days ago1717428703IN
0x90262E88...AEEeeBeC2
0 MATIC0.0031467130.00046545
Safe Transfer Fr...577245852024-06-03 15:31:0712 days ago1717428667IN
0x90262E88...AEEeeBeC2
0 MATIC0.0034555530.00056728
Set Approval For...576675412024-06-02 3:52:4814 days ago1717300368IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000003
Safe Transfer Fr...576192422024-05-31 21:37:1215 days ago1717191432IN
0x90262E88...AEEeeBeC2
0 MATIC0.003354432
Set Approval For...575770892024-05-30 19:09:3316 days ago1717096173IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000002
Set Approval For...574555402024-05-27 15:42:4219 days ago1716824562IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022284230.03309582
Safe Transfer Fr...574446882024-05-27 9:04:4119 days ago1716800681IN
0x90262E88...AEEeeBeC2
0 MATIC0.0039172938.4
Set Approval For...574328032024-05-27 1:30:4920 days ago1716773449IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000005
Set Approval For...570328242024-05-16 12:00:0930 days ago1715860809IN
0x90262E88...AEEeeBeC2
0 MATIC0.0047487364
Transfer From570050572024-05-15 17:58:5831 days ago1715795938IN
0x90262E88...AEEeeBeC2
0 MATIC0.0035589436.00386735
Safe Transfer Fr...569687622024-05-14 18:46:0132 days ago1715712361IN
0x90262E88...AEEeeBeC2
0 MATIC0.003672936
Safe Transfer Fr...568088332024-05-10 16:50:0836 days ago1715359808IN
0x90262E88...AEEeeBeC2
0 MATIC0.0032644132
Set Approval For...567367352024-05-08 21:13:1238 days ago1715202792IN
0x90262E88...AEEeeBeC2
0 MATIC0.0022259730.00000003
Safe Transfer Fr...566034982024-05-05 10:58:0741 days ago1714906687IN
0x90262E88...AEEeeBeC2
0 MATIC0.0030607530.00000004
Safe Transfer Fr...565536772024-05-04 3:50:1343 days ago1714794613IN
0x90262E88...AEEeeBeC2
0 MATIC0.003683832
Transfer From564628382024-05-01 16:00:3245 days ago1714579232IN
0x90262E88...AEEeeBeC2
0 MATIC0.0071570970.41824652
Set Approval For...561622772024-04-23 12:34:2953 days ago1713875669IN
0x90262E88...AEEeeBeC2
0 MATIC0.0041170578.73958222
Set Approval For...560422342024-04-20 11:08:1656 days ago1713611296IN
0x90262E88...AEEeeBeC2
0 MATIC0.0060330481.30895692
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To Value
442120252023-06-22 16:16:38359 days ago1687450598  Contract Creation0 MATIC
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CollectionProxy

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2023-06-23
*/

// SPDX-License-Identifier: MIT

// Sources flattened with hardhat v2.14.0 https://hardhat.org

// File @openzeppelin/contracts-0.8.15/proxy/beacon/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}


// File @openzeppelin/contracts-0.8.15/interfaces/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
 * proxy whose upgrades are fully controlled by the current implementation.
 */
interface IERC1822Proxiable {
    /**
     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
     * address.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy.
     */
    function proxiableUUID() external view returns (bytes32);
}


// File @openzeppelin/contracts-0.8.15/interfaces/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.3) (interfaces/IERC1967.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
 *
 * _Available since v4.9._
 */
interface IERC1967 {
    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

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

    /**
     * @dev Emitted when the beacon is changed.
     */
    event BeaconUpgraded(address indexed beacon);
}


// File @openzeppelin/contracts-0.8.15/utils/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [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 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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (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);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            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);
        }
    }
}


// File @openzeppelin/contracts-0.8.15/utils/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

/**
 * @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.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

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

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

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }
}


// File @openzeppelin/contracts-0.8.15/proxy/ERC1967/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.3) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;





/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967Upgrade is IERC1967 {
    // 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 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 _upgradeToAndCallUUPS(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        // Upgrades from old implementations will perform a rollback test. This test requires the new
        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
        // this special case will break upgrade paths from old UUPS implementation to new ones.
        if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {
            _setImplementation(newImplementation);
        } else {
            try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {
                require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
            } catch {
                revert("ERC1967Upgrade: new implementation is not UUPS");
            }
            _upgradeToAndCall(newImplementation, data, forceCall);
        }
    }

    /**
     * @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 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 The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
    }

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

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
        }
    }
}


// File @openzeppelin/contracts-0.8.15/proxy/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)

pragma solidity ^0.8.0;

/**
 * @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 {}
}


// File @openzeppelin/contracts-0.8.15/proxy/beacon/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (proxy/beacon/BeaconProxy.sol)

pragma solidity ^0.8.0;



/**
 * @dev This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}.
 *
 * The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't
 * conflict with the storage layout of the implementation behind the proxy.
 *
 * _Available since v3.4._
 */
contract BeaconProxy is Proxy, ERC1967Upgrade {
    /**
     * @dev Initializes the proxy with `beacon`.
     *
     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This
     * will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity
     * constructor.
     *
     * Requirements:
     *
     * - `beacon` must be a contract with the interface {IBeacon}.
     */
    constructor(address beacon, bytes memory data) payable {
        _upgradeBeaconToAndCall(beacon, data, false);
    }

    /**
     * @dev Returns the current beacon address.
     */
    function _beacon() internal view virtual returns (address) {
        return _getBeacon();
    }

    /**
     * @dev Returns the current implementation address of the associated beacon.
     */
    function _implementation() internal view virtual override returns (address) {
        return IBeacon(_getBeacon()).implementation();
    }

    /**
     * @dev Changes the proxy to use a new beacon. Deprecated: see {_upgradeBeaconToAndCall}.
     *
     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon.
     *
     * Requirements:
     *
     * - `beacon` must be a contract.
     * - The implementation returned by `beacon` must be a contract.
     */
    function _setBeacon(address beacon, bytes memory data) internal virtual {
        _upgradeBeaconToAndCall(beacon, data, false);
    }
}


// File src/solc_0.8.15/proxy/CollectionProxy.sol

// License-Identifier: MIT

pragma solidity 0.8.15;

/**
 * @title CollectionProxy
 * @author qed.team x The Sandbox
 * @notice Beacon Proxy extension that supports having an admin (owner equivalent) that can
 *         change the beacon to which this proxy points to. Initial admin is set to the deployer
 *
 * @dev as there are several functions added directly in the proxy, any contract behind it (implementation)
 *      must be aware that functions with the following sighash will not be reached, as they will hit the
 *      proxy and not be delegate-called to the implementation
 *
 *      Sighash   |   Function Signature
 *      =========================================
 *      f8ab7198  =>  changeBeacon(address,bytes)
 *      aac96d4b  =>  changeCollectionProxyAdmin(address)
 *      59659e90  =>  beacon()
 *      3e47158c  =>  proxyAdmin()
 *
 */
contract CollectionProxy is BeaconProxy {
    /*//////////////////////////////////////////////////////////////
                            Initializers
    //////////////////////////////////////////////////////////////*/

    /**
     * @notice Collection constructor; pass-through while setting the admin to the sender
     *         see {BeaconProxy.constructor} for more details
     * @custom:event {ERC1967Upgrade.AdminChanged}
     */
    constructor(address beacon_, bytes memory data_) BeaconProxy(beacon_, data_) {
        _changeAdmin(msg.sender);
    }

    /*//////////////////////////////////////////////////////////////
                    External and public functions
    //////////////////////////////////////////////////////////////*/

    /**
     * @notice Changes the beacon to which this proxy points to
     * @dev any function from implementation address with a signature hash collision of f8ab7198 will reroute here and cannot be executed
     *      If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon.
     *      Sighash   |   Function Signature
     *      =========================================
     *      f8ab7198  =>  changeBeacon(address,bytes)
     *      custom:event {ERC1967Upgrade.BeaconUpgraded}
     * @param newBeacon the new beacon address for this proxy to point to
     * @param data initialization data as an encodedWithSignature output; if exists will be called on the new implementation
     */
    function changeBeacon(address newBeacon, bytes memory data) external {
        require(msg.sender == _getAdmin(), "CollectionProxy: only admin can change beacon");
        _setBeacon(newBeacon, data);
    }

    /**
     * @notice Changes the admin of the beacon to a new provided one
     * @dev any function from implementation address with a signature hash collision of aac96d4b will reroute here and cannot be executed
     *      Sighash   |   Function Signature
     *      ========================
     *      aac96d4b  =>  changeCollectionProxyAdmin(address)
     *      @custom:event {ERC1967Upgrade.AdminChanged}
     * @param newAdmin the new admin of the proxy
     */
    function changeCollectionProxyAdmin(address newAdmin) external {
        address admin = _getAdmin();
        require(msg.sender == admin, "CollectionProxy: only admin can change admin");
        _changeAdmin(newAdmin); // checks for "new admin is the zero address"
    }

    /**
     * @notice retrieves the currently pointed to beacon address
     * @dev any function from implementation address with a signature hash collision of 59659e90 will reroute here and cannot be executed
     *      Sighash   |   Function Signature
     *      ========================
     *      59659e90  =>  beacon()
     * @return the address of the currently pointed to beacon
     */
    function beacon() external view returns (address) {
        return _beacon();
    }

    /**
     * @notice gets the admin of the proxy
     * @dev any function from implementation address with a signature hash collision of 3e47158c will reroute here and cannot be executed
     *      Sighash   |   Function Signature
     *      ========================
     *      3e47158c  =>  proxyAdmin()
     * @return proxy admin address
     */
    function proxyAdmin() external view returns (address) {
        return _getAdmin();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"beacon_","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":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"beacon","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newBeacon","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"changeBeacon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeCollectionProxyAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxyAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200110d3803806200110d8339810160408190526200003491620005dc565b818162000044828260006200005a565b50620000529050336200012f565b50506200071b565b62000065836200018a565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a2600082511180620000a75750805b156200012a5762000128836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001169190620006aa565b836200033c60201b6200021e1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015a6200036b565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018781620003a4565b50565b620001a0816200043460201b6200024a1760201c565b620002005760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b6200027a816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000243573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002699190620006aa565b6200043460201b6200024a1760201c565b620002e15760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401620001f7565b806200031b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5060001b6200044360201b620002591760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060620003648383604051806060016040528060278152602001620010e66027913962000446565b9392505050565b600062000395600080516020620010c683398151915260001b6200044360201b620002591760201c565b546001600160a01b0316919050565b6001600160a01b0381166200040b5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401620001f7565b806200031b600080516020620010c683398151915260001b6200044360201b620002591760201c565b6001600160a01b03163b151590565b90565b6060600080856001600160a01b031685604051620004659190620006c8565b600060405180830381855af49150503d8060008114620004a2576040519150601f19603f3d011682016040523d82523d6000602084013e620004a7565b606091505b509092509050620004bb86838387620004c5565b9695505050505050565b606083156200053957825160000362000531576001600160a01b0385163b620005315760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001f7565b508162000545565b6200054583836200054d565b949350505050565b8151156200055e5781518083602001fd5b8060405162461bcd60e51b8152600401620001f79190620006e6565b80516001600160a01b03811681146200059257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620005ca578181015183820152602001620005b0565b83811115620001285750506000910152565b60008060408385031215620005f057600080fd5b620005fb836200057a565b60208401519092506001600160401b03808211156200061957600080fd5b818501915085601f8301126200062e57600080fd5b81518181111562000643576200064362000597565b604051601f8201601f19908116603f011681019083821181831017156200066e576200066e62000597565b816040528281528860208487010111156200068857600080fd5b6200069b836020830160208801620005ad565b80955050505050509250929050565b600060208284031215620006bd57600080fd5b62000364826200057a565b60008251620006dc818460208701620005ad565b9190910192915050565b602081526000825180602084015262000707816040850160208701620005ad565b601f01601f19169190910160400192915050565b61099b806200072b6000396000f3fe6080604052600436106100435760003560e01c80633e47158c1461005a57806359659e901461008b578063abd9a376146100a0578063f8ab7198146100c057610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061006f6100f2565b6040516001600160a01b03909116815260200160405180910390f35b34801561009757600080fd5b5061006f610101565b3480156100ac57600080fd5b506100506100bb3660046107af565b61010b565b3480156100cc57600080fd5b506100506100db3660046107e2565b610196565b6100f06100eb61025c565b6102c7565b565b60006100fc6102f0565b905090565b60006100fc610323565b60006101156102f0565b9050336001600160a01b038216146101895760405162461bcd60e51b815260206004820152602c60248201527f436f6c6c656374696f6e50726f78793a206f6e6c792061646d696e2063616e2060448201526b31b430b733b29030b236b4b760a11b60648201526084015b60405180910390fd5b6101928261032d565b5050565b61019e6102f0565b6001600160a01b0316336001600160a01b0316146102145760405162461bcd60e51b815260206004820152602d60248201527f436f6c6c656374696f6e50726f78793a206f6e6c792061646d696e2063616e2060448201526c31b430b733b2903132b0b1b7b760991b6064820152608401610180565b6101928282610384565b6060610243838360405180606001604052806027815260200161093f60279139610390565b9392505050565b6001600160a01b03163b151590565b90565b6000610266610408565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100fc91906108a6565b3660008037600080366000845af43d6000803e8080156102e6573d6000f35b3d6000fd5b505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b60006100fc610408565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103566102f0565b604080516001600160a01b03928316815291841660208301520160405180910390a161038181610430565b50565b610192828260006104d9565b6060600080856001600160a01b0316856040516103ad91906108ef565b600060405180830381855af49150503d80600081146103e8576040519150601f19603f3d011682016040523d82523d6000602084013e6103ed565b606091505b50915091506103fe86838387610599565b9695505050505050565b60007fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50610314565b6001600160a01b0381166104955760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401610180565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b6104e28361061a565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a26000825111806105235750805b156102eb57610593836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610569573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058d91906108a6565b8361021e565b50505050565b60608315610608578251600003610601576001600160a01b0385163b6106015760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610180565b5081610612565b6106128383610770565b949350505050565b6001600160a01b0381163b61067f5760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b6064820152608401610180565b6106e4816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106c0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024a91906108a6565b6107495760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610180565b807fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d506104b8565b8151156107805781518083602001fd5b8060405162461bcd60e51b8152600401610180919061090b565b6001600160a01b038116811461038157600080fd5b6000602082840312156107c157600080fd5b81356102438161079a565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156107f557600080fd5b82356108008161079a565b9150602083013567ffffffffffffffff8082111561081d57600080fd5b818501915085601f83011261083157600080fd5b813581811115610843576108436107cc565b604051601f8201601f19908116603f0116810190838211818310171561086b5761086b6107cc565b8160405282815288602084870101111561088457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000602082840312156108b857600080fd5b81516102438161079a565b60005b838110156108de5781810151838201526020016108c6565b838111156105935750506000910152565b600082516109018184602087016108c3565b9190910192915050565b602081526000825180602084015261092a8160408501602087016108c3565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220445e710f7c3560df0fd926db3017ae4fd6bddd461422813baebb1720554f8d2864736f6c634300080f0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656400000000000000000000000099ba5f0534b0cefafaf17530e14873b2f424b0bd000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000002e4955a53f5000000000000000000000000f06dd9b61d480704cc7bef717e5ea6efb6af75be0000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000001b47567cbe36e63293a7a2018f79687f942ab24c0000000000000000000000004e2422ac29b72290be28c6a7c3fad7a7fda69e7a000000000000000000000000f0511f123164602042ab2bcf02111fa5d3fe97cd000000000000000000000000bbba073c31bf03b8acf7c28ef0738decf369568300000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f636f6e7472616374732e73616e64626f782e67616d652f7a6570746f6c6162732d756e72657665616c65642f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e5a6570746f4c6162734f6d4e6f6d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a4f4d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100435760003560e01c80633e47158c1461005a57806359659e901461008b578063abd9a376146100a0578063f8ab7198146100c057610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061006f6100f2565b6040516001600160a01b03909116815260200160405180910390f35b34801561009757600080fd5b5061006f610101565b3480156100ac57600080fd5b506100506100bb3660046107af565b61010b565b3480156100cc57600080fd5b506100506100db3660046107e2565b610196565b6100f06100eb61025c565b6102c7565b565b60006100fc6102f0565b905090565b60006100fc610323565b60006101156102f0565b9050336001600160a01b038216146101895760405162461bcd60e51b815260206004820152602c60248201527f436f6c6c656374696f6e50726f78793a206f6e6c792061646d696e2063616e2060448201526b31b430b733b29030b236b4b760a11b60648201526084015b60405180910390fd5b6101928261032d565b5050565b61019e6102f0565b6001600160a01b0316336001600160a01b0316146102145760405162461bcd60e51b815260206004820152602d60248201527f436f6c6c656374696f6e50726f78793a206f6e6c792061646d696e2063616e2060448201526c31b430b733b2903132b0b1b7b760991b6064820152608401610180565b6101928282610384565b6060610243838360405180606001604052806027815260200161093f60279139610390565b9392505050565b6001600160a01b03163b151590565b90565b6000610266610408565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100fc91906108a6565b3660008037600080366000845af43d6000803e8080156102e6573d6000f35b3d6000fd5b505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b60006100fc610408565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103566102f0565b604080516001600160a01b03928316815291841660208301520160405180910390a161038181610430565b50565b610192828260006104d9565b6060600080856001600160a01b0316856040516103ad91906108ef565b600060405180830381855af49150503d80600081146103e8576040519150601f19603f3d011682016040523d82523d6000602084013e6103ed565b606091505b50915091506103fe86838387610599565b9695505050505050565b60007fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50610314565b6001600160a01b0381166104955760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401610180565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b6104e28361061a565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a26000825111806105235750805b156102eb57610593836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610569573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058d91906108a6565b8361021e565b50505050565b60608315610608578251600003610601576001600160a01b0385163b6106015760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610180565b5081610612565b6106128383610770565b949350505050565b6001600160a01b0381163b61067f5760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b6064820152608401610180565b6106e4816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106c0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024a91906108a6565b6107495760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610180565b807fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d506104b8565b8151156107805781518083602001fd5b8060405162461bcd60e51b8152600401610180919061090b565b6001600160a01b038116811461038157600080fd5b6000602082840312156107c157600080fd5b81356102438161079a565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156107f557600080fd5b82356108008161079a565b9150602083013567ffffffffffffffff8082111561081d57600080fd5b818501915085601f83011261083157600080fd5b813581811115610843576108436107cc565b604051601f8201601f19908116603f0116810190838211818310171561086b5761086b6107cc565b8160405282815288602084870101111561088457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000602082840312156108b857600080fd5b81516102438161079a565b60005b838110156108de5781810151838201526020016108c6565b838111156105935750506000910152565b600082516109018184602087016108c3565b9190910192915050565b602081526000825180602084015261092a8160408501602087016108c3565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220445e710f7c3560df0fd926db3017ae4fd6bddd461422813baebb1720554f8d2864736f6c634300080f0033

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

00000000000000000000000099ba5f0534b0cefafaf17530e14873b2f424b0bd000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000002e4955a53f5000000000000000000000000f06dd9b61d480704cc7bef717e5ea6efb6af75be0000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000001b47567cbe36e63293a7a2018f79687f942ab24c0000000000000000000000004e2422ac29b72290be28c6a7c3fad7a7fda69e7a000000000000000000000000f0511f123164602042ab2bcf02111fa5d3fe97cd000000000000000000000000bbba073c31bf03b8acf7c28ef0738decf369568300000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f636f6e7472616374732e73616e64626f782e67616d652f7a6570746f6c6162732d756e72657665616c65642f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e5a6570746f4c6162734f6d4e6f6d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a4f4d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : beacon_ (address): 0x99Ba5F0534B0CefaFaF17530e14873b2F424B0bD
Arg [1] : data_ (bytes): 0x955a53f5000000000000000000000000f06dd9b61d480704cc7bef717e5ea6efb6af75be0000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000001b47567cbe36e63293a7a2018f79687f942ab24c0000000000000000000000004e2422ac29b72290be28c6a7c3fad7a7fda69e7a000000000000000000000000f0511f123164602042ab2bcf02111fa5d3fe97cd000000000000000000000000bbba073c31bf03b8acf7c28ef0738decf369568300000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f636f6e7472616374732e73616e64626f782e67616d652f7a6570746f6c6162732d756e72657665616c65642f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e5a6570746f4c6162734f6d4e6f6d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a4f4d0000000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
27 Constructor Arguments found :
Arg [0] : 00000000000000000000000099ba5f0534b0cefafaf17530e14873b2f424b0bd
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 00000000000000000000000000000000000000000000000000000000000002e4
Arg [3] : 955a53f5000000000000000000000000f06dd9b61d480704cc7bef717e5ea6ef
Arg [4] : b6af75be00000000000000000000000000000000000000000000000000000000
Arg [5] : 0000020000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000026000000000000000000000000000000000000000000000000000000000
Arg [7] : 000002a00000000000000000000000001b47567cbe36e63293a7a2018f79687f
Arg [8] : 942ab24c0000000000000000000000004e2422ac29b72290be28c6a7c3fad7a7
Arg [9] : fda69e7a000000000000000000000000f0511f123164602042ab2bcf02111fa5
Arg [10] : d3fe97cd000000000000000000000000bbba073c31bf03b8acf7c28ef0738dec
Arg [11] : f369568300000000000000000000000000000000000000000000000000000000
Arg [12] : 000007d0000000000000000000000000000000000000aaeb6d7670e522a71806
Arg [13] : 7333cd4e0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f
Arg [14] : 810dceb600000000000000000000000000000000000000000000000000000000
Arg [15] : 000000010000000000000000000000000000000000000000000000056bc75e2d
Arg [16] : 6310000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000400000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000200000000000000000000000000000000000000000000000000000000
Arg [19] : 0000002800000000000000000000000000000000000000000000000000000000
Arg [20] : 0000003468747470733a2f2f636f6e7472616374732e73616e64626f782e6761
Arg [21] : 6d652f7a6570746f6c6162732d756e72657665616c65642f0000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [23] : 0000000e5a6570746f4c6162734f6d4e6f6d0000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [25] : 000000035a4f4d00000000000000000000000000000000000000000000000000
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

27405:3468:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23959:11;:9;:11::i;:::-;27405:3468;;23728:11;:9;:11::i;30779:91::-;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;30779:91:0;;;;;;;30325:85;;;;;;;;;;;;;:::i;29636:275::-;;;;;;;;;;-1:-1:-1;29636:275:0;;;;;:::i;:::-;;:::i;28937:209::-;;;;;;;;;;-1:-1:-1;28937:209:0;;;;;:::i;:::-;;:::i;23365:113::-;23442:28;23452:17;:15;:17::i;:::-;23442:9;:28::i;:::-;23365:113::o;30779:91::-;30824:7;30851:11;:9;:11::i;:::-;30844:18;;30779:91;:::o;30325:85::-;30366:7;30393:9;:7;:9::i;29636:275::-;29710:13;29726:11;:9;:11::i;:::-;29710:27;-1:-1:-1;29756:10:0;-1:-1:-1;;;;;29756:19:0;;;29748:76;;;;-1:-1:-1;;;29748:76:0;;2005:2:1;29748:76:0;;;1987:21:1;2044:2;2024:18;;;2017:30;2083:34;2063:18;;;2056:62;-1:-1:-1;;;2134:18:1;;;2127:42;2186:19;;29748:76:0;;;;;;;;;29835:22;29848:8;29835:12;:22::i;:::-;29699:212;29636:275;:::o;28937:209::-;29039:11;:9;:11::i;:::-;-1:-1:-1;;;;;29025:25:0;:10;-1:-1:-1;;;;;29025:25:0;;29017:83;;;;-1:-1:-1;;;29017:83:0;;2418:2:1;29017:83:0;;;2400:21:1;2457:2;2437:18;;;2430:30;2496:34;2476:18;;;2469:62;-1:-1:-1;;;2547:18:1;;;2540:43;2600:19;;29017:83:0;2216:409:1;29017:83:0;29111:27;29122:9;29133:4;29111:10;:27::i;9079:200::-;9162:12;9194:77;9215:6;9223:4;9194:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;9187:84;9079:200;-1:-1:-1;;;9079:200:0:o;3651:326::-;-1:-1:-1;;;;;3946:19:0;;:23;;;3651:326::o;13579:195::-;13752:4;13579:195::o;25795:140::-;25862:7;25897:12;:10;:12::i;:::-;-1:-1:-1;;;;;25889:36:0;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21955:918::-;22298:14;22295:1;22292;22279:34;22516:1;22513;22497:14;22494:1;22478:14;22471:5;22458:60;22595:16;22592:1;22589;22574:38;22635:6;22704:68;;;;22823:16;22820:1;22813:27;22704:68;22740:16;22737:1;22730:27;22628:227;;;21955:918;:::o;18567:124::-;18611:7;18434:66;18638:39;:45;-1:-1:-1;;;;;18638:45:0;;18567:124;-1:-1:-1;18567:124:0:o;25590:97::-;25640:7;25667:12;:10;:12::i;19100:138::-;19165:35;19178:11;:9;:11::i;:::-;19165:35;;;-1:-1:-1;;;;;3116:15:1;;;3098:34;;3168:15;;;3163:2;3148:18;;3141:43;3033:18;19165:35:0;;;;;;;19211:19;19221:8;19211:9;:19::i;:::-;19100:138;:::o;26325:135::-;26408:44;26432:6;26440:4;26446:5;26408:23;:44::i;9473:332::-;9618:12;9644;9658:23;9685:6;-1:-1:-1;;;;;9685:19:0;9705:4;9685:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9643:67;;;;9728:69;9755:6;9763:7;9772:10;9784:12;9728:26;:69::i;:::-;9721:76;9473:332;-1:-1:-1;;;;;;9473:332:0:o;19662:126::-;19707:7;19528:66;19734:40;13579:195;18778:204;-1:-1:-1;;;;;18842:22:0;;18834:73;;;;-1:-1:-1;;;18834:73:0;;3939:2:1;18834:73:0;;;3921:21:1;3978:2;3958:18;;;3951:30;4017:34;3997:18;;;3990:62;-1:-1:-1;;;4068:18:1;;;4061:36;4114:19;;18834:73:0;3737:402:1;18834:73:0;18966:8;18434:66;18918:39;:56;;-1:-1:-1;;;;;;18918:56:0;-1:-1:-1;;;;;18918:56:0;;;;;;;;;;-1:-1:-1;18778:204:0:o;20564:353::-;20705:21;20716:9;20705:10;:21::i;:::-;20742:25;;-1:-1:-1;;;;;20742:25:0;;;;;;;;20796:1;20782:4;:11;:15;:28;;;;20801:9;20782:28;20778:132;;;20827:71;20864:9;-1:-1:-1;;;;;20856:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20893:4;20827:28;:71::i;:::-;;20564:353;;;:::o;10101:644::-;10286:12;10315:7;10311:427;;;10343:10;:17;10364:1;10343:22;10339:290;;-1:-1:-1;;;;;3946:19:0;;;10553:60;;;;-1:-1:-1;;;10553:60:0;;4346:2:1;10553:60:0;;;4328:21:1;4385:2;4365:18;;;4358:30;4424:31;4404:18;;;4397:59;4473:18;;10553:60:0;4144:353:1;10553:60:0;-1:-1:-1;10650:10:0;10643:17;;10311:427;10693:33;10701:10;10713:12;10693:7;:33::i;:::-;10101:644;;;;;;:::o;19875:378::-;-1:-1:-1;;;;;3946:19:0;;;19933:79;;;;-1:-1:-1;;;19933:79:0;;4704:2:1;19933:79:0;;;4686:21:1;4743:2;4723:18;;;4716:30;4782:34;4762:18;;;4755:62;-1:-1:-1;;;4833:18:1;;;4826:35;4878:19;;19933:79:0;4502:401:1;19933:79:0;20045:55;20072:9;-1:-1:-1;;;;;20064:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;20045:55::-;20023:153;;;;-1:-1:-1;;;20023:153:0;;5110:2:1;20023:153:0;;;5092:21:1;5149:2;5129:18;;;5122:30;5188:34;5168:18;;;5161:62;-1:-1:-1;;;5239:18:1;;;5232:46;5295:19;;20023:153:0;4908:412:1;20023:153:0;20236:9;19528:66;20187:40;13579:195;11287:552;11448:17;;:21;11444:388;;11680:10;11674:17;11737:15;11724:10;11720:2;11716:19;11709:44;11444:388;11807:12;11800:20;;-1:-1:-1;;;11800:20:0;;;;;;;;:::i;222:131:1:-;-1:-1:-1;;;;;297:31:1;;287:42;;277:70;;343:1;340;333:12;358:247;417:6;470:2;458:9;449:7;445:23;441:32;438:52;;;486:1;483;476:12;438:52;525:9;512:23;544:31;569:5;544:31;:::i;610:127::-;671:10;666:3;662:20;659:1;652:31;702:4;699:1;692:15;726:4;723:1;716:15;742:1056;819:6;827;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;935:9;922:23;954:31;979:5;954:31;:::i;:::-;1004:5;-1:-1:-1;1060:2:1;1045:18;;1032:32;1083:18;1113:14;;;1110:34;;;1140:1;1137;1130:12;1110:34;1178:6;1167:9;1163:22;1153:32;;1223:7;1216:4;1212:2;1208:13;1204:27;1194:55;;1245:1;1242;1235:12;1194:55;1281:2;1268:16;1303:2;1299;1296:10;1293:36;;;1309:18;;:::i;:::-;1384:2;1378:9;1352:2;1438:13;;-1:-1:-1;;1434:22:1;;;1458:2;1430:31;1426:40;1414:53;;;1482:18;;;1502:22;;;1479:46;1476:72;;;1528:18;;:::i;:::-;1568:10;1564:2;1557:22;1603:2;1595:6;1588:18;1643:7;1638:2;1633;1629;1625:11;1621:20;1618:33;1615:53;;;1664:1;1661;1654:12;1615:53;1720:2;1715;1711;1707:11;1702:2;1694:6;1690:15;1677:46;1765:1;1760:2;1755;1747:6;1743:15;1739:24;1732:35;1786:6;1776:16;;;;;;;742:1056;;;;;:::o;2630:251::-;2700:6;2753:2;2741:9;2732:7;2728:23;2724:32;2721:52;;;2769:1;2766;2759:12;2721:52;2801:9;2795:16;2820:31;2845:5;2820:31;:::i;3195:258::-;3267:1;3277:113;3291:6;3288:1;3285:13;3277:113;;;3367:11;;;3361:18;3348:11;;;3341:39;3313:2;3306:10;3277:113;;;3408:6;3405:1;3402:13;3399:48;;;-1:-1:-1;;3443:1:1;3425:16;;3418:27;3195:258::o;3458:274::-;3587:3;3625:6;3619:13;3641:53;3687:6;3682:3;3675:4;3667:6;3663:17;3641:53;:::i;:::-;3710:16;;;;;3458:274;-1:-1:-1;;3458:274:1:o;5325:383::-;5474:2;5463:9;5456:21;5437:4;5506:6;5500:13;5549:6;5544:2;5533:9;5529:18;5522:34;5565:66;5624:6;5619:2;5608:9;5604:18;5599:2;5591:6;5587:15;5565:66;:::i;:::-;5692:2;5671:15;-1:-1:-1;;5667:29:1;5652:45;;;;5699:2;5648:54;;5325:383;-1:-1:-1;;5325:383:1:o

Swarm Source

ipfs://445e710f7c3560df0fd926db3017ae4fd6bddd461422813baebb1720554f8d28

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.