ETH Price: $3,144.82 (-8.49%)
Gas: 11 Gwei

Contract

0x067C5714f9c034fda974f909591c75A710C8f6eb
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...179689562023-08-22 8:07:11338 days ago1692691631IN
0x067C5714...710C8f6eb
0 ETH0.0008705618.87403406
Set State168294562023-03-14 23:29:11498 days ago1678836551IN
0x067C5714...710C8f6eb
0 ETH0.0008939230.92946728
Mint For Address168292672023-03-14 22:50:59498 days ago1678834259IN
0x067C5714...710C8f6eb
0 ETH0.0014094425.86937941
Set State168291182023-03-14 22:20:35498 days ago1678832435IN
0x067C5714...710C8f6eb
0 ETH0.0008942830.92908716
Mint For Address168291132023-03-14 22:19:35498 days ago1678832375IN
0x067C5714...710C8f6eb
0 ETH0.0016589829.11368157
Mint For Address168291062023-03-14 22:18:11498 days ago1678832291IN
0x067C5714...710C8f6eb
0 ETH0.0015004826.33213209
0x60806040168290792023-03-14 22:12:47498 days ago1678831967IN
 Create: MULTINFT_METAVERSE_NIGHTS
0 ETH0.0683731526.32991667

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MULTINFT_METAVERSE_NIGHTS

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-14
*/

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

// File contracts/IERC1155.sol


pragma solidity ^0.8.18;

    /**
        @title ERC-1155 Multi Token Standard
        @dev See https://eips.ethereum.org/EIPS/eip-1155
        Note: The ERC-165 identifier for this interface is 0xd9b67a26.
    */
    interface IERC1155 /* is ERC165 */ {

    /**
    * The max supply value is above the storage limit (2^64 -1).
    */
    error MaxSupplyValueAboveLimit();

    /**
    * Function parameters lengths mismatch.
    */
    error ParamsLengthsMismatch();

    /**
    * The token does not exist.
    */
    error MaxSupplyChangeForNonexistentToken();

    /**
    * Cannot query the balance for the zero address.
    */
    error BalanceQueryForZeroAddress();

    /**
    * Cannot mint to the zero address.
    */
    error MintToZeroAddress();

    /**
    * The quantity of tokens minted must be more than zero.
    */
    error MintZeroQuantity();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC1155TokenReceiver interface.
     */
    error TransferToNonERC1155TokenReceiverImplementer();

    /**
     * Tokens rejected by the remote ERC1155TokenReceiver
     * implementer contract.
     */
    error ERC1155TokenReceiverRejectedTokens();

    /**
     * Insufficient balance.
     */
    error InsufficientBalance();

    /**
     * Mint amount added to current supply exceed max supply.
     */
    error MintAmountExceedsMaxSupply();

    /**
        @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).
        The `operator` argument MUST be the address of an account/contract that is approved to make the transfer (SHOULD be msg.sender).
        The `from` argument MUST be the address of the holder whose balance is decreased.
        The `to` argument MUST be the address of the recipient whose balance is increased.
        The `id` argument MUST be the token type being transferred.
        The `amount` argument MUST be the number of tokens the holder balance is decreased by and match what the recipient balance is increased by.
        When minting/creating tokens, the `from` argument MUST be set to `0x0` (i.e. zero address).
        When burning/destroying tokens, the `to` argument MUST be set to `0x0` (i.e. zero address).        
    */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 amount);

    /**
        @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).      
        The `operator` argument MUST be the address of an account/contract that is approved to make the transfer (SHOULD be msg.sender).
        The `from` argument MUST be the address of the holder whose balance is decreased.
        The `to` argument MUST be the address of the recipient whose balance is increased.
        The `ids` argument MUST be the list of tokens being transferred.
        The `amounts` argument MUST be the list of number of tokens (matching the list and order of tokens specified in ids) the holder balance is decreased by and match what the recipient balance is increased by.
        When minting/creating tokens, the `from` argument MUST be set to `0x0` (i.e. zero address).
        When burning/destroying tokens, the `to` argument MUST be set to `0x0` (i.e. zero address).                
    */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] amounts);

    /**
        @dev MUST emit when approval for a second party/operator address to manage all tokens for an owner address is enabled or disabled (absence of an event assumes disabled).        
    */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
        @dev MUST emit when the URI is updated for a token ID.
        URIs are defined in RFC 3986.
        The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".
    */
    event URI(string value, uint256 indexed id);


    /**
        @notice Transfers `amount` amount of an `id` from the `from` address to the `to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `from` account (see "Approval" section of the standard).
        MUST revert if `to` is the zero address.
        MUST revert if balance of holder for token `id` is lower than the `amount` sent.
        MUST revert on any other error.
        MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard).
        After the above conditions are met, this function MUST check if `to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `to` and act appropriately (see "Safe Transfer Rules" section of the standard).        
        @param from    Source address
        @param to      Target address
        @param id      ID of the token type
        @param amount   Transfer amount
        @param data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `to`
    */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external payable;

    /**
        @notice Transfers `amounts` amount(s) of `ids` from the `from` address to the `to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `from` account (see "Approval" section of the standard).
        MUST revert if `to` is the zero address.
        MUST revert if length of `ids` is not the same as length of `amounts`.
        MUST revert if any of the balance(s) of the holder(s) for token(s) in `ids` is lower than the respective amount(s) in `amounts` sent to the recipient.
        MUST revert on any other error.        
        MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard).
        Balance changes and events MUST follow the ordering of the arrays (ids[0]/amounts[0] before ids[1]/amounts[1], etc).
        After the above conditions for the transfer(s) in the batch are met, this function MUST check if `to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `to` and act appropriately (see "Safe Transfer Rules" section of the standard).                      
        @param from    Source address
        @param to      Target address
        @param ids     IDs of each token type (order and length must match amounts array)
        @param amounts  Transfer amounts per token type (order and length must match ids array)
        @param data    Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `to`
    */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external payable;

    /**
        @notice Get the balance of an account's tokens.
        @param owner  The address of the token holder
        @param id     ID of the token
        @return        The owner's balance of the token type requested
     */
    function balanceOf(address owner, uint256 id) external view returns (uint256);

    /**
        @notice Get the balance of multiple account/token pairs
        @param owners The addresses of the token holders
        @param ids    ID of the tokens
        @return        The owner's balance of the token types requested (i.e. balance for each (owner, id) pair)
     */
    function balanceOfBatch(address[] calldata owners, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
        @notice Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
        @dev MUST emit the ApprovalForAll event on success.
        @param operator  Address to add to the set of authorized operators
        @param approved  True if the operator is approved, false to revoke approval
    */
    function setApprovalForAll(address operator, bool approved) external payable;

    /**
        @notice Queries the approval status of an operator for a given owner.
        @param owner     The owner of the tokens
        @param operator  Address of authorized operator
        @return           True if the operator is approved, false if not
    */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // ==================================================================
    //                        IERC1155MetadataURI
    //   Note: The ERC-165 identifier for this interface is 0x0e89341c.
    // ==================================================================

    /**
        @notice A distinct Uniform Resource Identifier (URI) for a given token.
        @dev URIs are defined in RFC 3986.
        The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".        
        @return URI string
    */
    function uri(uint256 id) external view returns (string memory);

}


// File contracts/ERC1155.sol

// ERC1155 Contracts v1.0.0
// Creator: Victor SOUBEYRAN

pragma solidity ^0.8.18;

/**
    Note: The ERC-165 identifier for this interface is 0x4e2312e0.
*/
interface IERC1155TokenReceiver {
    /**
        @notice Handle the receipt of a single ERC1155 token type.
        @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeTransferFrom` after the balance has been updated.        
        This function MUST return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61) if it accepts the transfer.
        This function MUST revert if it rejects the transfer.
        Return of any other value than the prescribed keccak256 generated value MUST result in the transaction being reverted by the caller.
        @param operator  The address which initiated the transfer (i.e. msg.sender)
        @param from      The address which previously owned the token
        @param id        The ID of the token being transferred
        @param value     The amount of tokens being transferred
        @param data      Additional data with no specified format
        @return           `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
    */
    function onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes calldata data) external returns(bytes4);

    /**
        @notice Handle the receipt of multiple ERC1155 token types.
        @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeBatchTransferFrom` after the balances have been updated.        
        This function MUST return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81) if it accepts the transfer(s).
        This function MUST revert if it rejects the transfer(s).
        Return of any other value than the prescribed keccak256 generated value MUST result in the transaction being reverted by the caller.
        @param operator  The address which initiated the batch transfer (i.e. msg.sender)
        @param from      The address which previously owned the token
        @param ids       An array containing ids of each token being transferred (order and length must match values array)
        @param values    An array containing amounts of each token being transferred (order and length must match ids array)
        @param data      Additional data with no specified format
        @return           `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
    */
    function onERC1155BatchReceived(address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data) external returns(bytes4);       
}

