ETH Price: $3,390.29 (-1.49%)
Gas: 2 Gwei

Token

YEAR OF THE WOMAN (YOTW)
 

Overview

Max Total Supply

10,000 YOTW

Holders

2,784

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 YOTW
0x9bed6e8a49d415adfeae4ba4d0ef2994049454f1
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Year of the Woman (YOTW) presents a dynamic new series of Chinese Zodiac artworks created by Australian artist Yasmin Shima. Each Year of the Woman NFT is uniquely generated from 400 traits.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
YearOfTheWoman

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : NFTcontract.sol
// SPDX-License-Identifier: MIT
/*
             )                              
          ( /(                   "Year of the Woman" is
          )\())   (     )  (       10,000 Chinese Zodiac
         ((_)\   ))\ ( /(  )(       NFTs created by
        __ ((_) /((_))(_))(()\       Australian artist
        \ \ / /(_)) ((_)_  ((_)       Yasmin Shima. 
         \ V / / -_)/ _` || '_|         
          |_|  \___|\__,_||_|          Presale: 3.8.22 
              (         )    )          Public Mint: 3.9.22
           )\ )   ( /( ( /(    (           
       (  (()/(   )\()))\())  ))\       Info / Mint:
       )\  /(_)) (_))/((_)\  /((_)      YearOfTheWoman.io
      ((_)(_) _| | |_ | |(_)(_))         
     / _ \ |  _| |  _|| ' \ / -_)        * * * 
     \___/ |_|    \__||_||_|\___|        
   (  (                                  ENJOY YOUR NFTs, frens.
   )\))(   '        )       )            Copyright transfers
  ((_)()\ )  (     (     ( /(   (        to the NFT holder!
  _(())\_)() )\    )\  ' )(_))  )\ )    
  \ \((_)/ /((_) _((_)) ((_)_  _(_/(     * * *
   \ \/\/ // _ \| '  \()/ _` || ' \))    
    \_/\_/ \___/|_|_|_| \__,_||_||_|     Best regards,
     Y E A R  O F  T H E  W O M A N       ~ YOTW team
*/

pragma solidity 0.8.2;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";

// Merkle tree:
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract YearOfTheWoman is Ownable, ERC721Enumerable, PaymentSplitter {

    uint public MAXSUPPLY = 10000; // * Hard-coded max for setMaxSupply()
    uint public THEMINTPRICE = 0.08 ether;
    uint public WALLETLIMIT = 3; 
    string public PROVENANCE_HASH;
    string private METADATAURI;
    string private CONTRACTURI;
    bool public PRESALEISLIVE = false;
    bool public SALEISLIVE = false;
    bool private MINTLOCK;
    bool private PROVENANCE_LOCK = false;
    uint public RESERVEDNFTS;
    uint id = totalSupply();

    // Merkle tree:
    bytes32 public merkleRoot;
    mapping(address => bool) public allowlistClaimed;

    struct Account {
        uint nftsReserved;
        uint mintedNFTs;
        uint isAdmin;
    }

    mapping(address => Account) public accounts;

    event Mint(address indexed sender, uint totalSupply);
    event PermanentURI(string _value, uint256 indexed _id);
    event Burn(address indexed sender, uint indexed _id);

    address[] private _distro;
    uint[] private _distro_shares;

    // Merkle tree (add bytes32 _merkleRoot)
    constructor(address[] memory distro, uint[] memory distro_shares, address[] memory teamclaim, bytes32 _merkleRoot)
        ERC721("YEAR OF THE WOMAN", "YOTW")
        PaymentSplitter(distro, distro_shares)
    {
        METADATAURI = "ipfs://QmeFhuW1LjDTP4zyiPrHfZCvz86ZBRHPYhFmsmfv3NiZ8Z/";

        accounts[msg.sender] = Account( 0, 0, 0 );

        // Set Project / Team NFTs & Initial Admin Levels:
        accounts[teamclaim[0]] = Account( 120, 0, 1); // .
        accounts[teamclaim[1]] = Account(  15, 0, 2); // .
        accounts[teamclaim[2]] = Account(  15, 0, 1); // .
        accounts[teamclaim[3]] = Account(  15, 0, 1); // .
        accounts[teamclaim[4]] = Account(  15, 0, 1); // .
        accounts[teamclaim[5]] = Account(  15, 0, 1); // .
        accounts[teamclaim[6]] = Account(  20, 0, 1); // .
        accounts[teamclaim[7]] = Account(   5, 0, 1); // .

        RESERVEDNFTS = 220;

        _distro = distro;
        _distro_shares = distro_shares;

        // Merkle tree:
        merkleRoot = _merkleRoot;

    }

    // (^_^) Modifiers (^_^) 

    modifier minAdmin1() {
        require(accounts[msg.sender].isAdmin > 0 , "Error: Level 1(+) admin clearance required.");
        _;
    }

    modifier minAdmin2() {
        require(accounts[msg.sender].isAdmin > 1, "Error: Level 2(+) admin clearance required.");
        _;
    }

    modifier noReentrant() {
        require(!MINTLOCK, "Error: No re-entrancy.");
        MINTLOCK = true;
        _;
        MINTLOCK = false;
    } 

    // (^_^) Setters (^_^) 

    function adminLevelRaise(address _addr) external onlyOwner { 
        accounts[_addr].isAdmin ++; 
    }

    function adminLevelLower(address _addr) external onlyOwner { 
        accounts[_addr].isAdmin --; 
    }

    function provenanceLock() external onlyOwner {
        PROVENANCE_LOCK = true;
    }
    
    function provenanceSet(string memory _provenanceHash) external onlyOwner {
        require(PROVENANCE_LOCK == false);
        PROVENANCE_HASH = _provenanceHash;
    }  

    function reservesDecrease(uint _decreaseReservedBy, address _addr) external onlyOwner {
        require(RESERVEDNFTS - _decreaseReservedBy >= 0, "Error: This would make reserved less than 0.");
        require(accounts[_addr].nftsReserved - _decreaseReservedBy >= 0, "Error: User does not have this many reserved NFTs.");
        RESERVEDNFTS -= _decreaseReservedBy;
        accounts[_addr].nftsReserved -= _decreaseReservedBy;
    }

    function reservesIncrease(uint _increaseReservedBy, address _addr) external onlyOwner {
        require(RESERVEDNFTS + totalSupply() + _increaseReservedBy <= MAXSUPPLY, "Error: This would exceed the max supply.");
        RESERVEDNFTS += _increaseReservedBy;
        accounts[_addr].nftsReserved += _increaseReservedBy;
        if ( accounts[_addr].isAdmin == 0 ) { accounts[_addr].isAdmin ++; }
    }

    function salePresaleActivate() external minAdmin2 {
        PRESALEISLIVE = true;
    }

    function salePresaleDeactivate() external minAdmin2 {
        PRESALEISLIVE = false;
    } 

    function salePublicActivate() external minAdmin2 {
        SALEISLIVE = true;
    }

    function salePublicDeactivate() external minAdmin2 {
        SALEISLIVE = false;
    } 

    function setBaseURI(string memory _newURI) external minAdmin2 {
        METADATAURI = _newURI;
    }

    function setContractURI(string memory _newURI) external onlyOwner {
        CONTRACTURI = _newURI;
    }

    function setMaxSupply(uint _maxSupply) external onlyOwner {
        require(_maxSupply <= MAXSUPPLY, 'Error: New max supply cannot exceed original max.');        
        MAXSUPPLY = _maxSupply;
    }

    function setMintPrice(uint _newPrice) external onlyOwner {
        THEMINTPRICE = _newPrice;
    }

    function setWalletLimit(uint _newLimit) external onlyOwner {
        WALLETLIMIT = _newLimit;
    }
    
    // (^_^) Getters (^_^)

    // -- For OpenSea
    function contractURI() public view returns (string memory) {
        return CONTRACTURI;
    }

    // -- For Metadata
    function _baseURI() internal view virtual override returns (string memory) {
        return METADATAURI;
    }

    // -- For Convenience
    function getMintPrice() public view returns (uint){ 
        return THEMINTPRICE; 
    }

    // -- For the Merkle tree
    function getMerkleRoot() public view returns (bytes32){ 
        return merkleRoot; 
    }

    // (^_^) Functions (^_^) 

    function airDropNFT(address[] memory _addr) external minAdmin2 {

        require(totalSupply() + _addr.length <= (MAXSUPPLY - RESERVEDNFTS), "Error: You would exceed the airdrop limit.");

        for (uint i = 0; i < _addr.length; i++) {
            id++;
            _safeMint(_addr[i], id);
            emit Mint(msg.sender, totalSupply());
        }

    }

    function claimReserved(uint _amount) external minAdmin1 {

        require(_amount > 0, "Error: Need to have reserved supply.");
        require(accounts[msg.sender].nftsReserved >= _amount, "Error: You are trying to claim more NFTs than you have reserved.");
        require(totalSupply() + _amount <= MAXSUPPLY, "Error: You would exceed the max supply limit.");

        accounts[msg.sender].nftsReserved -= _amount;
        RESERVEDNFTS -= _amount;

       for (uint i = 0; i < _amount; i++) {
           id++;
           _safeMint(msg.sender, id);
           emit Mint(msg.sender, totalSupply());
        }
        
    }

    function mint(uint _amount) external payable noReentrant {

        require(SALEISLIVE, "Error: Sale is not active.");
        require(totalSupply() + _amount <= (MAXSUPPLY - RESERVEDNFTS), "Error: Purchase would exceed max supply.");
        require((_amount + accounts[msg.sender].mintedNFTs) <= WALLETLIMIT, "Error: You would exceed the wallet limit.");
        require(!isContract(msg.sender), "Error: Contracts cannot mint.");
        require(msg.value >= (THEMINTPRICE * _amount), "Error: Not enough ether sent.");

        for (uint i = 0; i < _amount; i++) {
            id++;
            accounts[msg.sender].mintedNFTs++;
            _safeMint(msg.sender, id);
            emit Mint(msg.sender, totalSupply());
        }

    }

    function burn(uint _id) external returns (bool, uint) {

        require(msg.sender == ownerOf(_id) || msg.sender == getApproved(_id) || isApprovedForAll(ownerOf(_id), msg.sender), "Error: You must own this token to burn it.");
        _burn(_id);
        emit Burn(msg.sender, _id);
        return (true, _id);

    }

    function distributeShares() external minAdmin2 {

        for (uint i = 0; i < _distro.length; i++) {
            release(payable(_distro[i]));
        }

    }

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

    // Merkle tree:
    function allowlistMint(bytes32[] calldata _merkleProof, uint _amount) external payable noReentrant {
        require(PRESALEISLIVE, "Error: Allowlist Sale is not active.");
        require(totalSupply() + _amount <= (MAXSUPPLY - RESERVEDNFTS), "Error: Purchase would exceed max supply.");
        require((_amount + accounts[msg.sender].mintedNFTs) <= WALLETLIMIT, "Error: You would exceed the wallet limit.");
        require(!isContract(msg.sender), "Error: Contracts cannot mint.");
        require(msg.value >= (THEMINTPRICE * _amount), "Error: Not enough ether sent.");
        require(!allowlistClaimed[msg.sender], "Error: You have already claimed all of your NFTs.");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Error: You are not allowlisted.");

        if ( ( _amount + accounts[msg.sender].mintedNFTs ) == WALLETLIMIT ) {
            allowlistClaimed[msg.sender] = true;
        }

        for (uint i = 0; i < _amount; i++) {
            id++;
            accounts[msg.sender].mintedNFTs++;
            _safeMint(msg.sender, id);
            emit Mint(msg.sender, totalSupply());
        }
    } 

    function changeMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    } 

    // (^_^) THE END. (^_^)
    // .--- .. -- .--.-. --. . -. . .-. .- - .. ...- . -. ..-. - ... .-.-.- .. ---

}

