ETH Price: $1,892.93 (-0.81%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...218593172025-02-16 13:40:1129 days ago1739713211IN
0x3457b953...74A70F001
0 ETH0.000043341.15464916
Safe Transfer Fr...216125202025-01-13 2:15:2364 days ago1736734523IN
0x3457b953...74A70F001
0 ETH0.000173582.84167475
Set Approval For...213592532024-12-08 17:25:4799 days ago1733678747IN
0x3457b953...74A70F001
0 ETH0.0007873913.2436891
Set Approval For...213181212024-12-02 23:32:11105 days ago1733182331IN
0x3457b953...74A70F001
0 ETH0.0015024625.27097811
Set Approval For...212811902024-11-27 19:31:47110 days ago1732735907IN
0x3457b953...74A70F001
0 ETH0.0015107225.37415398
Set Approval For...212447032024-11-22 17:16:47115 days ago1732295807IN
0x3457b953...74A70F001
0 ETH0.0005721915.24146766
Set Approval For...212447032024-11-22 17:16:47115 days ago1732295807IN
0x3457b953...74A70F001
0 ETH0.0005734715.24146766
Set Approval For...210775732024-10-30 9:29:59139 days ago1730280599IN
0x3457b953...74A70F001
0 ETH0.0006410810.78281996
Set Approval For...210142542024-10-21 13:28:35147 days ago1729517315IN
0x3457b953...74A70F001
0 ETH0.000368349.8115979
Set Approval For...203962952024-07-27 7:09:23234 days ago1722064163IN
0x3457b953...74A70F001
0 ETH0.00009921.66623154
Set Approval For...202182062024-07-02 10:22:23259 days ago1719915743IN
0x3457b953...74A70F001
0 ETH0.000270054.54219247
Set Approval For...202182042024-07-02 10:21:59259 days ago1719915719IN
0x3457b953...74A70F001
0 ETH0.000273134.58759648
Set Approval For...200525962024-06-09 6:51:23282 days ago1717915883IN
0x3457b953...74A70F001
0 ETH0.000174014.63507904
Transfer From198473912024-05-11 14:29:23310 days ago1715437763IN
0x3457b953...74A70F001
0 ETH0.000223457.43570865
Transfer From198473882024-05-11 14:28:47310 days ago1715437727IN
0x3457b953...74A70F001
0 ETH0.000232837.74768235
Transfer From198473632024-05-11 14:23:35310 days ago1715437415IN
0x3457b953...74A70F001
0 ETH0.000406166.97655387
Set Approval For...196994352024-04-20 21:53:47331 days ago1713650027IN
0x3457b953...74A70F001
0 ETH0.000279277.43896535
Set Approval For...196007552024-04-07 2:10:11345 days ago1712455811IN
0x3457b953...74A70F001
0 ETH0.0004203711.19756774
Set Approval For...192721762024-02-20 23:26:47391 days ago1708471607IN
0x3457b953...74A70F001
0 ETH0.0017949847.7821152
Set Approval For...191602822024-02-05 6:26:11407 days ago1707114371IN
0x3457b953...74A70F001
0 ETH0.0004542612.10030445
Set Approval For...191503682024-02-03 21:01:11408 days ago1706994071IN
0x3457b953...74A70F001
0 ETH0.0009495215.9482678
Set Approval For...190999632024-01-27 19:21:11415 days ago1706383271IN
0x3457b953...74A70F001
0 ETH0.00045812.19988895
Set Approval For...190236712024-01-17 2:37:11426 days ago1705459031IN
0x3457b953...74A70F001
0 ETH0.001290234.34505794
Safe Transfer Fr...189176822024-01-02 5:39:35441 days ago1704173975IN
0x3457b953...74A70F001
0 ETH0.0007896412.91319374
Set Approval For...188940192023-12-29 21:52:11444 days ago1703886731IN
0x3457b953...74A70F001
0 ETH0.0012257320.59159908
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer163945752023-01-13 1:24:23795 days ago1673573063
0x3457b953...74A70F001
17.2125 ETH
Transfer163945752023-01-13 1:24:23795 days ago1673573063
0x3457b953...74A70F001
3.0375 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AnomalyGenesis

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 28 : AnomalyGenesis.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                                           //
//                                                                                                                           //
//                .----:     :--:     :--:    :------:    :----.     :----:     :----.     :--:   .---:     :---.            //
//                #@@@@%     *@@@-    +@@#  :%@@@@@@@@%-  *@@@@#     %@@@@+    .@@@@@#     #@@*    #@@%.   .@@@#             //
//               :@@@%@@=    *@@@@-   +@@#  %@@%=--=#@@%  *@@@@@-   =@@@@@+    =@@%@@@:    #@@*    .%@@#   #@@%.             //
//               *@@*=@@%    *@@@@@:  +@@#  @@@=    -@@@. *@@*%@#   %@##@@+    %@@=*@@*    #@@*     :@@@= +@@@:              //
//              .@@@:.@@@-   *@@%@@%: +@@#  @@@=    -@@@. *@@*-@@- =@@-#@@+   -@@% :@@@.   #@@*      =@@@=@@@-               //
//              *@@#  +@@#   *@@#:@@%.+@@#  @@@=    -@@@. *@@* %@%.%@# #@@+   #@@+  #@@+   #@@*       +@@@@@=                //
//             .@@@-  .@@@:  *@@# -@@%*@@#  @@@=    -@@@. *@@* -@@#@@: #@@+  -@@@.  -@@@.  #@@*        #@@@*                 //
//             +@@@%#  #@@*  *@@#  =@@@@@#  @@@=    -@@@. *@@*  #@@@*  #@@+  #@@@%+  %@@=  #@@*        :@@@:                 //
//             %@@#**. -@@@: *@@#   =@@@@#  @@@*    +@@@. *@@*  :+++.  #@@+ :@@@##*  +@@%  #@@*        :@@@:                 //
//            =@@@.     %@@* *@@#    +@@@#  +@@@@@@@@@@*  *@@*         #@@+ *@@%     .@@@= #@@@@@@@@@: :@@@:                 //
//            *##+      -### =##+     +##*   :+######*-   +##+         +##= ###-      +##* *#########: :###.                 //
//                                                                                                                           //
//                                                                                                                           //
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

import "./MiindedERC721.sol";

// @author: miinded.com

contract AnomalyGenesis is MiindedERC721 {

    constructor() ERC721("Anomaly Genesis", "ANOMALY") {}

    function WhitelistMint(bytes32[] memory _proof, string memory _name, uint256 _count, uint256 _max)
    public payable notSoldOut(_count) canMint(_name, _count) merkleVerify(_proof, keccak256(abi.encodePacked(_msgSender(), _name, _max))) nonReentrant {
        require(mintBalance(_name, _msgSender()) <= _max, "Max minted");

        _mintTokens(_msgSender(), _count);
    }
}

File 2 of 28 : MiindedERC721.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "./ERC721Mint.sol";
import "./MultiMint.sol";
import "./MerkleProof.sol";
import "./Withdraw.sol";
import "./Initialize.sol";

// @author: miinded.com

abstract contract MiindedERC721 is Initialize, ERC721Mint, MultiMint, MerkleProofVerify, Withdraw {

    function init(
        string memory baseURI,
        uint32 maxSupply,
        address reservedTo,
        uint32 reservedCount,
        address royaltiesAddress,
        uint96 feeNumerator,
        address adminAddress,
        MintName[] memory _mintSteps,
        Part[] memory _parts
    ) public onlyOwnerOrAdmins isNotInitialized {
        ERC721Mint.setBaseUri(baseURI);
        ERC721Mint.setMaxSupply(maxSupply);
        ERC721Mint.reserve(reservedTo, reservedCount);
        ERC2981._setDefaultRoyalty(royaltiesAddress, feeNumerator);
        Admins.setAdminAddress(adminAddress, true);

        for(uint256 i = 0; i < _mintSteps.length; i++){
            setMint(_mintSteps[i].name, Mint(_mintSteps[i].start, _mintSteps[i].end, _mintSteps[i].maxPerWallet, _mintSteps[i].maxPerTx, _mintSteps[i].price, _mintSteps[i].paused, true));
        }
        for(uint256 i = 0; i < _parts.length; i++){
            withdrawAdd(_parts[i]);
        }
    }

}

File 3 of 28 : ERC721Mint.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./ERC721.sol";
import "./Admins.sol";

// @author: miinded.com

abstract contract ERC721Mint is ERC721, ERC2981, Admins, ReentrancyGuard, DefaultOperatorFilterer {

    /**
    @notice Max supply available for this contract
    */
    uint32 public MAX_SUPPLY = type(uint32).max;

    /**
    @notice Tracker for the total minted
    */
    uint32 public mintTracked;

    /**
    @notice Tracker for the total burned
    */
    uint32 public burnedTracker;

    /**
    @notice The number of the First token Id
    */
    uint8 public START_AT = 1;

    /**
    @notice The base URI for metadata for all tokens
    */
    string public baseTokenURI;


    /**
    @dev Verify if the contract is soldout
    */
    modifier notSoldOut(uint256 _count) {
        require(mintTracked + uint32(_count) <= MAX_SUPPLY, "Sold out!");
        _;
    }


    /**
    @notice Set the max supply of the contract
    @dev only internal, can't be change after contract deployment
    */
    function setMaxSupply(uint32 _maxSupply) internal {
        MAX_SUPPLY = _maxSupply;
    }

    /**
    @notice Set the number of the first token
    @dev only internal, can't be change after contract deployment
    */
    function setStartAt(uint8 _start) internal {
        START_AT = _start;
    }

    /**
    @notice Set the base URI for metadata of all tokens
    */
    function setBaseUri(string memory baseURI) public onlyOwnerOrAdmins {
        baseTokenURI = baseURI;
    }

    /**
    @notice Get all tokenIds for a wallet
    @dev This method can revert if the mintedTracked is > 30000.
        it is not recommended to call this method from another contract.
    */
    function walletOfOwner(address _owner) public view virtual returns (uint32[] memory) {
        uint256 count = balanceOf(_owner);
        uint256 key = 0;
        uint32[] memory tokensIds = new uint32[](count);

        for (uint32 tokenId = START_AT; tokenId < mintTracked + START_AT; tokenId++) {
            if (key == count) break;
            if (_owners[tokenId] != _owner) continue;

            tokensIds[key] = tokenId;
            key++;
        }
        return tokensIds;
    }

    /**
    @notice Get the base URI for metadata of all tokens
    */
    function _baseURI() internal override view returns(string memory){
        return baseTokenURI;
    }

    /**
    @notice Replace ERC721Enumerable.totalSupply()
    @return The total token available.
    */
    function totalSupply() public view returns (uint32) {
        return mintTracked - burnedTracker;
    }

    /**
    @notice Mint the next token
    @return the tokenId minted
    */
    function _mintToken(address wallet) internal returns(uint256){
        uint256 tokenId = uint256(mintTracked + START_AT);
        mintTracked += 1;
        _safeMint(wallet, tokenId);
        return tokenId;
    }

    /**
    @notice Mint the next tokens
    */
    function _mintTokens(address wallet, uint256 _count) internal{
        for (uint256 i = 0; i < _count; i++) {
            _mintToken(wallet);
        }
    }

    /**
    @notice Mint the specific token
    */
    function _mintTheToken(address wallet, uint256 tokenId) internal{
        mintTracked += 1;
        _safeMint(wallet, tokenId);
    }

    /**
    @notice Mint the tokens reserved for the team project
    @dev the tokens are minted to the owner of the contract
    */
    function reserve(address _to, uint32 _count) public virtual onlyOwnerOrAdmins {
        require(mintTracked + _count <= MAX_SUPPLY, "Sold out!");
        _mintTokens(_to, _count);
    }

    /**
    @notice Burn the token if is approve or owner
    */
    function burn(uint256 _tokenId) public virtual {
        require(_isApprovedOrOwner(_msgSender(), _tokenId), "Not owner nor approved");
        burnedTracker += 1;
        _burn(_tokenId);
    }

    /**
     * @notice Allows the owner to set default royalties following EIP-2981 royalty standard.
     */
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwnerOrAdmins {
        _setDefaultRoyalty(receiver, feeNumerator);
    }
    function supportsInterface(bytes4 _interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(_interfaceId);
    }

    /**
    @notice Add the Operator filter functions
    */
    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
    public
    override
    onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

File 4 of 28 : MultiMint.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interface/IMultiMint.sol";
import "./Admins.sol";

// @author: miinded.com

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * possibility to lock/unlock an token to block transfer only by the owner of the token
 */
abstract contract MultiMint is IMultiMint, Admins, ReentrancyGuard {

    string[] public mintsNames;
    mapping(string => Mint) public mints;
    mapping(string => uint8) public mintNamesKey;
    mapping(uint8 => mapping(address => uint256)) balance;

    modifier canMint(string memory _name, uint256 _count) virtual {
        require(mintIsOpen(_name), "Mint not open");
        require(_count <= mints[_name].maxPerTx, "Max per tx limit");
        require(msg.value >= mintPrice(_name, _count), "Value limit");

        if(mints[_name].maxPerWallet > 0){
            require(balance[mintNamesKey[_name]][_msgSender()] + _count <= mints[_name].maxPerWallet, "Max per wallet limit");
            balance[mintNamesKey[_name]][_msgSender()] += _count;
        }

        _;
    }

    function setMint(string memory _name, Mint memory _mint) public override onlyOwnerOrAdmins{
        require(_mint.valid, "_mint.valid is missing");

        if(!mints[_name].valid){
            mintsNames.push(_name);
            mintNamesKey[_name] = uint8(mintsNames.length);
        }

        mints[_name] = _mint;
        emit EventMintChange(_name, _mint);
    }

    function pauseMint(string memory _name, bool _pause) public override onlyOwnerOrAdmins{
        mints[_name].paused = _pause;
    }

    function mintIsOpen(string memory _name) public view override returns(bool){
        return mints[_name].start > 0 && block.timestamp >= mints[_name].start && block.timestamp <= mints[_name].end && !mints[_name].paused;
    }

    function mintCurrent() public override view returns (string memory){
        for(uint256 i = 0; i < mintsNames.length; i++){
            if(mintIsOpen(mintsNames[i])){
                return mintsNames[i];
            }
        }
        return "NONE";
    }

    function mintNames() public view override returns (string[] memory){
        return mintsNames;
    }

    function mintPrice(string memory _name, uint256 _count) public view virtual override returns (uint256){
        return mints[_name].price * _count;
    }

    function mintBalance(string memory _name, address _wallet) public view override returns(uint256){
        return balance[mintNamesKey[_name]][_wallet];
    }
}

File 5 of 28 : MerkleProof.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./Admins.sol";

// @author: miinded.com

abstract contract MerkleProofVerify is Admins {
    using MerkleProof for bytes32[];

    /**
    @dev hash of the root of the merkle
    */
    bytes32 public merkleRoot;

    /**
    @dev Used for verify the _proof and the _leaf
        The _leaf need to be calculated by the contract itself
        The _proof is calculated by the server, not by the contract
     */
    modifier merkleVerify(bytes32[] memory _proof, bytes32 _leaf){
        merkleCheck(_proof, _leaf);
        _;
    }

    /**
    @notice Verify the proof of the leaf.
    @dev (see @dev merkleVerify)
    */
    function merkleCheck(bytes32[] memory _proof, bytes32 _leaf) public view {
        require(_proof.verify(merkleRoot, _leaf), "MerkleProofVerify: Proof not valid");
    }

    /**
    @dev onlyOwner can change the root of the merkle.this
        Change root need to be done only if there is no pending tx during the mint.
    */
    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwnerOrAdmins {
        merkleRoot = _merkleRoot;
    }
}

File 6 of 28 : Withdraw.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./Admins.sol";

// @author: miinded.com

contract Withdraw is Admins {
    using SafeMath for uint256;

    /**
    @notice Struct containing the association between the wallet and its share
    @dev The share can be /100 or /1000 or something else like /50
    */
    struct Part {
        address wallet;
        uint256 salePart;
    }

    /**
    @notice Stock the parts of each wallets
    */
    Part[] public parts;

    /**
    @dev Calculation of the divider for the calculation of each part
    */
    uint256 public saleDivider;

    /**
    @notice Add a new wallet in the withdraw process
    @dev this method is only internal, it's not possible to add someone after the contract minting
    */
    function withdrawAdd(Part memory _part) internal {
        parts.push(_part);
        saleDivider += _part.salePart;
    }

    /**
    @notice Run the transfer of all ETH to the wallets with each % part
    */
    function withdraw() public onlyOwnerOrAdmins {

        uint256 balance = address(this).balance;
        require(balance > 0, "Sales Balance = 0");

        for (uint8 i = 0; i < parts.length; i++) {
            if (parts[i].salePart > 0) {
                _withdraw(parts[i].wallet, balance.mul(parts[i].salePart).div(saleDivider));
            }
        }

        _withdraw(owner(), address(this).balance);
    }

    /**
    @notice Do a transfer ETH to _address
    */
    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Transfer failed.");
    }
}

File 7 of 28 : Initialize.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

// @author: miinded.com

abstract contract Initialize {

    bool private _initialized = false;

    modifier isNotInitialized() {
        require(_initialized == false, "Already Initialized");
        _;
        _initialized = true;
    }
}

File 8 of 28 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 9 of 28 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

File 10 of 28 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 11 of 28 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint32 => address) internal _owners;

    // Mapping owner address to token count
    mapping(address => uint32) private _balances;

    // Mapping from token ID to approved address
    mapping(uint32 => address) internal _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return uint256(_balances[owner]);
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[uint32(tokenId)];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. 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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[uint32(tokenId)];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[uint32(tokenId)] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[uint32(tokenId)] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[uint32(tokenId)];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[uint32(tokenId)] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 12 of 28 : Admins.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