/**
 * @title ERC1155
 *
 * @dev Implementation of the [ERC1155](https://eips.ethereum.org/EIPS/eip-1155)
 * Multi Token Standard, including the MetadataURI extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC1155 is IERC1155 {

    // =============================================================
    //                           EVENTS
    // =============================================================

    /**
        @dev MUST emit when the ownership of the contract is transfered.
    */
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data and token metadata.
    address internal constant _ADDRESS_ZERO = 0x0000000000000000000000000000000000000000;

    // Mask of an entry in packed address data and token metadata.
    uint256 internal constant _BITMASK_DATA_ENTRY = (1 << 64) - 1;

    // Mask of all 256 bits in packed address data except the 64 bits for `maxSupply`.
    uint256 internal constant _BITMASK_MAX_SUPPLY_COMPLEMENT = ~uint256(0) ^ _BITMASK_DATA_ENTRY;

    // The bit position of `numberMinted` in packed address data.
    uint256 internal constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 internal constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 internal constant _BITPOS_AUX = 192;

    // // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    // uint256 internal constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // // The `TransferSingle` event signature is given by:
    // // `keccak256(bytes("TransferSingle(address,address,address,uint256,uint256)"))`.
    // bytes32 private constant _TRANSFER_SINGLE_EVENT_SIGNATURE =
    //     0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62;

    // // The `TransferBatch` event signature is given by:
    // // `keccak256(bytes("TransferBatch(address,address,address,uint256[],uint256[])"))`.
    // bytes32 private constant _TRANSFER_BATCH_EVENT_SIGNATURE =
    //     0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb;

    // // The `ApprovalForAll` event signature is given by:
    // // `keccak256(bytes("ApprovalForAll(address,address,bool)"))`.
    // bytes32 private constant _APPROVAL_FOR_ALL_EVENT_SIGNATURE =
    //     0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31;

    // // The `URI` event signature is given by:
    // // `keccak256(bytes("URI(string,uint256)"))`.
    // bytes32 private constant _URI_EVENT_SIGNATURE =
    //     0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // Token URIs
    string internal _uri;

    // The next token ID to be minted.
    uint256 internal _currentIndex = 1;

    // Mapping from token ID to metadata
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..63]    `maxSupply`
    // - [64..127]  `minted`
    // - [128..191] `burned`
    // - [192..255] `aux`
    mapping(uint256 => uint256) internal _packedTokenMetadata;

    // Mapping owner address to address data mapped by tokenId.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => mapping(uint256 => uint256)) internal _packedAddressData;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    address internal _contractOwner;

    // =============================================================
    //                          MODIFIERS
    // =============================================================

    modifier onlyOwner() {
        require(msg.sender == _contractOwner, "Must be contract owner");
        _;
    }

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory uri_, uint256 maxSupplyFirstToken) {
        _contractOwner = msg.sender;
        _uri = uri_;
        if (maxSupplyFirstToken > _BITMASK_DATA_ENTRY) _revert(MaxSupplyValueAboveLimit.selector);
        _packedTokenMetadata[0] = maxSupplyFirstToken & _BITMASK_DATA_ENTRY;
        emit TransferSingle(msg.sender, _ADDRESS_ZERO, _ADDRESS_ZERO, 0, 0);
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {totalMinted}.
     */
    function totalSupply(uint256 tokenId) external view virtual returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex` times.
        unchecked {
            uint256 packedMetadata = _packedTokenMetadata[tokenId];
            return  ((packedMetadata >> _BITPOS_NUMBER_MINTED) & _BITMASK_DATA_ENTRY) - ((packedMetadata >> _BITPOS_NUMBER_BURNED) & _BITMASK_DATA_ENTRY);
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function totalMinted(uint256 tokenId) external view virtual returns (uint256) {
        return (_packedTokenMetadata[tokenId] >> _BITPOS_NUMBER_MINTED) & _BITMASK_DATA_ENTRY;
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function totalBurned(uint256 tokenId) external view virtual returns (uint256) {
        return (_packedTokenMetadata[tokenId] >> _BITPOS_NUMBER_BURNED) & _BITMASK_DATA_ENTRY;
    }

    // =============================================================
    //                    TOKEN OPERATIONS
    // =============================================================

    /**
     * @dev Create new token.
     */
    function createToken(uint256 maxSupply, bool mint) external payable virtual onlyOwner returns (uint256) {
        if (maxSupply > _BITMASK_DATA_ENTRY) _revert(MaxSupplyValueAboveLimit.selector);
        uint256 idx = _currentIndex;
        if (mint == true) {
            uint256 dataToStore = (maxSupply & _BITMASK_DATA_ENTRY) + (maxSupply << _BITPOS_NUMBER_MINTED);
            _packedAddressData[msg.sender][idx] = dataToStore;
            _packedTokenMetadata[idx] = dataToStore;
            emit TransferSingle(msg.sender, _ADDRESS_ZERO, msg.sender, idx, maxSupply);
        }
        else {
            _packedTokenMetadata[idx] = maxSupply & _BITMASK_DATA_ENTRY;
            emit TransferSingle(msg.sender, _ADDRESS_ZERO, _ADDRESS_ZERO, idx, 0);
        }
        unchecked {
            ++_currentIndex;
        }
        return idx;
    }

    function setMaxSupply(uint256 tokenId, uint256 maxSupply) external payable virtual onlyOwner {
        if (maxSupply > _BITMASK_DATA_ENTRY) _revert(MaxSupplyValueAboveLimit.selector);
        if (tokenId < _currentIndex) {
            _packedTokenMetadata[tokenId] = (_packedTokenMetadata[tokenId] & _BITMASK_MAX_SUPPLY_COMPLEMENT) | maxSupply; 

        } else {
            _revert(MaxSupplyChangeForNonexistentToken.selector);
        }
    }

    function getMaxSupply(uint256 tokenId) external view virtual returns (uint256) {
        return _packedTokenMetadata[tokenId] & _BITMASK_DATA_ENTRY;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    function balanceOf(address owner, uint256 tokenId) external view returns (uint256) {
        if (owner == _ADDRESS_ZERO) _revert(BalanceQueryForZeroAddress.selector);
        return _packedAddressData[owner][tokenId] & _BITMASK_DATA_ENTRY;
    }

    function balanceOfBatch(address[] calldata owners, uint256[] calldata tokenIds) external view returns (uint256[] memory balances) {
        if (owners.length != tokenIds.length) _revert(ParamsLengthsMismatch.selector);
        
        balances = new uint256[](owners.length);
        uint256 length = owners.length;
        for (uint256 i = 0; i < length; ++i) {
            if (owners[i] == _ADDRESS_ZERO) _revert(BalanceQueryForZeroAddress.selector);
            balances[i] = _packedAddressData[owners[i]][tokenIds[i]] & _BITMASK_DATA_ENTRY;
        }
        return balances;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function numberMinted(address owner, uint256 tokenId) public view returns (uint256) {
        return (_packedAddressData[owner][tokenId] >> _BITPOS_NUMBER_MINTED) & _BITMASK_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function numberBurned(address owner, uint256 tokenId) public view returns (uint256) {
        return (_packedAddressData[owner][tokenId] >> _BITPOS_NUMBER_BURNED) & _BITMASK_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner, uint256 tokenId) internal view returns (uint64) {
        return uint64(_packedAddressData[owner][tokenId] >> _BITPOS_AUX);
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x4e2312e0 || // ERC165 interface ID for ERC1155.
            interfaceId == 0x0e89341c; // ERC165 interface ID for ERC1155MetadataURI.
    }

    // =============================================================
    //                        IERC1155MetadataURI
    // =============================================================

    /**
        @dev URIs are defined in RFC 3986.
        The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".        
        @return URI string
    */
    function uri(uint256 id) external view virtual override returns (string memory) {
        return _uri;
    }

    /**
        @dev URIs are defined in RFC 3986.
        The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".        
    */
    function setUri(uint256 id, string calldata uri_) external payable virtual onlyOwner {
        _uri = uri_;
        emit URI(uri_, 0);
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) external payable virtual override {
        _operatorApprovals[msg.sender][operator] = approved;
        emit ApprovalForAll(msg.sender, operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) external view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external payable {
        if (to == _ADDRESS_ZERO) _revert(TransferToZeroAddress.selector);
        
        if (from != msg.sender) {
            if (_operatorApprovals[from][msg.sender] == false) {
                _revert(TransferCallerNotOwnerNorApproved.selector);
            }
        }

        uint256 fromAddressData = _packedAddressData[from][id];
        if ((fromAddressData & _BITMASK_DATA_ENTRY) < amount) _revert(InsufficientBalance.selector);

        unchecked {
            _packedAddressData[from][id] = fromAddressData - amount;
            _packedAddressData[to][id] += amount;
        }

        emit TransferSingle(msg.sender, from, to, id, amount);

        if (isContract(to)) {
            _doSafeTransferAcceptanceCheck(msg.sender, from, to, id, amount, data);
        }
    }

    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external payable {
        if (to == _ADDRESS_ZERO) _revert(TransferToZeroAddress.selector);
        if (ids.length != amounts.length) _revert(ParamsLengthsMismatch.selector);
        if (from != msg.sender) {
            if (_operatorApprovals[from][msg.sender] == false) {
                _revert(TransferCallerNotOwnerNorApproved.selector);
            }
        }

        uint256 id;
        uint256 amount;
        uint256 fromAddressData;
        uint256 length = ids.length;
        for (uint256 i = 0; i < length; ++i) {
            id = ids[i];
            amount = amounts[i];
            fromAddressData = _packedAddressData[from][id];

            if ((fromAddressData & _BITMASK_DATA_ENTRY) < amount) _revert(InsufficientBalance.selector);

            unchecked {
                _packedAddressData[from][id] = fromAddressData - amount;
                _packedAddressData[to][id] += amount;
            }
        }

        // Note: instead of the below batch versions of event and acceptance check you MAY have emitted a TransferSingle
        // event and a subsequent call to _doSafeTransferAcceptanceCheck in above loop for each balance change instead.
        // Or emitted a TransferSingle event for each in the loop and then the single _doSafeBatchTransferAcceptanceCheck below.
        // However it is implemented the balance changes and events MUST match when a check (i.e. calling an external contract) is done.

        // MUST emit event
        emit TransferBatch(msg.sender, from, to, ids, amounts);

        // Now that the balances are updated and the events are emitted,
        // call onERC1155BatchReceived if the destination is a contract.
        if (isContract(to)) {
            _doSafeBatchTransferAcceptanceCheck(msg.sender, from, to, ids, amounts, data);
        }
    }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (isContract(to)) {
            try IERC1155TokenReceiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155TokenReceiver.onERC1155Received.selector) {
                    _revert(ERC1155TokenReceiverRejectedTokens.selector);
                }
            } 
            catch (bytes memory reason) {
                if (reason.length == 0) {
                    _revert(TransferToNonERC1155TokenReceiverImplementer.selector);
                }
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (isContract(to)) {
            try IERC1155TokenReceiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155TokenReceiver.onERC1155BatchReceived.selector) {
                    _revert(ERC1155TokenReceiverRejectedTokens.selector);
                }
            } 
            catch (bytes memory reason) {
                if (reason.length == 0) {
                    _revert(TransferToNonERC1155TokenReceiverImplementer.selector);
                }
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }            
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 id, uint256 amount, bytes memory data) internal virtual {
        if (to == _ADDRESS_ZERO) _revert(MintToZeroAddress.selector);
        uint256 packedMetadata = _packedTokenMetadata[id];
        if ((((packedMetadata >> _BITPOS_NUMBER_MINTED) & _BITMASK_DATA_ENTRY) + amount) > (packedMetadata & _BITMASK_DATA_ENTRY)) {
            _revert(MintAmountExceedsMaxSupply.selector);
        }

        unchecked {
            _packedAddressData[to][id] += amount + (amount << _BITPOS_NUMBER_MINTED);
            _packedTokenMetadata[id] = packedMetadata + (amount << _BITPOS_NUMBER_MINTED);
        }
        emit TransferSingle(msg.sender, _ADDRESS_ZERO, to, id, amount);

        _doSafeTransferAcceptanceCheck(msg.sender, _ADDRESS_ZERO, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155TokenReceiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        if (to == _ADDRESS_ZERO) _revert(MintToZeroAddress.selector);
        if (ids.length != amounts.length) _revert(ParamsLengthsMismatch.selector);

        uint256 id;
        uint256 amount;
        uint256 packedMetadata;
        uint256 length = ids.length;
        for (uint256 i = 0; i < length; ++i) {
            id = ids[i];
            amount = amounts[i];
            packedMetadata = _packedTokenMetadata[id];
            if ((((packedMetadata >> _BITPOS_NUMBER_MINTED) & _BITMASK_DATA_ENTRY) + amount) > (packedMetadata & _BITMASK_DATA_ENTRY)) {
                _revert(MintAmountExceedsMaxSupply.selector);
            }

            unchecked {
                _packedAddressData[to][id] += amount + (amount << _BITPOS_NUMBER_MINTED);
                _packedTokenMetadata[id] = packedMetadata + (amount << _BITPOS_NUMBER_MINTED);
            }
        }

        emit TransferBatch(msg.sender, _ADDRESS_ZERO, to, ids, amounts);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     */
    function _safeMint(address to, uint256 id, uint256 amount, bytes memory data) internal virtual {
        _mint(to, id, amount, data);

        uint256 currentNumberMinted = (_packedTokenMetadata[id] >> _BITPOS_NUMBER_MINTED) & _BITMASK_DATA_ENTRY;
        _doSafeTransferAcceptanceCheck(msg.sender, _ADDRESS_ZERO, to, id, amount, data);
        if (((_packedTokenMetadata[id] >> _BITPOS_NUMBER_MINTED) & _BITMASK_DATA_ENTRY) != currentNumberMinted) _revert(bytes4(0));

    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     */
    function _safeMintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        _mintBatch(to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(msg.sender, _ADDRESS_ZERO, to, ids, amounts, data);
    }


    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(address from, uint256 id, uint256 amount, bool approvalCheck) internal virtual {
        if (approvalCheck == true) {
            if (from != msg.sender) {
                if (_operatorApprovals[from][msg.sender] == false) {
                    _revert(TransferCallerNotOwnerNorApproved.selector);
                }
            }
        }

        uint256 fromAddressData = _packedAddressData[from][id];
        if ((fromAddressData & _BITMASK_DATA_ENTRY) < amount) _revert(InsufficientBalance.selector);

        unchecked {
            _packedAddressData[from][id] = fromAddressData - amount + (amount << _BITPOS_NUMBER_BURNED);
            _packedTokenMetadata[id] += (amount << _BITPOS_NUMBER_BURNED);
        }

        emit TransferSingle(msg.sender, from, _ADDRESS_ZERO, id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory amounts, bool approvalCheck) internal virtual {
        if (ids.length != amounts.length) _revert(ParamsLengthsMismatch.selector);
        if (approvalCheck == true) {
            if (from != msg.sender) {
                if (_operatorApprovals[from][msg.sender] == false) {
                    _revert(TransferCallerNotOwnerNorApproved.selector);
                }
            }
        }

        uint256 id;
        uint256 amount;
        uint256 fromAddressData;
        uint256 length = ids.length;
        for (uint256 i = 0; i < length; ++i) {
            id = ids[i];
            amount = amounts[i];
            fromAddressData = _packedAddressData[from][id];

            if ((fromAddressData & _BITMASK_DATA_ENTRY) < amount) _revert(InsufficientBalance.selector);

            unchecked {
                _packedAddressData[from][id] = fromAddressData - amount + (amount << _BITPOS_NUMBER_BURNED);
                _packedTokenMetadata[id] += (amount << _BITPOS_NUMBER_BURNED);
            }            
        }

        // MUST emit event
        emit TransferBatch(msg.sender, from, _ADDRESS_ZERO, ids, amounts);
    }

    // =============================================================
    //                       CONTRACT OWNER OPERATIONS
    // =============================================================

    function withdraw() external payable onlyOwner {
        (bool os, ) = payable(_contractOwner).call{value: address(this).balance}("");
        require(os);
    }

    function transferOwnership(address newOwner) external payable onlyOwner {
        require(newOwner != _ADDRESS_ZERO, "New owner is the zero address");
        address oldOwner = _contractOwner;
        _contractOwner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    function isContract(address _contract) internal view returns (bool) {
        uint256 contractSize;
        assembly {
            contractSize := extcodesize(_contract)
        }
        return contractSize > 0;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}


// File contracts/MULTINFT_METAVERSE_NIGHTS.sol

// Updated to start tokenId from 1

pragma solidity ^0.8.18;

contract MULTINFT_METAVERSE_NIGHTS is ERC1155 {

    // =============================================================
    //                           ERRORS
    // =============================================================

    error NoUndergoinSpecialSale();

    error MintDisabled();

    error NotEnoughEtherForMinting();

    error MintLimitByUserReached();

    event SpecialSaleClaim(address from, uint8 amount, uint8 saleId);


    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of `price` in packed collection metadata.
    uint256 internal constant _BITMASK_PRICE_ENTRY = (1 << 184) - 1;

    // Mask of all 256 bits in packed address data except the 184 bits for `price`.
    uint256 internal constant _BITMASK_PRICE_COMPLEMENT = ~uint256(0) ^ _BITMASK_PRICE_ENTRY;

    // Mask of `userMintLimit` in packed collection metadata.
    uint256 internal constant _BITMASK_USER_MINT_LIMIT_ENTRY = (1 << 64) - 1;

    // Mask of all 256 bits in packed address data except the 64 bits for `userMintLimit`.
    uint256 internal constant _BITMASK_USER_MINT_LIMIT_COMPLEMENT = ~uint256(0) ^ (_BITMASK_USER_MINT_LIMIT_ENTRY << 184);

    // The bit position of `userMintLimit` in packed address data.
    uint256 internal constant _BITPOS_USER_MINT_LIMIT = 184;

    // Mask of `state` in packed collection metadata.
    uint256 internal constant _BITMASK_STATE_ENTRY = (1 << 8) - 1;

    // Mask of all 256 bits in a packed ownership except the 8 bits for `state`.
    uint256 private constant _BITMASK_STATE_COMPLEMENT = (1 << 248) - 1;

    // The bit position of `state` in packed address data.
    uint256 internal constant _BITPOS_STATE = 248;

    // =============================================================
    //                           STORAGE
    // =============================================================

    // Bits Layout:
    // - [0..183]       `price`
    // - [184..247]     `userMintLimit`
    // - [248..255]     `state`
    mapping (uint256 => uint256) private _packedCollectionData; // 0: paused, 1: standard mint, >= 2: special sales

    string public constant name = "Metaverse Nights";

    constructor()
        ERC1155("https://multinft.mypinata.cloud/ipfs/QmVf5RGzQsS3ES4yhLFSpSjWRbpBgJZmWDxYQVUhhYpgHW/{id}.json", 700)
    {
        _packedCollectionData[0] = (0.05 ether) + (10 << _BITPOS_USER_MINT_LIMIT);
    }

    /** 
    @notice Handle specials sales behavior (_state >= 2)
    @param amount Amount to mint.
     */
    function specialSale(uint256 tokenId, uint256 amount) external payable {
        uint256 packedData = _packedCollectionData[tokenId];
        if (((packedData >> _BITPOS_STATE) & _BITMASK_STATE_ENTRY) < 2) _revert(NoUndergoinSpecialSale.selector);
        if (msg.value < (amount * (packedData & _BITMASK_PRICE_ENTRY))) _revert(NotEnoughEtherForMinting.selector);
        if (numberMinted(msg.sender, tokenId) + amount > ((packedData >> _BITPOS_USER_MINT_LIMIT) & _BITMASK_USER_MINT_LIMIT_ENTRY)) _revert(MintLimitByUserReached.selector);
        emit SpecialSaleClaim(msg.sender, uint8(amount), uint8(packedData >> _BITPOS_STATE));
    }

    /** 
    @notice Mint {amount} for recipient account
    @param recipient Recipient account's address.
    @param amount Amount to mint.
     */
    function mintForAddress(address recipient, uint256 tokenId, uint256 amount) external payable onlyOwner {
        _mint(recipient, tokenId, amount, '');
    }

    /** 
    @notice Mint {amount}
    @param amount Amount to mint.
     */
    function mint(uint256 tokenId, uint256 amount) external payable {
        uint256 packedData = _packedCollectionData[tokenId];
        if ((packedData >> _BITPOS_STATE) != 1) _revert(MintDisabled.selector);
        if (numberMinted(msg.sender, tokenId) + amount > ((packedData >> _BITPOS_USER_MINT_LIMIT) & _BITMASK_USER_MINT_LIMIT_ENTRY)) _revert(MintLimitByUserReached.selector);
        if (msg.value < (amount * (packedData & _BITMASK_PRICE_ENTRY))) _revert(NotEnoughEtherForMinting.selector);
        if (!isContract(msg.sender)) {
            _mint(msg.sender, tokenId, amount, '');
        }
        else {
            _safeMint(msg.sender, tokenId, amount, '');
        }
    }

    function setState(uint256 tokenId, uint256 state_) external payable onlyOwner {
        _packedCollectionData[tokenId] = (_packedCollectionData[tokenId] & _BITMASK_STATE_COMPLEMENT) | ((state_ & _BITMASK_STATE_ENTRY) << _BITPOS_STATE);
    }

    function getState(uint256 tokenId) external view returns (uint256) {
        return (_packedCollectionData[tokenId] >> _BITPOS_STATE) & _BITMASK_STATE_ENTRY;
    }

    function setPrice(uint256 tokenId, uint256 price_) external payable onlyOwner {
        _packedCollectionData[tokenId] = (_packedCollectionData[tokenId] & _BITMASK_PRICE_COMPLEMENT) | (price_ & _BITMASK_PRICE_ENTRY);
    }

    function getPrice(uint256 tokenId) external view returns (uint256) {
        return _packedCollectionData[tokenId] & _BITMASK_PRICE_ENTRY;
    }

    function setUserMintLimit(uint256 tokenId, uint256 userMintLimit_) external payable onlyOwner {
        _packedCollectionData[tokenId] = (_packedCollectionData[tokenId] & _BITMASK_USER_MINT_LIMIT_COMPLEMENT) | ((userMintLimit_ & _BITMASK_USER_MINT_LIMIT_ENTRY) << _BITPOS_USER_MINT_LIMIT);
    }

    function getUserMintLimit(uint256 tokenId) external view returns (uint256) {
        return (_packedCollectionData[tokenId] >> _BITPOS_USER_MINT_LIMIT) & _BITMASK_USER_MINT_LIMIT_ENTRY;
    }

    receive() external payable {}

    fallback (bytes calldata _input) external payable returns (bytes memory _output) {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ERC1155TokenReceiverRejectedTokens","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"MaxSupplyChangeForNonexistentToken","type":"error"},{"inputs":[],"name":"MaxSupplyValueAboveLimit","type":"error"},{"inputs":[],"name":"MintAmountExceedsMaxSupply","type":"error"},{"inputs":[],"name":"MintDisabled","type":"error"},{"inputs":[],"name":"MintLimitByUserReached","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoUndergoinSpecialSale","type":"error"},{"inputs":[],"name":"NotEnoughEtherForMinting","type":"error"},{"inputs":[],"name":"ParamsLengthsMismatch","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferToNonERC1155TokenReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint8","name":"amount","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"saleId","type":"uint8"}],"name":"SpecialSaleClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"balances","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"bool","name":"mint","type":"bool"}],"name":"createToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getUserMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintForAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"numberBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"state_","type":"uint256"}],"name":"setState","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"uri_","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"userMintLimit_","type":"uint256"}],"name":"setUserMintLimit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"specialSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600180553480156200001557600080fd5b506040518060800160405280605d815260200162002dc7605d9139600580546001600160a01b031916331790556102bc6000620000538382620001e4565b506001600160401b038111156200007657620000766365b6ebf760e01b62000135565b6000808052600260209081526001600160401b0383167fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5560408051838152918201839052829133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a450620001049050600560b91b66b1a2bc2ec50000620002b0565b6000805260066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f855620002d8565b8060005260046000fd5b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016a57607f821691505b6020821081036200018b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001df57600081815260208120601f850160051c81016020861015620001ba5750805b601f850160051c820191505b81811015620001db57828155600101620001c6565b5050505b505050565b81516001600160401b038111156200020057620002006200013f565b620002188162000211845462000155565b8462000191565b602080601f831160018114620002505760008415620002375750858301515b600019600386901b1c1916600185901b178555620001db565b600085815260208120601f198616915b82811015620002815788860151825594840194600190910190840162000260565b5085821015620002a05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620002d257634e487b7160e01b600052601160045260246000fd5b92915050565b612adf80620002e86000396000f3fe6080604052600436106101c55760003560e01c80636ef82ecc116100f7578063bd85b03911610095578063eba3591a11610064578063eba3591a14610644578063f242432a14610657578063f2fde38b1461066a578063f7d975771461067d576101cc565b8063bd85b0391461054e578063c564727614610595578063e7572230146105a8578063e985e9c5146105ee576101cc565b80639d7f4ebf116100d15780639d7f4ebf1461048f578063a0f8ae47146104ca578063a22cb46514610528578063b9d77bfc1461053b576101cc565b80636ef82ecc146103e3578063782f08ae1461041d5780637a65c03914610430576101cc565b806331d84a1c1161016457806344c9af281161013e57806344c9af281461033c5780634e1273f41461036c5780635e495d741461039957806369fc3b29146103d0576101cc565b806331d84a1c1461030e57806337da577c146103215780633ccfd60b14610334576101cc565b80630e89341c116101a05780630e89341c1461028c5780631b2ef1ca146102ac5780631d72888a146102c15780632eb2c2d6146102fb576101cc565b8062fdd58e146101d357806301ffc9a71461020657806306fdde0314610236576101cc565b366101cc57005b6060516080f35b3480156101df57600080fd5b506101f36101ee36600461219d565b610690565b6040519081526020015b60405180910390f35b34801561021257600080fd5b506102266102213660046121f5565b610719565b60405190151581526020016101fd565b34801561024257600080fd5b5061027f6040518060400160405280601081526020017f4d6574617665727365204e69676874730000000000000000000000000000000081525081565b6040516101fd919061227d565b34801561029857600080fd5b5061027f6102a7366004612290565b6107fa565b6102bf6102ba3660046122a9565b61088e565b005b3480156102cd57600080fd5b506101f36102dc366004612290565b60009081526006602052604090205460b81c67ffffffffffffffff1690565b6102bf610309366004612359565b6109d2565b6102bf61031c366004612414565b610dbf565b6102bf61032f3660046122a9565b610e60565b6102bf610f8b565b34801561034857600080fd5b506101f3610357366004612290565b60009081526006602052604090205460f81c90565b34801561037857600080fd5b5061038c610387366004612447565b61107c565b6040516101fd91906124ee565b3480156103a557600080fd5b506101f36103b4366004612290565b60009081526002602052604090205467ffffffffffffffff1690565b6102bf6103de3660046122a9565b61123c565b3480156103ef57600080fd5b506101f36103fe366004612290565b60009081526002602052604090205460801c67ffffffffffffffff1690565b6102bf61042b366004612501565b611321565b34801561043c57600080fd5b506101f361044b36600461219d565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020908152604080832084845290915290205460801c67ffffffffffffffff1692915050565b34801561049b57600080fd5b506101f36104aa366004612290565b6000908152600260205260409081902054901c67ffffffffffffffff1690565b3480156104d657600080fd5b506101f36104e536600461219d565b73ffffffffffffffffffffffffffffffffffffffff9190911660009081526003602090815260408083209383529290528190205467ffffffffffffffff911c1690565b6102bf61053636600461255d565b6113f0565b6102bf6105493660046122a9565b611487565b34801561055a57600080fd5b506101f3610569366004612290565b600090815260026020526040908190205467ffffffffffffffff608082901c81169190921c9091160390565b6101f36105a3366004612590565b61156c565b3480156105b457600080fd5b506101f36105c3366004612290565b60009081526006602052604090205476ffffffffffffffffffffffffffffffffffffffffffffff1690565b3480156105fa57600080fd5b506102266106093660046125b3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b6102bf6106523660046122a9565b611725565b6102bf6106653660046125dd565b611873565b6102bf610678366004612655565b611a83565b6102bf61068b3660046122a9565b611bf8565b600073ffffffffffffffffffffffffffffffffffffffff83166106d6576106d67f8f4eb60400000000000000000000000000000000000000000000000000000000611cd0565b5073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020908152604080832084845290915290205467ffffffffffffffff165b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806107ac57507f4e2312e0000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b806107135750507fffffffff00000000000000000000000000000000000000000000000000000000167f0e89341c000000000000000000000000000000000000000000000000000000001490565b60606000805461080990612670565b80601f016020809104026020016040519081016040528092919081815260200182805461083590612670565b80156108825780601f1061085757610100808354040283529160200191610882565b820191906000526020600020905b81548152906001019060200180831161086557829003601f168201915b50505050509050919050565b600082815260066020526040902054600160f882901c146108d2576108d27f17efbd6b00000000000000000000000000000000000000000000000000000000611cd0565b336000908152600360209081526040808320868452909152908190205467ffffffffffffffff60b884901c8116928592901c1661090f91906126f2565b111561093e5761093e7f020fc3a400000000000000000000000000000000000000000000000000000000611cd0565b61096176ffffffffffffffffffffffffffffffffffffffffffffff821683612705565b341015610991576109917f9f4c2ed100000000000000000000000000000000000000000000000000000000611cd0565b333b6109b7576109b233848460405180602001604052806000815250611cda565b505050565b6109b233848460405180602001604052806000815250611e13565b73ffffffffffffffffffffffffffffffffffffffff8716610a1657610a167fea553b3400000000000000000000000000000000000000000000000000000000611cd0565b848314610a4657610a467fe5cb65ea00000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff88163314610ac85773ffffffffffffffffffffffffffffffffffffffff8816600090815260046020908152604080832033845290915281205460ff1615159003610ac857610ac87f59c896be00000000000000000000000000000000000000000000000000000000611cd0565b6000808087815b81811015610c61578a8a82818110610ae957610ae961271c565b905060200201359450888882818110610b0457610b0461271c565b905060200201359350600360008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008681526020019081526020016000205492508367ffffffffffffffff84161015610b9b57610b9b7ff4d678b800000000000000000000000000000000000000000000000000000000611cd0565b838303600360008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000208190555083600360008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000206000828254019250508190555080610c5a9061274b565b9050610acf565b508a73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8d8d8d8d604051610cdc94939291906127ce565b60405180910390a48a3b15610db157610db1338d8d8d8d80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508c8c80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611e7892505050565b505050505050505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314610e45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e65720000000000000000000060448201526064015b60405180910390fd5b6109b283838360405180602001604052806000815250611cda565b60055473ffffffffffffffffffffffffffffffffffffffff163314610ee1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b67ffffffffffffffff811115610f1a57610f1a7f65b6ebf700000000000000000000000000000000000000000000000000000000611cd0565b600154821015610f5e57600082815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000016821790555050565b610f877f8dd9256b00000000000000000000000000000000000000000000000000000000611cd0565b5050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461100c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b60055460405160009173ffffffffffffffffffffffffffffffffffffffff169047908381818185875af1925050503d8060008114611066576040519150601f19603f3d011682016040523d82523d6000602084013e61106b565b606091505b505090508061107957600080fd5b50565b60608382146110ae576110ae7fe5cb65ea00000000000000000000000000000000000000000000000000000000611cd0565b8367ffffffffffffffff8111156110c7576110c7612800565b6040519080825280602002602001820160405280156110f0578160200160208202803683370190505b5090508360005b818110156112325760008787838181106111135761111361271c565b90506020020160208101906111289190612655565b73ffffffffffffffffffffffffffffffffffffffff160361116c5761116c7f8f4eb60400000000000000000000000000000000000000000000000000000000611cd0565b67ffffffffffffffff6003600089898581811061118b5761118b61271c565b90506020020160208101906111a09190612655565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008787858181106111ee576111ee61271c565b90506020020135815260200190815260200160002054168382815181106112175761121761271c565b602090810291909101015261122b8161274b565b90506110f7565b5050949350505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146112bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b600091825260066020526040909120805460b89290921b7effffffffffffffff0000000000000000000000000000000000000000000000167fff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff1633146113a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b60006113af828483612875565b5060007f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b83836040516113e392919061298f565b60405180910390a2505050565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611508576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b600091825260066020526040909120805460f89290921b7fff00000000000000000000000000000000000000000000000000000000000000167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60055460009073ffffffffffffffffffffffffffffffffffffffff1633146115f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b67ffffffffffffffff831115611629576116297f65b6ebf700000000000000000000000000000000000000000000000000000000611cd0565b600180549083151590036116bd576000611651604086901b67ffffffffffffffff87166126f2565b33600081815260036020908152604080832087845282528083208590556002825280832085905580518781529182018a90529394509192909183917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a450611716565b600081815260026020908152604080832067ffffffffffffffff881690558051848152918201839052829133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45b60018054810190559392505050565b600082815260066020526040902054600260f882901c101561176a5761176a7f26aea63b00000000000000000000000000000000000000000000000000000000611cd0565b61178d76ffffffffffffffffffffffffffffffffffffffffffffff821683612705565b3410156117bd576117bd7f9f4c2ed100000000000000000000000000000000000000000000000000000000611cd0565b336000908152600360209081526040808320868452909152908190205467ffffffffffffffff60b884901c8116928592901c166117fa91906126f2565b1115611829576118297f020fc3a400000000000000000000000000000000000000000000000000000000611cd0565b6040805133815260ff8416602082015260f883901c8183015290517ff950e357581519ba25df5cfd1286df69f2ba941261e5e3a63b4c8650fbe00bb69181900360600190a1505050565b73ffffffffffffffffffffffffffffffffffffffff85166118b7576118b77fea553b3400000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff861633146119395773ffffffffffffffffffffffffffffffffffffffff8616600090815260046020908152604080832033845290915281205460ff1615159003611939576119397f59c896be00000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260036020908152604080832087845290915290205467ffffffffffffffff81168411156119a5576119a57ff4d678b800000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526003602081815260408084208b855282528084208a88039055948b168084529181528483208a845281529184902080548901905583518981529182018890529233917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4853b15611a7a57611a7a338888888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061201a92505050565b50505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611b04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b73ffffffffffffffffffffffffffffffffffffffff8116611b81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4e6577206f776e657220697320746865207a65726f20616464726573730000006044820152606401610e3c565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b60009182526006602052604090912080547fffffffffffffffffff00000000000000000000000000000000000000000000001676ffffffffffffffffffffffffffffffffffffffffffffff92909216919091179055565b8060005260046000fd5b73ffffffffffffffffffffffffffffffffffffffff8416611d1e57611d1e7f2e07630000000000000000000000000000000000000000000000000000000000611cd0565b60008381526002602052604090819020549067ffffffffffffffff80831691611d4c91869185901c166126f2565b1115611d7b57611d7b7f4510933600000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff851660008181526003602090815260408083208884528252808320805488831b808a01909101909155600283528184209086019055805188815291820187905233917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e0c3360008787878761201a565b5050505050565b611e1f84848484611cda565b60008381526002602052604080822054901c67ffffffffffffffff1690611e4b9033908787878761201a565b6000848152600260205260409081902054901c67ffffffffffffffff168114611e0c57611e0c6000611cd0565b833b15612012576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190611ed990899089908890889088906004016129dc565b6020604051808303816000875af1925050508015611f32575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611f2f91810190612a47565b60015b611fa0573d808015611f60576040519150601f19603f3d011682016040523d82523d6000602084013e611f65565b606091505b508051600003611f9857611f987f89aea55c00000000000000000000000000000000000000000000000000000000611cd0565b805181602001fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611a7a57611a7a7fc188df2700000000000000000000000000000000000000000000000000000000611cd0565b505050505050565b833b15612012576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e619061207b9089908990889088908890600401612a64565b6020604051808303816000875af19250505080156120d4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526120d191810190612a47565b60015b612102573d808015611f60576040519150601f19603f3d011682016040523d82523d6000602084013e611f65565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611a7a57611a7a7fc188df2700000000000000000000000000000000000000000000000000000000611cd0565b803573ffffffffffffffffffffffffffffffffffffffff8116811461219857600080fd5b919050565b600080604083850312156121b057600080fd5b6121b983612174565b946020939093013593505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461107957600080fd5b60006020828403121561220757600080fd5b8135612212816121c7565b9392505050565b6000815180845260005b8181101561223f57602081850181015186830182015201612223565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6020815260006122126020830184612219565b6000602082840312156122a257600080fd5b5035919050565b600080604083850312156122bc57600080fd5b50508035926020909101359150565b60008083601f8401126122dd57600080fd5b50813567ffffffffffffffff8111156122f557600080fd5b6020830191508360208260051b850101111561231057600080fd5b9250929050565b60008083601f84011261232957600080fd5b50813567ffffffffffffffff81111561234157600080fd5b60208301915083602082850101111561231057600080fd5b60008060008060008060008060a0898b03121561237557600080fd5b61237e89612174565b975061238c60208a01612174565b9650604089013567ffffffffffffffff808211156123a957600080fd5b6123b58c838d016122cb565b909850965060608b01359150808211156123ce57600080fd5b6123da8c838d016122cb565b909650945060808b01359150808211156123f357600080fd5b506124008b828c01612317565b999c989b5096995094979396929594505050565b60008060006060848603121561242957600080fd5b61243284612174565b95602085013595506040909401359392505050565b6000806000806040858703121561245d57600080fd5b843567ffffffffffffffff8082111561247557600080fd5b612481888389016122cb565b9096509450602087013591508082111561249a57600080fd5b506124a7878288016122cb565b95989497509550505050565b600081518084526020808501945080840160005b838110156124e3578151875295820195908201906001016124c7565b509495945050505050565b60208152600061221260208301846124b3565b60008060006040848603121561251657600080fd5b83359250602084013567ffffffffffffffff81111561253457600080fd5b61254086828701612317565b9497909650939450505050565b8035801515811461219857600080fd5b6000806040838503121561257057600080fd5b61257983612174565b91506125876020840161254d565b90509250929050565b600080604083850312156125a357600080fd5b823591506125876020840161254d565b600080604083850312156125c657600080fd5b6125cf83612174565b915061258760208401612174565b60008060008060008060a087890312156125f657600080fd5b6125ff87612174565b955061260d60208801612174565b94506040870135935060608701359250608087013567ffffffffffffffff81111561263757600080fd5b61264389828a01612317565b979a9699509497509295939492505050565b60006020828403121561266757600080fd5b61221282612174565b600181811c9082168061268457607f821691505b6020821081036126bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610713576107136126c3565b8082028115828204841417610713576107136126c3565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361277c5761277c6126c3565b5060010190565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156127b557600080fd5b8260051b80836020870137939093016020019392505050565b6040815260006127e2604083018688612783565b82810360208401526127f5818587612783565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f8211156109b257600081815260208120601f850160051c810160208610156128565750805b601f850160051c820191505b8181101561201257828155600101612862565b67ffffffffffffffff83111561288d5761288d612800565b6128a18361289b8354612670565b8361282f565b6000601f8411600181146128f357600085156128bd5750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355611e0c565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b828110156129425786850135825560209485019460019092019101612922565b508682101561297d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a06040830152612a1560a08301866124b3565b8281036060840152612a2781866124b3565b90508281036080840152612a3b8185612219565b98975050505050505050565b600060208284031215612a5957600080fd5b8151612212816121c7565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a060808301526127f560a083018461221956fea264697066735822122059b05c54e9266d920e8419d9920e0e6268b61d26500a8e8664fc56208f83767564736f6c6343000813003368747470733a2f2f6d756c74696e66742e6d7970696e6174612e636c6f75642f697066732f516d56663552477a5173533345533479684c465370536a5752627042674a5a6d57447859515655686859706748572f7b69647d2e6a736f6e

Deployed Bytecode

0x6080604052600436106101c55760003560e01c80636ef82ecc116100f7578063bd85b03911610095578063eba3591a11610064578063eba3591a14610644578063f242432a14610657578063f2fde38b1461066a578063f7d975771461067d576101cc565b8063bd85b0391461054e578063c564727614610595578063e7572230146105a8578063e985e9c5146105ee576101cc565b80639d7f4ebf116100d15780639d7f4ebf1461048f578063a0f8ae47146104ca578063a22cb46514610528578063b9d77bfc1461053b576101cc565b80636ef82ecc146103e3578063782f08ae1461041d5780637a65c03914610430576101cc565b806331d84a1c1161016457806344c9af281161013e57806344c9af281461033c5780634e1273f41461036c5780635e495d741461039957806369fc3b29146103d0576101cc565b806331d84a1c1461030e57806337da577c146103215780633ccfd60b14610334576101cc565b80630e89341c116101a05780630e89341c1461028c5780631b2ef1ca146102ac5780631d72888a146102c15780632eb2c2d6146102fb576101cc565b8062fdd58e146101d357806301ffc9a71461020657806306fdde0314610236576101cc565b366101cc57005b6060516080f35b3480156101df57600080fd5b506101f36101ee36600461219d565b610690565b6040519081526020015b60405180910390f35b34801561021257600080fd5b506102266102213660046121f5565b610719565b60405190151581526020016101fd565b34801561024257600080fd5b5061027f6040518060400160405280601081526020017f4d6574617665727365204e69676874730000000000000000000000000000000081525081565b6040516101fd919061227d565b34801561029857600080fd5b5061027f6102a7366004612290565b6107fa565b6102bf6102ba3660046122a9565b61088e565b005b3480156102cd57600080fd5b506101f36102dc366004612290565b60009081526006602052604090205460b81c67ffffffffffffffff1690565b6102bf610309366004612359565b6109d2565b6102bf61031c366004612414565b610dbf565b6102bf61032f3660046122a9565b610e60565b6102bf610f8b565b34801561034857600080fd5b506101f3610357366004612290565b60009081526006602052604090205460f81c90565b34801561037857600080fd5b5061038c610387366004612447565b61107c565b6040516101fd91906124ee565b3480156103a557600080fd5b506101f36103b4366004612290565b60009081526002602052604090205467ffffffffffffffff1690565b6102bf6103de3660046122a9565b61123c565b3480156103ef57600080fd5b506101f36103fe366004612290565b60009081526002602052604090205460801c67ffffffffffffffff1690565b6102bf61042b366004612501565b611321565b34801561043c57600080fd5b506101f361044b36600461219d565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020908152604080832084845290915290205460801c67ffffffffffffffff1692915050565b34801561049b57600080fd5b506101f36104aa366004612290565b6000908152600260205260409081902054901c67ffffffffffffffff1690565b3480156104d657600080fd5b506101f36104e536600461219d565b73ffffffffffffffffffffffffffffffffffffffff9190911660009081526003602090815260408083209383529290528190205467ffffffffffffffff911c1690565b6102bf61053636600461255d565b6113f0565b6102bf6105493660046122a9565b611487565b34801561055a57600080fd5b506101f3610569366004612290565b600090815260026020526040908190205467ffffffffffffffff608082901c81169190921c9091160390565b6101f36105a3366004612590565b61156c565b3480156105b457600080fd5b506101f36105c3366004612290565b60009081526006602052604090205476ffffffffffffffffffffffffffffffffffffffffffffff1690565b3480156105fa57600080fd5b506102266106093660046125b3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b6102bf6106523660046122a9565b611725565b6102bf6106653660046125dd565b611873565b6102bf610678366004612655565b611a83565b6102bf61068b3660046122a9565b611bf8565b600073ffffffffffffffffffffffffffffffffffffffff83166106d6576106d67f8f4eb60400000000000000000000000000000000000000000000000000000000611cd0565b5073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020908152604080832084845290915290205467ffffffffffffffff165b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806107ac57507f4e2312e0000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b806107135750507fffffffff00000000000000000000000000000000000000000000000000000000167f0e89341c000000000000000000000000000000000000000000000000000000001490565b60606000805461080990612670565b80601f016020809104026020016040519081016040528092919081815260200182805461083590612670565b80156108825780601f1061085757610100808354040283529160200191610882565b820191906000526020600020905b81548152906001019060200180831161086557829003601f168201915b50505050509050919050565b600082815260066020526040902054600160f882901c146108d2576108d27f17efbd6b00000000000000000000000000000000000000000000000000000000611cd0565b336000908152600360209081526040808320868452909152908190205467ffffffffffffffff60b884901c8116928592901c1661090f91906126f2565b111561093e5761093e7f020fc3a400000000000000000000000000000000000000000000000000000000611cd0565b61096176ffffffffffffffffffffffffffffffffffffffffffffff821683612705565b341015610991576109917f9f4c2ed100000000000000000000000000000000000000000000000000000000611cd0565b333b6109b7576109b233848460405180602001604052806000815250611cda565b505050565b6109b233848460405180602001604052806000815250611e13565b73ffffffffffffffffffffffffffffffffffffffff8716610a1657610a167fea553b3400000000000000000000000000000000000000000000000000000000611cd0565b848314610a4657610a467fe5cb65ea00000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff88163314610ac85773ffffffffffffffffffffffffffffffffffffffff8816600090815260046020908152604080832033845290915281205460ff1615159003610ac857610ac87f59c896be00000000000000000000000000000000000000000000000000000000611cd0565b6000808087815b81811015610c61578a8a82818110610ae957610ae961271c565b905060200201359450888882818110610b0457610b0461271c565b905060200201359350600360008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008681526020019081526020016000205492508367ffffffffffffffff84161015610b9b57610b9b7ff4d678b800000000000000000000000000000000000000000000000000000000611cd0565b838303600360008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000208190555083600360008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000206000828254019250508190555080610c5a9061274b565b9050610acf565b508a73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8d8d8d8d604051610cdc94939291906127ce565b60405180910390a48a3b15610db157610db1338d8d8d8d80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508c8c80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611e7892505050565b505050505050505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314610e45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e65720000000000000000000060448201526064015b60405180910390fd5b6109b283838360405180602001604052806000815250611cda565b60055473ffffffffffffffffffffffffffffffffffffffff163314610ee1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b67ffffffffffffffff811115610f1a57610f1a7f65b6ebf700000000000000000000000000000000000000000000000000000000611cd0565b600154821015610f5e57600082815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000016821790555050565b610f877f8dd9256b00000000000000000000000000000000000000000000000000000000611cd0565b5050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461100c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b60055460405160009173ffffffffffffffffffffffffffffffffffffffff169047908381818185875af1925050503d8060008114611066576040519150601f19603f3d011682016040523d82523d6000602084013e61106b565b606091505b505090508061107957600080fd5b50565b60608382146110ae576110ae7fe5cb65ea00000000000000000000000000000000000000000000000000000000611cd0565b8367ffffffffffffffff8111156110c7576110c7612800565b6040519080825280602002602001820160405280156110f0578160200160208202803683370190505b5090508360005b818110156112325760008787838181106111135761111361271c565b90506020020160208101906111289190612655565b73ffffffffffffffffffffffffffffffffffffffff160361116c5761116c7f8f4eb60400000000000000000000000000000000000000000000000000000000611cd0565b67ffffffffffffffff6003600089898581811061118b5761118b61271c565b90506020020160208101906111a09190612655565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008787858181106111ee576111ee61271c565b90506020020135815260200190815260200160002054168382815181106112175761121761271c565b602090810291909101015261122b8161274b565b90506110f7565b5050949350505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146112bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b600091825260066020526040909120805460b89290921b7effffffffffffffff0000000000000000000000000000000000000000000000167fff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff1633146113a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b60006113af828483612875565b5060007f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b83836040516113e392919061298f565b60405180910390a2505050565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611508576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b600091825260066020526040909120805460f89290921b7fff00000000000000000000000000000000000000000000000000000000000000167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60055460009073ffffffffffffffffffffffffffffffffffffffff1633146115f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b67ffffffffffffffff831115611629576116297f65b6ebf700000000000000000000000000000000000000000000000000000000611cd0565b600180549083151590036116bd576000611651604086901b67ffffffffffffffff87166126f2565b33600081815260036020908152604080832087845282528083208590556002825280832085905580518781529182018a90529394509192909183917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a450611716565b600081815260026020908152604080832067ffffffffffffffff881690558051848152918201839052829133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45b60018054810190559392505050565b600082815260066020526040902054600260f882901c101561176a5761176a7f26aea63b00000000000000000000000000000000000000000000000000000000611cd0565b61178d76ffffffffffffffffffffffffffffffffffffffffffffff821683612705565b3410156117bd576117bd7f9f4c2ed100000000000000000000000000000000000000000000000000000000611cd0565b336000908152600360209081526040808320868452909152908190205467ffffffffffffffff60b884901c8116928592901c166117fa91906126f2565b1115611829576118297f020fc3a400000000000000000000000000000000000000000000000000000000611cd0565b6040805133815260ff8416602082015260f883901c8183015290517ff950e357581519ba25df5cfd1286df69f2ba941261e5e3a63b4c8650fbe00bb69181900360600190a1505050565b73ffffffffffffffffffffffffffffffffffffffff85166118b7576118b77fea553b3400000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff861633146119395773ffffffffffffffffffffffffffffffffffffffff8616600090815260046020908152604080832033845290915281205460ff1615159003611939576119397f59c896be00000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260036020908152604080832087845290915290205467ffffffffffffffff81168411156119a5576119a57ff4d678b800000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526003602081815260408084208b855282528084208a88039055948b168084529181528483208a845281529184902080548901905583518981529182018890529233917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4853b15611a7a57611a7a338888888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061201a92505050565b50505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611b04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b73ffffffffffffffffffffffffffffffffffffffff8116611b81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4e6577206f776e657220697320746865207a65726f20616464726573730000006044820152606401610e3c565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610e3c565b60009182526006602052604090912080547fffffffffffffffffff00000000000000000000000000000000000000000000001676ffffffffffffffffffffffffffffffffffffffffffffff92909216919091179055565b8060005260046000fd5b73ffffffffffffffffffffffffffffffffffffffff8416611d1e57611d1e7f2e07630000000000000000000000000000000000000000000000000000000000611cd0565b60008381526002602052604090819020549067ffffffffffffffff80831691611d4c91869185901c166126f2565b1115611d7b57611d7b7f4510933600000000000000000000000000000000000000000000000000000000611cd0565b73ffffffffffffffffffffffffffffffffffffffff851660008181526003602090815260408083208884528252808320805488831b808a01909101909155600283528184209086019055805188815291820187905233917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e0c3360008787878761201a565b5050505050565b611e1f84848484611cda565b60008381526002602052604080822054901c67ffffffffffffffff1690611e4b9033908787878761201a565b6000848152600260205260409081902054901c67ffffffffffffffff168114611e0c57611e0c6000611cd0565b833b15612012576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190611ed990899089908890889088906004016129dc565b6020604051808303816000875af1925050508015611f32575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611f2f91810190612a47565b60015b611fa0573d808015611f60576040519150601f19603f3d011682016040523d82523d6000602084013e611f65565b606091505b508051600003611f9857611f987f89aea55c00000000000000000000000000000000000000000000000000000000611cd0565b805181602001fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611a7a57611a7a7fc188df2700000000000000000000000000000000000000000000000000000000611cd0565b505050505050565b833b15612012576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e619061207b9089908990889088908890600401612a64565b6020604051808303816000875af19250505080156120d4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526120d191810190612a47565b60015b612102573d808015611f60576040519150601f19603f3d011682016040523d82523d6000602084013e611f65565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611a7a57611a7a7fc188df2700000000000000000000000000000000000000000000000000000000611cd0565b803573ffffffffffffffffffffffffffffffffffffffff8116811461219857600080fd5b919050565b600080604083850312156121b057600080fd5b6121b983612174565b946020939093013593505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461107957600080fd5b60006020828403121561220757600080fd5b8135612212816121c7565b9392505050565b6000815180845260005b8181101561223f57602081850181015186830182015201612223565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b6020815260006122126020830184612219565b6000602082840312156122a257600080fd5b5035919050565b600080604083850312156122bc57600080fd5b50508035926020909101359150565b60008083601f8401126122dd57600080fd5b50813567ffffffffffffffff8111156122f557600080fd5b6020830191508360208260051b850101111561231057600080fd5b9250929050565b60008083601f84011261232957600080fd5b50813567ffffffffffffffff81111561234157600080fd5b60208301915083602082850101111561231057600080fd5b60008060008060008060008060a0898b03121561237557600080fd5b61237e89612174565b975061238c60208a01612174565b9650604089013567ffffffffffffffff808211156123a957600080fd5b6123b58c838d016122cb565b909850965060608b01359150808211156123ce57600080fd5b6123da8c838d016122cb565b909650945060808b01359150808211156123f357600080fd5b506124008b828c01612317565b999c989b5096995094979396929594505050565b60008060006060848603121561242957600080fd5b61243284612174565b95602085013595506040909401359392505050565b6000806000806040858703121561245d57600080fd5b843567ffffffffffffffff8082111561247557600080fd5b612481888389016122cb565b9096509450602087013591508082111561249a57600080fd5b506124a7878288016122cb565b95989497509550505050565b600081518084526020808501945080840160005b838110156124e3578151875295820195908201906001016124c7565b509495945050505050565b60208152600061221260208301846124b3565b60008060006040848603121561251657600080fd5b83359250602084013567ffffffffffffffff81111561253457600080fd5b61254086828701612317565b9497909650939450505050565b8035801515811461219857600080fd5b6000806040838503121561257057600080fd5b61257983612174565b91506125876020840161254d565b90509250929050565b600080604083850312156125a357600080fd5b823591506125876020840161254d565b600080604083850312156125c657600080fd5b6125cf83612174565b915061258760208401612174565b60008060008060008060a087890312156125f657600080fd5b6125ff87612174565b955061260d60208801612174565b94506040870135935060608701359250608087013567ffffffffffffffff81111561263757600080fd5b61264389828a01612317565b979a9699509497509295939492505050565b60006020828403121561266757600080fd5b61221282612174565b600181811c9082168061268457607f821691505b6020821081036126bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610713576107136126c3565b8082028115828204841417610713576107136126c3565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361277c5761277c6126c3565b5060010190565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156127b557600080fd5b8260051b80836020870137939093016020019392505050565b6040815260006127e2604083018688612783565b82810360208401526127f5818587612783565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f8211156109b257600081815260208120601f850160051c810160208610156128565750805b601f850160051c820191505b8181101561201257828155600101612862565b67ffffffffffffffff83111561288d5761288d612800565b6128a18361289b8354612670565b8361282f565b6000601f8411600181146128f357600085156128bd5750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355611e0c565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b828110156129425786850135825560209485019460019092019101612922565b508682101561297d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a06040830152612a1560a08301866124b3565b8281036060840152612a2781866124b3565b90508281036080840152612a3b8185612219565b98975050505050505050565b600060208284031215612a5957600080fd5b8151612212816121c7565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a060808301526127f560a083018461221956fea264697066735822122059b05c54e9266d920e8419d9920e0e6268b61d26500a8e8664fc56208f83767564736f6c63430008130033

Deployed Bytecode Sourcemap

41394:5882:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47249:20;41394:5882;;;22129:248;;;;;;;;;;-1:-1:-1;22129:248:0;;;;;:::i;:::-;;:::i;:::-;;;620:25:1;;;608:2;593:18;22129:248:0;;;;;;;;24375:644;;;;;;;;;;-1:-1:-1;24375:644:0;;;;;:::i;:::-;;:::i;:::-;;;1253:14:1;;1246:22;1228:41;;1216:2;1201:18;24375:644:0;1088:187:1;43672:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;25418:110::-;;;;;;;;;;-1:-1:-1;25418:110:0;;;;;:::i;:::-;;:::i;45133:696::-;;;;;;:::i;:::-;;:::i;:::-;;46952:193;;;;;;;;;;-1:-1:-1;46952:193:0;;;;;:::i;:::-;47018:7;47046:30;;;:21;:30;;;;;;42832:3;47046:57;42472:13;47045:92;;46952:193;27711:1982;;;;;;:::i;:::-;;:::i;44885:159::-;;;;;;:::i;:::-;;:::i;21311:453::-;;;;;;:::i;:::-;;:::i;38303:164::-;;;:::i;46088:165::-;;;;;;;;;;-1:-1:-1;46088:165:0;;;;;:::i;:::-;46146:7;46174:30;;;:21;:30;;;;;;43229:3;46174:47;;46088:165;22385:596;;;;;;;;;;-1:-1:-1;22385:596:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;21772:156::-;;;;;;;;;;-1:-1:-1;21772:156:0;;;;;:::i;:::-;21842:7;21869:29;;;:20;:29;;;;;;14841:13;21869:51;;21772:156;46647:297;;;;;;:::i;:::-;;:::i;20014:182::-;;;;;;;;;;-1:-1:-1;20014:182:0;;;;;:::i;:::-;20083:7;20111:29;;;:20;:29;;;;;;15297:3;20111:54;14841:13;20110:78;;20014:182;25706:143;;;;;;:::i;:::-;;:::i;23354:193::-;;;;;;;;;;-1:-1:-1;23354:193:0;;;;;:::i;:::-;23457:25;;;23429:7;23457:25;;;:18;:25;;;;;;;;:34;;;;;;;;;15297:3;23457:59;14841:13;23456:83;23354:193;;;;;19750:182;;;;;;;;;;-1:-1:-1;19750:182:0;;;;;:::i;:::-;19819:7;19847:29;;;:20;:29;;15169:2;19847:29;;;;;:54;;14841:13;19846:78;;19750:182;23063:193;;;;;;;;;;-1:-1:-1;23063:193:0;;;;;:::i;:::-;23166:25;;;;;23138:7;23166:25;;;:18;:25;;;;15169:2;23166:25;;;:34;;;;;;;;;;14841:13;23166:59;;23165:83;;23063:193;26113:226;;;;;;:::i;:::-;;:::i;45837:243::-;;;;;;:::i;:::-;;:::i;19182:470::-;;;;;;;;;;-1:-1:-1;19182:470:0;;;;;:::i;:::-;19251:7;19448:29;;;:20;:29;;;;;;;;14841:13;15297:3;19570:39;;;19569:63;;19502:39;;;;19501:63;;;19500:133;;19182:470;20439:864;;;;;;:::i;:::-;;:::i;46493:146::-;;;;;;;;;;-1:-1:-1;46493:146:0;;;;;:::i;:::-;46551:7;46578:30;;;:21;:30;;;;;;42145:14;46578:53;;46493:146;26411:166;;;;;;;;;;-1:-1:-1;26411:166:0;;;;;:::i;:::-;26534:25;;;;26510:4;26534:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26411:166;44079:644;;;;;;:::i;:::-;;:::i;26776:927::-;;;;;;:::i;:::-;;:::i;38475:294::-;;;;;;:::i;:::-;;:::i;46261:224::-;;;;;;:::i;:::-;;:::i;22129:248::-;22203:7;22227:22;;;22223:72;;22251:44;22259:35;22251:7;:44::i;:::-;-1:-1:-1;22313:25:0;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;14841:13;22313:56;22129:248;;;;;:::o;24375:644::-;24460:4;24784:25;;;;;;:102;;-1:-1:-1;24861:25:0;;;;;24784:102;:180;;;-1:-1:-1;;24939:25:0;;;;;24375:644::o;25418:110::-;25483:13;25516:4;25509:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25418:110;;;:::o;45133:696::-;45208:18;45229:30;;;:21;:30;;;;;;45307:1;43229:3;45275:27;;;45274:34;45270:70;;45310:30;45318:21;45310:7;:30::i;:::-;45368:10;23138:7;23166:25;;;:18;:25;;;;15169:2;23166:25;;;:34;;;;;;;;;;;42472:13;42832:3;45402:37;;;45401:72;;;45391:6;;23166:59;;23165:83;45355:42;;;;:::i;:::-;:119;45351:165;;;45476:40;45484:31;45476:7;:40::i;:::-;45544:44;42145:14;45554:33;;45544:6;:44;:::i;:::-;45531:9;:58;45527:106;;;45591:42;45599:33;45591:7;:42::i;:::-;45660:10;39116:22;45644:178;;45688:38;45694:10;45706:7;45715:6;45688:38;;;;;;;;;;;;:5;:38::i;:::-;45197:632;45133:696;;:::o;45644:178::-;45768:42;45778:10;45790:7;45799:6;45768:42;;;;;;;;;;;;:9;:42::i;27711:1982::-;27873:19;;;27869:64;;27894:39;27902:30;27894:7;:39::i;:::-;27948:28;;;27944:73;;27978:39;27986:30;27978:7;:39::i;:::-;28032:18;;;28040:10;28032:18;28028:187;;28071:24;;;;;;;:18;:24;;;;;;;;28096:10;28071:36;;;;;;;;;;:45;;;;28067:137;;28137:51;28145:42;28137:7;:51::i;:::-;28227:10;;;28324:3;28227:10;28345:449;28369:6;28365:1;:10;28345:449;;;28402:3;;28406:1;28402:6;;;;;;;:::i;:::-;;;;;;;28397:11;;28432:7;;28440:1;28432:10;;;;;;;:::i;:::-;;;;;;;28423:19;;28475:18;:24;28494:4;28475:24;;;;;;;;;;;;;;;:28;28500:2;28475:28;;;;;;;;;;;;28457:46;;28566:6;14841:13;28525:15;:37;28524:48;28520:91;;;28574:37;28582:28;28574:7;:37::i;:::-;28706:6;28688:15;:24;28657:18;:24;28676:4;28657:24;;;;;;;;;;;;;;;:28;28682:2;28657:28;;;;;;;;;;;:55;;;;28761:6;28731:18;:22;28750:2;28731:22;;;;;;;;;;;;;;;:26;28754:2;28731:26;;;;;;;;;;;;:36;;;;;;;;;;;28377:3;;;;:::i;:::-;;;28345:449;;;;29384:2;29352:49;;29378:4;29352:49;;29366:10;29352:49;;;29388:3;;29393:7;;29352:49;;;;;;;;;:::i;:::-;;;;;;;;39116:22;;39166:16;29562:124;;29597:77;29633:10;29645:4;29651:2;29655:3;;29597:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29660:7;;29597:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29669:4;;29597:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29597:35:0;;-1:-1:-1;;;29597:77:0:i;:::-;27858:1835;;;;27711:1982;;;;;;;;:::o;44885:159::-;18138:14;;;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;;;;;;;;;44999:37:::1;45005:9;45016:7;45025:6;44999:37;;;;;;;;;;;::::0;:5:::1;:37::i;21311:453::-:0;18138:14;;;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;10706:346:1;18116:63:0;14841:13:::1;21419:9;:31;21415:79;;;21452:42;21460:33:::0;21452:7:::1;:42::i;:::-;21519:13;;21509:7;:23;21505:252;;;15019:1;21582:29:::0;;;:20:::1;:29;::::0;;;;;;15010:33;21582:62:::1;21581:76:::0;::::1;21549:108:::0;;21311:453;;:::o;21505:252::-:1;21693:52;21701:43:::0;21693:7:::1;:52::i;:::-;21311:453:::0;;:::o;38303:164::-;18138:14;;;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;10706:346:1;18116:63:0;38383:14:::1;::::0;38375:62:::1;::::0;38362:7:::1;::::0;38383:14:::1;;::::0;38411:21:::1;::::0;38362:7;38375:62;38362:7;38375:62;38411:21;38383:14;38375:62:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38361:76;;;38456:2;38448:11;;;::::0;::::1;;38350:117;38303:164::o:0;22385:596::-;22488:25;22530:32;;;22526:77;;22564:39;22572:30;22564:7;:39::i;:::-;22649:6;22635:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22635:28:0;-1:-1:-1;22624:39:0;-1:-1:-1;22691:6:0;22674:14;22715:233;22739:6;22735:1;:10;22715:233;;;14674:42;22771:6;;22778:1;22771:9;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;:26;;;22767:76;;22799:44;22807:35;22799:7;:44::i;:::-;14841:13;22872:18;:29;22891:6;;22898:1;22891:9;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;22872:29;;;;;;;;;;;;;;;:42;22902:8;;22911:1;22902:11;;;;;;;:::i;:::-;;;;;;;22872:42;;;;;;;;;;;;:64;22858:8;22867:1;22858:11;;;;;;;;:::i;:::-;;;;;;;;;;:78;22747:3;;;:::i;:::-;;;22715:233;;;;22958:15;22385:596;;;;;;:::o;46647:297::-;18138:14;;;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;10706:346:1;18116:63:0;42659:1:::1;46786:30:::0;;;:21:::1;:30;::::0;;;;;;;42832:3:::1;46859:76:::0;;;;;;42650:53;46786:68;;::::1;46785:151:::0;;;::::1;46752:184:::0;;46647:297::o;25706:143::-;18138:14;;;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;10706:346:1;18116:63:0;25802:4:::1;:11;25809:4:::0;;25802;:11:::1;:::i;:::-;;25839:1;25829:12;25833:4;;25829:12;;;;;;;:::i;:::-;;;;;;;;25706:143:::0;;;:::o;26113:226::-;26237:10;26218:30;;;;:18;:30;;;;;;;;;:40;;;;;;;;;;;;:51;;;;;;;;;;;;;26285:46;;1228:41:1;;;26218:40:0;;26237:10;26285:46;;1201:18:1;26285:46:0;;;;;;;26113:226;;:::o;45837:243::-;18138:14;;;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;10706:346:1;18116:63:0;45960:30:::1;::::0;;;:21:::1;:30;::::0;;;;;;;43229:3:::1;46023:48:::0;;;;;;43104:14:::1;45960:58:::0;;::::1;45959:113:::0;;;::::1;45926:146:::0;;45837:243::o;20439:864::-;18138:14;;20534:7;;18138:14;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;10706:346:1;18116:63:0;14841:13:::1;20558:9;:31;20554:79;;;20591:42;20599:33:::0;20591:7:::1;:42::i;:::-;20658:13;::::0;;;20686:12;::::1;;::::0;;20682:531:::1;;20715:19;20737:72;15169:2;20774:34:::0;;::::1;14841:13;20738:31:::0;::::1;20737:72;:::i;:::-;20843:10;20824:30;::::0;;;:18:::1;:30;::::0;;;;;;;:35;;;;;;;;:49;;;20888:20:::1;:25:::0;;;;;:39;;;20947:69;;14321:25:1;;;14362:18;;;14355:34;;;20824:49:0;;-1:-1:-1;20843:10:0;;20824:30;;20843:10;;20947:69:::1;::::0;14294:18:1;20947:69:0::1;;;;;;;20700:328;20682:531;;;21058:25;::::0;;;:20:::1;:25;::::0;;;;;;;14841:13:::1;21086:31:::0;::::1;21058:59:::0;;21137:64;;14321:25:1;;;14362:18;;;14355:34;;;21058:25:0;;21152:10:::1;::::0;21137:64:::1;::::0;14294:18:1;21137:64:0::1;;;;;;;20682:531;21250:13;21248:15:::0;;;::::1;::::0;;21292:3;20439:864;-1:-1:-1;;;20439:864:0:o;44079:644::-;44161:18;44182:30;;;:21;:30;;;;;;44284:1;43229:3;44229:27;;;44227:58;44223:104;;;44287:40;44295:31;44287:7;:40::i;:::-;44355:44;42145:14;44365:33;;44355:6;:44;:::i;:::-;44342:9;:58;44338:106;;;44402:42;44410:33;44402:7;:42::i;:::-;44472:10;23138:7;23166:25;;;:18;:25;;;;15169:2;23166:25;;;:34;;;;;;;;;;;42472:13;42832:3;44506:37;;;44505:72;;;44495:6;;23166:59;;23165:83;44459:42;;;;:::i;:::-;:119;44455:165;;;44580:40;44588:31;44580:7;:40::i;:::-;44636:79;;;44653:10;14855:74:1;;14977:4;14965:17;;14960:2;14945:18;;14938:45;43229:3:0;44686:27;;;14999:18:1;;;14992:45;44636:79:0;;;;;;;14843:2:1;44636:79:0;;;44150:573;44079:644;;:::o;26776:927::-;26909:19;;;26905:64;;26930:39;26938:30;26930:7;:39::i;:::-;26994:18;;;27002:10;26994:18;26990:187;;27033:24;;;;;;;:18;:24;;;;;;;;27058:10;27033:36;;;;;;;;;;:45;;;;27029:137;;27099:51;27107:42;27099:7;:51::i;:::-;27215:24;;;27189:23;27215:24;;;:18;:24;;;;;;;;:28;;;;;;;;;14841:13;27259:37;;27258:48;-1:-1:-1;27254:91:0;;;27308:37;27316:28;27308:7;:37::i;:::-;27383:24;;;;;;;;:18;:24;;;;;;;;:28;;;;;;;;27414:24;;;27383:55;;27453:22;;;;;;;;;;;;:26;;;;;;;;;:36;;;;;;27518:48;;14321:25:1;;;14362:18;;;14355:34;;;27453:22:0;27533:10;;27518:48;;14294:18:1;27518:48:0;;;;;;;39116:22;;39166:16;27579:117;;27614:70;27645:10;27657:4;27663:2;27667;27671:6;27679:4;;27614:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27614:30:0;;-1:-1:-1;;;27614:70:0:i;:::-;26894:809;26776:927;;;;;;:::o;38475:294::-;18138:14;;;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;10706:346:1;18116:63:0;38566:25:::1;::::0;::::1;38558:67;;;::::0;::::1;::::0;;15250:2:1;38558:67:0::1;::::0;::::1;15232:21:1::0;15289:2;15269:18;;;15262:30;15328:31;15308:18;;;15301:59;15377:18;;38558:67:0::1;15048:353:1::0;38558:67:0::1;38655:14;::::0;;::::1;38680:25:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;38721:40:::1;::::0;38655:14;::::1;::::0;38680:25;38655:14;;38721:40:::1;::::0;38636:16:::1;::::0;38721:40:::1;38547:222;38475:294:::0;:::o;46261:224::-;18138:14;;;;18124:10;:28;18116:63;;;;;;;10908:2:1;18116:63:0;;;10890:21:1;10947:2;10927:18;;;10920:30;10986:24;10966:18;;;10959:52;11028:18;;18116:63:0;10706:346:1;18116:63:0;42316:1:::1;46384:30:::0;;;:21:::1;:30;::::0;;;;;;;42307:34;46384:58:::1;42145:14;46447:29:::0;;;::::1;46383:94:::0;;;::::1;46350:127:::0;;46261:224::o;41103:165::-;41204:13;41198:4;41191:27;41245:4;41239;41232:18;32012:812;32118:19;;;32114:60;;32139:35;32147:26;32139:7;:35::i;:::-;32185:22;32210:24;;;:20;:24;;;;;;;;;14841:13;32329:36;;;;32250:74;;32318:6;;32252:39;;;32251:63;32250:74;:::i;:::-;32249:117;32245:194;;;32383:44;32391:35;32383:7;:44::i;:::-;32476:22;;;;;;;:18;:22;;;;15169:2;32476:22;;;:26;;;;;;;;:72;;32516:31;;;32506:42;;;32476:72;;;;;;32563:20;:24;;;;;32590:50;;;32563:77;;32667:57;;14321:25:1;;;14362:18;;;14355:34;;;32682:10:0;;32667:57;;14294:18:1;32667:57:0;;;;;;;32737:79;32768:10;14674:42;32795:2;32799;32803:6;32811:4;32737:30;:79::i;:::-;32103:721;32012:812;;;;:::o;34467:482::-;34573:27;34579:2;34583;34587:6;34595:4;34573:5;:27::i;:::-;34613;34644:24;;;:20;:24;;15169:2;34644:24;;;;:49;;14841:13;34643:73;;34727:79;;34758:10;;34785:2;34665;34793:6;34801:4;34727:30;:79::i;:::-;34823:24;;;;:20;:24;;15169:2;34823:24;;;;;:49;;14841:13;34822:73;34821:98;;34817:122;;34921:18;34936:1;34921:7;:18::i;30589:961::-;39116:22;;39166:16;30825:718;;30864:84;;;;;:48;;;;;;:84;;30913:8;;30923:4;;30929:3;;30934:7;;30943:4;;30864:84;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30864:84:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;30860:660;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31273:6;:13;31290:1;31273:18;31269:129;;31316:62;31324:53;31316:7;:62::i;:::-;31478:6;31472:13;31463:6;31459:2;31455:15;31448:38;30860:660;31030:65;;;31042:53;31030:65;31026:166;;31120:52;31128:43;31120:7;:52::i;30860:660::-;30589:961;;;;;;:::o;29701:880::-;39116:22;;39166:16;29912:662;;29951:77;;;;;:43;;;;;;:77;;29995:8;;30005:4;;30011:2;;30015:6;;30023:4;;29951:77;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29951:77:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;29947:616;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30078:60;;;30090:48;30078:60;30074:161;;30163:52;30171:43;30163:7;:52::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:254::-;283:6;291;344:2;332:9;323:7;319:23;315:32;312:52;;;360:1;357;350:12;312:52;383:29;402:9;383:29;:::i;:::-;373:39;459:2;444:18;;;;431:32;;-1:-1:-1;;;215:254:1:o;656:177::-;741:66;734:5;730:78;723:5;720:89;710:117;;823:1;820;813:12;838:245;896:6;949:2;937:9;928:7;924:23;920:32;917:52;;;965:1;962;955:12;917:52;1004:9;991:23;1023:30;1047:5;1023:30;:::i;:::-;1072:5;838:245;-1:-1:-1;;;838:245:1:o;1280:482::-;1322:3;1360:5;1354:12;1387:6;1382:3;1375:19;1412:1;1422:162;1436:6;1433:1;1430:13;1422:162;;;1498:4;1554:13;;;1550:22;;1544:29;1526:11;;;1522:20;;1515:59;1451:12;1422:162;;;1426:3;1629:1;1622:4;1613:6;1608:3;1604:16;1600:27;1593:38;1751:4;1681:66;1676:2;1668:6;1664:15;1660:88;1655:3;1651:98;1647:109;1640:116;;;1280:482;;;;:::o;1767:220::-;1916:2;1905:9;1898:21;1879:4;1936:45;1977:2;1966:9;1962:18;1954:6;1936:45;:::i;1992:180::-;2051:6;2104:2;2092:9;2083:7;2079:23;2075:32;2072:52;;;2120:1;2117;2110:12;2072:52;-1:-1:-1;2143:23:1;;1992:180;-1:-1:-1;1992:180:1:o;2177:248::-;2245:6;2253;2306:2;2294:9;2285:7;2281:23;2277:32;2274:52;;;2322:1;2319;2312:12;2274:52;-1:-1:-1;;2345:23:1;;;2415:2;2400:18;;;2387:32;;-1:-1:-1;2177:248:1:o;2430:367::-;2493:8;2503:6;2557:3;2550:4;2542:6;2538:17;2534:27;2524:55;;2575:1;2572;2565:12;2524:55;-1:-1:-1;2598:20:1;;2641:18;2630:30;;2627:50;;;2673:1;2670;2663:12;2627:50;2710:4;2702:6;2698:17;2686:29;;2770:3;2763:4;2753:6;2750:1;2746:14;2738:6;2734:27;2730:38;2727:47;2724:67;;;2787:1;2784;2777:12;2724:67;2430:367;;;;;:::o;2802:347::-;2853:8;2863:6;2917:3;2910:4;2902:6;2898:17;2894:27;2884:55;;2935:1;2932;2925:12;2884:55;-1:-1:-1;2958:20:1;;3001:18;2990:30;;2987:50;;;3033:1;3030;3023:12;2987:50;3070:4;3062:6;3058:17;3046:29;;3122:3;3115:4;3106:6;3098;3094:19;3090:30;3087:39;3084:59;;;3139:1;3136;3129:12;3154:1210;3314:6;3322;3330;3338;3346;3354;3362;3370;3423:3;3411:9;3402:7;3398:23;3394:33;3391:53;;;3440:1;3437;3430:12;3391:53;3463:29;3482:9;3463:29;:::i;:::-;3453:39;;3511:38;3545:2;3534:9;3530:18;3511:38;:::i;:::-;3501:48;;3600:2;3589:9;3585:18;3572:32;3623:18;3664:2;3656:6;3653:14;3650:34;;;3680:1;3677;3670:12;3650:34;3719:70;3781:7;3772:6;3761:9;3757:22;3719:70;:::i;:::-;3808:8;;-1:-1:-1;3693:96:1;-1:-1:-1;3896:2:1;3881:18;;3868:32;;-1:-1:-1;3912:16:1;;;3909:36;;;3941:1;3938;3931:12;3909:36;3980:72;4044:7;4033:8;4022:9;4018:24;3980:72;:::i;:::-;4071:8;;-1:-1:-1;3954:98:1;-1:-1:-1;4159:3:1;4144:19;;4131:33;;-1:-1:-1;4176:16:1;;;4173:36;;;4205:1;4202;4195:12;4173:36;;4244:60;4296:7;4285:8;4274:9;4270:24;4244:60;:::i;:::-;3154:1210;;;;-1:-1:-1;3154:1210:1;;-1:-1:-1;3154:1210:1;;;;;;4323:8;-1:-1:-1;;;3154:1210:1:o;4369:322::-;4446:6;4454;4462;4515:2;4503:9;4494:7;4490:23;4486:32;4483:52;;;4531:1;4528;4521:12;4483:52;4554:29;4573:9;4554:29;:::i;:::-;4544:39;4630:2;4615:18;;4602:32;;-1:-1:-1;4681:2:1;4666:18;;;4653:32;;4369:322;-1:-1:-1;;;4369:322:1:o;4696:773::-;4818:6;4826;4834;4842;4895:2;4883:9;4874:7;4870:23;4866:32;4863:52;;;4911:1;4908;4901:12;4863:52;4951:9;4938:23;4980:18;5021:2;5013:6;5010:14;5007:34;;;5037:1;5034;5027:12;5007:34;5076:70;5138:7;5129:6;5118:9;5114:22;5076:70;:::i;:::-;5165:8;;-1:-1:-1;5050:96:1;-1:-1:-1;5253:2:1;5238:18;;5225:32;;-1:-1:-1;5269:16:1;;;5266:36;;;5298:1;5295;5288:12;5266:36;;5337:72;5401:7;5390:8;5379:9;5375:24;5337:72;:::i;:::-;4696:773;;;;-1:-1:-1;5428:8:1;-1:-1:-1;;;;4696:773:1:o;5474:435::-;5527:3;5565:5;5559:12;5592:6;5587:3;5580:19;5618:4;5647:2;5642:3;5638:12;5631:19;;5684:2;5677:5;5673:14;5705:1;5715:169;5729:6;5726:1;5723:13;5715:169;;;5790:13;;5778:26;;5824:12;;;;5859:15;;;;5751:1;5744:9;5715:169;;;-1:-1:-1;5900:3:1;;5474:435;-1:-1:-1;;;;;5474:435:1:o;5914:261::-;6093:2;6082:9;6075:21;6056:4;6113:56;6165:2;6154:9;6150:18;6142:6;6113:56;:::i;6180:478::-;6260:6;6268;6276;6329:2;6317:9;6308:7;6304:23;6300:32;6297:52;;;6345:1;6342;6335:12;6297:52;6381:9;6368:23;6358:33;;6442:2;6431:9;6427:18;6414:32;6469:18;6461:6;6458:30;6455:50;;;6501:1;6498;6491:12;6455:50;6540:58;6590:7;6581:6;6570:9;6566:22;6540:58;:::i;:::-;6180:478;;6617:8;;-1:-1:-1;6514:84:1;;-1:-1:-1;;;;6180:478:1:o;6663:160::-;6728:20;;6784:13;;6777:21;6767:32;;6757:60;;6813:1;6810;6803:12;6828:254;6893:6;6901;6954:2;6942:9;6933:7;6929:23;6925:32;6922:52;;;6970:1;6967;6960:12;6922:52;6993:29;7012:9;6993:29;:::i;:::-;6983:39;;7041:35;7072:2;7061:9;7057:18;7041:35;:::i;:::-;7031:45;;6828:254;;;;;:::o;7087:248::-;7152:6;7160;7213:2;7201:9;7192:7;7188:23;7184:32;7181:52;;;7229:1;7226;7219:12;7181:52;7265:9;7252:23;7242:33;;7294:35;7325:2;7314:9;7310:18;7294:35;:::i;7340:260::-;7408:6;7416;7469:2;7457:9;7448:7;7444:23;7440:32;7437:52;;;7485:1;7482;7475:12;7437:52;7508:29;7527:9;7508:29;:::i;:::-;7498:39;;7556:38;7590:2;7579:9;7575:18;7556:38;:::i;7605:695::-;7711:6;7719;7727;7735;7743;7751;7804:3;7792:9;7783:7;7779:23;7775:33;7772:53;;;7821:1;7818;7811:12;7772:53;7844:29;7863:9;7844:29;:::i;:::-;7834:39;;7892:38;7926:2;7915:9;7911:18;7892:38;:::i;:::-;7882:48;;7977:2;7966:9;7962:18;7949:32;7939:42;;8028:2;8017:9;8013:18;8000:32;7990:42;;8083:3;8072:9;8068:19;8055:33;8111:18;8103:6;8100:30;8097:50;;;8143:1;8140;8133:12;8097:50;8182:58;8232:7;8223:6;8212:9;8208:22;8182:58;:::i;:::-;7605:695;;;;-1:-1:-1;7605:695:1;;-1:-1:-1;7605:695:1;;8259:8;;7605:695;-1:-1:-1;;;7605:695:1:o;8305:186::-;8364:6;8417:2;8405:9;8396:7;8392:23;8388:32;8385:52;;;8433:1;8430;8423:12;8385:52;8456:29;8475:9;8456:29;:::i;8496:437::-;8575:1;8571:12;;;;8618;;;8639:61;;8693:4;8685:6;8681:17;8671:27;;8639:61;8746:2;8738:6;8735:14;8715:18;8712:38;8709:218;;8783:77;8780:1;8773:88;8884:4;8881:1;8874:15;8912:4;8909:1;8902:15;8709:218;;8496:437;;;:::o;8938:184::-;8990:77;8987:1;8980:88;9087:4;9084:1;9077:15;9111:4;9108:1;9101:15;9127:125;9192:9;;;9213:10;;;9210:36;;;9226:18;;:::i;9257:168::-;9330:9;;;9361;;9378:15;;;9372:22;;9358:37;9348:71;;9399:18;;:::i;9430:184::-;9482:77;9479:1;9472:88;9579:4;9576:1;9569:15;9603:4;9600:1;9593:15;9619:195;9658:3;9689:66;9682:5;9679:77;9676:103;;9759:18;;:::i;:::-;-1:-1:-1;9806:1:1;9795:13;;9619:195::o;9819:358::-;9919:6;9914:3;9907:19;9889:3;9949:66;9941:6;9938:78;9935:98;;;10029:1;10026;10019:12;9935:98;10065:6;10062:1;10058:14;10117:8;10110:5;10103:4;10098:3;10094:14;10081:45;10146:18;;;;10166:4;10142:29;;9819:358;-1:-1:-1;;;9819:358:1:o;10182:519::-;10459:2;10448:9;10441:21;10422:4;10485:73;10554:2;10543:9;10539:18;10531:6;10523;10485:73;:::i;:::-;10606:9;10598:6;10594:22;10589:2;10578:9;10574:18;10567:50;10634:61;10688:6;10680;10672;10634:61;:::i;:::-;10626:69;10182:519;-1:-1:-1;;;;;;;10182:519:1:o;11267:184::-;11319:77;11316:1;11309:88;11416:4;11413:1;11406:15;11440:4;11437:1;11430:15;11582:545;11684:2;11679:3;11676:11;11673:448;;;11720:1;11745:5;11741:2;11734:17;11790:4;11786:2;11776:19;11860:2;11848:10;11844:19;11841:1;11837:27;11831:4;11827:38;11896:4;11884:10;11881:20;11878:47;;;-1:-1:-1;11919:4:1;11878:47;11974:2;11969:3;11965:12;11962:1;11958:20;11952:4;11948:31;11938:41;;12029:82;12047:2;12040:5;12037:13;12029:82;;;12092:17;;;12073:1;12062:13;12029:82;;12363:1325;12487:18;12482:3;12479:27;12476:53;;;12509:18;;:::i;:::-;12538:94;12628:3;12588:38;12620:4;12614:11;12588:38;:::i;:::-;12582:4;12538:94;:::i;:::-;12658:1;12683:2;12678:3;12675:11;12700:1;12695:735;;;;13474:1;13491:3;13488:93;;;-1:-1:-1;13547:19:1;;;13534:33;13488:93;12269:66;12260:1;12256:11;;;12252:84;12248:89;12238:100;12344:1;12340:11;;;12235:117;13594:78;;12668:1014;;12695:735;11529:1;11522:14;;;11566:4;11553:18;;12740:66;12731:76;;;12891:9;12913:229;12927:7;12924:1;12921:14;12913:229;;;13016:19;;;13003:33;12988:49;;13123:4;13108:20;;;;13076:1;13064:14;;;;12943:12;12913:229;;;12917:3;13170;13161:7;13158:16;13155:219;;;13290:66;13284:3;13278;13275:1;13271:11;13267:21;13263:94;13259:99;13246:9;13241:3;13237:19;13224:33;13220:139;13212:6;13205:155;13155:219;;;13417:1;13411:3;13408:1;13404:11;13400:19;13394:4;13387:33;12668:1014;;12363:1325;;;:::o;13693:449::-;13852:2;13841:9;13834:21;13891:6;13886:2;13875:9;13871:18;13864:34;13948:6;13940;13935:2;13924:9;13920:18;13907:48;14004:1;13975:22;;;13999:2;13971:31;;;13964:42;;;;14058:2;14046:15;;;14063:66;14042:88;14027:104;14023:113;;13693:449;-1:-1:-1;13693:449:1:o;15406:850::-;15728:4;15757:42;15838:2;15830:6;15826:15;15815:9;15808:34;15890:2;15882:6;15878:15;15873:2;15862:9;15858:18;15851:43;;15930:3;15925:2;15914:9;15910:18;15903:31;15957:57;16009:3;15998:9;15994:19;15986:6;15957:57;:::i;:::-;16062:9;16054:6;16050:22;16045:2;16034:9;16030:18;16023:50;16096:44;16133:6;16125;16096:44;:::i;:::-;16082:58;;16189:9;16181:6;16177:22;16171:3;16160:9;16156:19;16149:51;16217:33;16243:6;16235;16217:33;:::i;:::-;16209:41;15406:850;-1:-1:-1;;;;;;;;15406:850:1:o;16261:249::-;16330:6;16383:2;16371:9;16362:7;16358:23;16354:32;16351:52;;;16399:1;16396;16389:12;16351:52;16431:9;16425:16;16450:30;16474:5;16450:30;:::i;16515:584::-;16737:4;16766:42;16847:2;16839:6;16835:15;16824:9;16817:34;16899:2;16891:6;16887:15;16882:2;16871:9;16867:18;16860:43;;16939:6;16934:2;16923:9;16919:18;16912:34;16982:6;16977:2;16966:9;16962:18;16955:34;17026:3;17020;17009:9;17005:19;16998:32;17047:46;17088:3;17077:9;17073:19;17065:6;17047:46;:::i

Swarm Source

ipfs://59b05c54e9266d920e8419d9920e0e6268b61d26500a8e8664fc56208f837675

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.