File 2 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 3 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 17 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 5 of 17 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
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 Returns the rebuilt hash obtained by traversing a Merklee 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 6 of 17 : 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 7 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../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(uint256 => address) private _owners;

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

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

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

    /**
     * @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 _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[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[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[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[tokenId] = to;

        emit Transfer(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[tokenId];

        emit Transfer(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 of token that is not own");
        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[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[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 {}
}

File 8 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 10 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 17 : 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 12 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 13 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 14 of 17 : 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 15 of 17 : 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 16 of 17 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 17 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"distro","type":"address[]"},{"internalType":"uint256[]","name":"distro_shares","type":"uint256[]"},{"internalType":"address[]","name":"teamclaim","type":"address[]"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","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":"MAXSUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALEISLIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVEDNFTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALEISLIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THEMINTPRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WALLETLIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accounts","outputs":[{"internalType":"uint256","name":"nftsReserved","type":"uint256"},{"internalType":"uint256","name":"mintedNFTs","type":"uint256"},{"internalType":"uint256","name":"isAdmin","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"adminLevelLower","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"adminLevelRaise","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addr","type":"address[]"}],"name":"airDropNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"changeMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"claimReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributeShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"provenanceSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_decreaseReservedBy","type":"uint256"},{"internalType":"address","name":"_addr","type":"address"}],"name":"reservesDecrease","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_increaseReservedBy","type":"uint256"},{"internalType":"address","name":"_addr","type":"address"}],"name":"reservesIncrease","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePresaleActivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePresaleDeactivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePublicActivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePublicDeactivate","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":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newLimit","type":"uint256"}],"name":"setWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405261271060125567011c37937e08000060135560036014556018805463ff00ffff19169055600954601a553480156200003b57600080fd5b5060405162005057380380620050578339810160408190526200005e9162000b49565b8383604051806040016040528060118152602001702ca2a0a91027a3102a2422902ba7a6a0a760791b81525060405180604001604052806004815260200163594f545760e01b815250620000c1620000bb6200074360201b60201c565b62000747565b8151620000d690600190602085019062000985565b508051620000ec90600290602084019062000985565b5050508051825114620001615760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001b45760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000158565b60005b8251811015620002385762000223838281518110620001e657634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200020f57634e487b7160e01b600052603260045260246000fd5b60200260200101516200079760201b60201c565b806200022f8162000cea565b915050620001b7565b505050604051806060016040528060368152602001620050216036913980516200026b9160169160209091019062000985565b50604080516060808201835260008083526020808401828152848601838152338452601d808452878520965187559151600180880191909155905160029096019590955585519384018652607884529083018290529382019290925284519092919085908290620002ec57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010155604082015181600201559050506040518060600160405280600f8152602001600081526020016002815250601d6000846001815181106200037957634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010155604082015181600201559050506040518060600160405280600f8152602001600081526020016001815250601d6000846002815181106200040657634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010155604082015181600201559050506040518060600160405280600f8152602001600081526020016001815250601d6000846003815181106200049357634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010155604082015181600201559050506040518060600160405280600f8152602001600081526020016001815250601d6000846004815181106200052057634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010155604082015181600201559050506040518060600160405280600f8152602001600081526020016001815250601d600084600581518110620005ad57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155905050604051806060016040528060148152602001600081526020016001815250601d6000846006815181106200063a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155905050604051806060016040528060058152602001600081526020016001815250601d600084600781518110620006c757634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b031682528181019290925260409081016000208351815583830151600182015592015160029092019190915560dc60195584516200071f91601e919087019062000a14565b5082516200073590601f90602086019062000a6c565b50601b555062000d34915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620008045760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000158565b60008111620008565760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000158565b6001600160a01b0382166000908152600d602052604090205415620008d25760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000158565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b546200093c90829062000c92565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620009939062000cad565b90600052602060002090601f016020900481019282620009b7576000855562000a02565b82601f10620009d257805160ff191683800117855562000a02565b8280016001018555821562000a02579182015b8281111562000a02578251825591602001919060010190620009e5565b5062000a1092915062000aa9565b5090565b82805482825590600052602060002090810192821562000a02579160200282015b8281111562000a0257825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000a35565b82805482825590600052602060002090810192821562000a02579160200282018281111562000a02578251825591602001919060010190620009e5565b5b8082111562000a10576000815560010162000aaa565b600082601f83011262000ad1578081fd5b8151602062000aea62000ae48362000c6c565b62000c39565b828152818101908583018385028701840188101562000b07578586fd5b855b8581101562000b3c5781516001600160a01b038116811462000b29578788fd5b8452928401929084019060010162000b09565b5090979650505050505050565b6000806000806080858703121562000b5f578384fd5b84516001600160401b038082111562000b76578586fd5b62000b848883890162000ac0565b955060209150818701518181111562000b9b578586fd5b8701601f8101891362000bac578586fd5b805162000bbd62000ae48262000c6c565b81815284810190838601868402850187018d101562000bda57898afd5b8994505b8385101562000bfe57805183526001949094019391860191860162000bde565b5060408b015190985094505050508082111562000c19578384fd5b5062000c288782880162000ac0565b606096909601519497939650505050565b604051601f8201601f191681016001600160401b038111828210171562000c645762000c6462000d1e565b604052919050565b60006001600160401b0382111562000c885762000c8862000d1e565b5060209081020190565b6000821982111562000ca85762000ca862000d08565b500190565b60028104600182168062000cc257607f821691505b6020821081141562000ce457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000d015762000d0162000d08565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6142dd8062000d446000396000f3fe6080604052600436106103bc5760003560e01c806370a08231116101f2578063b88d4fde1161010d578063ebcea3db116100a0578063f8901d0a1161006f578063f8901d0a14610b91578063fab91dab14610ba6578063fc15ad0614610bbc578063ff1b655614610bdc57610405565b8063ebcea3db14610b11578063f1d5f51714610b31578063f2fde38b14610b51578063f4a0a52814610b7157610405565b8063d79779b2116100dc578063d79779b214610a91578063e33b7de314610ac7578063e8a3d48514610adc578063e985e9c514610af157610405565b8063b88d4fde146109fb578063c656f99414610a1b578063c87b56dd14610a3b578063ce7c2ac214610a5b57610405565b8063938e3d7b11610185578063a22cb46511610154578063a22cb46514610987578063a7f93ebd146109a7578063a8381855146109bc578063ab38b819146109dc57610405565b8063938e3d7b1461090957806395d89b41146109295780639852595c1461093e578063a0712d681461097457610405565b80638835f037116101c15780638835f037146108915780638b83209b146108ab5780638da5cb5b146108cb5780639367370b146108e957610405565b806370a0823114610831578063715018a614610851578063758b4e861461086657806386b06a401461087c57610405565b80633a98ef39116102e257806349590657116102755780636352211e116102445780636352211e146107c6578063664cabcd146107e65780636cbd34bd146107fb5780636f8b44b01461081157610405565b8063495906571461071a5780634f6ccce71461072f57806355f804b31461074f5780635e5c06e21461076f57610405565b806342842e0e116102b157806342842e0e1461068e57806342966c68146106ae578063429e3846146106e557806348b75044146106fa57610405565b80633a98ef39146105fd5780633b555e1414610612578063406072a914610632578063409b06b51461067857610405565b80631e733c9c1161035a5780632eb4a7ab116103295780632eb4a7ab146105825780632f745c5914610598578063306e9f6a146105b857806330b42ec2146105cd57610405565b80631e733c9c1461050d578063205897991461052d57806323b872dd1461054257806326f8f7e61461056257610405565b8063095ea7b311610396578063095ea7b3146104995780631338a83f146104bb57806318160ddd146104ce57806319165587146104ed57610405565b806301ffc9a71461040a57806306fdde031461043f578063081812fc1461046157610405565b36610405577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561041657600080fd5b5061042a610425366004613cf4565b610bf1565b60405190151581526020015b60405180910390f35b34801561044b57600080fd5b50610454610c1e565b6040516104369190613e74565b34801561046d57600080fd5b5061048161047c366004613cdc565b610cb0565b6040516001600160a01b039091168152602001610436565b3480156104a557600080fd5b506104b96104b4366004613b6d565b610d4a565b005b6104b96104c9366004613c4b565b610e60565b3480156104da57600080fd5b506009545b604051908152602001610436565b3480156104f957600080fd5b506104b9610508366004613a2f565b61126b565b34801561051957600080fd5b506104b9610528366004613d9c565b611399565b34801561053957600080fd5b506104b96114db565b34801561054e57600080fd5b506104b961055d366004613a83565b61151c565b34801561056e57600080fd5b506104b961057d366004613cdc565b61154d565b34801561058e57600080fd5b506104df601b5481565b3480156105a457600080fd5b506104df6105b3366004613b6d565b6117c4565b3480156105c457600080fd5b506104b961185a565b3480156105d957600080fd5b5061042a6105e8366004613a2f565b601c6020526000908152604090205460ff1681565b34801561060957600080fd5b50600b546104df565b34801561061e57600080fd5b506104b961062d366004613a2f565b611898565b34801561063e57600080fd5b506104df61064d366004613d2c565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561068457600080fd5b506104df60145481565b34801561069a57600080fd5b506104b96106a9366004613a83565b6118f1565b3480156106ba57600080fd5b506106ce6106c9366004613cdc565b61190c565b604080519215158352602083019190915201610436565b3480156106f157600080fd5b506104b9611a05565b34801561070657600080fd5b506104b9610715366004613d2c565b611a97565b34801561072657600080fd5b50601b546104df565b34801561073b57600080fd5b506104df61074a366004613cdc565b611c7f565b34801561075b57600080fd5b506104b961076a366004613d3e565b611d20565b34801561077b57600080fd5b506107ab61078a366004613a2f565b601d6020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610436565b3480156107d257600080fd5b506104816107e1366004613cdc565b611d65565b3480156107f257600080fd5b506104b9611ddc565b34801561080757600080fd5b506104df60195481565b34801561081d57600080fd5b506104b961082c366004613cdc565b611e1b565b34801561083d57600080fd5b506104df61084c366004613a2f565b611eb6565b34801561085d57600080fd5b506104b9611f3d565b34801561087257600080fd5b506104df60125481565b34801561088857600080fd5b506104b9611f73565b34801561089d57600080fd5b5060185461042a9060ff1681565b3480156108b757600080fd5b506104816108c6366004613cdc565b611fb2565b3480156108d757600080fd5b506000546001600160a01b0316610481565b3480156108f557600080fd5b506104b9610904366004613d3e565b611ff0565b34801561091557600080fd5b506104b9610924366004613d3e565b612044565b34801561093557600080fd5b50610454612081565b34801561094a57600080fd5b506104df610959366004613a2f565b6001600160a01b03166000908152600e602052604090205490565b6104b9610982366004613cdc565b612090565b34801561099357600080fd5b506104b96109a2366004613b40565b612310565b3480156109b357600080fd5b506013546104df565b3480156109c857600080fd5b506104b96109d7366004613d9c565b61231b565b3480156109e857600080fd5b5060185461042a90610100900460ff1681565b348015610a0757600080fd5b506104b9610a16366004613ac3565b61248d565b348015610a2757600080fd5b506104b9610a36366004613a2f565b6124c5565b348015610a4757600080fd5b50610454610a56366004613cdc565b612516565b348015610a6757600080fd5b506104df610a76366004613a2f565b6001600160a01b03166000908152600d602052604090205490565b348015610a9d57600080fd5b506104df610aac366004613a2f565b6001600160a01b031660009081526010602052604090205490565b348015610ad357600080fd5b50600c546104df565b348015610ae857600080fd5b506104546125f1565b348015610afd57600080fd5b5061042a610b0c366004613a4b565b612600565b348015610b1d57600080fd5b506104b9610b2c366004613cdc565b61262e565b348015610b3d57600080fd5b506104b9610b4c366004613cdc565b61265d565b348015610b5d57600080fd5b506104b9610b6c366004613a2f565b61268c565b348015610b7d57600080fd5b506104b9610b8c366004613cdc565b612724565b348015610b9d57600080fd5b506104b9612753565b348015610bb257600080fd5b506104df60135481565b348015610bc857600080fd5b506104b9610bd7366004613b98565b612796565b348015610be857600080fd5b506104546128d8565b60006001600160e01b0319821663780e9d6360e01b1480610c165750610c1682612966565b90505b919050565b606060018054610c2d906141a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c59906141a2565b8015610ca65780601f10610c7b57610100808354040283529160200191610ca6565b820191906000526020600020905b815481529060010190602001808311610c8957829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610d2e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610d5582611d65565b9050806001600160a01b0316836001600160a01b03161415610dc35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d25565b336001600160a01b0382161480610ddf5750610ddf8133610b0c565b610e515760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d25565b610e5b83836129b6565b505050565b60185462010000900460ff1615610eb25760405162461bcd60e51b815260206004820152601660248201527522b93937b91d10273790393296b2b73a3930b731bc9760511b6044820152606401610d25565b6018805462ff0000191662010000179081905560ff16610f205760405162461bcd60e51b8152602060048201526024808201527f4572726f723a20416c6c6f776c6973742053616c65206973206e6f742061637460448201526334bb329760e11b6064820152608401610d25565b601954601254610f309190614148565b81610f3a60095490565b610f4491906140fd565b1115610f625760405162461bcd60e51b8152600401610d2590613e87565b601454336000908152601d6020526040902060010154610f8290836140fd565b1115610fa05760405162461bcd60e51b8152600401610d2590613fb2565b333b15610fef5760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a20436f6e7472616374732063616e6e6f74206d696e742e0000006044820152606401610d25565b80601354610ffd9190614129565b34101561104c5760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a204e6f7420656e6f7567682065746865722073656e742e0000006044820152606401610d25565b336000908152601c602052604090205460ff16156110c65760405162461bcd60e51b815260206004820152603160248201527f4572726f723a20596f75206861766520616c726561647920636c61696d65642060448201527030b6361037b3103cb7bab91027232a399760791b6064820152608401610d25565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061114084848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b549150849050612a24565b61118c5760405162461bcd60e51b815260206004820152601f60248201527f4572726f723a20596f7520617265206e6f7420616c6c6f776c69737465642e006044820152606401610d25565b601454336000908152601d60205260409020600101546111ac90846140fd565b14156111cd57336000908152601c60205260409020805460ff191660011790555b60005b8281101561125857601a80549060006111e8836141dd565b9091555050336000908152601d6020526040812060010180549161120b836141dd565b919050555061121c33601a54612a3a565b3360008051602061428883398151915261123560095490565b60405190815260200160405180910390a280611250816141dd565b9150506111d0565b50506018805462ff000019169055505050565b6001600160a01b0381166000908152600d60205260409020546112a05760405162461bcd60e51b8152600401610d2590613f21565b60006112ab600c5490565b6112b590476140fd565b905060006112e283836112dd866001600160a01b03166000908152600e602052604090205490565b612a54565b9050806113015760405162461bcd60e51b8152600401610d2590613f67565b6001600160a01b0383166000908152600e6020526040812080548392906113299084906140fd565b9250508190555080600c600082825461134291906140fd565b9091555061135290508382612a9a565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6000546001600160a01b031633146113c35760405162461bcd60e51b8152600401610d2590613ffb565b601254826113d060095490565b6019546113dd91906140fd565b6113e791906140fd565b11156114465760405162461bcd60e51b815260206004820152602860248201527f4572726f723a205468697320776f756c642065786365656420746865206d61786044820152671039bab838363c9760c11b6064820152608401610d25565b816019600082825461145891906140fd565b90915550506001600160a01b0381166000908152601d6020526040812080548492906114859084906140fd565b90915550506001600160a01b0381166000908152601d60205260409020600201546114d7576001600160a01b0381166000908152601d602052604081206002018054916114d1836141dd565b91905055505b5050565b336000908152601d602052604090206002015460011061150d5760405162461bcd60e51b8152600401610d2590614081565b6018805460ff19166001179055565b6115263382612bb3565b6115425760405162461bcd60e51b8152600401610d2590614030565b610e5b838383612c82565b336000908152601d60205260409020600201546115c05760405162461bcd60e51b815260206004820152602b60248201527f4572726f723a204c6576656c2031282b292061646d696e20636c656172616e6360448201526a32903932b8bab4b932b21760a91b6064820152608401610d25565b6000811161161c5760405162461bcd60e51b8152602060048201526024808201527f4572726f723a204e65656420746f20686176652072657365727665642073757060448201526338363c9760e11b6064820152608401610d25565b336000908152601d60205260409020548111156116a3576040805162461bcd60e51b81526020600482015260248101919091527f4572726f723a20596f752061726520747279696e6720746f20636c61696d206d60448201527f6f7265204e465473207468616e20796f7520686176652072657365727665642e6064820152608401610d25565b601254816116b060095490565b6116ba91906140fd565b111561171e5760405162461bcd60e51b815260206004820152602d60248201527f4572726f723a20596f7520776f756c642065786365656420746865206d61782060448201526c39bab838363c903634b6b4ba1760991b6064820152608401610d25565b336000908152601d60205260408120805483929061173d908490614148565b9250508190555080601960008282546117569190614148565b90915550600090505b818110156114d757601a8054906000611777836141dd565b919050555061178833601a54612a3a565b336000805160206142888339815191526117a160095490565b60405190815260200160405180910390a2806117bc816141dd565b91505061175f565b60006117cf83611eb6565b82106118315760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d25565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b336000908152601d602052604090206002015460011061188c5760405162461bcd60e51b8152600401610d2590614081565b6018805460ff19169055565b6000546001600160a01b031633146118c25760405162461bcd60e51b8152600401610d2590613ffb565b6001600160a01b0381166000908152601d602052604081206002018054916118e98361418b565b919050555050565b610e5b8383836040518060200160405280600081525061248d565b60008061191883611d65565b6001600160a01b0316336001600160a01b03161480611950575061193b83610cb0565b6001600160a01b0316336001600160a01b0316145b80611968575061196861196284611d65565b33612600565b6119c75760405162461bcd60e51b815260206004820152602a60248201527f4572726f723a20596f75206d757374206f776e207468697320746f6b656e20746044820152693790313ab9371034ba1760b11b6064820152608401610d25565b6119d083612e2d565b604051839033907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca590600090a3506001905091565b336000908152601d6020526040902060020154600110611a375760405162461bcd60e51b8152600401610d2590614081565b60005b601e54811015611a9457611a82601e8281548110611a6857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031661126b565b80611a8c816141dd565b915050611a3a565b50565b6001600160a01b0381166000908152600d6020526040902054611acc5760405162461bcd60e51b8152600401610d2590613f21565b6001600160a01b0382166000908152601060205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b158015611b2457600080fd5b505afa158015611b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5c9190613d84565b611b6691906140fd565b90506000611b9f83836112dd87876001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b905080611bbe5760405162461bcd60e51b8152600401610d2590613f67565b6001600160a01b03808516600090815260116020908152604080832093871683529290529081208054839290611bf59084906140fd565b90915550506001600160a01b03841660009081526010602052604081208054839290611c229084906140fd565b90915550611c339050848483612ed4565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000611c8a60095490565b8210611ced5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d25565b60098281548110611d0e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b336000908152601d6020526040902060020154600110611d525760405162461bcd60e51b8152600401610d2590614081565b80516114d790601690602084019061393e565b6000818152600360205260408120546001600160a01b031680610c165760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d25565b6000546001600160a01b03163314611e065760405162461bcd60e51b8152600401610d2590613ffb565b6018805463ff00000019166301000000179055565b6000546001600160a01b03163314611e455760405162461bcd60e51b8152600401610d2590613ffb565b601254811115611eb15760405162461bcd60e51b815260206004820152603160248201527f4572726f723a204e6577206d617820737570706c792063616e6e6f742065786360448201527032b2b21037b934b3b4b730b61036b0bc1760791b6064820152608401610d25565b601255565b60006001600160a01b038216611f215760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d25565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314611f675760405162461bcd60e51b8152600401610d2590613ffb565b611f716000612f26565b565b336000908152601d6020526040902060020154600110611fa55760405162461bcd60e51b8152600401610d2590614081565b6018805461ff0019169055565b6000600f8281548110611fd557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b6000546001600160a01b0316331461201a5760405162461bcd60e51b8152600401610d2590613ffb565b6018546301000000900460ff161561203157600080fd5b80516114d790601590602084019061393e565b6000546001600160a01b0316331461206e5760405162461bcd60e51b8152600401610d2590613ffb565b80516114d790601790602084019061393e565b606060028054610c2d906141a2565b60185462010000900460ff16156120e25760405162461bcd60e51b815260206004820152601660248201527522b93937b91d10273790393296b2b73a3930b731bc9760511b6044820152606401610d25565b6018805462ff00001916620100001790819055610100900460ff166121495760405162461bcd60e51b815260206004820152601a60248201527f4572726f723a2053616c65206973206e6f74206163746976652e0000000000006044820152606401610d25565b6019546012546121599190614148565b8161216360095490565b61216d91906140fd565b111561218b5760405162461bcd60e51b8152600401610d2590613e87565b601454336000908152601d60205260409020600101546121ab90836140fd565b11156121c95760405162461bcd60e51b8152600401610d2590613fb2565b333b156122185760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a20436f6e7472616374732063616e6e6f74206d696e742e0000006044820152606401610d25565b806013546122269190614129565b3410156122755760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a204e6f7420656e6f7567682065746865722073656e742e0000006044820152606401610d25565b60005b8181101561230057601a8054906000612290836141dd565b9091555050336000908152601d602052604081206001018054916122b3836141dd565b91905055506122c433601a54612a3a565b336000805160206142888339815191526122dd60095490565b60405190815260200160405180910390a2806122f8816141dd565b915050612278565b50506018805462ff000019169055565b6114d7338383612f76565b6000546001600160a01b031633146123455760405162461bcd60e51b8152600401610d2590613ffb565b6000826019546123559190614148565b10156123b85760405162461bcd60e51b815260206004820152602c60248201527f4572726f723a205468697320776f756c64206d616b652072657365727665642060448201526b3632b9b9903a3430b710181760a11b6064820152608401610d25565b6001600160a01b0381166000908152601d60205260408120546123dc908490614148565b10156124455760405162461bcd60e51b815260206004820152603260248201527f4572726f723a205573657220646f6573206e6f7420686176652074686973206d60448201527130b73c903932b9b2b93b32b21027232a399760711b6064820152608401610d25565b81601960008282546124579190614148565b90915550506001600160a01b0381166000908152601d602052604081208054849290612484908490614148565b90915550505050565b6124973383612bb3565b6124b35760405162461bcd60e51b8152600401610d2590614030565b6124bf84848484613045565b50505050565b6000546001600160a01b031633146124ef5760405162461bcd60e51b8152600401610d2590613ffb565b6001600160a01b0381166000908152601d602052604081206002018054916118e9836141dd565b6000818152600360205260409020546060906001600160a01b03166125955760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d25565b600061259f613078565b905060008151116125bf57604051806020016040528060008152506125ea565b806125c984613087565b6040516020016125da929190613e08565b6040516020818303038152906040525b9392505050565b606060178054610c2d906141a2565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b031633146126585760405162461bcd60e51b8152600401610d2590613ffb565b601b55565b6000546001600160a01b031633146126875760405162461bcd60e51b8152600401610d2590613ffb565b601455565b6000546001600160a01b031633146126b65760405162461bcd60e51b8152600401610d2590613ffb565b6001600160a01b03811661271b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d25565b611a9481612f26565b6000546001600160a01b0316331461274e5760405162461bcd60e51b8152600401610d2590613ffb565b601355565b336000908152601d60205260409020600201546001106127855760405162461bcd60e51b8152600401610d2590614081565b6018805461ff001916610100179055565b336000908152601d60205260409020600201546001106127c85760405162461bcd60e51b8152600401610d2590614081565b6019546012546127d89190614148565b81516009546127e791906140fd565b11156128485760405162461bcd60e51b815260206004820152602a60248201527f4572726f723a20596f7520776f756c64206578636565642074686520616972646044820152693937b8103634b6b4ba1760b11b6064820152608401610d25565b60005b81518110156114d757601a8054906000612864836141dd565b919050555061289c82828151811061288c57634e487b7160e01b600052603260045260246000fd5b6020026020010151601a54612a3a565b336000805160206142888339815191526128b560095490565b60405190815260200160405180910390a2806128d0816141dd565b91505061284b565b601580546128e5906141a2565b80601f0160208091040260200160405190810160405280929190818152602001828054612911906141a2565b801561295e5780601f106129335761010080835404028352916020019161295e565b820191906000526020600020905b81548152906001019060200180831161294157829003601f168201915b505050505081565b60006001600160e01b031982166380ac58cd60e01b148061299757506001600160e01b03198216635b5e139f60e01b145b80610c1657506301ffc9a760e01b6001600160e01b0319831614610c16565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906129eb82611d65565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082612a3185846131a2565b14949350505050565b6114d782826040518060200160405280600081525061325c565b600b546001600160a01b0384166000908152600d602052604081205490918391612a7e9086614129565b612a889190614115565b612a929190614148565b949350505050565b80471015612aea5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d25565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b37576040519150601f19603f3d011682016040523d82523d6000602084013e612b3c565b606091505b5050905080610e5b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d25565b6000818152600360205260408120546001600160a01b0316612c2c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d25565b6000612c3783611d65565b9050806001600160a01b0316846001600160a01b03161480612c725750836001600160a01b0316612c6784610cb0565b6001600160a01b0316145b80612a925750612a928185612600565b826001600160a01b0316612c9582611d65565b6001600160a01b031614612cfd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d25565b6001600160a01b038216612d5f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d25565b612d6a83838361328f565b612d756000826129b6565b6001600160a01b0383166000908152600460205260408120805460019290612d9e908490614148565b90915550506001600160a01b0382166000908152600460205260408120805460019290612dcc9084906140fd565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000612e3882611d65565b9050612e468160008461328f565b612e516000836129b6565b6001600160a01b0381166000908152600460205260408120805460019290612e7a908490614148565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e5b90849061334c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03161415612fd85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d25565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613050848484612c82565b61305c8484848461341e565b6124bf5760405162461bcd60e51b8152600401610d2590613ecf565b606060168054610c2d906141a2565b6060816130ac57506040805180820190915260018152600360fc1b6020820152610c19565b8160005b81156130d657806130c0816141dd565b91506130cf9050600a83614115565b91506130b0565b60008167ffffffffffffffff8111156130ff57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613129576020820181803683370190505b5090505b8415612a925761313e600183614148565b915061314b600a866141f8565b6131569060306140fd565b60f81b81838151811061317957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061319b600a86614115565b945061312d565b600081815b84518110156132545760008582815181106131d257634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311613214576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250613241565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061324c816141dd565b9150506131a7565b509392505050565b613266838361352b565b613273600084848461341e565b610e5b5760405162461bcd60e51b8152600401610d2590613ecf565b6001600160a01b0383166132ea576132e581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b61330d565b816001600160a01b0316836001600160a01b03161461330d5761330d8382613679565b6001600160a01b0382166133295761332481613716565b610e5b565b826001600160a01b0316826001600160a01b031614610e5b57610e5b82826137ef565b60006133a1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166138339092919063ffffffff16565b805190915015610e5b57808060200190518101906133bf9190613cc0565b610e5b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d25565b60006001600160a01b0384163b1561352057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613462903390899088908890600401613e37565b602060405180830381600087803b15801561347c57600080fd5b505af19250505080156134ac575060408051601f3d908101601f191682019092526134a991810190613d10565b60015b613506573d8080156134da576040519150601f19603f3d011682016040523d82523d6000602084013e6134df565b606091505b5080516134fe5760405162461bcd60e51b8152600401610d2590613ecf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612a92565b506001949350505050565b6001600160a01b0382166135815760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d25565b6000818152600360205260409020546001600160a01b0316156135e65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d25565b6135f26000838361328f565b6001600160a01b038216600090815260046020526040812080546001929061361b9084906140fd565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161368684611eb6565b6136909190614148565b6000838152600860205260409020549091508082146136e3576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061372890600190614148565b6000838152600a60205260408120546009805493945090928490811061375e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061378d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806137d357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006137fa83611eb6565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6060612a92848460008585843b61388c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d25565b600080866001600160a01b031685876040516138a89190613dec565b60006040518083038185875af1925050503d80600081146138e5576040519150601f19603f3d011682016040523d82523d6000602084013e6138ea565b606091505b50915091506138fa828286613905565b979650505050505050565b606083156139145750816125ea565b8251156139245782518084602001fd5b8160405162461bcd60e51b8152600401610d259190613e74565b82805461394a906141a2565b90600052602060002090601f01602090048101928261396c57600085556139b2565b82601f1061398557805160ff19168380011785556139b2565b828001600101855582156139b2579182015b828111156139b2578251825591602001919060010190613997565b506139be9291506139c2565b5090565b5b808211156139be57600081556001016139c3565b600067ffffffffffffffff8311156139f1576139f1614238565b613a04601f8401601f19166020016140cc565b9050828152838383011115613a1857600080fd5b828260208301376000602084830101529392505050565b600060208284031215613a40578081fd5b81356125ea8161424e565b60008060408385031215613a5d578081fd5b8235613a688161424e565b91506020830135613a788161424e565b809150509250929050565b600080600060608486031215613a97578081fd5b8335613aa28161424e565b92506020840135613ab28161424e565b929592945050506040919091013590565b60008060008060808587031215613ad8578081fd5b8435613ae38161424e565b93506020850135613af38161424e565b925060408501359150606085013567ffffffffffffffff811115613b15578182fd5b8501601f81018713613b25578182fd5b613b34878235602084016139d7565b91505092959194509250565b60008060408385031215613b52578182fd5b8235613b5d8161424e565b91506020830135613a7881614263565b60008060408385031215613b7f578182fd5b8235613b8a8161424e565b946020939093013593505050565b60006020808385031215613baa578182fd5b823567ffffffffffffffff80821115613bc1578384fd5b818501915085601f830112613bd4578384fd5b813581811115613be657613be6614238565b8381029150613bf68483016140cc565b8181528481019084860184860187018a1015613c10578788fd5b8795505b83861015613c3e5780359450613c298561424e565b84835260019590950194918601918601613c14565b5098975050505050505050565b600080600060408486031215613c5f578081fd5b833567ffffffffffffffff80821115613c76578283fd5b818601915086601f830112613c89578283fd5b813581811115613c97578384fd5b8760208083028501011115613caa578384fd5b6020928301989097509590910135949350505050565b600060208284031215613cd1578081fd5b81516125ea81614263565b600060208284031215613ced578081fd5b5035919050565b600060208284031215613d05578081fd5b81356125ea81614271565b600060208284031215613d21578081fd5b81516125ea81614271565b60008060408385031215613a5d578182fd5b600060208284031215613d4f578081fd5b813567ffffffffffffffff811115613d65578182fd5b8201601f81018413613d75578182fd5b612a92848235602084016139d7565b600060208284031215613d95578081fd5b5051919050565b60008060408385031215613dae578182fd5b823591506020830135613a788161424e565b60008151808452613dd881602086016020860161415f565b601f01601f19169290920160200192915050565b60008251613dfe81846020870161415f565b9190910192915050565b60008351613e1a81846020880161415f565b835190830190613e2e81836020880161415f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613e6a90830184613dc0565b9695505050505050565b6000602082526125ea6020830184613dc0565b60208082526028908201527f4572726f723a20507572636861736520776f756c6420657863656564206d61786040820152671039bab838363c9760c11b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526029908201527f4572726f723a20596f7520776f756c6420657863656564207468652077616c6c60408201526832ba103634b6b4ba1760b91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602b908201527f4572726f723a204c6576656c2032282b292061646d696e20636c656172616e6360408201526a32903932b8bab4b932b21760a91b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156140f5576140f5614238565b604052919050565b600082198211156141105761411061420c565b500190565b60008261412457614124614222565b500490565b60008160001904831182151516156141435761414361420c565b500290565b60008282101561415a5761415a61420c565b500390565b60005b8381101561417a578181015183820152602001614162565b838111156124bf5750506000910152565b60008161419a5761419a61420c565b506000190190565b6002810460018216806141b657607f821691505b602082108114156141d757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156141f1576141f161420c565b5060010190565b60008261420757614207614222565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611a9457600080fd5b8015158114611a9457600080fd5b6001600160e01b031981168114611a9457600080fdfe0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885a264697066735822122058ead7376027771a3f8ef740d878513b35dafae34fdacff53d070168ec662b6464736f6c63430008020033697066733a2f2f516d6546687557314c6a445450347a7969507248665a43767a38365a425248505968466d736d6676334e695a385a2f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000200a1679b39ccb074e4128834a9cf575425bcc0f2811d05debac2f78c73376c71620000000000000000000000000000000000000000000000000000000000000005000000000000000000000000ad6d89bd6d1e886a6cc08c838a5843a613151aa6000000000000000000000000a287df004974aa012dc63fc9d689316229b2134000000000000000000000000016217aa4cf0d52c8bf28ae537a13f17593ea69f00000000000000000000000005a8647b72a9a5b5952c69d3224e8a4da00806556000000000000000000000000ad03955571143d87a8997cf7171093c42d8a8de500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000025800000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000008000000000000000000000000ad6d89bd6d1e886a6cc08c838a5843a613151aa6000000000000000000000000402905d2aa5d66515d51faf2dfa4e350634dd20a000000000000000000000000c8d0fe959355100a62e77911c1fe05eefd4f0bbf0000000000000000000000003dc8a89ce685515c0691fb6c0766261553eab73e00000000000000000000000002c65175f7daf40be976e4fa54842b08149d8c6d00000000000000000000000047e2e4aa911a75006076986d09741a48f12c2526000000000000000000000000bbea2edb1eb8dba31d69eaeea328b8a59c65da58000000000000000000000000e026f4bee7b2f3b2f95fb1e2be5b818036316ede

Deployed Bytecode

0x6080604052600436106103bc5760003560e01c806370a08231116101f2578063b88d4fde1161010d578063ebcea3db116100a0578063f8901d0a1161006f578063f8901d0a14610b91578063fab91dab14610ba6578063fc15ad0614610bbc578063ff1b655614610bdc57610405565b8063ebcea3db14610b11578063f1d5f51714610b31578063f2fde38b14610b51578063f4a0a52814610b7157610405565b8063d79779b2116100dc578063d79779b214610a91578063e33b7de314610ac7578063e8a3d48514610adc578063e985e9c514610af157610405565b8063b88d4fde146109fb578063c656f99414610a1b578063c87b56dd14610a3b578063ce7c2ac214610a5b57610405565b8063938e3d7b11610185578063a22cb46511610154578063a22cb46514610987578063a7f93ebd146109a7578063a8381855146109bc578063ab38b819146109dc57610405565b8063938e3d7b1461090957806395d89b41146109295780639852595c1461093e578063a0712d681461097457610405565b80638835f037116101c15780638835f037146108915780638b83209b146108ab5780638da5cb5b146108cb5780639367370b146108e957610405565b806370a0823114610831578063715018a614610851578063758b4e861461086657806386b06a401461087c57610405565b80633a98ef39116102e257806349590657116102755780636352211e116102445780636352211e146107c6578063664cabcd146107e65780636cbd34bd146107fb5780636f8b44b01461081157610405565b8063495906571461071a5780634f6ccce71461072f57806355f804b31461074f5780635e5c06e21461076f57610405565b806342842e0e116102b157806342842e0e1461068e57806342966c68146106ae578063429e3846146106e557806348b75044146106fa57610405565b80633a98ef39146105fd5780633b555e1414610612578063406072a914610632578063409b06b51461067857610405565b80631e733c9c1161035a5780632eb4a7ab116103295780632eb4a7ab146105825780632f745c5914610598578063306e9f6a146105b857806330b42ec2146105cd57610405565b80631e733c9c1461050d578063205897991461052d57806323b872dd1461054257806326f8f7e61461056257610405565b8063095ea7b311610396578063095ea7b3146104995780631338a83f146104bb57806318160ddd146104ce57806319165587146104ed57610405565b806301ffc9a71461040a57806306fdde031461043f578063081812fc1461046157610405565b36610405577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561041657600080fd5b5061042a610425366004613cf4565b610bf1565b60405190151581526020015b60405180910390f35b34801561044b57600080fd5b50610454610c1e565b6040516104369190613e74565b34801561046d57600080fd5b5061048161047c366004613cdc565b610cb0565b6040516001600160a01b039091168152602001610436565b3480156104a557600080fd5b506104b96104b4366004613b6d565b610d4a565b005b6104b96104c9366004613c4b565b610e60565b3480156104da57600080fd5b506009545b604051908152602001610436565b3480156104f957600080fd5b506104b9610508366004613a2f565b61126b565b34801561051957600080fd5b506104b9610528366004613d9c565b611399565b34801561053957600080fd5b506104b96114db565b34801561054e57600080fd5b506104b961055d366004613a83565b61151c565b34801561056e57600080fd5b506104b961057d366004613cdc565b61154d565b34801561058e57600080fd5b506104df601b5481565b3480156105a457600080fd5b506104df6105b3366004613b6d565b6117c4565b3480156105c457600080fd5b506104b961185a565b3480156105d957600080fd5b5061042a6105e8366004613a2f565b601c6020526000908152604090205460ff1681565b34801561060957600080fd5b50600b546104df565b34801561061e57600080fd5b506104b961062d366004613a2f565b611898565b34801561063e57600080fd5b506104df61064d366004613d2c565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561068457600080fd5b506104df60145481565b34801561069a57600080fd5b506104b96106a9366004613a83565b6118f1565b3480156106ba57600080fd5b506106ce6106c9366004613cdc565b61190c565b604080519215158352602083019190915201610436565b3480156106f157600080fd5b506104b9611a05565b34801561070657600080fd5b506104b9610715366004613d2c565b611a97565b34801561072657600080fd5b50601b546104df565b34801561073b57600080fd5b506104df61074a366004613cdc565b611c7f565b34801561075b57600080fd5b506104b961076a366004613d3e565b611d20565b34801561077b57600080fd5b506107ab61078a366004613a2f565b601d6020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610436565b3480156107d257600080fd5b506104816107e1366004613cdc565b611d65565b3480156107f257600080fd5b506104b9611ddc565b34801561080757600080fd5b506104df60195481565b34801561081d57600080fd5b506104b961082c366004613cdc565b611e1b565b34801561083d57600080fd5b506104df61084c366004613a2f565b611eb6565b34801561085d57600080fd5b506104b9611f3d565b34801561087257600080fd5b506104df60125481565b34801561088857600080fd5b506104b9611f73565b34801561089d57600080fd5b5060185461042a9060ff1681565b3480156108b757600080fd5b506104816108c6366004613cdc565b611fb2565b3480156108d757600080fd5b506000546001600160a01b0316610481565b3480156108f557600080fd5b506104b9610904366004613d3e565b611ff0565b34801561091557600080fd5b506104b9610924366004613d3e565b612044565b34801561093557600080fd5b50610454612081565b34801561094a57600080fd5b506104df610959366004613a2f565b6001600160a01b03166000908152600e602052604090205490565b6104b9610982366004613cdc565b612090565b34801561099357600080fd5b506104b96109a2366004613b40565b612310565b3480156109b357600080fd5b506013546104df565b3480156109c857600080fd5b506104b96109d7366004613d9c565b61231b565b3480156109e857600080fd5b5060185461042a90610100900460ff1681565b348015610a0757600080fd5b506104b9610a16366004613ac3565b61248d565b348015610a2757600080fd5b506104b9610a36366004613a2f565b6124c5565b348015610a4757600080fd5b50610454610a56366004613cdc565b612516565b348015610a6757600080fd5b506104df610a76366004613a2f565b6001600160a01b03166000908152600d602052604090205490565b348015610a9d57600080fd5b506104df610aac366004613a2f565b6001600160a01b031660009081526010602052604090205490565b348015610ad357600080fd5b50600c546104df565b348015610ae857600080fd5b506104546125f1565b348015610afd57600080fd5b5061042a610b0c366004613a4b565b612600565b348015610b1d57600080fd5b506104b9610b2c366004613cdc565b61262e565b348015610b3d57600080fd5b506104b9610b4c366004613cdc565b61265d565b348015610b5d57600080fd5b506104b9610b6c366004613a2f565b61268c565b348015610b7d57600080fd5b506104b9610b8c366004613cdc565b612724565b348015610b9d57600080fd5b506104b9612753565b348015610bb257600080fd5b506104df60135481565b348015610bc857600080fd5b506104b9610bd7366004613b98565b612796565b348015610be857600080fd5b506104546128d8565b60006001600160e01b0319821663780e9d6360e01b1480610c165750610c1682612966565b90505b919050565b606060018054610c2d906141a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c59906141a2565b8015610ca65780601f10610c7b57610100808354040283529160200191610ca6565b820191906000526020600020905b815481529060010190602001808311610c8957829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610d2e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610d5582611d65565b9050806001600160a01b0316836001600160a01b03161415610dc35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d25565b336001600160a01b0382161480610ddf5750610ddf8133610b0c565b610e515760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d25565b610e5b83836129b6565b505050565b60185462010000900460ff1615610eb25760405162461bcd60e51b815260206004820152601660248201527522b93937b91d10273790393296b2b73a3930b731bc9760511b6044820152606401610d25565b6018805462ff0000191662010000179081905560ff16610f205760405162461bcd60e51b8152602060048201526024808201527f4572726f723a20416c6c6f776c6973742053616c65206973206e6f742061637460448201526334bb329760e11b6064820152608401610d25565b601954601254610f309190614148565b81610f3a60095490565b610f4491906140fd565b1115610f625760405162461bcd60e51b8152600401610d2590613e87565b601454336000908152601d6020526040902060010154610f8290836140fd565b1115610fa05760405162461bcd60e51b8152600401610d2590613fb2565b333b15610fef5760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a20436f6e7472616374732063616e6e6f74206d696e742e0000006044820152606401610d25565b80601354610ffd9190614129565b34101561104c5760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a204e6f7420656e6f7567682065746865722073656e742e0000006044820152606401610d25565b336000908152601c602052604090205460ff16156110c65760405162461bcd60e51b815260206004820152603160248201527f4572726f723a20596f75206861766520616c726561647920636c61696d65642060448201527030b6361037b3103cb7bab91027232a399760791b6064820152608401610d25565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061114084848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b549150849050612a24565b61118c5760405162461bcd60e51b815260206004820152601f60248201527f4572726f723a20596f7520617265206e6f7420616c6c6f776c69737465642e006044820152606401610d25565b601454336000908152601d60205260409020600101546111ac90846140fd565b14156111cd57336000908152601c60205260409020805460ff191660011790555b60005b8281101561125857601a80549060006111e8836141dd565b9091555050336000908152601d6020526040812060010180549161120b836141dd565b919050555061121c33601a54612a3a565b3360008051602061428883398151915261123560095490565b60405190815260200160405180910390a280611250816141dd565b9150506111d0565b50506018805462ff000019169055505050565b6001600160a01b0381166000908152600d60205260409020546112a05760405162461bcd60e51b8152600401610d2590613f21565b60006112ab600c5490565b6112b590476140fd565b905060006112e283836112dd866001600160a01b03166000908152600e602052604090205490565b612a54565b9050806113015760405162461bcd60e51b8152600401610d2590613f67565b6001600160a01b0383166000908152600e6020526040812080548392906113299084906140fd565b9250508190555080600c600082825461134291906140fd565b9091555061135290508382612a9a565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6000546001600160a01b031633146113c35760405162461bcd60e51b8152600401610d2590613ffb565b601254826113d060095490565b6019546113dd91906140fd565b6113e791906140fd565b11156114465760405162461bcd60e51b815260206004820152602860248201527f4572726f723a205468697320776f756c642065786365656420746865206d61786044820152671039bab838363c9760c11b6064820152608401610d25565b816019600082825461145891906140fd565b90915550506001600160a01b0381166000908152601d6020526040812080548492906114859084906140fd565b90915550506001600160a01b0381166000908152601d60205260409020600201546114d7576001600160a01b0381166000908152601d602052604081206002018054916114d1836141dd565b91905055505b5050565b336000908152601d602052604090206002015460011061150d5760405162461bcd60e51b8152600401610d2590614081565b6018805460ff19166001179055565b6115263382612bb3565b6115425760405162461bcd60e51b8152600401610d2590614030565b610e5b838383612c82565b336000908152601d60205260409020600201546115c05760405162461bcd60e51b815260206004820152602b60248201527f4572726f723a204c6576656c2031282b292061646d696e20636c656172616e6360448201526a32903932b8bab4b932b21760a91b6064820152608401610d25565b6000811161161c5760405162461bcd60e51b8152602060048201526024808201527f4572726f723a204e65656420746f20686176652072657365727665642073757060448201526338363c9760e11b6064820152608401610d25565b336000908152601d60205260409020548111156116a3576040805162461bcd60e51b81526020600482015260248101919091527f4572726f723a20596f752061726520747279696e6720746f20636c61696d206d60448201527f6f7265204e465473207468616e20796f7520686176652072657365727665642e6064820152608401610d25565b601254816116b060095490565b6116ba91906140fd565b111561171e5760405162461bcd60e51b815260206004820152602d60248201527f4572726f723a20596f7520776f756c642065786365656420746865206d61782060448201526c39bab838363c903634b6b4ba1760991b6064820152608401610d25565b336000908152601d60205260408120805483929061173d908490614148565b9250508190555080601960008282546117569190614148565b90915550600090505b818110156114d757601a8054906000611777836141dd565b919050555061178833601a54612a3a565b336000805160206142888339815191526117a160095490565b60405190815260200160405180910390a2806117bc816141dd565b91505061175f565b60006117cf83611eb6565b82106118315760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d25565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b336000908152601d602052604090206002015460011061188c5760405162461bcd60e51b8152600401610d2590614081565b6018805460ff19169055565b6000546001600160a01b031633146118c25760405162461bcd60e51b8152600401610d2590613ffb565b6001600160a01b0381166000908152601d602052604081206002018054916118e98361418b565b919050555050565b610e5b8383836040518060200160405280600081525061248d565b60008061191883611d65565b6001600160a01b0316336001600160a01b03161480611950575061193b83610cb0565b6001600160a01b0316336001600160a01b0316145b80611968575061196861196284611d65565b33612600565b6119c75760405162461bcd60e51b815260206004820152602a60248201527f4572726f723a20596f75206d757374206f776e207468697320746f6b656e20746044820152693790313ab9371034ba1760b11b6064820152608401610d25565b6119d083612e2d565b604051839033907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca590600090a3506001905091565b336000908152601d6020526040902060020154600110611a375760405162461bcd60e51b8152600401610d2590614081565b60005b601e54811015611a9457611a82601e8281548110611a6857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031661126b565b80611a8c816141dd565b915050611a3a565b50565b6001600160a01b0381166000908152600d6020526040902054611acc5760405162461bcd60e51b8152600401610d2590613f21565b6001600160a01b0382166000908152601060205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b158015611b2457600080fd5b505afa158015611b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5c9190613d84565b611b6691906140fd565b90506000611b9f83836112dd87876001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b905080611bbe5760405162461bcd60e51b8152600401610d2590613f67565b6001600160a01b03808516600090815260116020908152604080832093871683529290529081208054839290611bf59084906140fd565b90915550506001600160a01b03841660009081526010602052604081208054839290611c229084906140fd565b90915550611c339050848483612ed4565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000611c8a60095490565b8210611ced5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d25565b60098281548110611d0e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b336000908152601d6020526040902060020154600110611d525760405162461bcd60e51b8152600401610d2590614081565b80516114d790601690602084019061393e565b6000818152600360205260408120546001600160a01b031680610c165760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d25565b6000546001600160a01b03163314611e065760405162461bcd60e51b8152600401610d2590613ffb565b6018805463ff00000019166301000000179055565b6000546001600160a01b03163314611e455760405162461bcd60e51b8152600401610d2590613ffb565b601254811115611eb15760405162461bcd60e51b815260206004820152603160248201527f4572726f723a204e6577206d617820737570706c792063616e6e6f742065786360448201527032b2b21037b934b3b4b730b61036b0bc1760791b6064820152608401610d25565b601255565b60006001600160a01b038216611f215760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d25565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314611f675760405162461bcd60e51b8152600401610d2590613ffb565b611f716000612f26565b565b336000908152601d6020526040902060020154600110611fa55760405162461bcd60e51b8152600401610d2590614081565b6018805461ff0019169055565b6000600f8281548110611fd557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b6000546001600160a01b0316331461201a5760405162461bcd60e51b8152600401610d2590613ffb565b6018546301000000900460ff161561203157600080fd5b80516114d790601590602084019061393e565b6000546001600160a01b0316331461206e5760405162461bcd60e51b8152600401610d2590613ffb565b80516114d790601790602084019061393e565b606060028054610c2d906141a2565b60185462010000900460ff16156120e25760405162461bcd60e51b815260206004820152601660248201527522b93937b91d10273790393296b2b73a3930b731bc9760511b6044820152606401610d25565b6018805462ff00001916620100001790819055610100900460ff166121495760405162461bcd60e51b815260206004820152601a60248201527f4572726f723a2053616c65206973206e6f74206163746976652e0000000000006044820152606401610d25565b6019546012546121599190614148565b8161216360095490565b61216d91906140fd565b111561218b5760405162461bcd60e51b8152600401610d2590613e87565b601454336000908152601d60205260409020600101546121ab90836140fd565b11156121c95760405162461bcd60e51b8152600401610d2590613fb2565b333b156122185760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a20436f6e7472616374732063616e6e6f74206d696e742e0000006044820152606401610d25565b806013546122269190614129565b3410156122755760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a204e6f7420656e6f7567682065746865722073656e742e0000006044820152606401610d25565b60005b8181101561230057601a8054906000612290836141dd565b9091555050336000908152601d602052604081206001018054916122b3836141dd565b91905055506122c433601a54612a3a565b336000805160206142888339815191526122dd60095490565b60405190815260200160405180910390a2806122f8816141dd565b915050612278565b50506018805462ff000019169055565b6114d7338383612f76565b6000546001600160a01b031633146123455760405162461bcd60e51b8152600401610d2590613ffb565b6000826019546123559190614148565b10156123b85760405162461bcd60e51b815260206004820152602c60248201527f4572726f723a205468697320776f756c64206d616b652072657365727665642060448201526b3632b9b9903a3430b710181760a11b6064820152608401610d25565b6001600160a01b0381166000908152601d60205260408120546123dc908490614148565b10156124455760405162461bcd60e51b815260206004820152603260248201527f4572726f723a205573657220646f6573206e6f7420686176652074686973206d60448201527130b73c903932b9b2b93b32b21027232a399760711b6064820152608401610d25565b81601960008282546124579190614148565b90915550506001600160a01b0381166000908152601d602052604081208054849290612484908490614148565b90915550505050565b6124973383612bb3565b6124b35760405162461bcd60e51b8152600401610d2590614030565b6124bf84848484613045565b50505050565b6000546001600160a01b031633146124ef5760405162461bcd60e51b8152600401610d2590613ffb565b6001600160a01b0381166000908152601d602052604081206002018054916118e9836141dd565b6000818152600360205260409020546060906001600160a01b03166125955760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d25565b600061259f613078565b905060008151116125bf57604051806020016040528060008152506125ea565b806125c984613087565b6040516020016125da929190613e08565b6040516020818303038152906040525b9392505050565b606060178054610c2d906141a2565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b031633146126585760405162461bcd60e51b8152600401610d2590613ffb565b601b55565b6000546001600160a01b031633146126875760405162461bcd60e51b8152600401610d2590613ffb565b601455565b6000546001600160a01b031633146126b65760405162461bcd60e51b8152600401610d2590613ffb565b6001600160a01b03811661271b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d25565b611a9481612f26565b6000546001600160a01b0316331461274e5760405162461bcd60e51b8152600401610d2590613ffb565b601355565b336000908152601d60205260409020600201546001106127855760405162461bcd60e51b8152600401610d2590614081565b6018805461ff001916610100179055565b336000908152601d60205260409020600201546001106127c85760405162461bcd60e51b8152600401610d2590614081565b6019546012546127d89190614148565b81516009546127e791906140fd565b11156128485760405162461bcd60e51b815260206004820152602a60248201527f4572726f723a20596f7520776f756c64206578636565642074686520616972646044820152693937b8103634b6b4ba1760b11b6064820152608401610d25565b60005b81518110156114d757601a8054906000612864836141dd565b919050555061289c82828151811061288c57634e487b7160e01b600052603260045260246000fd5b6020026020010151601a54612a3a565b336000805160206142888339815191526128b560095490565b60405190815260200160405180910390a2806128d0816141dd565b91505061284b565b601580546128e5906141a2565b80601f0160208091040260200160405190810160405280929190818152602001828054612911906141a2565b801561295e5780601f106129335761010080835404028352916020019161295e565b820191906000526020600020905b81548152906001019060200180831161294157829003601f168201915b505050505081565b60006001600160e01b031982166380ac58cd60e01b148061299757506001600160e01b03198216635b5e139f60e01b145b80610c1657506301ffc9a760e01b6001600160e01b0319831614610c16565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906129eb82611d65565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082612a3185846131a2565b14949350505050565b6114d782826040518060200160405280600081525061325c565b600b546001600160a01b0384166000908152600d602052604081205490918391612a7e9086614129565b612a889190614115565b612a929190614148565b949350505050565b80471015612aea5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d25565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b37576040519150601f19603f3d011682016040523d82523d6000602084013e612b3c565b606091505b5050905080610e5b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d25565b6000818152600360205260408120546001600160a01b0316612c2c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d25565b6000612c3783611d65565b9050806001600160a01b0316846001600160a01b03161480612c725750836001600160a01b0316612c6784610cb0565b6001600160a01b0316145b80612a925750612a928185612600565b826001600160a01b0316612c9582611d65565b6001600160a01b031614612cfd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d25565b6001600160a01b038216612d5f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d25565b612d6a83838361328f565b612d756000826129b6565b6001600160a01b0383166000908152600460205260408120805460019290612d9e908490614148565b90915550506001600160a01b0382166000908152600460205260408120805460019290612dcc9084906140fd565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000612e3882611d65565b9050612e468160008461328f565b612e516000836129b6565b6001600160a01b0381166000908152600460205260408120805460019290612e7a908490614148565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e5b90849061334c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03161415612fd85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d25565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613050848484612c82565b61305c8484848461341e565b6124bf5760405162461bcd60e51b8152600401610d2590613ecf565b606060168054610c2d906141a2565b6060816130ac57506040805180820190915260018152600360fc1b6020820152610c19565b8160005b81156130d657806130c0816141dd565b91506130cf9050600a83614115565b91506130b0565b60008167ffffffffffffffff8111156130ff57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613129576020820181803683370190505b5090505b8415612a925761313e600183614148565b915061314b600a866141f8565b6131569060306140fd565b60f81b81838151811061317957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061319b600a86614115565b945061312d565b600081815b84518110156132545760008582815181106131d257634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311613214576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250613241565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061324c816141dd565b9150506131a7565b509392505050565b613266838361352b565b613273600084848461341e565b610e5b5760405162461bcd60e51b8152600401610d2590613ecf565b6001600160a01b0383166132ea576132e581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b61330d565b816001600160a01b0316836001600160a01b03161461330d5761330d8382613679565b6001600160a01b0382166133295761332481613716565b610e5b565b826001600160a01b0316826001600160a01b031614610e5b57610e5b82826137ef565b60006133a1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166138339092919063ffffffff16565b805190915015610e5b57808060200190518101906133bf9190613cc0565b610e5b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d25565b60006001600160a01b0384163b1561352057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613462903390899088908890600401613e37565b602060405180830381600087803b15801561347c57600080fd5b505af19250505080156134ac575060408051601f3d908101601f191682019092526134a991810190613d10565b60015b613506573d8080156134da576040519150601f19603f3d011682016040523d82523d6000602084013e6134df565b606091505b5080516134fe5760405162461bcd60e51b8152600401610d2590613ecf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612a92565b506001949350505050565b6001600160a01b0382166135815760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d25565b6000818152600360205260409020546001600160a01b0316156135e65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d25565b6135f26000838361328f565b6001600160a01b038216600090815260046020526040812080546001929061361b9084906140fd565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161368684611eb6565b6136909190614148565b6000838152600860205260409020549091508082146136e3576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061372890600190614148565b6000838152600a60205260408120546009805493945090928490811061375e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061378d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806137d357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006137fa83611eb6565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6060612a92848460008585843b61388c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d25565b600080866001600160a01b031685876040516138a89190613dec565b60006040518083038185875af1925050503d80600081146138e5576040519150601f19603f3d011682016040523d82523d6000602084013e6138ea565b606091505b50915091506138fa828286613905565b979650505050505050565b606083156139145750816125ea565b8251156139245782518084602001fd5b8160405162461bcd60e51b8152600401610d259190613e74565b82805461394a906141a2565b90600052602060002090601f01602090048101928261396c57600085556139b2565b82601f1061398557805160ff19168380011785556139b2565b828001600101855582156139b2579182015b828111156139b2578251825591602001919060010190613997565b506139be9291506139c2565b5090565b5b808211156139be57600081556001016139c3565b600067ffffffffffffffff8311156139f1576139f1614238565b613a04601f8401601f19166020016140cc565b9050828152838383011115613a1857600080fd5b828260208301376000602084830101529392505050565b600060208284031215613a40578081fd5b81356125ea8161424e565b60008060408385031215613a5d578081fd5b8235613a688161424e565b91506020830135613a788161424e565b809150509250929050565b600080600060608486031215613a97578081fd5b8335613aa28161424e565b92506020840135613ab28161424e565b929592945050506040919091013590565b60008060008060808587031215613ad8578081fd5b8435613ae38161424e565b93506020850135613af38161424e565b925060408501359150606085013567ffffffffffffffff811115613b15578182fd5b8501601f81018713613b25578182fd5b613b34878235602084016139d7565b91505092959194509250565b60008060408385031215613b52578182fd5b8235613b5d8161424e565b91506020830135613a7881614263565b60008060408385031215613b7f578182fd5b8235613b8a8161424e565b946020939093013593505050565b60006020808385031215613baa578182fd5b823567ffffffffffffffff80821115613bc1578384fd5b818501915085601f830112613bd4578384fd5b813581811115613be657613be6614238565b8381029150613bf68483016140cc565b8181528481019084860184860187018a1015613c10578788fd5b8795505b83861015613c3e5780359450613c298561424e565b84835260019590950194918601918601613c14565b5098975050505050505050565b600080600060408486031215613c5f578081fd5b833567ffffffffffffffff80821115613c76578283fd5b818601915086601f830112613c89578283fd5b813581811115613c97578384fd5b8760208083028501011115613caa578384fd5b6020928301989097509590910135949350505050565b600060208284031215613cd1578081fd5b81516125ea81614263565b600060208284031215613ced578081fd5b5035919050565b600060208284031215613d05578081fd5b81356125ea81614271565b600060208284031215613d21578081fd5b81516125ea81614271565b60008060408385031215613a5d578182fd5b600060208284031215613d4f578081fd5b813567ffffffffffffffff811115613d65578182fd5b8201601f81018413613d75578182fd5b612a92848235602084016139d7565b600060208284031215613d95578081fd5b5051919050565b60008060408385031215613dae578182fd5b823591506020830135613a788161424e565b60008151808452613dd881602086016020860161415f565b601f01601f19169290920160200192915050565b60008251613dfe81846020870161415f565b9190910192915050565b60008351613e1a81846020880161415f565b835190830190613e2e81836020880161415f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613e6a90830184613dc0565b9695505050505050565b6000602082526125ea6020830184613dc0565b60208082526028908201527f4572726f723a20507572636861736520776f756c6420657863656564206d61786040820152671039bab838363c9760c11b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526029908201527f4572726f723a20596f7520776f756c6420657863656564207468652077616c6c60408201526832ba103634b6b4ba1760b91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602b908201527f4572726f723a204c6576656c2032282b292061646d696e20636c656172616e6360408201526a32903932b8bab4b932b21760a91b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156140f5576140f5614238565b604052919050565b600082198211156141105761411061420c565b500190565b60008261412457614124614222565b500490565b60008160001904831182151516156141435761414361420c565b500290565b60008282101561415a5761415a61420c565b500390565b60005b8381101561417a578181015183820152602001614162565b838111156124bf5750506000910152565b60008161419a5761419a61420c565b506000190190565b6002810460018216806141b657607f821691505b602082108114156141d757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156141f1576141f161420c565b5060010190565b60008261420757614207614222565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611a9457600080fd5b8015158114611a9457600080fd5b6001600160e01b031981168114611a9457600080fdfe0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885a264697066735822122058ead7376027771a3f8ef740d878513b35dafae34fdacff53d070168ec662b6464736f6c63430008020033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000200a1679b39ccb074e4128834a9cf575425bcc0f2811d05debac2f78c73376c71620000000000000000000000000000000000000000000000000000000000000005000000000000000000000000ad6d89bd6d1e886a6cc08c838a5843a613151aa6000000000000000000000000a287df004974aa012dc63fc9d689316229b2134000000000000000000000000016217aa4cf0d52c8bf28ae537a13f17593ea69f00000000000000000000000005a8647b72a9a5b5952c69d3224e8a4da00806556000000000000000000000000ad03955571143d87a8997cf7171093c42d8a8de500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000025800000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000008000000000000000000000000ad6d89bd6d1e886a6cc08c838a5843a613151aa6000000000000000000000000402905d2aa5d66515d51faf2dfa4e350634dd20a000000000000000000000000c8d0fe959355100a62e77911c1fe05eefd4f0bbf0000000000000000000000003dc8a89ce685515c0691fb6c0766261553eab73e00000000000000000000000002c65175f7daf40be976e4fa54842b08149d8c6d00000000000000000000000047e2e4aa911a75006076986d09741a48f12c2526000000000000000000000000bbea2edb1eb8dba31d69eaeea328b8a59c65da58000000000000000000000000e026f4bee7b2f3b2f95fb1e2be5b818036316ede

-----Decoded View---------------
Arg [0] : distro (address[]): 0xAD6D89bD6D1E886A6cC08C838A5843a613151AA6,0xA287df004974Aa012dC63FC9D689316229b21340,0x16217aa4Cf0d52C8bF28aE537A13F17593eA69f0,0x5A8647B72a9a5b5952c69D3224e8A4dA00806556,0xaD03955571143D87A8997cF7171093C42D8a8De5
Arg [1] : distro_shares (uint256[]): 8000,600,500,500,400
Arg [2] : teamclaim (address[]): 0xAD6D89bD6D1E886A6cC08C838A5843a613151AA6,0x402905d2AA5D66515D51FAF2dFA4e350634dd20A,0xC8d0fE959355100a62e77911C1fE05EEFd4F0bBf,0x3dC8a89ce685515C0691Fb6C0766261553eaB73e,0x02C65175F7DAF40bE976E4Fa54842b08149d8C6d,0x47E2e4AA911A75006076986D09741a48F12c2526,0xbbEa2Edb1eB8dbA31d69eAeEa328B8A59c65DA58,0xe026F4bEE7B2f3B2F95fB1e2be5B818036316eDe
Arg [3] : _merkleRoot (bytes32): 0xa1679b39ccb074e4128834a9cf575425bcc0f2811d05debac2f78c73376c7162

-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [3] : a1679b39ccb074e4128834a9cf575425bcc0f2811d05debac2f78c73376c7162
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 000000000000000000000000ad6d89bd6d1e886a6cc08c838a5843a613151aa6
Arg [6] : 000000000000000000000000a287df004974aa012dc63fc9d689316229b21340
Arg [7] : 00000000000000000000000016217aa4cf0d52c8bf28ae537a13f17593ea69f0
Arg [8] : 0000000000000000000000005a8647b72a9a5b5952c69d3224e8a4da00806556
Arg [9] : 000000000000000000000000ad03955571143d87a8997cf7171093c42d8a8de5
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 0000000000000000000000000000000000000000000000000000000000001f40
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000258
Arg [13] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [14] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000190
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [17] : 000000000000000000000000ad6d89bd6d1e886a6cc08c838a5843a613151aa6
Arg [18] : 000000000000000000000000402905d2aa5d66515d51faf2dfa4e350634dd20a
Arg [19] : 000000000000000000000000c8d0fe959355100a62e77911c1fe05eefd4f0bbf
Arg [20] : 0000000000000000000000003dc8a89ce685515c0691fb6c0766261553eab73e
Arg [21] : 00000000000000000000000002c65175f7daf40be976e4fa54842b08149d8c6d
Arg [22] : 00000000000000000000000047e2e4aa911a75006076986d09741a48f12c2526
Arg [23] : 000000000000000000000000bbea2edb1eb8dba31d69eaeea328b8a59c65da58
Arg [24] : 000000000000000000000000e026f4bee7b2f3b2f95fb1e2be5b818036316ede


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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