// @author: miinded.com

abstract contract Admins is Ownable{

    mapping(address => bool) private admins;

    /**
    @dev check if the address is admin or not
    **/
    function isAdmin(address _admin) public view returns(bool) {
        return admins[_admin];
    }

    /**
    @dev Set the wallet address who can pass the onlyAdmin modifier
    **/
    function setAdminAddress(address _admin, bool _active) public virtual onlyOwner {
        admins[_admin] = _active;
    }

    /**
    @notice Check if the sender is owner() or admin
    **/
    modifier onlyOwnerOrAdmins() {
        require(admins[_msgSender()] == true || owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

}

File 13 of 28 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 14 of 28 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 15 of 28 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 16 of 28 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 17 of 28 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/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 18 of 28 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @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`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 19 of 28 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 20 of 28 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

File 21 of 28 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

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

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 22 of 28 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/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 23 of 28 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 24 of 28 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 25 of 28 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 26 of 28 : IMultiMint.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// @author: miinded.com

/**
 * @title ERC-721 Non-Fungible Token Standard, optional lock extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IMultiMint {

    struct MintName {
        string name;
        uint256 start;
        uint256 end;
        uint256 maxPerWallet;
        uint256 maxPerTx;
        uint256 price;
        bool paused;
    }
    struct Mint {
        uint256 start;
        uint256 end;
        uint256 maxPerWallet;
        uint256 maxPerTx;
        uint256 price;
        bool paused;
        bool valid;
    }

    /**
     * @dev Emitted when `tokenId` token is lock.
     */
    event EventMintChange(string _name, Mint sale);

    /**
     * @dev Returns the total amount of tokens locked on the contract.
     */
    function setMint(string calldata _name, Mint memory _sale) external;

    /**
     * @dev Lock a token, it will not be possible to transfer it
     */
    function pauseMint(string calldata _name, bool _pause) external;

    /**
     * @dev unlock a token, it will be possible to transfer it
     */
    function mintIsOpen(string memory _name) external returns(bool);

    /**
     * @dev unlock a token, it will be possible to transfer it
     */
    function mintCurrent() external returns(string memory);

    /**
     * @dev unlock a token, it will be possible to transfer it
     */
    function mintNames() external returns(string[] memory);

    /**
     * @dev unlock a token, it will be possible to transfer it
     */
    function mintPrice(string memory _name, uint256 _count) external returns(uint256);

    /**
     * @dev Return the state of a token
     */
    function mintBalance(string memory _name, address _wallet) external view returns(uint256);
}

File 27 of 28 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _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}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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)
        }
    }
}

File 28 of 28 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"string","name":"_name","type":"string"},{"components":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"valid","type":"bool"}],"indexed":false,"internalType":"struct IMultiMint.Mint","name":"sale","type":"tuple"}],"name":"EventMintChange","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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_AT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"WhitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnedTracker","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":"string","name":"baseURI","type":"string"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"address","name":"reservedTo","type":"address"},{"internalType":"uint32","name":"reservedCount","type":"uint32"},{"internalType":"address","name":"royaltiesAddress","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"},{"internalType":"address","name":"adminAddress","type":"address"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"}],"internalType":"struct IMultiMint.MintName[]","name":"_mintSteps","type":"tuple[]"},{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"salePart","type":"uint256"}],"internalType":"struct Withdraw.Part[]","name":"_parts","type":"tuple[]"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"merkleCheck","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_wallet","type":"address"}],"name":"mintBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCurrent","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"mintIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintNames","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"mintNamesKey","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintTracked","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"mints","outputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"valid","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintsNames","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"parts","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"salePart","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"bool","name":"_pause","type":"bool"}],"name":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_count","type":"uint32"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"saleDivider","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"bool","name":"_active","type":"bool"}],"name":"setAdminAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"components":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"valid","type":"bool"}],"internalType":"struct IMultiMint.Mint","name":"_mint","type":"tuple"}],"name":"setMint","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":"uint32","name":"","type":"uint32"}],"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":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint32[]","name":"","type":"uint32[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000805460ff19169055600c805463ffffffff60ff60601b0119166c010000000000000000ffffffff1790553480156200003d57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600f81526020016e416e6f6d616c792047656e6573697360881b81525060405180604001604052806007815260200166414e4f4d414c5960c81b8152508160019081620000ae919062000327565b506002620000bd828262000327565b505050620000da620000d46200022c60201b60201c565b62000230565b6001600b556daaeb6d7670e522a718067333cd4e3b15620002245780156200017257604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b5050505062000224565b6001600160a01b03821615620001c35760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000138565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020a57600080fd5b505af11580156200021f573d6000803e3d6000fd5b505050505b5050620003f3565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002ad57607f821691505b602082108103620002ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200032257600081815260208120601f850160051c81016020861015620002fd5750805b601f850160051c820191505b818110156200031e5782815560010162000309565b5050505b505050565b81516001600160401b0381111562000343576200034362000282565b6200035b8162000354845462000298565b84620002d4565b602080601f8311600181146200039357600084156200037a5750858301515b600019600386901b1c1916600185901b1785556200031e565b600085815260208120601f198616915b82811015620003c457888601518255948401946001909101908401620003a3565b5085821015620003e35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6147f880620004036000396000f3fe60806040526004361061031e5760003560e01c80636352211e116101a5578063a17768f4116100ec578063c87b56dd11610095578063e1ac34721161006f578063e1ac3472146109c8578063e6e28ff9146109dd578063e985e9c5146109fd578063f2fde38b14610a4657600080fd5b8063c87b56dd14610973578063c9eb466214610993578063d547cfb7146109b357600080fd5b8063b88d4fde116100c6578063b88d4fde14610909578063bc08caac14610929578063bf7b766d1461094957600080fd5b8063a17768f4146108a9578063a22cb465146108c9578063ad156fa8146108e957600080fd5b80637f5ae91a1161014e5780638da5cb5b116101285780638da5cb5b1461085657806395d89b4114610874578063a0bcfc7f1461088957600080fd5b80637f5ae91a146107c95780638013eeaf14610816578063885850781461083657600080fd5b806370a082311161017f57806370a0823114610774578063715018a6146107945780637cb64759146107a957600080fd5b80636352211e146107195780636667df6c1461073957806368fb5c111461074f57600080fd5b806332cb6b0c1161026957806342842e0e11610212578063494a6589116101ec578063494a6589146106465780634a539700146106e65780635bc63820146106f957600080fd5b806342842e0e146105d957806342966c68146105f9578063438b63001461061957600080fd5b806340d2123c1161024357806340d2123c1461056e57806341f434341461058e578063427b34b3146105b057600080fd5b806332cb6b0c1461051c578063338231de146105395780633ccfd60b1461055957600080fd5b806318160ddd116102cb57806324d7806c116102a557806324d7806c1461048e5780632a55205a146104c75780632eb4a7ab1461050657600080fd5b806318160ddd146104165780631cbaeb1d1461044057806323b872dd1461046e57600080fd5b8063071c8e52116102fc578063071c8e521461039c578063081812fc146103be578063095ea7b3146103f657600080fd5b806301ffc9a71461032357806304634d8d1461035857806306fdde031461037a575b600080fd5b34801561032f57600080fd5b5061034361033e3660046139cf565b610a66565b60405190151581526020015b60405180910390f35b34801561036457600080fd5b50610378610373366004613a24565b610a77565b005b34801561038657600080fd5b5061038f610b03565b60405161034f9190613aa7565b3480156103a857600080fd5b506103b1610b95565b60405161034f9190613aba565b3480156103ca57600080fd5b506103de6103d9366004613b3a565b610c6e565b6040516001600160a01b03909116815260200161034f565b34801561040257600080fd5b50610378610411366004613b53565b610d21565b34801561042257600080fd5b5061042b610d3a565b60405163ffffffff909116815260200161034f565b34801561044c57600080fd5b5061046061045b366004613c88565b610d6b565b60405190815260200161034f565b34801561047a57600080fd5b50610378610489366004613ccd565b610da1565b34801561049a57600080fd5b506103436104a9366004613d09565b6001600160a01b03166000908152600a602052604090205460ff1690565b3480156104d357600080fd5b506104e76104e2366004613d24565b610dcc565b604080516001600160a01b03909316835260208301919091520161034f565b34801561051257600080fd5b5061046060125481565b34801561052857600080fd5b50600c5461042b9063ffffffff1681565b34801561054557600080fd5b50610343610554366004613d46565b610ea9565b34801561056557600080fd5b50610378610f59565b34801561057a57600080fd5b50610378610589366004613e0a565b61111a565b34801561059a57600080fd5b506103de6daaeb6d7670e522a718067333cd4e81565b3480156105bc57600080fd5b50600c5461042b9068010000000000000000900463ffffffff1681565b3480156105e557600080fd5b506103786105f4366004613ccd565b61119b565b34801561060557600080fd5b50610378610614366004613b3a565b6111c0565b34801561062557600080fd5b50610639610634366004613d09565b611260565b60405161034f9190613e40565b34801561065257600080fd5b506106ad610661366004613d46565b8051602081830181018051600f82529282019190930120915280546001820154600283015460038401546004850154600590950154939492939192909160ff8082169161010090041687565b6040805197885260208801969096529486019390935260608501919091526080840152151560a0830152151560c082015260e00161034f565b6103786106f4366004613e8a565b611390565b34801561070557600080fd5b50610378610714366004613f17565b61171e565b34801561072557600080fd5b506103de610734366004613b3a565b611751565b34801561074557600080fd5b5061046060145481565b34801561075b57600080fd5b50600c5461042b90640100000000900463ffffffff1681565b34801561078057600080fd5b5061046061078f366004613d09565b6117e3565b3480156107a057600080fd5b50610378611883565b3480156107b557600080fd5b506103786107c4366004613b3a565b611897565b3480156107d557600080fd5b506108046107e4366004613d46565b805160208183018101805160108252928201919093012091525460ff1681565b60405160ff909116815260200161034f565b34801561082257600080fd5b50610378610831366004613f62565b611915565b34801561084257600080fd5b50610378610851366004613f8c565b611a12565b34801561086257600080fd5b506009546001600160a01b03166103de565b34801561088057600080fd5b5061038f611ac3565b34801561089557600080fd5b506103786108a4366004613d46565b611ad2565b3480156108b557600080fd5b5061038f6108c4366004613b3a565b611b57565b3480156108d557600080fd5b506103786108e4366004613f17565b611c03565b3480156108f557600080fd5b5061037861090436600461415f565b611c17565b34801561091557600080fd5b5061037861092436600461424c565b611ebf565b34801561093557600080fd5b506104606109443660046142c8565b611eec565b34801561095557600080fd5b50600c54610804906c01000000000000000000000000900460ff1681565b34801561097f57600080fd5b5061038f61098e366004613b3a565b611f43565b34801561099f57600080fd5b506104e76109ae366004613b3a565b612039565b3480156109bf57600080fd5b5061038f612071565b3480156109d457600080fd5b5061038f61207e565b3480156109e957600080fd5b506103786109f836600461430d565b612237565b348015610a0957600080fd5b50610343610a183660046143c3565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610a5257600080fd5b50610378610a61366004613d09565b61249a565b6000610a7182612527565b92915050565b336000908152600a602052604090205460ff16151560011480610aa457506009546001600160a01b031633145b610af55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610aff828261257d565b5050565b606060018054610b12906143ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906143ed565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b5050505050905090565b6060600e805480602002602001604051908101604052809291908181526020016000905b82821015610c65578382906000526020600020018054610bd8906143ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610c04906143ed565b8015610c515780601f10610c2657610100808354040283529160200191610c51565b820191906000526020600020905b815481529060010190602001808311610c3457829003601f168201915b505050505081526020019060010190610bb9565b50505050905090565b63ffffffff81166000908152600360205260408120546001600160a01b0316610cff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610aec565b5063ffffffff166000908152600560205260409020546001600160a01b031690565b81610d2b816126a8565b610d358383612793565b505050565b600c54600090610d669063ffffffff68010000000000000000820481169164010000000090041661443d565b905090565b600081600f84604051610d7e9190614461565b908152602001604051809103902060040154610d9a919061447d565b9392505050565b826001600160a01b0381163314610dbb57610dbb336126a8565b610dc68484846128bf565b50505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610e6d5750604080518082019091526007546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610e91906bffffffffffffffffffffffff168761447d565b610e9b9190614494565b915196919550909350505050565b600080600f83604051610ebc9190614461565b90815260405190819003602001902054118015610ef85750600f82604051610ee49190614461565b908152604051908190036020019020544210155b8015610f255750600f82604051610f0f9190614461565b9081526020016040518091039020600101544211155b8015610a715750600f82604051610f3c9190614461565b9081526040519081900360200190206005015460ff161592915050565b336000908152600a602052604090205460ff16151560011480610f8657506009546001600160a01b031633145b610fd25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b47806110205760405162461bcd60e51b815260206004820152601160248201527f53616c65732042616c616e6365203d20300000000000000000000000000000006044820152606401610aec565b60005b60135460ff821610156110fb57600060138260ff1681548110611048576110486144b6565b90600052602060002090600202016001015411156110e9576110e960138260ff1681548110611079576110796144b6565b906000526020600020906002020160000160009054906101000a90046001600160a01b03166110e46014546110de60138660ff16815481106110bd576110bd6144b6565b9060005260206000209060020201600101548761294590919063ffffffff16565b90612951565b61295d565b806110f3816144cc565b915050611023565b506111176111116009546001600160a01b031690565b4761295d565b50565b60125461112990839083612a00565b610aff5760405162461bcd60e51b815260206004820152602260248201527f4d65726b6c6550726f6f665665726966793a2050726f6f66206e6f742076616c60448201527f69640000000000000000000000000000000000000000000000000000000000006064820152608401610aec565b826001600160a01b03811633146111b5576111b5336126a8565b610dc6848484612a16565b6111cb335b82612a31565b6112175760405162461bcd60e51b815260206004820152601660248201527f4e6f74206f776e6572206e6f7220617070726f766564000000000000000000006044820152606401610aec565b6001600c60088282829054906101000a900463ffffffff1661123991906144eb565b92506101000a81548163ffffffff021916908363ffffffff16021790555061111781612b40565b6060600061126d836117e3565b90506000808267ffffffffffffffff81111561128b5761128b613b7d565b6040519080825280602002602001820160405280156112b4578160200160208202803683370190505b50600c549091506c01000000000000000000000000900460ff165b600c546112fd906c01000000000000000000000000810460ff1690640100000000900463ffffffff166144eb565b63ffffffff168163ffffffff161015611387578284146113875763ffffffff81166000908152600360205260409020546001600160a01b038088169116036113755780828481518110611352576113526144b6565b63ffffffff909216602092830291909101909101528261137181614508565b9350505b8061137f81614522565b9150506112cf565b50949350505050565b600c54829063ffffffff808216916113b29184916401000000009004166144eb565b63ffffffff1611156114065760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610aec565b838361141182610ea9565b61145d5760405162461bcd60e51b815260206004820152600d60248201527f4d696e74206e6f74206f70656e000000000000000000000000000000000000006044820152606401610aec565b600f8260405161146d9190614461565b9081526020016040518091039020600301548111156114ce5760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610aec565b6114d88282610d6b565b3410156115275760405162461bcd60e51b815260206004820152600b60248201527f56616c7565206c696d69740000000000000000000000000000000000000000006044820152606401610aec565b6000600f836040516115399190614461565b908152602001604051809103902060020154111561166857600f826040516115619190614461565b90815260200160405180910390206002015481601160006010866040516115889190614461565b90815260408051602092819003830190205460ff16835282820193909352908201600090812033825290915220546115c09190614545565b111561160e5760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610aec565b80601160006010856040516116239190614461565b90815260408051602092819003830190205460ff1683528282019390935290820160009081203382529091529081208054909190611662908490614545565b90915550505b8633878660405160200161167e93929190614558565b6040516020818303038152906040528051906020012061169e828261111a565b6116a6612c08565b856116b18933611eec565b11156116ff5760405162461bcd60e51b815260206004820152600a60248201527f4d6178206d696e746564000000000000000000000000000000000000000000006044820152606401610aec565b6117093388612c61565b6117136001600b55565b505050505050505050565b611726612c88565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b63ffffffff81166000908152600360205260408120546001600160a01b031680610a715760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610aec565b60006001600160a01b0382166118615760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610aec565b506001600160a01b031660009081526004602052604090205463ffffffff1690565b61188b612c88565b6118956000612ce2565b565b336000908152600a602052604090205460ff161515600114806118c457506009546001600160a01b031633145b6119105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b601255565b336000908152600a602052604090205460ff1615156001148061194257506009546001600160a01b031633145b61198e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b600c5463ffffffff808216916119ae9184916401000000009004166144eb565b63ffffffff161115611a025760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610aec565b610aff828263ffffffff16612c61565b336000908152600a602052604090205460ff16151560011480611a3f57506009546001600160a01b031633145b611a8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b80600f83604051611a9c9190614461565b908152604051908190036020019020600501805491151560ff199092169190911790555050565b606060028054610b12906143ed565b336000908152600a602052604090205460ff16151560011480611aff57506009546001600160a01b031633145b611b4b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b600d610aff82826145f8565b600e8181548110611b6757600080fd5b906000526020600020016000915090508054611b82906143ed565b80601f0160208091040260200160405190810160405280929190818152602001828054611bae906143ed565b8015611bfb5780601f10611bd057610100808354040283529160200191611bfb565b820191906000526020600020905b815481529060010190602001808311611bde57829003601f168201915b505050505081565b81611c0d816126a8565b610d358383612d41565b336000908152600a602052604090205460ff16151560011480611c4457506009546001600160a01b031633145b611c905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b60005460ff1615611ce35760405162461bcd60e51b815260206004820152601360248201527f416c726561647920496e697469616c697a6564000000000000000000000000006044820152606401610aec565b611cec89611ad2565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff8a16179055611d268787611915565b611d30858561257d565b611d3b83600161171e565b60005b8251811015611e6557611e53838281518110611d5c57611d5c6144b6565b6020026020010151600001516040518060e00160405280868581518110611d8557611d856144b6565b6020026020010151602001518152602001868581518110611da857611da86144b6565b6020026020010151604001518152602001868581518110611dcb57611dcb6144b6565b6020026020010151606001518152602001868581518110611dee57611dee6144b6565b6020026020010151608001518152602001868581518110611e1157611e116144b6565b602002602001015160a001518152602001868581518110611e3457611e346144b6565b602002602001015160c001511515815260200160011515815250612237565b80611e5d81614508565b915050611d3e565b5060005b8151811015611ea657611e94828281518110611e8757611e876144b6565b6020026020010151612d4c565b80611e9e81614508565b915050611e69565b50506000805460ff191660011790555050505050505050565b836001600160a01b0381163314611ed957611ed9336126a8565b611ee585858585612df7565b5050505050565b600060116000601085604051611f029190614461565b908152604080519182900360209081019092205460ff1683528282019390935290820160009081206001600160a01b03861682529091522054905092915050565b6060611f6c8263ffffffff166000908152600360205260409020546001600160a01b0316151590565b611fde5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610aec565b6000611fe8612e7f565b905060008151116120085760405180602001604052806000815250610d9a565b8061201284612e8e565b6040516020016120239291906146b8565b6040516020818303038152906040529392505050565b6013818154811061204957600080fd5b6000918252602090912060029091020180546001909101546001600160a01b03909116915082565b600d8054611b82906143ed565b606060005b600e548110156121fe5761213b600e82815481106120a3576120a36144b6565b9060005260206000200180546120b8906143ed565b80601f01602080910402602001604051908101604052809291908181526020018280546120e4906143ed565b80156121315780601f1061210657610100808354040283529160200191612131565b820191906000526020600020905b81548152906001019060200180831161211457829003601f168201915b5050505050610ea9565b156121ec57600e8181548110612153576121536144b6565b906000526020600020018054612168906143ed565b80601f0160208091040260200160405190810160405280929190818152602001828054612194906143ed565b80156121e15780601f106121b6576101008083540402835291602001916121e1565b820191906000526020600020905b8154815290600101906020018083116121c457829003601f168201915b505050505091505090565b806121f681614508565b915050612083565b505060408051808201909152600481527f4e4f4e4500000000000000000000000000000000000000000000000000000000602082015290565b336000908152600a602052604090205460ff1615156001148061226457506009546001600160a01b031633145b6122b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b8060c001516123015760405162461bcd60e51b815260206004820152601660248201527f5f6d696e742e76616c6964206973206d697373696e67000000000000000000006044820152606401610aec565b600f826040516123119190614461565b9081526040519081900360200190206005015460ff610100909104166123a657600e80546001810182556000919091527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0161236d83826145f8565b50600e54604051601090612382908590614461565b908152604051908190036020019020805460ff9290921660ff199092169190911790555b80600f836040516123b79190614461565b90815260408051918290036020908101832084518155908401516001820155908301516002820155606083015160038201556080830151600482015560a08301516005909101805460c0909401511515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff921515929092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000090941693909317179091557f3c962146da3bd7dd94058de71955615106fe10306e81de47ffc1f51965b4264e9061248e90849084906146e7565b60405180910390a15050565b6124a2612c88565b6001600160a01b03811661251e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aec565b61111781612ce2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610a715750610a7182612f2e565b6127106bffffffffffffffffffffffff821611156126035760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610aec565b6001600160a01b0382166126595760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610aec565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600755565b6daaeb6d7670e522a718067333cd4e3b15611117576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561272e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612752919061474c565b611117576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610aec565b600061279e82611751565b9050806001600160a01b0316836001600160a01b0316036128275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610aec565b336001600160a01b038216148061284357506128438133610a18565b6128b55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610aec565b610d358383613011565b6128c8336111c5565b61293a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610aec565b610d35838383613093565b6000610d9a828461447d565b6000610d9a8284614494565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146129aa576040519150601f19603f3d011682016040523d82523d6000602084013e6129af565b606091505b5050905080610d355760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610aec565b600082612a0d85846132ac565b14949350505050565b610d3583838360405180602001604052806000815250611ebf565b63ffffffff81166000908152600360205260408120546001600160a01b0316612ac25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610aec565b6000612acd83611751565b9050806001600160a01b0316846001600160a01b03161480612b085750836001600160a01b0316612afd84610c6e565b6001600160a01b0316145b80612b3857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b6000612b4b82611751565b9050612b58600083613011565b6001600160a01b0381166000908152600460205260408120805460019290612b8790849063ffffffff1661443d565b82546101009290920a63ffffffff8181021990931691831602179091558316600090815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518492506001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6002600b5403612c5a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aec565b6002600b55565b60005b81811015610d3557612c75836132f9565b5080612c8081614508565b915050612c64565b6009546001600160a01b031633146118955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b600980546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610aff33838361337c565b60138054600181018255600091825282517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0906002909202918201805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0390921691909117905560208301517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0919091018190556014805491929091612def908490614545565b909155505050565b612e013383612a31565b612e735760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610aec565b610dc68484848461344a565b6060600d8054610b12906143ed565b60606000612e9b836134d3565b600101905060008167ffffffffffffffff811115612ebb57612ebb613b7d565b6040519080825280601f01601f191660200182016040528015612ee5576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084612eef57509392505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480612fc157507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a7157507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610a71565b63ffffffff81166000908152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061305a82611751565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b03166130a682611751565b6001600160a01b0316146131225760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610aec565b6001600160a01b03821661319d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610aec565b6131a8600082613011565b6001600160a01b03831660009081526004602052604081208054600192906131d790849063ffffffff1661443d565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b03841660009081526004602052604081208054600194509092613220918591166144eb565b82546101009290920a63ffffffff8181021990931691831602179091558216600090815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518594509192908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600081815b84518110156132f1576132dd828683815181106132d0576132d06144b6565b60200260200101516135b5565b9150806132e981614508565b9150506132b1565b509392505050565b600c54600090819061332c906c01000000000000000000000000810460ff1690640100000000900463ffffffff166144eb565b600c805463ffffffff92831693506001926004916133549185916401000000009004166144eb565b92506101000a81548163ffffffff021916908363ffffffff160217905550610a7183826135e4565b816001600160a01b0316836001600160a01b0316036133dd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610aec565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613455848484613093565b613461848484846135fe565b610dc65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610aec565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061351c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310613548576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061356657662386f26fc10000830492506010015b6305f5e100831061357e576305f5e100830492506008015b612710831061359257612710830492506004015b606483106135a4576064830492506002015b600a8310610a715760010192915050565b60008183106135d1576000828152602084905260409020610d9a565b6000838152602083905260409020610d9a565b610aff82826040518060200160405280600081525061379f565b60006001600160a01b0384163b15613794576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061365b903390899088908890600401614769565b6020604051808303816000875af1925050508015613696575060408051601f3d908101601f19168201909252613693918101906147a5565b60015b613749573d8080156136c4576040519150601f19603f3d011682016040523d82523d6000602084013e6136c9565b606091505b5080516000036137415760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610aec565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612b38565b506001949350505050565b6137a98383613828565b6137b660008484846135fe565b610d355760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610aec565b6001600160a01b03821661387e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610aec565b63ffffffff81166000908152600360205260409020546001600160a01b0316156138ea5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610aec565b6001600160a01b038216600090815260046020526040812080546001929061391990849063ffffffff166144eb565b82546101009290920a63ffffffff8181021990931691831602179091558216600090815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03871690811790915590518493509091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461111757600080fd5b6000602082840312156139e157600080fd5b8135610d9a816139a1565b80356001600160a01b0381168114613a0357600080fd5b919050565b80356bffffffffffffffffffffffff81168114613a0357600080fd5b60008060408385031215613a3757600080fd5b613a40836139ec565b9150613a4e60208401613a08565b90509250929050565b60005b83811015613a72578181015183820152602001613a5a565b50506000910152565b60008151808452613a93816020860160208601613a57565b601f01601f19169290920160200192915050565b602081526000610d9a6020830184613a7b565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613b2d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452613b1b858351613a7b565b94509285019290850190600101613ae1565b5092979650505050505050565b600060208284031215613b4c57600080fd5b5035919050565b60008060408385031215613b6657600080fd5b613b6f836139ec565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff81118282101715613bb657613bb6613b7d565b60405290565b6040805190810167ffffffffffffffff81118282101715613bb657613bb6613b7d565b604051601f8201601f1916810167ffffffffffffffff81118282101715613c0857613c08613b7d565b604052919050565b600067ffffffffffffffff831115613c2a57613c2a613b7d565b613c3d6020601f19601f86011601613bdf565b9050828152838383011115613c5157600080fd5b828260208301376000602084830101529392505050565b600082601f830112613c7957600080fd5b610d9a83833560208501613c10565b60008060408385031215613c9b57600080fd5b823567ffffffffffffffff811115613cb257600080fd5b613cbe85828601613c68565b95602094909401359450505050565b600080600060608486031215613ce257600080fd5b613ceb846139ec565b9250613cf9602085016139ec565b9150604084013590509250925092565b600060208284031215613d1b57600080fd5b610d9a826139ec565b60008060408385031215613d3757600080fd5b50508035926020909101359150565b600060208284031215613d5857600080fd5b813567ffffffffffffffff811115613d6f57600080fd5b612b3884828501613c68565b600067ffffffffffffffff821115613d9557613d95613b7d565b5060051b60200190565b600082601f830112613db057600080fd5b81356020613dc5613dc083613d7b565b613bdf565b82815260059290921b84018101918181019086841115613de457600080fd5b8286015b84811015613dff5780358352918301918301613de8565b509695505050505050565b60008060408385031215613e1d57600080fd5b823567ffffffffffffffff811115613e3457600080fd5b613cbe85828601613d9f565b6020808252825182820181905260009190848201906040850190845b81811015613e7e57835163ffffffff1683529284019291840191600101613e5c565b50909695505050505050565b60008060008060808587031215613ea057600080fd5b843567ffffffffffffffff80821115613eb857600080fd5b613ec488838901613d9f565b95506020870135915080821115613eda57600080fd5b50613ee787828801613c68565b949794965050505060408301359260600135919050565b801515811461111757600080fd5b8035613a0381613efe565b60008060408385031215613f2a57600080fd5b613f33836139ec565b91506020830135613f4381613efe565b809150509250929050565b803563ffffffff81168114613a0357600080fd5b60008060408385031215613f7557600080fd5b613f7e836139ec565b9150613a4e60208401613f4e565b60008060408385031215613f9f57600080fd5b823567ffffffffffffffff811115613fb657600080fd5b613fc285828601613c68565b9250506020830135613f4381613efe565b600082601f830112613fe457600080fd5b81356020613ff4613dc083613d7b565b82815260059290921b8401810191818101908684111561401357600080fd5b8286015b84811015613dff57803567ffffffffffffffff808211156140385760008081fd5b818901915060e080601f19848d030112156140535760008081fd5b61405b613b93565b878401358381111561406d5760008081fd5b61407b8d8a83880101613c68565b825250604092508284013588820152606080850135848301526080935083850135818301525060a0808501358483015260c093508385013581830152506140c3828501613f0c565b9281019290925250845250918301918301614017565b600082601f8301126140ea57600080fd5b813560206140fa613dc083613d7b565b82815260069290921b8401810191818101908684111561411957600080fd5b8286015b84811015613dff57604081890312156141365760008081fd5b61413e613bbc565b614147826139ec565b8152818501358582015283529183019160400161411d565b60008060008060008060008060006101208a8c03121561417e57600080fd5b893567ffffffffffffffff8082111561419657600080fd5b6141a28d838e01613c68565b9a506141b060208d01613f4e565b99506141be60408d016139ec565b98506141cc60608d01613f4e565b97506141da60808d016139ec565b96506141e860a08d01613a08565b95506141f660c08d016139ec565b945060e08c013591508082111561420c57600080fd5b6142188d838e01613fd3565b93506101008c013591508082111561422f57600080fd5b5061423c8c828d016140d9565b9150509295985092959850929598565b6000806000806080858703121561426257600080fd5b61426b856139ec565b9350614279602086016139ec565b925060408501359150606085013567ffffffffffffffff81111561429c57600080fd5b8501601f810187136142ad57600080fd5b6142bc87823560208401613c10565b91505092959194509250565b600080604083850312156142db57600080fd5b823567ffffffffffffffff8111156142f257600080fd5b6142fe85828601613c68565b925050613a4e602084016139ec565b60008082840361010081121561432257600080fd5b833567ffffffffffffffff81111561433957600080fd5b61434586828701613c68565b93505060e0601f198201121561435a57600080fd5b50614363613b93565b6020840135815260408401356020820152606084013560408201526080840135606082015260a0840135608082015260c08401356143a081613efe565b60a082015260e08401356143b381613efe565b60c0820152919491935090915050565b600080604083850312156143d657600080fd5b6143df836139ec565b9150613a4e602084016139ec565b600181811c9082168061440157607f821691505b60208210810361442157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b63ffffffff82811682821603908082111561445a5761445a614427565b5092915050565b60008251614473818460208701613a57565b9190910192915050565b8082028115828204841417610a7157610a71614427565b6000826144b157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff81036144e2576144e2614427565b60010192915050565b63ffffffff81811683821601908082111561445a5761445a614427565b6000600019820361451b5761451b614427565b5060010190565b600063ffffffff80831681810361453b5761453b614427565b6001019392505050565b80820180821115610a7157610a71614427565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008460601b16815260008351614595816014850160208801613a57565b60149201918201929092526034019392505050565b601f821115610d3557600081815260208120601f850160051c810160208610156145d15750805b601f850160051c820191505b818110156145f0578281556001016145dd565b505050505050565b815167ffffffffffffffff81111561461257614612613b7d565b6146268161462084546143ed565b846145aa565b602080601f83116001811461465b57600084156146435750858301515b600019600386901b1c1916600185901b1785556145f0565b600085815260208120601f198616915b8281101561468a5788860151825594840194600190910190840161466b565b50858210156146a85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516146ca818460208801613a57565b8351908301906146de818360208801613a57565b01949350505050565b60006101008083526146fb81840186613a7b565b91505082516020830152602083015160408301526040830151606083015260608301516080830152608083015160a083015260a0830151151560c083015260c0830151151560e08301529392505050565b60006020828403121561475e57600080fd5b8151610d9a81613efe565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261479b6080830184613a7b565b9695505050505050565b6000602082840312156147b757600080fd5b8151610d9a816139a156fea26469706673582212208d88f295911d32f654cc9dc2744e637f905cdd0688bce72a4bd6ef24dab575a964736f6c63430008110033

Deployed Bytecode

0x60806040526004361061031e5760003560e01c80636352211e116101a5578063a17768f4116100ec578063c87b56dd11610095578063e1ac34721161006f578063e1ac3472146109c8578063e6e28ff9146109dd578063e985e9c5146109fd578063f2fde38b14610a4657600080fd5b8063c87b56dd14610973578063c9eb466214610993578063d547cfb7146109b357600080fd5b8063b88d4fde116100c6578063b88d4fde14610909578063bc08caac14610929578063bf7b766d1461094957600080fd5b8063a17768f4146108a9578063a22cb465146108c9578063ad156fa8146108e957600080fd5b80637f5ae91a1161014e5780638da5cb5b116101285780638da5cb5b1461085657806395d89b4114610874578063a0bcfc7f1461088957600080fd5b80637f5ae91a146107c95780638013eeaf14610816578063885850781461083657600080fd5b806370a082311161017f57806370a0823114610774578063715018a6146107945780637cb64759146107a957600080fd5b80636352211e146107195780636667df6c1461073957806368fb5c111461074f57600080fd5b806332cb6b0c1161026957806342842e0e11610212578063494a6589116101ec578063494a6589146106465780634a539700146106e65780635bc63820146106f957600080fd5b806342842e0e146105d957806342966c68146105f9578063438b63001461061957600080fd5b806340d2123c1161024357806340d2123c1461056e57806341f434341461058e578063427b34b3146105b057600080fd5b806332cb6b0c1461051c578063338231de146105395780633ccfd60b1461055957600080fd5b806318160ddd116102cb57806324d7806c116102a557806324d7806c1461048e5780632a55205a146104c75780632eb4a7ab1461050657600080fd5b806318160ddd146104165780631cbaeb1d1461044057806323b872dd1461046e57600080fd5b8063071c8e52116102fc578063071c8e521461039c578063081812fc146103be578063095ea7b3146103f657600080fd5b806301ffc9a71461032357806304634d8d1461035857806306fdde031461037a575b600080fd5b34801561032f57600080fd5b5061034361033e3660046139cf565b610a66565b60405190151581526020015b60405180910390f35b34801561036457600080fd5b50610378610373366004613a24565b610a77565b005b34801561038657600080fd5b5061038f610b03565b60405161034f9190613aa7565b3480156103a857600080fd5b506103b1610b95565b60405161034f9190613aba565b3480156103ca57600080fd5b506103de6103d9366004613b3a565b610c6e565b6040516001600160a01b03909116815260200161034f565b34801561040257600080fd5b50610378610411366004613b53565b610d21565b34801561042257600080fd5b5061042b610d3a565b60405163ffffffff909116815260200161034f565b34801561044c57600080fd5b5061046061045b366004613c88565b610d6b565b60405190815260200161034f565b34801561047a57600080fd5b50610378610489366004613ccd565b610da1565b34801561049a57600080fd5b506103436104a9366004613d09565b6001600160a01b03166000908152600a602052604090205460ff1690565b3480156104d357600080fd5b506104e76104e2366004613d24565b610dcc565b604080516001600160a01b03909316835260208301919091520161034f565b34801561051257600080fd5b5061046060125481565b34801561052857600080fd5b50600c5461042b9063ffffffff1681565b34801561054557600080fd5b50610343610554366004613d46565b610ea9565b34801561056557600080fd5b50610378610f59565b34801561057a57600080fd5b50610378610589366004613e0a565b61111a565b34801561059a57600080fd5b506103de6daaeb6d7670e522a718067333cd4e81565b3480156105bc57600080fd5b50600c5461042b9068010000000000000000900463ffffffff1681565b3480156105e557600080fd5b506103786105f4366004613ccd565b61119b565b34801561060557600080fd5b50610378610614366004613b3a565b6111c0565b34801561062557600080fd5b50610639610634366004613d09565b611260565b60405161034f9190613e40565b34801561065257600080fd5b506106ad610661366004613d46565b8051602081830181018051600f82529282019190930120915280546001820154600283015460038401546004850154600590950154939492939192909160ff8082169161010090041687565b6040805197885260208801969096529486019390935260608501919091526080840152151560a0830152151560c082015260e00161034f565b6103786106f4366004613e8a565b611390565b34801561070557600080fd5b50610378610714366004613f17565b61171e565b34801561072557600080fd5b506103de610734366004613b3a565b611751565b34801561074557600080fd5b5061046060145481565b34801561075b57600080fd5b50600c5461042b90640100000000900463ffffffff1681565b34801561078057600080fd5b5061046061078f366004613d09565b6117e3565b3480156107a057600080fd5b50610378611883565b3480156107b557600080fd5b506103786107c4366004613b3a565b611897565b3480156107d557600080fd5b506108046107e4366004613d46565b805160208183018101805160108252928201919093012091525460ff1681565b60405160ff909116815260200161034f565b34801561082257600080fd5b50610378610831366004613f62565b611915565b34801561084257600080fd5b50610378610851366004613f8c565b611a12565b34801561086257600080fd5b506009546001600160a01b03166103de565b34801561088057600080fd5b5061038f611ac3565b34801561089557600080fd5b506103786108a4366004613d46565b611ad2565b3480156108b557600080fd5b5061038f6108c4366004613b3a565b611b57565b3480156108d557600080fd5b506103786108e4366004613f17565b611c03565b3480156108f557600080fd5b5061037861090436600461415f565b611c17565b34801561091557600080fd5b5061037861092436600461424c565b611ebf565b34801561093557600080fd5b506104606109443660046142c8565b611eec565b34801561095557600080fd5b50600c54610804906c01000000000000000000000000900460ff1681565b34801561097f57600080fd5b5061038f61098e366004613b3a565b611f43565b34801561099f57600080fd5b506104e76109ae366004613b3a565b612039565b3480156109bf57600080fd5b5061038f612071565b3480156109d457600080fd5b5061038f61207e565b3480156109e957600080fd5b506103786109f836600461430d565b612237565b348015610a0957600080fd5b50610343610a183660046143c3565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610a5257600080fd5b50610378610a61366004613d09565b61249a565b6000610a7182612527565b92915050565b336000908152600a602052604090205460ff16151560011480610aa457506009546001600160a01b031633145b610af55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610aff828261257d565b5050565b606060018054610b12906143ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906143ed565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b5050505050905090565b6060600e805480602002602001604051908101604052809291908181526020016000905b82821015610c65578382906000526020600020018054610bd8906143ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610c04906143ed565b8015610c515780601f10610c2657610100808354040283529160200191610c51565b820191906000526020600020905b815481529060010190602001808311610c3457829003601f168201915b505050505081526020019060010190610bb9565b50505050905090565b63ffffffff81166000908152600360205260408120546001600160a01b0316610cff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610aec565b5063ffffffff166000908152600560205260409020546001600160a01b031690565b81610d2b816126a8565b610d358383612793565b505050565b600c54600090610d669063ffffffff68010000000000000000820481169164010000000090041661443d565b905090565b600081600f84604051610d7e9190614461565b908152602001604051809103902060040154610d9a919061447d565b9392505050565b826001600160a01b0381163314610dbb57610dbb336126a8565b610dc68484846128bf565b50505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610e6d5750604080518082019091526007546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610e91906bffffffffffffffffffffffff168761447d565b610e9b9190614494565b915196919550909350505050565b600080600f83604051610ebc9190614461565b90815260405190819003602001902054118015610ef85750600f82604051610ee49190614461565b908152604051908190036020019020544210155b8015610f255750600f82604051610f0f9190614461565b9081526020016040518091039020600101544211155b8015610a715750600f82604051610f3c9190614461565b9081526040519081900360200190206005015460ff161592915050565b336000908152600a602052604090205460ff16151560011480610f8657506009546001600160a01b031633145b610fd25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b47806110205760405162461bcd60e51b815260206004820152601160248201527f53616c65732042616c616e6365203d20300000000000000000000000000000006044820152606401610aec565b60005b60135460ff821610156110fb57600060138260ff1681548110611048576110486144b6565b90600052602060002090600202016001015411156110e9576110e960138260ff1681548110611079576110796144b6565b906000526020600020906002020160000160009054906101000a90046001600160a01b03166110e46014546110de60138660ff16815481106110bd576110bd6144b6565b9060005260206000209060020201600101548761294590919063ffffffff16565b90612951565b61295d565b806110f3816144cc565b915050611023565b506111176111116009546001600160a01b031690565b4761295d565b50565b60125461112990839083612a00565b610aff5760405162461bcd60e51b815260206004820152602260248201527f4d65726b6c6550726f6f665665726966793a2050726f6f66206e6f742076616c60448201527f69640000000000000000000000000000000000000000000000000000000000006064820152608401610aec565b826001600160a01b03811633146111b5576111b5336126a8565b610dc6848484612a16565b6111cb335b82612a31565b6112175760405162461bcd60e51b815260206004820152601660248201527f4e6f74206f776e6572206e6f7220617070726f766564000000000000000000006044820152606401610aec565b6001600c60088282829054906101000a900463ffffffff1661123991906144eb565b92506101000a81548163ffffffff021916908363ffffffff16021790555061111781612b40565b6060600061126d836117e3565b90506000808267ffffffffffffffff81111561128b5761128b613b7d565b6040519080825280602002602001820160405280156112b4578160200160208202803683370190505b50600c549091506c01000000000000000000000000900460ff165b600c546112fd906c01000000000000000000000000810460ff1690640100000000900463ffffffff166144eb565b63ffffffff168163ffffffff161015611387578284146113875763ffffffff81166000908152600360205260409020546001600160a01b038088169116036113755780828481518110611352576113526144b6565b63ffffffff909216602092830291909101909101528261137181614508565b9350505b8061137f81614522565b9150506112cf565b50949350505050565b600c54829063ffffffff808216916113b29184916401000000009004166144eb565b63ffffffff1611156114065760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610aec565b838361141182610ea9565b61145d5760405162461bcd60e51b815260206004820152600d60248201527f4d696e74206e6f74206f70656e000000000000000000000000000000000000006044820152606401610aec565b600f8260405161146d9190614461565b9081526020016040518091039020600301548111156114ce5760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610aec565b6114d88282610d6b565b3410156115275760405162461bcd60e51b815260206004820152600b60248201527f56616c7565206c696d69740000000000000000000000000000000000000000006044820152606401610aec565b6000600f836040516115399190614461565b908152602001604051809103902060020154111561166857600f826040516115619190614461565b90815260200160405180910390206002015481601160006010866040516115889190614461565b90815260408051602092819003830190205460ff16835282820193909352908201600090812033825290915220546115c09190614545565b111561160e5760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610aec565b80601160006010856040516116239190614461565b90815260408051602092819003830190205460ff1683528282019390935290820160009081203382529091529081208054909190611662908490614545565b90915550505b8633878660405160200161167e93929190614558565b6040516020818303038152906040528051906020012061169e828261111a565b6116a6612c08565b856116b18933611eec565b11156116ff5760405162461bcd60e51b815260206004820152600a60248201527f4d6178206d696e746564000000000000000000000000000000000000000000006044820152606401610aec565b6117093388612c61565b6117136001600b55565b505050505050505050565b611726612c88565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b63ffffffff81166000908152600360205260408120546001600160a01b031680610a715760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610aec565b60006001600160a01b0382166118615760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610aec565b506001600160a01b031660009081526004602052604090205463ffffffff1690565b61188b612c88565b6118956000612ce2565b565b336000908152600a602052604090205460ff161515600114806118c457506009546001600160a01b031633145b6119105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b601255565b336000908152600a602052604090205460ff1615156001148061194257506009546001600160a01b031633145b61198e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b600c5463ffffffff808216916119ae9184916401000000009004166144eb565b63ffffffff161115611a025760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610aec565b610aff828263ffffffff16612c61565b336000908152600a602052604090205460ff16151560011480611a3f57506009546001600160a01b031633145b611a8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b80600f83604051611a9c9190614461565b908152604051908190036020019020600501805491151560ff199092169190911790555050565b606060028054610b12906143ed565b336000908152600a602052604090205460ff16151560011480611aff57506009546001600160a01b031633145b611b4b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b600d610aff82826145f8565b600e8181548110611b6757600080fd5b906000526020600020016000915090508054611b82906143ed565b80601f0160208091040260200160405190810160405280929190818152602001828054611bae906143ed565b8015611bfb5780601f10611bd057610100808354040283529160200191611bfb565b820191906000526020600020905b815481529060010190602001808311611bde57829003601f168201915b505050505081565b81611c0d816126a8565b610d358383612d41565b336000908152600a602052604090205460ff16151560011480611c4457506009546001600160a01b031633145b611c905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b60005460ff1615611ce35760405162461bcd60e51b815260206004820152601360248201527f416c726561647920496e697469616c697a6564000000000000000000000000006044820152606401610aec565b611cec89611ad2565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff8a16179055611d268787611915565b611d30858561257d565b611d3b83600161171e565b60005b8251811015611e6557611e53838281518110611d5c57611d5c6144b6565b6020026020010151600001516040518060e00160405280868581518110611d8557611d856144b6565b6020026020010151602001518152602001868581518110611da857611da86144b6565b6020026020010151604001518152602001868581518110611dcb57611dcb6144b6565b6020026020010151606001518152602001868581518110611dee57611dee6144b6565b6020026020010151608001518152602001868581518110611e1157611e116144b6565b602002602001015160a001518152602001868581518110611e3457611e346144b6565b602002602001015160c001511515815260200160011515815250612237565b80611e5d81614508565b915050611d3e565b5060005b8151811015611ea657611e94828281518110611e8757611e876144b6565b6020026020010151612d4c565b80611e9e81614508565b915050611e69565b50506000805460ff191660011790555050505050505050565b836001600160a01b0381163314611ed957611ed9336126a8565b611ee585858585612df7565b5050505050565b600060116000601085604051611f029190614461565b908152604080519182900360209081019092205460ff1683528282019390935290820160009081206001600160a01b03861682529091522054905092915050565b6060611f6c8263ffffffff166000908152600360205260409020546001600160a01b0316151590565b611fde5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610aec565b6000611fe8612e7f565b905060008151116120085760405180602001604052806000815250610d9a565b8061201284612e8e565b6040516020016120239291906146b8565b6040516020818303038152906040529392505050565b6013818154811061204957600080fd5b6000918252602090912060029091020180546001909101546001600160a01b03909116915082565b600d8054611b82906143ed565b606060005b600e548110156121fe5761213b600e82815481106120a3576120a36144b6565b9060005260206000200180546120b8906143ed565b80601f01602080910402602001604051908101604052809291908181526020018280546120e4906143ed565b80156121315780601f1061210657610100808354040283529160200191612131565b820191906000526020600020905b81548152906001019060200180831161211457829003601f168201915b5050505050610ea9565b156121ec57600e8181548110612153576121536144b6565b906000526020600020018054612168906143ed565b80601f0160208091040260200160405190810160405280929190818152602001828054612194906143ed565b80156121e15780601f106121b6576101008083540402835291602001916121e1565b820191906000526020600020905b8154815290600101906020018083116121c457829003601f168201915b505050505091505090565b806121f681614508565b915050612083565b505060408051808201909152600481527f4e4f4e4500000000000000000000000000000000000000000000000000000000602082015290565b336000908152600a602052604090205460ff1615156001148061226457506009546001600160a01b031633145b6122b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b8060c001516123015760405162461bcd60e51b815260206004820152601660248201527f5f6d696e742e76616c6964206973206d697373696e67000000000000000000006044820152606401610aec565b600f826040516123119190614461565b9081526040519081900360200190206005015460ff610100909104166123a657600e80546001810182556000919091527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0161236d83826145f8565b50600e54604051601090612382908590614461565b908152604051908190036020019020805460ff9290921660ff199092169190911790555b80600f836040516123b79190614461565b90815260408051918290036020908101832084518155908401516001820155908301516002820155606083015160038201556080830151600482015560a08301516005909101805460c0909401511515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff921515929092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000090941693909317179091557f3c962146da3bd7dd94058de71955615106fe10306e81de47ffc1f51965b4264e9061248e90849084906146e7565b60405180910390a15050565b6124a2612c88565b6001600160a01b03811661251e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aec565b61111781612ce2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610a715750610a7182612f2e565b6127106bffffffffffffffffffffffff821611156126035760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610aec565b6001600160a01b0382166126595760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610aec565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600755565b6daaeb6d7670e522a718067333cd4e3b15611117576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561272e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612752919061474c565b611117576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610aec565b600061279e82611751565b9050806001600160a01b0316836001600160a01b0316036128275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610aec565b336001600160a01b038216148061284357506128438133610a18565b6128b55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610aec565b610d358383613011565b6128c8336111c5565b61293a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610aec565b610d35838383613093565b6000610d9a828461447d565b6000610d9a8284614494565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146129aa576040519150601f19603f3d011682016040523d82523d6000602084013e6129af565b606091505b5050905080610d355760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610aec565b600082612a0d85846132ac565b14949350505050565b610d3583838360405180602001604052806000815250611ebf565b63ffffffff81166000908152600360205260408120546001600160a01b0316612ac25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610aec565b6000612acd83611751565b9050806001600160a01b0316846001600160a01b03161480612b085750836001600160a01b0316612afd84610c6e565b6001600160a01b0316145b80612b3857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b6000612b4b82611751565b9050612b58600083613011565b6001600160a01b0381166000908152600460205260408120805460019290612b8790849063ffffffff1661443d565b82546101009290920a63ffffffff8181021990931691831602179091558316600090815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518492506001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6002600b5403612c5a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aec565b6002600b55565b60005b81811015610d3557612c75836132f9565b5080612c8081614508565b915050612c64565b6009546001600160a01b031633146118955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aec565b600980546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610aff33838361337c565b60138054600181018255600091825282517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0906002909202918201805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0390921691909117905560208301517f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0919091018190556014805491929091612def908490614545565b909155505050565b612e013383612a31565b612e735760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610aec565b610dc68484848461344a565b6060600d8054610b12906143ed565b60606000612e9b836134d3565b600101905060008167ffffffffffffffff811115612ebb57612ebb613b7d565b6040519080825280601f01601f191660200182016040528015612ee5576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084612eef57509392505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480612fc157507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a7157507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610a71565b63ffffffff81166000908152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061305a82611751565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b03166130a682611751565b6001600160a01b0316146131225760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610aec565b6001600160a01b03821661319d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610aec565b6131a8600082613011565b6001600160a01b03831660009081526004602052604081208054600192906131d790849063ffffffff1661443d565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b03841660009081526004602052604081208054600194509092613220918591166144eb565b82546101009290920a63ffffffff8181021990931691831602179091558216600090815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518594509192908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600081815b84518110156132f1576132dd828683815181106132d0576132d06144b6565b60200260200101516135b5565b9150806132e981614508565b9150506132b1565b509392505050565b600c54600090819061332c906c01000000000000000000000000810460ff1690640100000000900463ffffffff166144eb565b600c805463ffffffff92831693506001926004916133549185916401000000009004166144eb565b92506101000a81548163ffffffff021916908363ffffffff160217905550610a7183826135e4565b816001600160a01b0316836001600160a01b0316036133dd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610aec565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613455848484613093565b613461848484846135fe565b610dc65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610aec565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061351c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310613548576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061356657662386f26fc10000830492506010015b6305f5e100831061357e576305f5e100830492506008015b612710831061359257612710830492506004015b606483106135a4576064830492506002015b600a8310610a715760010192915050565b60008183106135d1576000828152602084905260409020610d9a565b6000838152602083905260409020610d9a565b610aff82826040518060200160405280600081525061379f565b60006001600160a01b0384163b15613794576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061365b903390899088908890600401614769565b6020604051808303816000875af1925050508015613696575060408051601f3d908101601f19168201909252613693918101906147a5565b60015b613749573d8080156136c4576040519150601f19603f3d011682016040523d82523d6000602084013e6136c9565b606091505b5080516000036137415760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610aec565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612b38565b506001949350505050565b6137a98383613828565b6137b660008484846135fe565b610d355760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610aec565b6001600160a01b03821661387e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610aec565b63ffffffff81166000908152600360205260409020546001600160a01b0316156138ea5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610aec565b6001600160a01b038216600090815260046020526040812080546001929061391990849063ffffffff166144eb565b82546101009290920a63ffffffff8181021990931691831602179091558216600090815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03871690811790915590518493509091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461111757600080fd5b6000602082840312156139e157600080fd5b8135610d9a816139a1565b80356001600160a01b0381168114613a0357600080fd5b919050565b80356bffffffffffffffffffffffff81168114613a0357600080fd5b60008060408385031215613a3757600080fd5b613a40836139ec565b9150613a4e60208401613a08565b90509250929050565b60005b83811015613a72578181015183820152602001613a5a565b50506000910152565b60008151808452613a93816020860160208601613a57565b601f01601f19169290920160200192915050565b602081526000610d9a6020830184613a7b565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613b2d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452613b1b858351613a7b565b94509285019290850190600101613ae1565b5092979650505050505050565b600060208284031215613b4c57600080fd5b5035919050565b60008060408385031215613b6657600080fd5b613b6f836139ec565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff81118282101715613bb657613bb6613b7d565b60405290565b6040805190810167ffffffffffffffff81118282101715613bb657613bb6613b7d565b604051601f8201601f1916810167ffffffffffffffff81118282101715613c0857613c08613b7d565b604052919050565b600067ffffffffffffffff831115613c2a57613c2a613b7d565b613c3d6020601f19601f86011601613bdf565b9050828152838383011115613c5157600080fd5b828260208301376000602084830101529392505050565b600082601f830112613c7957600080fd5b610d9a83833560208501613c10565b60008060408385031215613c9b57600080fd5b823567ffffffffffffffff811115613cb257600080fd5b613cbe85828601613c68565b95602094909401359450505050565b600080600060608486031215613ce257600080fd5b613ceb846139ec565b9250613cf9602085016139ec565b9150604084013590509250925092565b600060208284031215613d1b57600080fd5b610d9a826139ec565b60008060408385031215613d3757600080fd5b50508035926020909101359150565b600060208284031215613d5857600080fd5b813567ffffffffffffffff811115613d6f57600080fd5b612b3884828501613c68565b600067ffffffffffffffff821115613d9557613d95613b7d565b5060051b60200190565b600082601f830112613db057600080fd5b81356020613dc5613dc083613d7b565b613bdf565b82815260059290921b84018101918181019086841115613de457600080fd5b8286015b84811015613dff5780358352918301918301613de8565b509695505050505050565b60008060408385031215613e1d57600080fd5b823567ffffffffffffffff811115613e3457600080fd5b613cbe85828601613d9f565b6020808252825182820181905260009190848201906040850190845b81811015613e7e57835163ffffffff1683529284019291840191600101613e5c565b50909695505050505050565b60008060008060808587031215613ea057600080fd5b843567ffffffffffffffff80821115613eb857600080fd5b613ec488838901613d9f565b95506020870135915080821115613eda57600080fd5b50613ee787828801613c68565b949794965050505060408301359260600135919050565b801515811461111757600080fd5b8035613a0381613efe565b60008060408385031215613f2a57600080fd5b613f33836139ec565b91506020830135613f4381613efe565b809150509250929050565b803563ffffffff81168114613a0357600080fd5b60008060408385031215613f7557600080fd5b613f7e836139ec565b9150613a4e60208401613f4e565b60008060408385031215613f9f57600080fd5b823567ffffffffffffffff811115613fb657600080fd5b613fc285828601613c68565b9250506020830135613f4381613efe565b600082601f830112613fe457600080fd5b81356020613ff4613dc083613d7b565b82815260059290921b8401810191818101908684111561401357600080fd5b8286015b84811015613dff57803567ffffffffffffffff808211156140385760008081fd5b818901915060e080601f19848d030112156140535760008081fd5b61405b613b93565b878401358381111561406d5760008081fd5b61407b8d8a83880101613c68565b825250604092508284013588820152606080850135848301526080935083850135818301525060a0808501358483015260c093508385013581830152506140c3828501613f0c565b9281019290925250845250918301918301614017565b600082601f8301126140ea57600080fd5b813560206140fa613dc083613d7b565b82815260069290921b8401810191818101908684111561411957600080fd5b8286015b84811015613dff57604081890312156141365760008081fd5b61413e613bbc565b614147826139ec565b8152818501358582015283529183019160400161411d565b60008060008060008060008060006101208a8c03121561417e57600080fd5b893567ffffffffffffffff8082111561419657600080fd5b6141a28d838e01613c68565b9a506141b060208d01613f4e565b99506141be60408d016139ec565b98506141cc60608d01613f4e565b97506141da60808d016139ec565b96506141e860a08d01613a08565b95506141f660c08d016139ec565b945060e08c013591508082111561420c57600080fd5b6142188d838e01613fd3565b93506101008c013591508082111561422f57600080fd5b5061423c8c828d016140d9565b9150509295985092959850929598565b6000806000806080858703121561426257600080fd5b61426b856139ec565b9350614279602086016139ec565b925060408501359150606085013567ffffffffffffffff81111561429c57600080fd5b8501601f810187136142ad57600080fd5b6142bc87823560208401613c10565b91505092959194509250565b600080604083850312156142db57600080fd5b823567ffffffffffffffff8111156142f257600080fd5b6142fe85828601613c68565b925050613a4e602084016139ec565b60008082840361010081121561432257600080fd5b833567ffffffffffffffff81111561433957600080fd5b61434586828701613c68565b93505060e0601f198201121561435a57600080fd5b50614363613b93565b6020840135815260408401356020820152606084013560408201526080840135606082015260a0840135608082015260c08401356143a081613efe565b60a082015260e08401356143b381613efe565b60c0820152919491935090915050565b600080604083850312156143d657600080fd5b6143df836139ec565b9150613a4e602084016139ec565b600181811c9082168061440157607f821691505b60208210810361442157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b63ffffffff82811682821603908082111561445a5761445a614427565b5092915050565b60008251614473818460208701613a57565b9190910192915050565b8082028115828204841417610a7157610a71614427565b6000826144b157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff81036144e2576144e2614427565b60010192915050565b63ffffffff81811683821601908082111561445a5761445a614427565b6000600019820361451b5761451b614427565b5060010190565b600063ffffffff80831681810361453b5761453b614427565b6001019392505050565b80820180821115610a7157610a71614427565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008460601b16815260008351614595816014850160208801613a57565b60149201918201929092526034019392505050565b601f821115610d3557600081815260208120601f850160051c810160208610156145d15750805b601f850160051c820191505b818110156145f0578281556001016145dd565b505050505050565b815167ffffffffffffffff81111561461257614612613b7d565b6146268161462084546143ed565b846145aa565b602080601f83116001811461465b57600084156146435750858301515b600019600386901b1c1916600185901b1785556145f0565b600085815260208120601f198616915b8281101561468a5788860151825594840194600190910190840161466b565b50858210156146a85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516146ca818460208801613a57565b8351908301906146de818360208801613a57565b01949350505050565b60006101008083526146fb81840186613a7b565b91505082516020830152602083015160408301526040830151606083015260608301516080830152608083015160a083015260a0830151151560c083015260c0830151151560e08301529392505050565b60006020828403121561475e57600080fd5b8151610d9a81613efe565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261479b6080830184613a7b565b9695505050505050565b6000602082840312156147b757600080fd5b8151610d9a816139a156fea26469706673582212208d88f295911d32f654cc9dc2744e637f905cdd0688bce72a4bd6ef24dab575a964736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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