ETH Price: $2,359.86 (+0.80%)

Token

Origo Genesis (ORIGO)
 

Overview

Max Total Supply

333 ORIGO

Holders

164

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 ORIGO
0x853428860743dd54c498d757136a7f85e1eb8566
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
OrigoGenesis

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-04
*/

/**
 *Submitted for verification at Etherscan.io on 2022-08-20
*/

//      OOOOOOOOO     RRRRRRRRRRRRRRRRR   IIIIIIIIII      GGGGGGGGGGGGG     OOOOOOOOO     
//    OO:::::::::OO   R::::::::::::::::R  I::::::::I   GGG::::::::::::G   OO:::::::::OO   
//  OO:::::::::::::OO R::::::RRRRRR:::::R I::::::::I GG:::::::::::::::G OO:::::::::::::OO 
// O:::::::OOO:::::::ORR:::::R     R:::::RII::::::IIG:::::GGGGGGGG::::GO:::::::OOO:::::::O
// O::::::O   O::::::O  R::::R     R:::::R  I::::I G:::::G       GGGGGGO::::::O   O::::::O
// O:::::O     O:::::O  R::::R     R:::::R  I::::IG:::::G              O:::::O     O:::::O
// O:::::O     O:::::O  R::::RRRRRR:::::R   I::::IG:::::G              O:::::O     O:::::O
// O:::::O     O:::::O  R:::::::::::::RR    I::::IG:::::G    GGGGGGGGGGO:::::O     O:::::O
// O:::::O     O:::::O  R::::RRRRRR:::::R   I::::IG:::::G    G::::::::GO:::::O     O:::::O
// O:::::O     O:::::O  R::::R     R:::::R  I::::IG:::::G    GGGGG::::GO:::::O     O:::::O
// O:::::O     O:::::O  R::::R     R:::::R  I::::IG:::::G        G::::GO:::::O     O:::::O
// O::::::O   O::::::O  R::::R     R:::::R  I::::I G:::::G       G::::GO::::::O   O::::::O
// O:::::::OOO:::::::ORR:::::R     R:::::RII::::::IIG:::::GGGGGGGG::::GO:::::::OOO:::::::O
//  OO:::::::::::::OO R::::::R     R:::::RI::::::::I GG:::::::::::::::G OO:::::::::::::OO 
//    OO:::::::::OO   R::::::R     R:::::RI::::::::I   GGG::::::GGG:::G   OO:::::::::OO   
//      OOOOOOOOO     RRRRRRRR     RRRRRRRIIIIIIIIII      GGGGGG   GGGG     OOOOOOOOO  


// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}


// File: Context.sol



pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File: Ownable.sol



pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File: Address.sol



pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}


// File: IERC721Receiver.sol



pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// File: IERC165.sol



pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


// File: ERC165.sol



pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


// File: IERC721.sol



pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}



// File: IERC721Metadata.sol



pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**128 - 1 (max value of uint128) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToNonERC721ReceiverImplementerFunction();
error MintToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, ReentrancyGuard {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint128 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint128 numberMinted;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex = 0;

    // address to tribulate to
    address public tribulationWallet;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns _currentIndex.
     */
    function totalSupply() public view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (0 <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
                // Invariant:
                // There will always be an ownership that has an address and is not burned
                // before an ownership that does not have an address and is not burned.
                // Hence, curr will not underflow.
                while (true) {
                    curr--;
                    ownership = _ownerships[curr];
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : "";
    }

    /**
     * @dev Base URI for {tokenURI}. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        uint256 startTokenId = _currentIndex;

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic
        // balance or numberMinted overflow if current value of either + quantity > (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i = 0; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (!_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert MintToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }
            
            _currentIndex = updatedIndex;
        } // unchecked
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private nonReentrant {
        if (to == address(0)) revert TransferToZeroAddress();

        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        //      Me: meh, I'm not convinced the underflow is safe from re-entrancy attacks 
        // (comes down to a race condition); to still save gas I modified this 
        // to be nonReentrant to be safe
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId] = TokenOwnership(
                        prevOwnership.addr,
                        prevOwnership.startTimestamp
                    );
                }
            }
        } // unchecked

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    function setTribulationWallet(address _tribulationWallet) public virtual {
        tribulationWallet = _tribulationWallet;
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert TransferToNonERC721ReceiverImplementerFunction();
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

pragma solidity >=0.8.4 <0.9.0;

error NotATribulator();
error TokenForTribNonexistent();
error MintFromContract();
error MintNonpositive();
error MintMoreThanMaxSupply();
error MintValueInsufficientPublic();
error MintWalletLimitExceededPublic();
error MintValueInsufficientPre();
error MintWalletLimitExceededPre();
error MerkleProofInvalid();
error SaleNotActive();
error WithdrawAFailed();
error WithdrawBFailed();
error WithdrawDFailed();
error WithdrawOFailed();

contract OrigoGenesis is ERC721A, Ownable {  
    using Strings for uint256;

    uint256 public max_supply = 3000;
    mapping(address => uint256) public num_minted; // allows limit per wallet but multiple txs
    mapping(address => uint256) public tribulator; // in case they want to add mods etc as tribulators

    uint256 public sale_state = 0;

    uint256 public pre_sale_cost = 0.089 ether;
    uint256 public public_sale_cost = 0.099 ether;

    uint256 public pre_sale_mint_limit = 2;
    uint256 public public_sale_mint_limit = 3;

    bytes32 public merkle_root;

    string private _myBaseURI;
   
	constructor() ERC721A("Origo Genesis", "ORIGO") {}

    function setMyBaseURI(string memory _myNewBaseURI) external onlyOwner {
        _myBaseURI = _myNewBaseURI;
    }
    function _baseURI() internal view virtual override(ERC721A) returns (string memory) {
        return _myBaseURI;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkle_root = _merkleRoot;
    }

 	function setMaxSupply(uint256 _maxSupply) external onlyOwner {
         max_supply = _maxSupply;
    }
    function setSaleState(uint256 _saleState) external onlyOwner {
        sale_state = _saleState;
    }
    function setPreSaleCost(uint256 _preSaleCost) external onlyOwner {
        pre_sale_cost = _preSaleCost;
    }
    function setPublicSaleCost(uint256 _publicSaleCost) external onlyOwner {
        public_sale_cost = _publicSaleCost;
    }
    function setPreSaleMintLimit(uint256 _preSaleMintLimit) external onlyOwner {
        pre_sale_mint_limit = _preSaleMintLimit;
    }
    function setPublicSaleMintLimit(uint256 _publicSaleMintLimit) external onlyOwner {
        public_sale_mint_limit = _publicSaleMintLimit;
    }

    function isApprovedForAll(address owner, address operator) public override view returns (bool) {
        if (tribulator[operator] == 1) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    function tribulation(uint256[] calldata tokenIds) external {
        if (tribulator[_msgSender()] != 1) revert NotATribulator();
        for (uint256 ii = 0; ii < tokenIds.length; ii++) {
            if (!_exists(tokenIds[ii])) revert TokenForTribNonexistent();
            safeTransferFrom(ownerOf(tokenIds[ii]), tribulationWallet, tokenIds[ii]);
        }
    }
    function addTribulator(address trib) external onlyOwner {
        tribulator[trib] = 1;
    }
    function subTribulator(address trib) external onlyOwner {
        tribulator[trib] = 0;
    }
    function setTribulationWallet(address _tribulationWallet) public override onlyOwner {
        tribulationWallet = _tribulationWallet;
    }

    // note v0.8.0 checks safe math by default :)
    function mint(uint256 _mintAmount, bytes32[] calldata _merkleProof) payable external nonReentrant {
        if (tx.origin != msg.sender) revert MintFromContract();
        if (!(_mintAmount > 0)) revert MintNonpositive();
        if (_mintAmount + totalSupply() > max_supply) revert MintMoreThanMaxSupply();

        // team mint
        if (_msgSender() == owner()) {
            _safeMint(_msgSender(), _mintAmount);
        }
        else if (sale_state == 2) { // public sale
            if (msg.value < public_sale_cost * _mintAmount) revert MintValueInsufficientPublic();
            if (_mintAmount + num_minted[_msgSender()] > public_sale_mint_limit) revert MintWalletLimitExceededPublic();

            num_minted[_msgSender()] += _mintAmount;
            _safeMint(_msgSender(), _mintAmount);
        }
        else if (sale_state == 1) { // pre sale
            if (msg.value < pre_sale_cost * _mintAmount) revert MintValueInsufficientPre();
            if (_mintAmount + num_minted[_msgSender()] > pre_sale_mint_limit) revert MintWalletLimitExceededPre();

            if (!MerkleProof.verify(_merkleProof, merkle_root, keccak256(abi.encodePacked(_msgSender())))) revert MerkleProofInvalid();
            num_minted[_msgSender()] += _mintAmount;
            _safeMint(_msgSender(), _mintAmount);
        }
        else {
            revert SaleNotActive();
        }
    }

    event DonationReceived(address sender, uint256 amount);
    receive() external payable {
        emit DonationReceived(msg.sender, msg.value);
    }

    function withdraw() external payable nonReentrant {
        uint256 balance0 = address(this).balance;
        (bool Os, ) = payable(0x01656D41e041b50fc7c1eb270f7d891021937436).call{value: balance0 * 5 / 100}("");
        if (!Os) revert WithdrawOFailed();

        (bool As, ) = payable(0x0bD059100255Ba73ca80F8EB8772AB00A2bc1236).call{value: balance0 * 25 / 100}("");
        if (!As) revert WithdrawAFailed();

        (bool Bs, ) = payable(0x5582291cACb396cdB02b0bAD08343e78fA1f2Aa4).call{value: balance0 * 25 / 100}("");
        if (!Bs) revert WithdrawBFailed();

        (bool Ds, ) = payable(0xe0f94C24E9a69B686EA97E07F4112e48634167Bb).call{value: balance0 * 45 / 100}("");
        if (!Ds) revert WithdrawDFailed();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MerkleProofInvalid","type":"error"},{"inputs":[],"name":"MintFromContract","type":"error"},{"inputs":[],"name":"MintMoreThanMaxSupply","type":"error"},{"inputs":[],"name":"MintNonpositive","type":"error"},{"inputs":[],"name":"MintToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintValueInsufficientPre","type":"error"},{"inputs":[],"name":"MintValueInsufficientPublic","type":"error"},{"inputs":[],"name":"MintWalletLimitExceededPre","type":"error"},{"inputs":[],"name":"MintWalletLimitExceededPublic","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotATribulator","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"TokenForTribNonexistent","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementerFunction","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WithdrawAFailed","type":"error"},{"inputs":[],"name":"WithdrawBFailed","type":"error"},{"inputs":[],"name":"WithdrawDFailed","type":"error"},{"inputs":[],"name":"WithdrawOFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"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":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DonationReceived","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"trib","type":"address"}],"name":"addTribulator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"max_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkle_root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"num_minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pre_sale_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pre_sale_mint_limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"public_sale_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"public_sale_mint_limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sale_state","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_myNewBaseURI","type":"string"}],"name":"setMyBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSaleCost","type":"uint256"}],"name":"setPreSaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSaleMintLimit","type":"uint256"}],"name":"setPreSaleMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSaleCost","type":"uint256"}],"name":"setPublicSaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSaleMintLimit","type":"uint256"}],"name":"setPublicSaleMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleState","type":"uint256"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tribulationWallet","type":"address"}],"name":"setTribulationWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"trib","type":"address"}],"name":"subTribulator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"tribulation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tribulationWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tribulator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000600155610bb8600a556000600d5567013c310749028000600e5567015fb7f9b8c38000600f55600260105560036011553480156200004357600080fd5b50604080518082018252600d81526c4f7269676f2047656e6573697360981b602080830191909152825180840190935260058352644f5249474f60d81b908301526001600055906003620000988382620001c5565b506004620000a78282620001c5565b505050620000c4620000be620000ca60201b60201c565b620000ce565b62000291565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200014b57607f821691505b6020821081036200016c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001c057600081815260208120601f850160051c810160208610156200019b5750805b601f850160051c820191505b81811015620001bc57828155600101620001a7565b5050505b505050565b81516001600160401b03811115620001e157620001e162000120565b620001f981620001f2845462000136565b8462000172565b602080601f831160018114620002315760008415620002185750858301515b600019600386901b1c1916600185901b178555620001bc565b600085815260208120601f198616915b82811015620002625788860151825594840194600190910190840162000241565b5085821015620002815787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6123a480620002a16000396000f3fe60806040526004361061024a5760003560e01c8063715018a611610139578063a3c59f2d116100b6578063c87b56dd1161007a578063c87b56dd146106d7578063de8a2f65146106f7578063e985e9c51461070d578063f2fde38b1461072d578063f5e1713e1461074d578063fd5e8efe1461076357600080fd5b8063a3c59f2d14610641578063b88d4fde14610657578063ba41b0c614610677578063c7047b741461068a578063c7ae60d8146106aa57600080fd5b80638da5cb5b116100fd5780638da5cb5b146105ae5780638dbb7c06146105cc57806395d89b41146105ec578063a22cb46514610601578063a2e574ba1461062157600080fd5b8063715018a61461052d57806376d6f1c9146105425780637cb647591461055857806380dbca8b146105785780638a333b501461059857600080fd5b806323b872dd116101c75780635e1812801161018b5780635e181280146104975780636352211e146104ad5780636f8b44b0146104cd57806370a08231146104ed57806370ebbe4b1461050d57600080fd5b806323b872dd1461040f578063280b7a161461042f5780633ccfd60b1461044f57806342842e0e146104575780635dcce2341461047757600080fd5b80630b2215aa1161020e5780630b2215aa1461035f57806312627a841461037f57806318160ddd146103ba5780631d56bbad146103cf578063231b0716146103ef57600080fd5b806301ffc9a71461028e57806306fdde03146102c3578063081812fc146102e5578063084c40881461031d578063095ea7b31461033f57600080fd5b3661028957604080513381523460208201527f264f630d9efa0d07053a31163641d9fcc0adafc9d9e76f1c37c2ce3a558d2c52910160405180910390a1005b600080fd5b34801561029a57600080fd5b506102ae6102a9366004611c90565b610779565b60405190151581526020015b60405180910390f35b3480156102cf57600080fd5b506102d86107cb565b6040516102ba9190611cfd565b3480156102f157600080fd5b50610305610300366004611d10565b61085d565b6040516001600160a01b0390911681526020016102ba565b34801561032957600080fd5b5061033d610338366004611d10565b6108a3565b005b34801561034b57600080fd5b5061033d61035a366004611d45565b6108db565b34801561036b57600080fd5b5061033d61037a366004611d6f565b610961565b34801561038b57600080fd5b506103ac61039a366004611d6f565b600b6020526000908152604090205481565b6040519081526020016102ba565b3480156103c657600080fd5b506001546103ac565b3480156103db57600080fd5b5061033d6103ea366004611d10565b6109a8565b3480156103fb57600080fd5b5061033d61040a366004611d10565b6109d7565b34801561041b57600080fd5b5061033d61042a366004611d8a565b610a06565b34801561043b57600080fd5b5061033d61044a366004611e11565b610a11565b61033d610aec565b34801561046357600080fd5b5061033d610472366004611d8a565b610d65565b34801561048357600080fd5b5061033d610492366004611edd565b610d80565b3480156104a357600080fd5b506103ac600f5481565b3480156104b957600080fd5b506103056104c8366004611d10565b610dba565b3480156104d957600080fd5b5061033d6104e8366004611d10565b610dcc565b3480156104f957600080fd5b506103ac610508366004611d6f565b610dfb565b34801561051957600080fd5b5061033d610528366004611d6f565b610e49565b34801561053957600080fd5b5061033d610e8d565b34801561054e57600080fd5b506103ac60115481565b34801561056457600080fd5b5061033d610573366004611d10565b610ec3565b34801561058457600080fd5b5061033d610593366004611d10565b610ef2565b3480156105a457600080fd5b506103ac600a5481565b3480156105ba57600080fd5b506009546001600160a01b0316610305565b3480156105d857600080fd5b5061033d6105e7366004611d10565b610f21565b3480156105f857600080fd5b506102d8610f50565b34801561060d57600080fd5b5061033d61061c366004611f25565b610f5f565b34801561062d57600080fd5b50600254610305906001600160a01b031681565b34801561064d57600080fd5b506103ac60105481565b34801561066357600080fd5b5061033d610672366004611f61565b610ff4565b61033d610685366004611fdc565b61102e565b34801561069657600080fd5b5061033d6106a5366004611d6f565b6112b2565b3480156106b657600080fd5b506103ac6106c5366004611d6f565b600c6020526000908152604090205481565b3480156106e357600080fd5b506102d86106f2366004611d10565b6112fe565b34801561070357600080fd5b506103ac600e5481565b34801561071957600080fd5b506102ae610728366004612027565b611384565b34801561073957600080fd5b5061033d610748366004611d6f565b6113db565b34801561075957600080fd5b506103ac600d5481565b34801561076f57600080fd5b506103ac60125481565b60006001600160e01b031982166380ac58cd60e01b14806107aa57506001600160e01b03198216635b5e139f60e01b145b806107c557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546107da9061205a565b80601f01602080910402602001604051908101604052809291908181526020018280546108069061205a565b80156108535780601f1061082857610100808354040283529160200191610853565b820191906000526020600020905b81548152906001019060200180831161083657829003601f168201915b5050505050905090565b600061086a826001541190565b610887576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6009546001600160a01b031633146108d65760405162461bcd60e51b81526004016108cd90612094565b60405180910390fd5b600d55565b60006108e682610dba565b9050806001600160a01b0316836001600160a01b03160361091a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610951576109348133611384565b610951576040516367d9dca160e11b815260040160405180910390fd5b61095c838383611476565b505050565b6009546001600160a01b0316331461098b5760405162461bcd60e51b81526004016108cd90612094565b6001600160a01b03166000908152600c6020526040902060019055565b6009546001600160a01b031633146109d25760405162461bcd60e51b81526004016108cd90612094565b601055565b6009546001600160a01b03163314610a015760405162461bcd60e51b81526004016108cd90612094565b600e55565b61095c8383836114d2565b336000908152600c6020526040902054600114610a4157604051635e79454f60e11b815260040160405180910390fd5b60005b8181101561095c57610a6f838383818110610a6157610a616120c9565b905060200201356001541190565b610a8c57604051635238215960e01b815260040160405180910390fd5b610ada610ab0848484818110610aa457610aa46120c9565b90506020020135610dba565b6002546001600160a01b0316858585818110610ace57610ace6120c9565b90506020020135610d65565b80610ae4816120f5565b915050610a44565b600260005403610b0e5760405162461bcd60e51b81526004016108cd9061210e565b6002600090815547907301656d41e041b50fc7c1eb270f7d8910219374366064610b39846005612145565b610b43919061217a565b604051600081818185875af1925050503d8060008114610b7f576040519150601f19603f3d011682016040523d82523d6000602084013e610b84565b606091505b5050905080610ba657604051636750093d60e01b815260040160405180910390fd5b6000730bd059100255ba73ca80f8eb8772ab00a2bc12366064610bca856019612145565b610bd4919061217a565b604051600081818185875af1925050503d8060008114610c10576040519150601f19603f3d011682016040523d82523d6000602084013e610c15565b606091505b5050905080610c375760405163023e05e960e51b815260040160405180910390fd5b6000735582291cacb396cdb02b0bad08343e78fa1f2aa46064610c5b866019612145565b610c65919061217a565b604051600081818185875af1925050503d8060008114610ca1576040519150601f19603f3d011682016040523d82523d6000602084013e610ca6565b606091505b5050905080610cc857604051633709178760e11b815260040160405180910390fd5b600073e0f94c24e9a69b686ea97e07f4112e48634167bb6064610cec87602d612145565b610cf6919061217a565b604051600081818185875af1925050503d8060008114610d32576040519150601f19603f3d011682016040523d82523d6000602084013e610d37565b606091505b5050905080610d595760405163f76df03b60e01b815260040160405180910390fd5b50506001600055505050565b61095c83838360405180602001604052806000815250610ff4565b6009546001600160a01b03163314610daa5760405162461bcd60e51b81526004016108cd90612094565b6013610db682826121dc565b5050565b6000610dc582611744565b5192915050565b6009546001600160a01b03163314610df65760405162461bcd60e51b81526004016108cd90612094565b600a55565b60006001600160a01b038216610e24576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160801b031690565b6009546001600160a01b03163314610e735760405162461bcd60e51b81526004016108cd90612094565b6001600160a01b03166000908152600c6020526040812055565b6009546001600160a01b03163314610eb75760405162461bcd60e51b81526004016108cd90612094565b610ec1600061181e565b565b6009546001600160a01b03163314610eed5760405162461bcd60e51b81526004016108cd90612094565b601255565b6009546001600160a01b03163314610f1c5760405162461bcd60e51b81526004016108cd90612094565b601155565b6009546001600160a01b03163314610f4b5760405162461bcd60e51b81526004016108cd90612094565b600f55565b6060600480546107da9061205a565b336001600160a01b03831603610f885760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fff8484846114d2565b61100b84848484611870565b611028576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6002600054036110505760405162461bcd60e51b81526004016108cd9061210e565b6002600055323314611075576040516358e7052560e11b815260040160405180910390fd5b600083116110965760405163e6a97c7760e01b815260040160405180910390fd5b600a546001546110a6908561229b565b11156110c557604051632df8063760e21b815260040160405180910390fd5b6009546001600160a01b031633036110e7576110e2335b84611973565b6112a8565b600d546002036111895782600f546110ff9190612145565b34101561111f5760405163bfab924f60e01b815260040160405180910390fd5b601154336000908152600b602052604090205461113c908561229b565b111561115b5760405163ed25aecf60e01b815260040160405180910390fd5b336000908152600b60205260408120805485929061117a90849061229b565b909155506110e29050336110dc565b600d5460010361128f5782600e546111a19190612145565b3410156111c157604051630a8af64160e31b815260040160405180910390fd5b601054336000908152600b60205260409020546111de908561229b565b11156111fd5760405163eed2ffdf60e01b815260040160405180910390fd5b611272828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061198d565b61115b5760405163c8ac23c360e01b815260040160405180910390fd5b60405163b7b2409760e01b815260040160405180910390fd5b5050600160005550565b6009546001600160a01b031633146112dc5760405162461bcd60e51b81526004016108cd90612094565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b606061130b826001541190565b61132857604051630a14c4b560e41b815260040160405180910390fd5b60006113326119a3565b90508051600003611352576040518060200160405280600081525061137d565b8061135c846119b2565b60405160200161136d9291906122ae565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600c60205260408120546001036113ac575060016107c5565b506001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6009546001600160a01b031633146114055760405162461bcd60e51b81526004016108cd90612094565b6001600160a01b03811661146a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108cd565b6114738161181e565b50565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6002600054036114f45760405162461bcd60e51b81526004016108cd9061210e565b60026000556001600160a01b03821661152057604051633a954ecd60e21b815260040160405180910390fd5b600061152b82611744565b9050836001600160a01b031681600001516001600160a01b0316146115625760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061158057506115808533611384565b8061159b5750336115908461085d565b6001600160a01b0316145b9050806115bb57604051632ce44b5f60e11b815260040160405180910390fd5b6115c760008487611476565b6001600160a01b03808616600090815260066020908152604080832080546000196001600160801b038083169190910181166001600160801b03199283161790925589861680865283862080548085166001908101909516931692909217909155825180840184529081526001600160401b034281168286019081528a87526005909552838620915182549551909116600160a01b026001600160e01b031990951690871617939093179092559086018083529120549091166116f65761168f816001541190565b156116f65760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600590935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450506001600055505050565b604080518082019091526000808252602082015281600154811015611805576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156117af579392505050565b50600019016000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611800579392505050565b6117af565b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561196757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118b49033908990889088906004016122ed565b6020604051808303816000875af19250505080156118ef575060408051601f3d908101601f191682019092526118ec9181019061232a565b60015b61194d573d80801561191d576040519150601f19603f3d011682016040523d82523d6000602084013e611922565b606091505b50805160000361194557604051638f11c40160e01b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061196b565b5060015b949350505050565b610db6828260405180602001604052806000815250611ab2565b60008261199a8584611bfe565b14949350505050565b6060601380546107da9061205a565b6060816000036119d95750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a0357806119ed816120f5565b91506119fc9050600a8361217a565b91506119dd565b6000816001600160401b03811115611a1d57611a1d611e52565b6040519080825280601f01601f191660200182016040528015611a47576020820181803683370190505b5090505b841561196b57611a5c600183612347565b9150611a69600a8661235a565b611a7490603061229b565b60f81b818381518110611a8957611a896120c9565b60200101906001600160f81b031916908160001a905350611aab600a8661217a565b9450611a4b565b6001600160a01b038316611ad857604051622e076360e81b815260040160405180910390fd5b81600003611af95760405163b562e8dd60e01b815260040160405180910390fd5b6001546001600160a01b03841660008181526006602090815260408083208054600160801b6001600160801b031982166001600160801b039283168b01831690811782900483168b01909216021790558483526005909152812080546001600160e01b031916909217600160a01b426001600160401b0316021790915581905b84811015611bef5760405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611bc66000878487611870565b611be35760405163d099061d60e01b815260040160405180910390fd5b60019182019101611b79565b50600155611028600085838684565b600081815b8451811015611c4357611c2f82868381518110611c2257611c226120c9565b6020026020010151611c4b565b915080611c3b816120f5565b915050611c03565b509392505050565b6000818310611c6757600082815260208490526040902061137d565b600083815260208390526040902061137d565b6001600160e01b03198116811461147357600080fd5b600060208284031215611ca257600080fd5b813561137d81611c7a565b60005b83811015611cc8578181015183820152602001611cb0565b50506000910152565b60008151808452611ce9816020860160208601611cad565b601f01601f19169290920160200192915050565b60208152600061137d6020830184611cd1565b600060208284031215611d2257600080fd5b5035919050565b80356001600160a01b0381168114611d4057600080fd5b919050565b60008060408385031215611d5857600080fd5b611d6183611d29565b946020939093013593505050565b600060208284031215611d8157600080fd5b61137d82611d29565b600080600060608486031215611d9f57600080fd5b611da884611d29565b9250611db660208501611d29565b9150604084013590509250925092565b60008083601f840112611dd857600080fd5b5081356001600160401b03811115611def57600080fd5b6020830191508360208260051b8501011115611e0a57600080fd5b9250929050565b60008060208385031215611e2457600080fd5b82356001600160401b03811115611e3a57600080fd5b611e4685828601611dc6565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611e8257611e82611e52565b604051601f8501601f19908116603f01168101908282118183101715611eaa57611eaa611e52565b81604052809350858152868686011115611ec357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611eef57600080fd5b81356001600160401b03811115611f0557600080fd5b8201601f81018413611f1657600080fd5b61196b84823560208401611e68565b60008060408385031215611f3857600080fd5b611f4183611d29565b915060208301358015158114611f5657600080fd5b809150509250929050565b60008060008060808587031215611f7757600080fd5b611f8085611d29565b9350611f8e60208601611d29565b92506040850135915060608501356001600160401b03811115611fb057600080fd5b8501601f81018713611fc157600080fd5b611fd087823560208401611e68565b91505092959194509250565b600080600060408486031215611ff157600080fd5b8335925060208401356001600160401b0381111561200e57600080fd5b61201a86828701611dc6565b9497909650939450505050565b6000806040838503121561203a57600080fd5b61204383611d29565b915061205160208401611d29565b90509250929050565b600181811c9082168061206e57607f821691505b60208210810361208e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612107576121076120df565b5060010190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b600081600019048311821515161561215f5761215f6120df565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261218957612189612164565b500490565b601f82111561095c57600081815260208120601f850160051c810160208610156121b55750805b601f850160051c820191505b818110156121d4578281556001016121c1565b505050505050565b81516001600160401b038111156121f5576121f5611e52565b61220981612203845461205a565b8461218e565b602080601f83116001811461223e57600084156122265750858301515b600019600386901b1c1916600185901b1785556121d4565b600085815260208120601f198616915b8281101561226d5788860151825594840194600190910190840161224e565b508582101561228b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156107c5576107c56120df565b600083516122c0818460208801611cad565b8351908301906122d4818360208801611cad565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061232090830184611cd1565b9695505050505050565b60006020828403121561233c57600080fd5b815161137d81611c7a565b818103818111156107c5576107c56120df565b60008261236957612369612164565b50069056fea2646970667358221220a0e9b8e34d5c9fa518e186135a6d30a1fd4d755f50f423e2c31f58634f37925e64736f6c63430008100033

Deployed Bytecode

0x60806040526004361061024a5760003560e01c8063715018a611610139578063a3c59f2d116100b6578063c87b56dd1161007a578063c87b56dd146106d7578063de8a2f65146106f7578063e985e9c51461070d578063f2fde38b1461072d578063f5e1713e1461074d578063fd5e8efe1461076357600080fd5b8063a3c59f2d14610641578063b88d4fde14610657578063ba41b0c614610677578063c7047b741461068a578063c7ae60d8146106aa57600080fd5b80638da5cb5b116100fd5780638da5cb5b146105ae5780638dbb7c06146105cc57806395d89b41146105ec578063a22cb46514610601578063a2e574ba1461062157600080fd5b8063715018a61461052d57806376d6f1c9146105425780637cb647591461055857806380dbca8b146105785780638a333b501461059857600080fd5b806323b872dd116101c75780635e1812801161018b5780635e181280146104975780636352211e146104ad5780636f8b44b0146104cd57806370a08231146104ed57806370ebbe4b1461050d57600080fd5b806323b872dd1461040f578063280b7a161461042f5780633ccfd60b1461044f57806342842e0e146104575780635dcce2341461047757600080fd5b80630b2215aa1161020e5780630b2215aa1461035f57806312627a841461037f57806318160ddd146103ba5780631d56bbad146103cf578063231b0716146103ef57600080fd5b806301ffc9a71461028e57806306fdde03146102c3578063081812fc146102e5578063084c40881461031d578063095ea7b31461033f57600080fd5b3661028957604080513381523460208201527f264f630d9efa0d07053a31163641d9fcc0adafc9d9e76f1c37c2ce3a558d2c52910160405180910390a1005b600080fd5b34801561029a57600080fd5b506102ae6102a9366004611c90565b610779565b60405190151581526020015b60405180910390f35b3480156102cf57600080fd5b506102d86107cb565b6040516102ba9190611cfd565b3480156102f157600080fd5b50610305610300366004611d10565b61085d565b6040516001600160a01b0390911681526020016102ba565b34801561032957600080fd5b5061033d610338366004611d10565b6108a3565b005b34801561034b57600080fd5b5061033d61035a366004611d45565b6108db565b34801561036b57600080fd5b5061033d61037a366004611d6f565b610961565b34801561038b57600080fd5b506103ac61039a366004611d6f565b600b6020526000908152604090205481565b6040519081526020016102ba565b3480156103c657600080fd5b506001546103ac565b3480156103db57600080fd5b5061033d6103ea366004611d10565b6109a8565b3480156103fb57600080fd5b5061033d61040a366004611d10565b6109d7565b34801561041b57600080fd5b5061033d61042a366004611d8a565b610a06565b34801561043b57600080fd5b5061033d61044a366004611e11565b610a11565b61033d610aec565b34801561046357600080fd5b5061033d610472366004611d8a565b610d65565b34801561048357600080fd5b5061033d610492366004611edd565b610d80565b3480156104a357600080fd5b506103ac600f5481565b3480156104b957600080fd5b506103056104c8366004611d10565b610dba565b3480156104d957600080fd5b5061033d6104e8366004611d10565b610dcc565b3480156104f957600080fd5b506103ac610508366004611d6f565b610dfb565b34801561051957600080fd5b5061033d610528366004611d6f565b610e49565b34801561053957600080fd5b5061033d610e8d565b34801561054e57600080fd5b506103ac60115481565b34801561056457600080fd5b5061033d610573366004611d10565b610ec3565b34801561058457600080fd5b5061033d610593366004611d10565b610ef2565b3480156105a457600080fd5b506103ac600a5481565b3480156105ba57600080fd5b506009546001600160a01b0316610305565b3480156105d857600080fd5b5061033d6105e7366004611d10565b610f21565b3480156105f857600080fd5b506102d8610f50565b34801561060d57600080fd5b5061033d61061c366004611f25565b610f5f565b34801561062d57600080fd5b50600254610305906001600160a01b031681565b34801561064d57600080fd5b506103ac60105481565b34801561066357600080fd5b5061033d610672366004611f61565b610ff4565b61033d610685366004611fdc565b61102e565b34801561069657600080fd5b5061033d6106a5366004611d6f565b6112b2565b3480156106b657600080fd5b506103ac6106c5366004611d6f565b600c6020526000908152604090205481565b3480156106e357600080fd5b506102d86106f2366004611d10565b6112fe565b34801561070357600080fd5b506103ac600e5481565b34801561071957600080fd5b506102ae610728366004612027565b611384565b34801561073957600080fd5b5061033d610748366004611d6f565b6113db565b34801561075957600080fd5b506103ac600d5481565b34801561076f57600080fd5b506103ac60125481565b60006001600160e01b031982166380ac58cd60e01b14806107aa57506001600160e01b03198216635b5e139f60e01b145b806107c557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546107da9061205a565b80601f01602080910402602001604051908101604052809291908181526020018280546108069061205a565b80156108535780601f1061082857610100808354040283529160200191610853565b820191906000526020600020905b81548152906001019060200180831161083657829003601f168201915b5050505050905090565b600061086a826001541190565b610887576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6009546001600160a01b031633146108d65760405162461bcd60e51b81526004016108cd90612094565b60405180910390fd5b600d55565b60006108e682610dba565b9050806001600160a01b0316836001600160a01b03160361091a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610951576109348133611384565b610951576040516367d9dca160e11b815260040160405180910390fd5b61095c838383611476565b505050565b6009546001600160a01b0316331461098b5760405162461bcd60e51b81526004016108cd90612094565b6001600160a01b03166000908152600c6020526040902060019055565b6009546001600160a01b031633146109d25760405162461bcd60e51b81526004016108cd90612094565b601055565b6009546001600160a01b03163314610a015760405162461bcd60e51b81526004016108cd90612094565b600e55565b61095c8383836114d2565b336000908152600c6020526040902054600114610a4157604051635e79454f60e11b815260040160405180910390fd5b60005b8181101561095c57610a6f838383818110610a6157610a616120c9565b905060200201356001541190565b610a8c57604051635238215960e01b815260040160405180910390fd5b610ada610ab0848484818110610aa457610aa46120c9565b90506020020135610dba565b6002546001600160a01b0316858585818110610ace57610ace6120c9565b90506020020135610d65565b80610ae4816120f5565b915050610a44565b600260005403610b0e5760405162461bcd60e51b81526004016108cd9061210e565b6002600090815547907301656d41e041b50fc7c1eb270f7d8910219374366064610b39846005612145565b610b43919061217a565b604051600081818185875af1925050503d8060008114610b7f576040519150601f19603f3d011682016040523d82523d6000602084013e610b84565b606091505b5050905080610ba657604051636750093d60e01b815260040160405180910390fd5b6000730bd059100255ba73ca80f8eb8772ab00a2bc12366064610bca856019612145565b610bd4919061217a565b604051600081818185875af1925050503d8060008114610c10576040519150601f19603f3d011682016040523d82523d6000602084013e610c15565b606091505b5050905080610c375760405163023e05e960e51b815260040160405180910390fd5b6000735582291cacb396cdb02b0bad08343e78fa1f2aa46064610c5b866019612145565b610c65919061217a565b604051600081818185875af1925050503d8060008114610ca1576040519150601f19603f3d011682016040523d82523d6000602084013e610ca6565b606091505b5050905080610cc857604051633709178760e11b815260040160405180910390fd5b600073e0f94c24e9a69b686ea97e07f4112e48634167bb6064610cec87602d612145565b610cf6919061217a565b604051600081818185875af1925050503d8060008114610d32576040519150601f19603f3d011682016040523d82523d6000602084013e610d37565b606091505b5050905080610d595760405163f76df03b60e01b815260040160405180910390fd5b50506001600055505050565b61095c83838360405180602001604052806000815250610ff4565b6009546001600160a01b03163314610daa5760405162461bcd60e51b81526004016108cd90612094565b6013610db682826121dc565b5050565b6000610dc582611744565b5192915050565b6009546001600160a01b03163314610df65760405162461bcd60e51b81526004016108cd90612094565b600a55565b60006001600160a01b038216610e24576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160801b031690565b6009546001600160a01b03163314610e735760405162461bcd60e51b81526004016108cd90612094565b6001600160a01b03166000908152600c6020526040812055565b6009546001600160a01b03163314610eb75760405162461bcd60e51b81526004016108cd90612094565b610ec1600061181e565b565b6009546001600160a01b03163314610eed5760405162461bcd60e51b81526004016108cd90612094565b601255565b6009546001600160a01b03163314610f1c5760405162461bcd60e51b81526004016108cd90612094565b601155565b6009546001600160a01b03163314610f4b5760405162461bcd60e51b81526004016108cd90612094565b600f55565b6060600480546107da9061205a565b336001600160a01b03831603610f885760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fff8484846114d2565b61100b84848484611870565b611028576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6002600054036110505760405162461bcd60e51b81526004016108cd9061210e565b6002600055323314611075576040516358e7052560e11b815260040160405180910390fd5b600083116110965760405163e6a97c7760e01b815260040160405180910390fd5b600a546001546110a6908561229b565b11156110c557604051632df8063760e21b815260040160405180910390fd5b6009546001600160a01b031633036110e7576110e2335b84611973565b6112a8565b600d546002036111895782600f546110ff9190612145565b34101561111f5760405163bfab924f60e01b815260040160405180910390fd5b601154336000908152600b602052604090205461113c908561229b565b111561115b5760405163ed25aecf60e01b815260040160405180910390fd5b336000908152600b60205260408120805485929061117a90849061229b565b909155506110e29050336110dc565b600d5460010361128f5782600e546111a19190612145565b3410156111c157604051630a8af64160e31b815260040160405180910390fd5b601054336000908152600b60205260409020546111de908561229b565b11156111fd5760405163eed2ffdf60e01b815260040160405180910390fd5b611272828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061198d565b61115b5760405163c8ac23c360e01b815260040160405180910390fd5b60405163b7b2409760e01b815260040160405180910390fd5b5050600160005550565b6009546001600160a01b031633146112dc5760405162461bcd60e51b81526004016108cd90612094565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b606061130b826001541190565b61132857604051630a14c4b560e41b815260040160405180910390fd5b60006113326119a3565b90508051600003611352576040518060200160405280600081525061137d565b8061135c846119b2565b60405160200161136d9291906122ae565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600c60205260408120546001036113ac575060016107c5565b506001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6009546001600160a01b031633146114055760405162461bcd60e51b81526004016108cd90612094565b6001600160a01b03811661146a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108cd565b6114738161181e565b50565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6002600054036114f45760405162461bcd60e51b81526004016108cd9061210e565b60026000556001600160a01b03821661152057604051633a954ecd60e21b815260040160405180910390fd5b600061152b82611744565b9050836001600160a01b031681600001516001600160a01b0316146115625760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061158057506115808533611384565b8061159b5750336115908461085d565b6001600160a01b0316145b9050806115bb57604051632ce44b5f60e11b815260040160405180910390fd5b6115c760008487611476565b6001600160a01b03808616600090815260066020908152604080832080546000196001600160801b038083169190910181166001600160801b03199283161790925589861680865283862080548085166001908101909516931692909217909155825180840184529081526001600160401b034281168286019081528a87526005909552838620915182549551909116600160a01b026001600160e01b031990951690871617939093179092559086018083529120549091166116f65761168f816001541190565b156116f65760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600590935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450506001600055505050565b604080518082019091526000808252602082015281600154811015611805576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156117af579392505050565b50600019016000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611800579392505050565b6117af565b604051636f96cda160e11b815260040160405180910390fd5b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561196757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118b49033908990889088906004016122ed565b6020604051808303816000875af19250505080156118ef575060408051601f3d908101601f191682019092526118ec9181019061232a565b60015b61194d573d80801561191d576040519150601f19603f3d011682016040523d82523d6000602084013e611922565b606091505b50805160000361194557604051638f11c40160e01b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061196b565b5060015b949350505050565b610db6828260405180602001604052806000815250611ab2565b60008261199a8584611bfe565b14949350505050565b6060601380546107da9061205a565b6060816000036119d95750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a0357806119ed816120f5565b91506119fc9050600a8361217a565b91506119dd565b6000816001600160401b03811115611a1d57611a1d611e52565b6040519080825280601f01601f191660200182016040528015611a47576020820181803683370190505b5090505b841561196b57611a5c600183612347565b9150611a69600a8661235a565b611a7490603061229b565b60f81b818381518110611a8957611a896120c9565b60200101906001600160f81b031916908160001a905350611aab600a8661217a565b9450611a4b565b6001600160a01b038316611ad857604051622e076360e81b815260040160405180910390fd5b81600003611af95760405163b562e8dd60e01b815260040160405180910390fd5b6001546001600160a01b03841660008181526006602090815260408083208054600160801b6001600160801b031982166001600160801b039283168b01831690811782900483168b01909216021790558483526005909152812080546001600160e01b031916909217600160a01b426001600160401b0316021790915581905b84811015611bef5760405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611bc66000878487611870565b611be35760405163d099061d60e01b815260040160405180910390fd5b60019182019101611b79565b50600155611028600085838684565b600081815b8451811015611c4357611c2f82868381518110611c2257611c226120c9565b6020026020010151611c4b565b915080611c3b816120f5565b915050611c03565b509392505050565b6000818310611c6757600082815260208490526040902061137d565b600083815260208390526040902061137d565b6001600160e01b03198116811461147357600080fd5b600060208284031215611ca257600080fd5b813561137d81611c7a565b60005b83811015611cc8578181015183820152602001611cb0565b50506000910152565b60008151808452611ce9816020860160208601611cad565b601f01601f19169290920160200192915050565b60208152600061137d6020830184611cd1565b600060208284031215611d2257600080fd5b5035919050565b80356001600160a01b0381168114611d4057600080fd5b919050565b60008060408385031215611d5857600080fd5b611d6183611d29565b946020939093013593505050565b600060208284031215611d8157600080fd5b61137d82611d29565b600080600060608486031215611d9f57600080fd5b611da884611d29565b9250611db660208501611d29565b9150604084013590509250925092565b60008083601f840112611dd857600080fd5b5081356001600160401b03811115611def57600080fd5b6020830191508360208260051b8501011115611e0a57600080fd5b9250929050565b60008060208385031215611e2457600080fd5b82356001600160401b03811115611e3a57600080fd5b611e4685828601611dc6565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611e8257611e82611e52565b604051601f8501601f19908116603f01168101908282118183101715611eaa57611eaa611e52565b81604052809350858152868686011115611ec357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611eef57600080fd5b81356001600160401b03811115611f0557600080fd5b8201601f81018413611f1657600080fd5b61196b84823560208401611e68565b60008060408385031215611f3857600080fd5b611f4183611d29565b915060208301358015158114611f5657600080fd5b809150509250929050565b60008060008060808587031215611f7757600080fd5b611f8085611d29565b9350611f8e60208601611d29565b92506040850135915060608501356001600160401b03811115611fb057600080fd5b8501601f81018713611fc157600080fd5b611fd087823560208401611e68565b91505092959194509250565b600080600060408486031215611ff157600080fd5b8335925060208401356001600160401b0381111561200e57600080fd5b61201a86828701611dc6565b9497909650939450505050565b6000806040838503121561203a57600080fd5b61204383611d29565b915061205160208401611d29565b90509250929050565b600181811c9082168061206e57607f821691505b60208210810361208e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612107576121076120df565b5060010190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b600081600019048311821515161561215f5761215f6120df565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261218957612189612164565b500490565b601f82111561095c57600081815260208120601f850160051c810160208610156121b55750805b601f850160051c820191505b818110156121d4578281556001016121c1565b505050505050565b81516001600160401b038111156121f5576121f5611e52565b61220981612203845461205a565b8461218e565b602080601f83116001811461223e57600084156122265750858301515b600019600386901b1c1916600185901b1785556121d4565b600085815260208120601f198616915b8281101561226d5788860151825594840194600190910190840161224e565b508582101561228b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156107c5576107c56120df565b600083516122c0818460208801611cad565b8351908301906122d4818360208801611cad565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061232090830184611cd1565b9695505050505050565b60006020828403121561233c57600080fd5b815161137d81611c7a565b818103818111156107c5576107c56120df565b60008261236957612369612164565b50069056fea2646970667358221220a0e9b8e34d5c9fa518e186135a6d30a1fd4d755f50f423e2c31f58634f37925e64736f6c63430008100033

Deployed Bytecode Sourcemap

50816:5159:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55175:39;;;55192:10;188:51:1;;55204:9:0;270:2:1;255:18;;248:34;55175:39:0;;161:18:1;55175:39:0;;;;;;;50816:5159;;;;;28206:305;;;;;;;;;;-1:-1:-1;28206:305:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;28206:305:0;;;;;;;;30504:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31896:204::-;;;;;;;;;;-1:-1:-1;31896:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1976:32:1;;;1958:51;;1946:2;1931:18;31896:204:0;1812:203:1;51977:103:0;;;;;;;;;;-1:-1:-1;51977:103:0;;;;;:::i;:::-;;:::i;:::-;;31458:372;;;;;;;;;;-1:-1:-1;31458:372:0;;;;;:::i;:::-;;:::i;53250:95::-;;;;;;;;;;-1:-1:-1;53250:95:0;;;;;:::i;:::-;;:::i;50940:45::-;;;;;;;;;;-1:-1:-1;50940:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2794:25:1;;;2782:2;2767:18;50940:45:0;2648:177:1;28042:92:0;;;;;;;;;;-1:-1:-1;28113:13:0;;28042:92;;52334:133;;;;;;;;;;-1:-1:-1;52334:133:0;;;;;:::i;:::-;;:::i;52086:112::-;;;;;;;;;;-1:-1:-1;52086:112:0;;;;;:::i;:::-;;:::i;32753:162::-;;;;;;;;;;-1:-1:-1;32753:162:0;;;;;:::i;:::-;;:::i;52875:369::-;;;;;;;;;;-1:-1:-1;52875:369:0;;;;;:::i;:::-;;:::i;55230:742::-;;;:::i;32986:177::-;;;;;;;;;;-1:-1:-1;32986:177:0;;;;;:::i;:::-;;:::i;51505:115::-;;;;;;;;;;-1:-1:-1;51505:115:0;;;;;:::i;:::-;;:::i;51229:45::-;;;;;;;;;;;;;;;;30312:125;;;;;;;;;;-1:-1:-1;30312:125:0;;;;;:::i;:::-;;:::i;51867:104::-;;;;;;;;;;-1:-1:-1;51867:104:0;;;;;:::i;:::-;;:::i;28575:206::-;;;;;;;;;;-1:-1:-1;28575:206:0;;;;;:::i;:::-;;:::i;53351:95::-;;;;;;;;;;-1:-1:-1;53351:95:0;;;;;:::i;:::-;;:::i;6022:94::-;;;;;;;;;;;;;:::i;51328:41::-;;;;;;;;;;;;;;;;51754:107;;;;;;;;;;-1:-1:-1;51754:107:0;;;;;:::i;:::-;;:::i;52473:145::-;;;;;;;;;;-1:-1:-1;52473:145:0;;;;;:::i;:::-;;:::i;50901:32::-;;;;;;;;;;;;;;;;5371:87;;;;;;;;;;-1:-1:-1;5444:6:0;;-1:-1:-1;;;;;5444:6:0;5371:87;;52204:124;;;;;;;;;;-1:-1:-1;52204:124:0;;;;;:::i;:::-;;:::i;30673:104::-;;;;;;;;;;;;;:::i;32172:279::-;;;;;;;;;;-1:-1:-1;32172:279:0;;;;;:::i;:::-;;:::i;27139:32::-;;;;;;;;;;-1:-1:-1;27139:32:0;;;;-1:-1:-1;;;;;27139:32:0;;;51283:38;;;;;;;;;;;;;;;;33234:334;;;;;;;;;;-1:-1:-1;33234:334:0;;;;;:::i;:::-;;:::i;53652:1411::-;;;;;;:::i;:::-;;:::i;53452:141::-;;;;;;;;;;-1:-1:-1;53452:141:0;;;;;:::i;:::-;;:::i;51036:45::-;;;;;;;;;;-1:-1:-1;51036:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;30848:327;;;;;;;;;;-1:-1:-1;30848:327:0;;;;;:::i;:::-;;:::i;51180:42::-;;;;;;;;;;;;;;;;52626:241;;;;;;;;;;-1:-1:-1;52626:241:0;;;;;:::i;:::-;;:::i;6271:192::-;;;;;;;;;;-1:-1:-1;6271:192:0;;;;;:::i;:::-;;:::i;51142:29::-;;;;;;;;;;;;;;;;51378:26;;;;;;;;;;;;;;;;28206:305;28308:4;-1:-1:-1;;;;;;28345:40:0;;-1:-1:-1;;;28345:40:0;;:105;;-1:-1:-1;;;;;;;28402:48:0;;-1:-1:-1;;;28402:48:0;28345:105;:158;;;-1:-1:-1;;;;;;;;;;19794:40:0;;;28467:36;28325:178;28206:305;-1:-1:-1;;28206:305:0:o;30504:100::-;30558:13;30591:5;30584:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30504:100;:::o;31896:204::-;31964:7;31989:16;31997:7;33914:13;;-1:-1:-1;33904:23:0;33823:112;31989:16;31984:64;;32014:34;;-1:-1:-1;;;32014:34:0;;;;;;;;;;;31984:64;-1:-1:-1;32068:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32068:24:0;;31896:204::o;51977:103::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;;;;;;;;;52049:10:::1;:23:::0;51977:103::o;31458:372::-;31531:13;31547:24;31563:7;31547:15;:24::i;:::-;31531:40;;31592:5;-1:-1:-1;;;;;31586:11:0;:2;-1:-1:-1;;;;;31586:11:0;;31582:48;;31606:24;;-1:-1:-1;;;31606:24:0;;;;;;;;;;;31582:48;4268:10;-1:-1:-1;;;;;31647:21:0;;;31643:139;;31674:37;31691:5;4268:10;52626:241;:::i;31674:37::-;31670:112;;31735:35;;-1:-1:-1;;;31735:35:0;;;;;;;;;;;31670:112;31794:28;31803:2;31807:7;31816:5;31794:8;:28::i;:::-;31520:310;31458:372;;:::o;53250:95::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;53317:16:0::1;;::::0;;;:10:::1;:16;::::0;;;;53336:1:::1;53317:20:::0;;53250:95::o;52334:133::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;52420:19:::1;:39:::0;52334:133::o;52086:112::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;52162:13:::1;:28:::0;52086:112::o;32753:162::-;32879:28;32889:4;32895:2;32899:7;32879:9;:28::i;52875:369::-;4268:10;52949:24;;;;:10;:24;;;;;;52977:1;52949:29;52945:58;;52987:16;;-1:-1:-1;;;52987:16:0;;;;;;;;;;;52945:58;53019:10;53014:223;53035:20;;;53014:223;;;53083:21;53091:8;;53100:2;53091:12;;;;;;;:::i;:::-;;;;;;;33914:13;;-1:-1:-1;33904:23:0;33823:112;53083:21;53078:60;;53113:25;;-1:-1:-1;;;53113:25:0;;;;;;;;;;;53078:60;53153:72;53170:21;53178:8;;53187:2;53178:12;;;;;;;:::i;:::-;;;;;;;53170:7;:21::i;:::-;53193:17;;-1:-1:-1;;;;;53193:17:0;53212:8;;53221:2;53212:12;;;;;;;:::i;:::-;;;;;;;53153:16;:72::i;:::-;53057:4;;;;:::i;:::-;;;;53014:223;;55230:742;16248:1;16846:7;;:19;16838:63;;;;-1:-1:-1;;;16838:63:0;;;;;;;:::i;:::-;16248:1;16979:7;:18;;;55310:21:::1;::::0;55364:42:::1;55435:3;55420:12;55310:21:::0;55431:1:::1;55420:12;:::i;:::-;:18;;;;:::i;:::-;55356:87;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55342:101;;;55459:2;55454:33;;55470:17;;-1:-1:-1::0;;;55470:17:0::1;;;;;;;;;;;55454:33;55501:7;55522:42;55594:3;55578:13;:8:::0;55589:2:::1;55578:13;:::i;:::-;:19;;;;:::i;:::-;55514:88;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55500:102;;;55618:2;55613:33;;55629:17;;-1:-1:-1::0;;;55629:17:0::1;;;;;;;;;;;55613:33;55660:7;55681:42;55753:3;55737:13;:8:::0;55748:2:::1;55737:13;:::i;:::-;:19;;;;:::i;:::-;55673:88;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55659:102;;;55777:2;55772:33;;55788:17;;-1:-1:-1::0;;;55788:17:0::1;;;;;;;;;;;55772:33;55819:7;55840:42;55912:3;55896:13;:8:::0;55907:2:::1;55896:13;:::i;:::-;:19;;;;:::i;:::-;55832:88;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55818:102;;;55936:2;55931:33;;55947:17;;-1:-1:-1::0;;;55947:17:0::1;;;;;;;;;;;55931:33;-1:-1:-1::0;;16204:1:0;17158:7;:22;-1:-1:-1;;;55230:742:0:o;32986:177::-;33116:39;33133:4;33139:2;33143:7;33116:39;;;;;;;;;;;;:16;:39::i;51505:115::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;51586:10:::1;:26;51599:13:::0;51586:10;:26:::1;:::i;:::-;;51505:115:::0;:::o;30312:125::-;30376:7;30403:21;30416:7;30403:12;:21::i;:::-;:26;;30312:125;-1:-1:-1;;30312:125:0:o;51867:104::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;51940:10:::1;:23:::0;51867:104::o;28575:206::-;28639:7;-1:-1:-1;;;;;28663:19:0;;28659:60;;28691:28;;-1:-1:-1;;;28691:28:0;;;;;;;;;;;28659:60;-1:-1:-1;;;;;;28745:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;28745:27:0;;28575:206::o;53351:95::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;53418:16:0::1;53437:1;53418:16:::0;;;:10:::1;:16;::::0;;;;:20;53351:95::o;6022:94::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;6087:21:::1;6105:1;6087:9;:21::i;:::-;6022:94::o:0;51754:107::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;51828:11:::1;:25:::0;51754:107::o;52473:145::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;52565:22:::1;:45:::0;52473:145::o;52204:124::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;52286:16:::1;:34:::0;52204:124::o;30673:104::-;30729:13;30762:7;30755:14;;;;;:::i;32172:279::-;4268:10;-1:-1:-1;;;;;32263:24:0;;;32259:54;;32296:17;;-1:-1:-1;;;32296:17:0;;;;;;;;;;;32259:54;4268:10;32326:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;32326:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;32326:53:0;;;;;;;;;;32395:48;;819:41:1;;;32326:42:0;;4268:10;32395:48;;792:18:1;32395:48:0;;;;;;;32172:279;;:::o;33234:334::-;33393:28;33403:4;33409:2;33413:7;33393:9;:28::i;:::-;33437:48;33460:4;33466:2;33470:7;33479:5;33437:22;:48::i;:::-;33432:129;;33509:40;;-1:-1:-1;;;33509:40:0;;;;;;;;;;;33432:129;33234:334;;;;:::o;53652:1411::-;16248:1;16846:7;;:19;16838:63;;;;-1:-1:-1;;;16838:63:0;;;;;;;:::i;:::-;16248:1;16979:7;:18;53765:9:::1;53778:10;53765:23;53761:54;;53797:18;;-1:-1:-1::0;;;53797:18:0::1;;;;;;;;;;;53761:54;53846:1;53832:11;:15;53826:48;;53857:17;;-1:-1:-1::0;;;53857:17:0::1;;;;;;;;;;;53826:48;53919:10;::::0;28113:13;;53889:27:::1;::::0;:11;:27:::1;:::i;:::-;:40;53885:76;;;53938:23;;-1:-1:-1::0;;;53938:23:0::1;;;;;;;;;;;53885:76;5444:6:::0;;-1:-1:-1;;;;;5444:6:0;4268:10;54000:23;53996:1060:::1;;54040:36;4268:10:::0;54050:12:::1;54064:11;54040:9;:36::i;:::-;53996:1060;;;54107:10;;54121:1;54107:15:::0;54103:953:::1;;54189:11;54170:16;;:30;;;;:::i;:::-;54158:9;:42;54154:84;;;54209:29;;-1:-1:-1::0;;;54209:29:0::1;;;;;;;;;;;54154:84;54298:22;::::0;4268:10;54271:24:::1;::::0;;;:10:::1;:24;::::0;;;;;54257:38:::1;::::0;:11;:38:::1;:::i;:::-;:63;54253:107;;;54329:31;;-1:-1:-1::0;;;54329:31:0::1;;;;;;;;;;;54253:107;4268:10:::0;54377:24:::1;::::0;;;:10:::1;:24;::::0;;;;:39;;54405:11;;54377:24;:39:::1;::::0;54405:11;;54377:39:::1;:::i;:::-;::::0;;;-1:-1:-1;54431:36:0::1;::::0;-1:-1:-1;4268:10:0;54441:12:::1;4188:98:::0;54103:953:::1;54498:10;;54512:1;54498:15:::0;54494:562:::1;;54574:11;54558:13;;:27;;;;:::i;:::-;54546:9;:39;54542:78;;;54594:26;;-1:-1:-1::0;;;54594:26:0::1;;;;;;;;;;;54542:78;54680:19;::::0;4268:10;54653:24:::1;::::0;;;:10:::1;:24;::::0;;;;;54639:38:::1;::::0;:11;:38:::1;:::i;:::-;:60;54635:101;;;54708:28;;-1:-1:-1::0;;;54708:28:0::1;;;;;;;;;;;54635:101;54758:88;54777:12;;54758:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;54791:11:0::1;::::0;54814:30:::1;::::0;-1:-1:-1;;4268:10:0;12001:2:1;11997:15;11993:53;54814:30:0::1;::::0;::::1;11981:66:1::0;54791:11:0;;-1:-1:-1;12063:12:1;;;-1:-1:-1;54814:30:0::1;;;;;;;;;;;;54804:41;;;;;;54758:18;:88::i;:::-;54753:122;;54855:20;;-1:-1:-1::0;;;54855:20:0::1;;;;;;;;;;;54494:562;55029:15;;-1:-1:-1::0;;;55029:15:0::1;;;;;;;;;;;54494:562;-1:-1:-1::0;;16204:1:0;17158:7;:22;-1:-1:-1;53652:1411:0:o;53452:141::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;53547:17:::1;:38:::0;;-1:-1:-1;;;;;;53547:38:0::1;-1:-1:-1::0;;;;;53547:38:0;;;::::1;::::0;;;::::1;::::0;;53452:141::o;30848:327::-;30921:13;30952:16;30960:7;33914:13;;-1:-1:-1;33904:23:0;33823:112;30952:16;30947:59;;30977:29;;-1:-1:-1;;;30977:29:0;;;;;;;;;;;30947:59;31019:21;31043:10;:8;:10::i;:::-;31019:34;;31077:7;31071:21;31096:1;31071:26;:96;;;;;;;;;;;;;;;;;31124:7;31133:18;:7;:16;:18::i;:::-;31107:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;31071:96;31064:103;30848:327;-1:-1:-1;;;30848:327:0:o;52626:241::-;-1:-1:-1;;;;;52736:20:0;;52715:4;52736:20;;;:10;:20;;;;;;52760:1;52736:25;52732:69;;-1:-1:-1;52785:4:0;52778:11;;52732:69;-1:-1:-1;;;;;;32643:25:0;;;32619:4;32643:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52626:241::o;6271:192::-;5444:6;;-1:-1:-1;;;;;5444:6:0;4268:10;5591:23;5583:68;;;;-1:-1:-1;;;5583:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6360:22:0;::::1;6352:73;;;::::0;-1:-1:-1;;;6352:73:0;;12956:2:1;6352:73:0::1;::::0;::::1;12938:21:1::0;12995:2;12975:18;;;12968:30;13034:34;13014:18;;;13007:62;-1:-1:-1;;;13085:18:1;;;13078:36;13131:19;;6352:73:0::1;12754:402:1::0;6352:73:0::1;6436:19;6446:8;6436:9;:19::i;:::-;6271:192:::0;:::o;38559:196::-;38674:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;38674:29:0;-1:-1:-1;;;;;38674:29:0;;;;;;;;;38719:28;;38674:24;;38719:28;;;;;;;38559:196;;;:::o;36158:2145::-;16248:1;16846:7;;:19;16838:63;;;;-1:-1:-1;;;16838:63:0;;;;;;;:::i;:::-;16248:1;16979:7;:18;-1:-1:-1;;;;;36290:16:0;::::1;36286:52;;36315:23;;-1:-1:-1::0;;;36315:23:0::1;;;;;;;;;;;36286:52;36351:35;36389:21;36402:7;36389:12;:21::i;:::-;36351:59;;36447:4;-1:-1:-1::0;;;;;36425:26:0::1;:13;:18;;;-1:-1:-1::0;;;;;36425:26:0::1;;36421:67;;36460:28;;-1:-1:-1::0;;;36460:28:0::1;;;;;;;;;;;36421:67;36501:22;4268:10:::0;-1:-1:-1;;;;;36527:20:0;::::1;;::::0;:73:::1;;-1:-1:-1::0;36564:36:0::1;36581:4:::0;4268:10;52626:241;:::i;36564:36::-:1;36527:126;;;-1:-1:-1::0;4268:10:0;36617:20:::1;36629:7:::0;36617:11:::1;:20::i;:::-;-1:-1:-1::0;;;;;36617:36:0::1;;36527:126;36501:153;;36672:17;36667:66;;36698:35;;-1:-1:-1::0;;;36698:35:0::1;;;;;;;;;;;36667:66;36854:35;36871:1;36875:7;36884:4;36854:8;:35::i;:::-;-1:-1:-1::0;;;;;37400:18:0;;::::1;;::::0;;;:12:::1;:18;::::0;;;;;;;:31;;-1:-1:-1;;;;;;;37400:31:0;;::::1;::::0;;;;;::::1;-1:-1:-1::0;;;;;;37400:31:0;;::::1;;::::0;;;37446:16;;::::1;::::0;;;;;;:29;;;;::::1;37430:1;37446:29:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;37515:43;;;;::::1;::::0;;;;;-1:-1:-1;;;;;37541:15:0::1;37515:43:::0;::::1;::::0;;::::1;::::0;;;37492:20;;;:11:::1;:20:::0;;;;;;:66;;;;;;;;::::1;-1:-1:-1::0;;;37492:66:0::1;-1:-1:-1::0;;;;;;37492:66:0;;;;;::::1;::::0;;;;::::1;::::0;;;37832:11;;::::1;37862:24:::0;;;;;:29;37832:11;;37862:29:::1;37858:316;;37930:20;37938:11;33914:13:::0;;-1:-1:-1;33904:23:0;33823:112;37930:20:::1;37926:233;;;38002:137;::::0;;;;::::1;::::0;;38043:18;;-1:-1:-1;;;;;38002:137:0;;::::1;::::0;;::::1;38088:28:::0;;::::1;::::0;-1:-1:-1;;;;;38002:137:0;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;37975:24:0;;;:11:::1;:24:::0;;;;;;;:164;;;;;;;;::::1;-1:-1:-1::0;;;37975:164:0::1;-1:-1:-1::0;;;;;;37975:164:0;;;;::::1;::::0;;;;::::1;::::0;;37926:233:::1;37375:810;38234:7;38230:2;-1:-1:-1::0;;;;;38215:27:0::1;38224:4;-1:-1:-1::0;;;;;38215:27:0::1;;;;;;;;;;;-1:-1:-1::0;;16204:1:0;17158:7;:22;-1:-1:-1;;;36158:2145:0:o;29272:978::-;-1:-1:-1;;;;;;;;;;;;;;;;;29383:7:0;29452:13;;29445:4;:20;29428:755;;;29486:31;29520:17;;;:11;:17;;;;;;;;;29486:51;;;;;;;;;-1:-1:-1;;;;;29486:51:0;;;;;-1:-1:-1;;;29486:51:0;;;-1:-1:-1;;;;;29486:51:0;;;;;;;;29560:28;29556:93;;29620:9;29272:978;-1:-1:-1;;;29272:978:0:o;29556:93::-;-1:-1:-1;;;29967:6:0;30008:17;;;;:11;:17;;;;;;;;;29996:29;;;;;;;;;-1:-1:-1;;;;;29996:29:0;;;;;-1:-1:-1;;;29996:29:0;;;-1:-1:-1;;;;;29996:29:0;;;;;;;;30052:28;30048:101;;30116:9;29272:978;-1:-1:-1;;;29272:978:0:o;30048:101::-;29931:237;;29428:755;30211:31;;-1:-1:-1;;;30211:31:0;;;;;;;;;;;6471:173;6546:6;;;-1:-1:-1;;;;;6563:17:0;;;-1:-1:-1;;;;;;6563:17:0;;;;;;;6596:40;;6546:6;;;6563:17;6546:6;;6596:40;;6527:16;;6596:40;6516:128;6471:173;:::o;39247:798::-;39402:4;-1:-1:-1;;;;;39423:13:0;;7712:20;7760:8;39419:619;;39459:72;;-1:-1:-1;;;39459:72:0;;-1:-1:-1;;;;;39459:36:0;;;;;:72;;4268:10;;39510:4;;39516:7;;39525:5;;39459:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39459:72:0;;;;;;;;-1:-1:-1;;39459:72:0;;;;;;;;;;;;:::i;:::-;;;39455:528;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39705:6;:13;39722:1;39705:18;39701:267;;39755:48;;-1:-1:-1;;;39755:48:0;;;;;;;;;;;39701:267;39918:6;39912:13;39903:6;39899:2;39895:15;39888:38;39455:528;-1:-1:-1;;;;;;39582:55:0;-1:-1:-1;;;39582:55:0;;-1:-1:-1;39575:62:0;;39419:619;-1:-1:-1;40022:4:0;39419:619;39247:798;;;;;;:::o;34019:104::-;34088:27;34098:2;34102:8;34088:27;;;;;;;;;;;;:9;:27::i;42822:190::-;42947:4;43000;42971:25;42984:5;42991:4;42971:12;:25::i;:::-;:33;;42822:190;-1:-1:-1;;;;42822:190:0:o;51626:120::-;51695:13;51728:10;51721:17;;;;;:::i;1832:723::-;1888:13;2109:5;2118:1;2109:10;2105:53;;-1:-1:-1;;2136:10:0;;;;;;;;;;;;-1:-1:-1;;;2136:10:0;;;;;1832:723::o;2105:53::-;2183:5;2168:12;2224:78;2231:9;;2224:78;;2257:8;;;;:::i;:::-;;-1:-1:-1;2280:10:0;;-1:-1:-1;2288:2:0;2280:10;;:::i;:::-;;;2224:78;;;2312:19;2344:6;-1:-1:-1;;;;;2334:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2334:17:0;;2312:39;;2362:154;2369:10;;2362:154;;2396:11;2406:1;2396:11;;:::i;:::-;;-1:-1:-1;2465:10:0;2473:2;2465:5;:10;:::i;:::-;2452:24;;:2;:24;:::i;:::-;2439:39;;2422:6;2429;2422:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2422:56:0;;;;;;;;-1:-1:-1;2493:11:0;2502:2;2493:11;;:::i;:::-;;;2362:154;;34496:1408;-1:-1:-1;;;;;34623:16:0;;34619:48;;34648:19;;-1:-1:-1;;;34648:19:0;;;;;;;;;;;34619:48;34682:8;34694:1;34682:13;34678:44;;34704:18;;-1:-1:-1;;;34704:18:0;;;;;;;;;;;34678:44;34756:13;;-1:-1:-1;;;;;35113:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;;;;35113:45:0;;-1:-1:-1;;;;;35113:45:0;;;;;;;;;;35173:50;;;;;;;;;;;;;;35240:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;35290:66:0;;;;-1:-1:-1;;;35340:15:0;-1:-1:-1;;;;;35290:66:0;;;;;;35240:25;;35425:320;35449:8;35445:1;:12;35425:320;;;35488:38;;35513:12;;-1:-1:-1;;;;;35488:38:0;;;35505:1;;35488:38;;35505:1;;35488:38;35550:59;35581:1;35585:2;35589:12;35603:5;35550:22;:59::i;:::-;35545:152;;35641:36;;-1:-1:-1;;;35641:36:0;;;;;;;;;;;35545:152;35715:14;;;;;35459:3;35425:320;;;-1:-1:-1;35773:13:0;:28;35836:60;35865:1;35869:2;35873:12;35887:8;35836:60;:::i;43689:296::-;43772:7;43815:4;43772:7;43830:118;43854:5;:12;43850:1;:16;43830:118;;;43903:33;43913:12;43927:5;43933:1;43927:8;;;;;;;;:::i;:::-;;;;;;;43903:9;:33::i;:::-;43888:48;-1:-1:-1;43868:3:0;;;;:::i;:::-;;;;43830:118;;;-1:-1:-1;43965:12:0;43689:296;-1:-1:-1;;;43689:296:0:o;49896:149::-;49959:7;49990:1;49986;:5;:51;;50121:13;50215:15;;;50251:4;50244:15;;;50298:4;50282:21;;49986:51;;;50121:13;50215:15;;;50251:4;50244:15;;;50298:4;50282:21;;49994:20;50053:268;293:131:1;-1:-1:-1;;;;;;367:32:1;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:250::-;956:1;966:113;980:6;977:1;974:13;966:113;;;1056:11;;;1050:18;1037:11;;;1030:39;1002:2;995:10;966:113;;;-1:-1:-1;;1113:1:1;1095:16;;1088:27;871:250::o;1126:271::-;1168:3;1206:5;1200:12;1233:6;1228:3;1221:19;1249:76;1318:6;1311:4;1306:3;1302:14;1295:4;1288:5;1284:16;1249:76;:::i;:::-;1379:2;1358:15;-1:-1:-1;;1354:29:1;1345:39;;;;1386:4;1341:50;;1126:271;-1:-1:-1;;1126:271:1:o;1402:220::-;1551:2;1540:9;1533:21;1514:4;1571:45;1612:2;1601:9;1597:18;1589:6;1571:45;:::i;1627:180::-;1686:6;1739:2;1727:9;1718:7;1714:23;1710:32;1707:52;;;1755:1;1752;1745:12;1707:52;-1:-1:-1;1778:23:1;;1627:180;-1:-1:-1;1627:180:1:o;2020:173::-;2088:20;;-1:-1:-1;;;;;2137:31:1;;2127:42;;2117:70;;2183:1;2180;2173:12;2117:70;2020:173;;;:::o;2198:254::-;2266:6;2274;2327:2;2315:9;2306:7;2302:23;2298:32;2295:52;;;2343:1;2340;2333:12;2295:52;2366:29;2385:9;2366:29;:::i;:::-;2356:39;2442:2;2427:18;;;;2414:32;;-1:-1:-1;;;2198:254:1:o;2457:186::-;2516:6;2569:2;2557:9;2548:7;2544:23;2540:32;2537:52;;;2585:1;2582;2575:12;2537:52;2608:29;2627:9;2608:29;:::i;2830:328::-;2907:6;2915;2923;2976:2;2964:9;2955:7;2951:23;2947:32;2944:52;;;2992:1;2989;2982:12;2944:52;3015:29;3034:9;3015:29;:::i;:::-;3005:39;;3063:38;3097:2;3086:9;3082:18;3063:38;:::i;:::-;3053:48;;3148:2;3137:9;3133:18;3120:32;3110:42;;2830:328;;;;;:::o;3163:367::-;3226:8;3236:6;3290:3;3283:4;3275:6;3271:17;3267:27;3257:55;;3308:1;3305;3298:12;3257:55;-1:-1:-1;3331:20:1;;-1:-1:-1;;;;;3363:30:1;;3360:50;;;3406:1;3403;3396:12;3360:50;3443:4;3435:6;3431:17;3419:29;;3503:3;3496:4;3486:6;3483:1;3479:14;3471:6;3467:27;3463:38;3460:47;3457:67;;;3520:1;3517;3510:12;3457:67;3163:367;;;;;:::o;3535:437::-;3621:6;3629;3682:2;3670:9;3661:7;3657:23;3653:32;3650:52;;;3698:1;3695;3688:12;3650:52;3738:9;3725:23;-1:-1:-1;;;;;3763:6:1;3760:30;3757:50;;;3803:1;3800;3793:12;3757:50;3842:70;3904:7;3895:6;3884:9;3880:22;3842:70;:::i;:::-;3931:8;;3816:96;;-1:-1:-1;3535:437:1;-1:-1:-1;;;;3535:437:1:o;3977:127::-;4038:10;4033:3;4029:20;4026:1;4019:31;4069:4;4066:1;4059:15;4093:4;4090:1;4083:15;4109:632;4174:5;-1:-1:-1;;;;;4245:2:1;4237:6;4234:14;4231:40;;;4251:18;;:::i;:::-;4326:2;4320:9;4294:2;4380:15;;-1:-1:-1;;4376:24:1;;;4402:2;4372:33;4368:42;4356:55;;;4426:18;;;4446:22;;;4423:46;4420:72;;;4472:18;;:::i;:::-;4512:10;4508:2;4501:22;4541:6;4532:15;;4571:6;4563;4556:22;4611:3;4602:6;4597:3;4593:16;4590:25;4587:45;;;4628:1;4625;4618:12;4587:45;4678:6;4673:3;4666:4;4658:6;4654:17;4641:44;4733:1;4726:4;4717:6;4709;4705:19;4701:30;4694:41;;;;4109:632;;;;;:::o;4746:451::-;4815:6;4868:2;4856:9;4847:7;4843:23;4839:32;4836:52;;;4884:1;4881;4874:12;4836:52;4924:9;4911:23;-1:-1:-1;;;;;4949:6:1;4946:30;4943:50;;;4989:1;4986;4979:12;4943:50;5012:22;;5065:4;5057:13;;5053:27;-1:-1:-1;5043:55:1;;5094:1;5091;5084:12;5043:55;5117:74;5183:7;5178:2;5165:16;5160:2;5156;5152:11;5117:74;:::i;5387:347::-;5452:6;5460;5513:2;5501:9;5492:7;5488:23;5484:32;5481:52;;;5529:1;5526;5519:12;5481:52;5552:29;5571:9;5552:29;:::i;:::-;5542:39;;5631:2;5620:9;5616:18;5603:32;5678:5;5671:13;5664:21;5657:5;5654:32;5644:60;;5700:1;5697;5690:12;5644:60;5723:5;5713:15;;;5387:347;;;;;:::o;5739:667::-;5834:6;5842;5850;5858;5911:3;5899:9;5890:7;5886:23;5882:33;5879:53;;;5928:1;5925;5918:12;5879:53;5951:29;5970:9;5951:29;:::i;:::-;5941:39;;5999:38;6033:2;6022:9;6018:18;5999:38;:::i;:::-;5989:48;;6084:2;6073:9;6069:18;6056:32;6046:42;;6139:2;6128:9;6124:18;6111:32;-1:-1:-1;;;;;6158:6:1;6155:30;6152:50;;;6198:1;6195;6188:12;6152:50;6221:22;;6274:4;6266:13;;6262:27;-1:-1:-1;6252:55:1;;6303:1;6300;6293:12;6252:55;6326:74;6392:7;6387:2;6374:16;6369:2;6365;6361:11;6326:74;:::i;:::-;6316:84;;;5739:667;;;;;;;:::o;6411:505::-;6506:6;6514;6522;6575:2;6563:9;6554:7;6550:23;6546:32;6543:52;;;6591:1;6588;6581:12;6543:52;6627:9;6614:23;6604:33;;6688:2;6677:9;6673:18;6660:32;-1:-1:-1;;;;;6707:6:1;6704:30;6701:50;;;6747:1;6744;6737:12;6701:50;6786:70;6848:7;6839:6;6828:9;6824:22;6786:70;:::i;:::-;6411:505;;6875:8;;-1:-1:-1;6760:96:1;;-1:-1:-1;;;;6411:505:1:o;6921:260::-;6989:6;6997;7050:2;7038:9;7029:7;7025:23;7021:32;7018:52;;;7066:1;7063;7056:12;7018:52;7089:29;7108:9;7089:29;:::i;:::-;7079:39;;7137:38;7171:2;7160:9;7156:18;7137:38;:::i;:::-;7127:48;;6921:260;;;;;:::o;7368:380::-;7447:1;7443:12;;;;7490;;;7511:61;;7565:4;7557:6;7553:17;7543:27;;7511:61;7618:2;7610:6;7607:14;7587:18;7584:38;7581:161;;7664:10;7659:3;7655:20;7652:1;7645:31;7699:4;7696:1;7689:15;7727:4;7724:1;7717:15;7581:161;;7368:380;;;:::o;7753:356::-;7955:2;7937:21;;;7974:18;;;7967:30;8033:34;8028:2;8013:18;;8006:62;8100:2;8085:18;;7753:356::o;8114:127::-;8175:10;8170:3;8166:20;8163:1;8156:31;8206:4;8203:1;8196:15;8230:4;8227:1;8220:15;8246:127;8307:10;8302:3;8298:20;8295:1;8288:31;8338:4;8335:1;8328:15;8362:4;8359:1;8352:15;8378:135;8417:3;8438:17;;;8435:43;;8458:18;;:::i;:::-;-1:-1:-1;8505:1:1;8494:13;;8378:135::o;8518:355::-;8720:2;8702:21;;;8759:2;8739:18;;;8732:30;8798:33;8793:2;8778:18;;8771:61;8864:2;8849:18;;8518:355::o;8878:168::-;8918:7;8984:1;8980;8976:6;8972:14;8969:1;8966:21;8961:1;8954:9;8947:17;8943:45;8940:71;;;8991:18;;:::i;:::-;-1:-1:-1;9031:9:1;;8878:168::o;9051:127::-;9112:10;9107:3;9103:20;9100:1;9093:31;9143:4;9140:1;9133:15;9167:4;9164:1;9157:15;9183:120;9223:1;9249;9239:35;;9254:18;;:::i;:::-;-1:-1:-1;9288:9:1;;9183:120::o;9644:545::-;9746:2;9741:3;9738:11;9735:448;;;9782:1;9807:5;9803:2;9796:17;9852:4;9848:2;9838:19;9922:2;9910:10;9906:19;9903:1;9899:27;9893:4;9889:38;9958:4;9946:10;9943:20;9940:47;;;-1:-1:-1;9981:4:1;9940:47;10036:2;10031:3;10027:12;10024:1;10020:20;10014:4;10010:31;10000:41;;10091:82;10109:2;10102:5;10099:13;10091:82;;;10154:17;;;10135:1;10124:13;10091:82;;;10095:3;;;9644:545;;;:::o;10365:1352::-;10491:3;10485:10;-1:-1:-1;;;;;10510:6:1;10507:30;10504:56;;;10540:18;;:::i;:::-;10569:97;10659:6;10619:38;10651:4;10645:11;10619:38;:::i;:::-;10613:4;10569:97;:::i;:::-;10721:4;;10785:2;10774:14;;10802:1;10797:663;;;;11504:1;11521:6;11518:89;;;-1:-1:-1;11573:19:1;;;11567:26;11518:89;-1:-1:-1;;10322:1:1;10318:11;;;10314:24;10310:29;10300:40;10346:1;10342:11;;;10297:57;11620:81;;10767:944;;10797:663;9591:1;9584:14;;;9628:4;9615:18;;-1:-1:-1;;10833:20:1;;;10951:236;10965:7;10962:1;10959:14;10951:236;;;11054:19;;;11048:26;11033:42;;11146:27;;;;11114:1;11102:14;;;;10981:19;;10951:236;;;10955:3;11215:6;11206:7;11203:19;11200:201;;;11276:19;;;11270:26;-1:-1:-1;;11359:1:1;11355:14;;;11371:3;11351:24;11347:37;11343:42;11328:58;11313:74;;11200:201;-1:-1:-1;;;;;11447:1:1;11431:14;;;11427:22;11414:36;;-1:-1:-1;10365:1352:1:o;11722:125::-;11787:9;;;11808:10;;;11805:36;;;11821:18;;:::i;12086:663::-;12366:3;12404:6;12398:13;12420:66;12479:6;12474:3;12467:4;12459:6;12455:17;12420:66;:::i;:::-;12549:13;;12508:16;;;;12571:70;12549:13;12508:16;12618:4;12606:17;;12571:70;:::i;:::-;-1:-1:-1;;;12663:20:1;;12692:22;;;12741:1;12730:13;;12086:663;-1:-1:-1;;;;12086:663:1:o;13161:489::-;-1:-1:-1;;;;;13430:15:1;;;13412:34;;13482:15;;13477:2;13462:18;;13455:43;13529:2;13514:18;;13507:34;;;13577:3;13572:2;13557:18;;13550:31;;;13355:4;;13598:46;;13624:19;;13616:6;13598:46;:::i;:::-;13590:54;13161:489;-1:-1:-1;;;;;;13161:489:1:o;13655:249::-;13724:6;13777:2;13765:9;13756:7;13752:23;13748:32;13745:52;;;13793:1;13790;13783:12;13745:52;13825:9;13819:16;13844:30;13868:5;13844:30;:::i;13909:128::-;13976:9;;;13997:11;;;13994:37;;;14011:18;;:::i;14042:112::-;14074:1;14100;14090:35;;14105:18;;:::i;:::-;-1:-1:-1;14139:9:1;;14042:112::o

Swarm Source

ipfs://a0e9b8e34d5c9fa518e186135a6d30a1fd4d755f50f423e2c31f58634f37925e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.