ETH Price: $3,566.88 (+8.18%)

Contract

0x1bc7234A2E6bF2F487771977AC22aeeD482b9A79
 

Overview

ETH Balance

3 wei

Eth Value

Less Than $0.01 (@ $3,566.88/ETH)
Transaction Hash
Method
Block
From
To
Set Approval For...204092632024-07-29 2:33:47121 days ago1722220427IN
Chef Boi R Doge: CBRD Token
0 ETH0.000052611.14035712
Transfer From202547982024-07-07 13:01:47143 days ago1720357307IN
Chef Boi R Doge: CBRD Token
0 ETH0.000161571.86798877
Set Approval For...196170942024-04-09 9:07:59232 days ago1712653679IN
Chef Boi R Doge: CBRD Token
0 ETH0.0011699225.30872508
Safe Transfer Fr...196141422024-04-08 23:12:35232 days ago1712617955IN
Chef Boi R Doge: CBRD Token
0 ETH0.0006306320.99879245
Safe Transfer Fr...196141422024-04-08 23:12:35232 days ago1712617955IN
Chef Boi R Doge: CBRD Token
0 ETH0.0018183920.99879245
Set Base URI194927222024-03-22 21:04:35249 days ago1711141475IN
Chef Boi R Doge: CBRD Token
0 ETH0.0008747321.55524427
Set Approval For...183999312023-10-21 16:39:47402 days ago1697906387IN
Chef Boi R Doge: CBRD Token
0 ETH0.0006175313.38325689
Safe Transfer Fr...169550762023-04-01 15:06:23606 days ago1680361583IN
Chef Boi R Doge: CBRD Token
0 ETH0.0030043629.94007001
Safe Transfer Fr...169147862023-03-26 23:12:23611 days ago1679872343IN
Chef Boi R Doge: CBRD Token
0 ETH0.0014576916.31796268
Safe Transfer Fr...169147842023-03-26 23:11:59611 days ago1679872319IN
Chef Boi R Doge: CBRD Token
0 ETH0.001199216.15246885
Safe Transfer Fr...169147832023-03-26 23:11:47611 days ago1679872307IN
Chef Boi R Doge: CBRD Token
0 ETH0.0015522717.37434225
Set Approval For...167593802023-03-05 2:57:47633 days ago1677985067IN
Chef Boi R Doge: CBRD Token
0 ETH0.0009484320.5546165
Set Approval For...166686682023-02-20 8:48:11646 days ago1676882891IN
Chef Boi R Doge: CBRD Token
0 ETH0.0012845227.83844105
Release Funds165721742023-02-06 20:36:23659 days ago1675715783IN
Chef Boi R Doge: CBRD Token
0 ETH0.0061512732.95232859
Mint Mutt165553772023-02-04 12:20:11662 days ago1675513211IN
Chef Boi R Doge: CBRD Token
0.2 ETH0.00959317.84509155
Set Approval For...163309722023-01-04 4:16:11693 days ago1672805771IN
Chef Boi R Doge: CBRD Token
0 ETH0.0007181815.56471132
Safe Transfer Fr...162849102022-12-28 18:01:11699 days ago1672250471IN
Chef Boi R Doge: CBRD Token
0 ETH0.0020426620.48794207
Release Funds162779302022-12-27 18:39:35700 days ago1672166375IN
Chef Boi R Doge: CBRD Token
0 ETH0.0025046113.41717333
Mint Mutt162589192022-12-25 2:56:47703 days ago1671937007IN
Chef Boi R Doge: CBRD Token
0.05 ETH0.0021815611.86507961
Mint Mutt162520952022-12-24 4:05:47704 days ago1671854747IN
Chef Boi R Doge: CBRD Token
0.05 ETH0.0020407512.03533519
Set Approval For...162492932022-12-23 18:43:47704 days ago1671821027IN
Chef Boi R Doge: CBRD Token
0 ETH0.0006821514.7838099
Mint Mutt162480732022-12-23 14:39:23705 days ago1671806363IN
Chef Boi R Doge: CBRD Token
0.05 ETH0.0025045814.77074009
Mint Mutt162438112022-12-23 0:23:59705 days ago1671755039IN
Chef Boi R Doge: CBRD Token
0.05 ETH0.002502213.60899819
Mint Mutt162273712022-12-20 17:22:23707 days ago1671556943IN
Chef Boi R Doge: CBRD Token
0.05 ETH0.0025442515.00466268
Release Funds161722882022-12-13 0:45:23715 days ago1670892323IN
Chef Boi R Doge: CBRD Token
0 ETH0.0026852814.3850467
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
165721742023-02-06 20:36:23659 days ago1675715783
Chef Boi R Doge: CBRD Token
0.012 ETH
165721742023-02-06 20:36:23659 days ago1675715783
Chef Boi R Doge: CBRD Token
0.014 ETH
165721742023-02-06 20:36:23659 days ago1675715783
Chef Boi R Doge: CBRD Token
0.014 ETH
165721742023-02-06 20:36:23659 days ago1675715783
Chef Boi R Doge: CBRD Token
0.12 ETH
165721742023-02-06 20:36:23659 days ago1675715783
Chef Boi R Doge: CBRD Token
0.003 ETH
165721742023-02-06 20:36:23659 days ago1675715783
Chef Boi R Doge: CBRD Token
0.0185 ETH
165721742023-02-06 20:36:23659 days ago1675715783
Chef Boi R Doge: CBRD Token
0.0185 ETH
162779302022-12-27 18:39:35700 days ago1672166375
Chef Boi R Doge: CBRD Token
0.015 ETH
162779302022-12-27 18:39:35700 days ago1672166375
Chef Boi R Doge: CBRD Token
0.0175 ETH
162779302022-12-27 18:39:35700 days ago1672166375
Chef Boi R Doge: CBRD Token
0.0175 ETH
162779302022-12-27 18:39:35700 days ago1672166375
Chef Boi R Doge: CBRD Token
0.15 ETH
162779302022-12-27 18:39:35700 days ago1672166375
Chef Boi R Doge: CBRD Token
0.00375 ETH
162779302022-12-27 18:39:35700 days ago1672166375
Chef Boi R Doge: CBRD Token
0.023125 ETH
162779302022-12-27 18:39:35700 days ago1672166375
Chef Boi R Doge: CBRD Token
0.023125 ETH
161722882022-12-13 0:45:23715 days ago1670892323
Chef Boi R Doge: CBRD Token
0.006 ETH
161722882022-12-13 0:45:23715 days ago1670892323
Chef Boi R Doge: CBRD Token
0.007 ETH
161722882022-12-13 0:45:23715 days ago1670892323
Chef Boi R Doge: CBRD Token
0.007 ETH
161722882022-12-13 0:45:23715 days ago1670892323
Chef Boi R Doge: CBRD Token
0.06 ETH
161722882022-12-13 0:45:23715 days ago1670892323
Chef Boi R Doge: CBRD Token
0.0015 ETH
161722882022-12-13 0:45:23715 days ago1670892323
Chef Boi R Doge: CBRD Token
0.00925 ETH
161722882022-12-13 0:45:23715 days ago1670892323
Chef Boi R Doge: CBRD Token
0.00925 ETH
159986362022-11-18 18:17:35739 days ago1668795455
Chef Boi R Doge: CBRD Token
0.015 ETH
159986362022-11-18 18:17:35739 days ago1668795455
Chef Boi R Doge: CBRD Token
0.0175 ETH
159986362022-11-18 18:17:35739 days ago1668795455
Chef Boi R Doge: CBRD Token
0.0175 ETH
159986362022-11-18 18:17:35739 days ago1668795455
Chef Boi R Doge: CBRD Token
0.15 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ChefBoiRDoge

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 15 : ChefBoiRDoge.sol
// SPDX-License-Identifier: MIT
/*
    $$$$$$\  $$\   $$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  
    $$  __$$\ $$ |  $$ |$$  _____|$$  _____|$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\ 
    $$ /  \__|$$ |  $$ |$$ |      $$ |      $$ |  $$ |$$ /  $$ |$$ /  \__|$$ /  \__|
    $$ |      $$$$$$$$ |$$$$$\    $$$$$\    $$ |  $$ |$$ |  $$ |$$ |$$$$\ \$$$$$$\  
    $$ |      $$  __$$ |$$  __|   $$  __|   $$ |  $$ |$$ |  $$ |$$ |\_$$ | \____$$\ 
    $$ |  $$\ $$ |  $$ |$$ |      $$ |      $$ |  $$ |$$ |  $$ |$$ |  $$ |$$\   $$ |
    \$$$$$$  |$$ |  $$ |$$$$$$$$\ $$ |      $$$$$$$  | $$$$$$  |\$$$$$$  |\$$$$$$  |
    \______/ \__|  \__|\________|\__|      \_______/  \______/  \______/  \______/                                                                        
*/
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";

contract ChefBoiRDoge is Ownable, ERC721Enumerable, PaymentSplitter {

    uint public MAX_MUTTS = 10000;
    uint public MUTTS_PRICE = 0.05 ether;
    uint public constant walletLimit = 10;
    string public PROVENANCE_HASH;
    string private _baseURIExtended;
    string private _contractURI;
    bool public _isSaleLive = false;
    bool private locked;
    bool private PROVENANCE_LOCK = false;
    uint public _reserved;
    uint id = totalSupply();

    //Chef Boi R Doge: MUTTS Release Time -
    uint public publicSale = 1636389000; // November 8th 9AM PST

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

    mapping(address => Account) public accounts;

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

    address[] private _team;
    uint[] private _team_shares;

    constructor(address[] memory team, uint[] memory team_shares, address[] memory admins)
        ERC721("Chef Boi R Doge: Mutts", "CBRD")
        PaymentSplitter(team, team_shares)
    {
        _baseURIExtended = "ipfs://";

        accounts[msg.sender] = Account( 0, 0, 0, true);
        // teamClaimNFTs
        accounts[admins[0]] = Account( 15, 0, 0, true); 
        accounts[admins[1]] = Account( 8, 0, 0, true);
        accounts[admins[2]] = Account( 2, 0, 0, true);
        accounts[admins[3]] = Account( 125, 0, 0, true); 
        accounts[admins[4]] = Account( 25, 0, 0, true);
        accounts[admins[5]] = Account( 25, 0, 0, true);
        accounts[admins[6]] = Account( 25, 0, 0, true); 
        accounts[admins[7]] = Account( 25, 0, 0, true);


        _reserved = 250;

        _team = team;
        _team_shares = team_shares;
    }

    // Modifiers

    modifier onlyAdmin() {
        require(accounts[msg.sender].isAdmin == true, "Sorry, You need to be an admin");
        _;
    }

    modifier noReentrant() {
        require(!locked, "No re-entrancy");
        locked = true;
        _;
        locked = false;
    }

    // End Modifier

    // Setters

    function setAdmin(address _addr) external onlyOwner {
        accounts[_addr].isAdmin = !accounts[_addr].isAdmin;
    }

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

    function lockProvenance() external onlyOwner {
        PROVENANCE_LOCK = true;
    }

    function setBaseURI(string memory _newURI) external onlyOwner {
        _baseURIExtended = _newURI;
    }

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

    function deactivateSale() external onlyOwner {
        _isSaleLive = false;
    }

    function activateSale() external onlyOwner {
        _isSaleLive = true;
    }


    function setNewSaleTime(uint[] memory _newTime) external onlyOwner {
        require(_newTime.length == 1);
        publicSale = _newTime[0];
    }
    
    function setNewPrice(uint _newPrice) external onlyOwner {
        MUTTS_PRICE = _newPrice;
    }

    function setMaxMUTTS(uint _maxmutts) external onlyOwner {
        MAX_MUTTS = _maxmutts;
    }

    // End Setters

    // Getters

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

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

    // End Getter

    // Business Logic

    function adminMint() external onlyAdmin {
        uint _amount = accounts[msg.sender].nftsReserved;
        require(accounts[msg.sender].isAdmin == true,"Sorry, Only an admin can mint");
        require(_amount > 0, 'Need to have reserved supply');
        require(totalSupply() + _amount <= MAX_MUTTS, "You would exceed the mint limit");

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


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

    function airDropMany(address[] memory _addr) external onlyOwner {
        require(totalSupply() + _addr.length <= (MAX_MUTTS - _reserved), "You would exceed the airdrop limit");

        // DO MINT

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

    }

    function mintMutt(uint _amount) external payable noReentrant {
        // CHECK BASIC SALE CONDITIONS
        require(_isSaleLive, "Sale must be active to mint");
        require(totalSupply() + _amount <= (MAX_MUTTS - _reserved), "Purchase would exceed max supply of MUTTS");
        require(msg.value >= (MUTTS_PRICE * _amount), "Ether value sent is not correct");
        require(!isContract(msg.sender), "Contracts can't mint");
        
        if(block.timestamp >= publicSale) {
            require((_amount + accounts[msg.sender].mintedNFTs) <= walletLimit, "Sorry you can only mint 10 per wallet");
        } 

        // DO MINT

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

    }
    // ANY of the Admins set on deployment can call this funciton. 
    function releaseFunds() external onlyAdmin {
        for (uint i = 0; i < _team.length; i++) {
            release(payable(_team[i]));
        }
    }
    // helper

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

}

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

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

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

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

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

File 3 of 15 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Address.sol";
import "../utils/Context.sol";
import "../utils/math/SafeMath.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.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(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;

    /**
     * @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 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 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 = (totalReceived * _shares[account]) / _totalShares - _released[account];

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

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

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

    /**
     * @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 4 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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 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 5 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

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 6 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 7 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 8 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT

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 11 of 15 : Context.sol
// SPDX-License-Identifier: MIT

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 12 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

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 15 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"team","type":"address[]"},{"internalType":"uint256[]","name":"team_shares","type":"uint256[]"},{"internalType":"address[]","name":"admins","type":"address[]"}],"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":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":"MAX_MUTTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MUTTS_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isSaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reserved","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":"walletLimit","type":"uint256"},{"internalType":"uint256","name":"mintedNFTs","type":"uint256"},{"internalType":"bool","name":"isAdmin","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addr","type":"address[]"}],"name":"airDropMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deactivateSale","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":[{"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":"lockProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintMutt","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":"publicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseFunds","outputs":[],"stateMutability":"nonpayable","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":"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":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setAdmin","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":"_maxmutts","type":"uint256"}],"name":"setMaxMUTTS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setNewPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_newTime","type":"uint256[]"}],"name":"setNewSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","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":[],"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"},{"inputs":[],"name":"walletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405261271060105566b1a2bc2ec500006011556015805462ff00ff1916905560095460175563618950886018553480156200003c57600080fd5b5060405162003e9338038062003e938339810160408190526200005f9162000ca7565b82826040518060400160405280601681526020017f4368656620426f69205220446f67653a204d75747473000000000000000000008152506040518060400160405280600481526020016310d0949160e21b815250620000ce620000c8620008a160201b60201c565b620008a5565b8151620000e390600190602085019062000ae3565b508051620000f990600290602084019062000ae3565b50505080518251146200016e5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001c15760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000165565b60005b8251811015620002455762000230838281518110620001f357634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200021c57634e487b7160e01b600052603260045260246000fd5b6020026020010151620008f560201b60201c565b806200023c8162000e40565b915050620001c4565b505060408051808201909152600780825266697066733a2f2f60c81b60209092019182526200027992506013919062000ae3565b506040805160808082018352600080835260208084018281528486018381526001606080880182815233875260198087528a882099518a559451898401559251600289015591516003909701805460ff19169715159790971790965586519485018752600f8552918401839052948301829052820192909252835190929190849082906200031757634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055509050506040518060800160405280600881526020016000815260200160008152602001600115158152506019600083600181518110620003cd57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555090505060405180608001604052806002815260200160008152602001600081526020016001151581525060196000836002815181106200048357634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055509050506040518060800160405280607d815260200160008152602001600081526020016001151581525060196000836003815181106200053957634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055509050506040518060800160405280601981526020016000815260200160008152602001600115158152506019600083600481518110620005ef57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055509050506040518060800160405280601981526020016000815260200160008152602001600115158152506019600083600581518110620006a557634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555090505060405180608001604052806019815260200160008152602001600081526020016001151581525060196000836006815181106200075b57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555090505060405180608001604052806019815260200160008152602001600081526020016001151581525060196000836007815181106200081157634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252818101929092526040908101600020835181558383015160018201559083015160028201556060909201516003909201805460ff19169215159290921790915560fa60165583516200088191601a919086019062000b72565b5081516200089790601b90602085019062000bca565b5050505062000e8a565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620009625760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000165565b60008111620009b45760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000165565b6001600160a01b0382166000908152600d60205260409020541562000a305760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000165565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b5462000a9a90829062000de8565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b82805462000af19062000e03565b90600052602060002090601f01602090048101928262000b15576000855562000b60565b82601f1062000b3057805160ff191683800117855562000b60565b8280016001018555821562000b60579182015b8281111562000b6057825182559160200191906001019062000b43565b5062000b6e92915062000c07565b5090565b82805482825590600052602060002090810192821562000b60579160200282015b8281111562000b6057825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000b93565b82805482825590600052602060002090810192821562000b60579160200282018281111562000b6057825182559160200191906001019062000b43565b5b8082111562000b6e576000815560010162000c08565b600082601f83011262000c2f578081fd5b8151602062000c4862000c428362000dc2565b62000d8f565b828152818101908583018385028701840188101562000c65578586fd5b855b8581101562000c9a5781516001600160a01b038116811462000c87578788fd5b8452928401929084019060010162000c67565b5090979650505050505050565b60008060006060848603121562000cbc578283fd5b83516001600160401b038082111562000cd3578485fd5b62000ce18783880162000c1e565b945060209150818601518181111562000cf8578485fd5b8601601f8101881362000d09578485fd5b805162000d1a62000c428262000dc2565b81815284810190838601868402850187018c101562000d37578889fd5b8894505b8385101562000d5b57805183526001949094019391860191860162000d3b565b5060408a015190975094505050508082111562000d76578283fd5b5062000d858682870162000c1e565b9150509250925092565b604051601f8201601f191681016001600160401b038111828210171562000dba5762000dba62000e74565b604052919050565b60006001600160401b0382111562000dde5762000dde62000e74565b5060209081020190565b6000821982111562000dfe5762000dfe62000e5e565b500190565b60028104600182168062000e1857607f821691505b6020821081141562000e3a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000e575762000e5762000e5e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b612ff98062000e9a6000396000f3fe6080604052600436106102975760003560e01c806370a082311161015a578063c87b56dd116100c1578063e985e9c51161007a578063e985e9c51461082a578063ea7523ee14610873578063ee8cdd4e14610888578063f2fde38b146108a8578063f6a51ac8146108c8578063ff1b6556146108db576102e0565b8063c87b56dd14610774578063cadf7c4d14610794578063ce7c2ac2146107b4578063d6504937146107ea578063e33b7de314610800578063e8a3d48514610815576102e0565b8063938e3d7b11610113578063938e3d7b146106b457806395d89b41146106d45780639852595c146106e9578063a22cb4651461071f578063b88d4fde1461073f578063c721f08d1461075f576102e0565b806370a0823114610616578063715018a614610636578063855f3be11461064b578063895fc788146106615780638b83209b146106765780638da5cb5b14610696576102e0565b80633c8463a1116101fe578063616d0dfd116101b7578063616d0dfd146105765780636352211e1461058b578063669124a1146105ab57806369d89575146105cb5780636aaa571d146105e0578063704b6c02146105f6576102e0565b80633c8463a11461048057806342842e0e146104955780634f5e0b28146104b55780634f6ccce7146104cf57806355f804b3146104ef5780635e5c06e21461050f576102e0565b8063191655871161025057806319165587146103d557806323b872dd146103f557806326d104ec146104155780632f745c591461043557806333bc1c5c146104555780633a98ef391461046b576102e0565b806301ffc9a7146102e557806306fdde031461031a578063081812fc1461033c578063095ea7b314610374578063109695231461039657806318160ddd146103b6576102e0565b366102e0577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156102f157600080fd5b50610305610300366004612bf0565b6108f0565b60405190151581526020015b60405180910390f35b34801561032657600080fd5b5061032f61091d565b6040516103119190612d1e565b34801561034857600080fd5b5061035c610357366004612c6e565b6109af565b6040516001600160a01b039091168152602001610311565b34801561038057600080fd5b5061039461038f366004612aa3565b610a49565b005b3480156103a257600080fd5b506103946103b1366004612c28565b610b5f565b3480156103c257600080fd5b506009545b604051908152602001610311565b3480156103e157600080fd5b506103946103f0366004612961565b610bb6565b34801561040157600080fd5b506103946104103660046129b5565b610d87565b34801561042157600080fd5b50610394610430366004612b6c565b610db8565b34801561044157600080fd5b506103c7610450366004612aa3565b610e22565b34801561046157600080fd5b506103c760185481565b34801561047757600080fd5b50600b546103c7565b34801561048c57600080fd5b506103c7600a81565b3480156104a157600080fd5b506103946104b03660046129b5565b610eb8565b3480156104c157600080fd5b506015546103059060ff1681565b3480156104db57600080fd5b506103c76104ea366004612c6e565b610ed3565b3480156104fb57600080fd5b5061039461050a366004612c28565b610f74565b34801561051b57600080fd5b5061055461052a366004612961565b60196020526000908152604090208054600182015460028301546003909301549192909160ff1684565b6040805194855260208501939093529183015215156060820152608001610311565b34801561058257600080fd5b50610394610fb1565b34801561059757600080fd5b5061035c6105a6366004612c6e565b610fe7565b3480156105b757600080fd5b506103946105c6366004612c6e565b61105e565b3480156105d757600080fd5b5061039461108d565b3480156105ec57600080fd5b506103c760165481565b34801561060257600080fd5b50610394610611366004612961565b611154565b34801561062257600080fd5b506103c7610631366004612961565b6111aa565b34801561064257600080fd5b50610394611231565b34801561065757600080fd5b506103c760115481565b34801561066d57600080fd5b50610394611267565b34801561068257600080fd5b5061035c610691366004612c6e565b61149d565b3480156106a257600080fd5b506000546001600160a01b031661035c565b3480156106c057600080fd5b506103946106cf366004612c28565b6114db565b3480156106e057600080fd5b5061032f611518565b3480156106f557600080fd5b506103c7610704366004612961565b6001600160a01b03166000908152600e602052604090205490565b34801561072b57600080fd5b5061039461073a366004612a72565b611527565b34801561074b57600080fd5b5061039461075a3660046129f5565b6115f9565b34801561076b57600080fd5b50610394611631565b34801561078057600080fd5b5061032f61078f366004612c6e565b61166a565b3480156107a057600080fd5b506103946107af366004612ace565b611745565b3480156107c057600080fd5b506103c76107cf366004612961565b6001600160a01b03166000908152600d602052604090205490565b3480156107f657600080fd5b506103c760105481565b34801561080c57600080fd5b50600c546103c7565b34801561082157600080fd5b5061032f611889565b34801561083657600080fd5b5061030561084536600461297d565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561087f57600080fd5b50610394611898565b34801561089457600080fd5b506103946108a3366004612c6e565b6118d5565b3480156108b457600080fd5b506103946108c3366004612961565b611904565b6103946108d6366004612c6e565b61199c565b3480156108e757600080fd5b5061032f611c9d565b60006001600160e01b0319821663780e9d6360e01b1480610915575061091582611d2b565b90505b919050565b60606001805461092c90612eec565b80601f016020809104026020016040519081016040528092919081815260200182805461095890612eec565b80156109a55780601f1061097a576101008083540402835291602001916109a5565b820191906000526020600020905b81548152906001019060200180831161098857829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610a2d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a5482610fe7565b9050806001600160a01b0316836001600160a01b03161415610ac25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a24565b336001600160a01b0382161480610ade5750610ade8133610845565b610b505760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a24565b610b5a8383611d7b565b505050565b6000546001600160a01b03163314610b895760405162461bcd60e51b8152600401610a2490612d83565b60155462010000900460ff1615610b9f57600080fd5b8051610bb2906012906020840190612870565b5050565b6001600160a01b0381166000908152600d6020526040902054610c2a5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610a24565b6000600c5447610c3a9190612e5e565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192610c719085612e8a565b610c7b9190612e76565b610c859190612ea9565b905080610ce85760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610a24565b6001600160a01b0383166000908152600e6020526040902054610d0c908290612e5e565b6001600160a01b0384166000908152600e6020526040902055600c54610d33908290612e5e565b600c55610d408382611de9565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610d913382611f02565b610dad5760405162461bcd60e51b8152600401610a2490612db8565b610b5a838383611ff9565b6000546001600160a01b03163314610de25760405162461bcd60e51b8152600401610a2490612d83565b8051600114610df057600080fd5b80600081518110610e1157634e487b7160e01b600052603260045260246000fd5b602002602001015160188190555050565b6000610e2d836111aa565b8210610e8f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a24565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610b5a838383604051806020016040528060008152506115f9565b6000610ede60095490565b8210610f415760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a24565b60098281548110610f6257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000546001600160a01b03163314610f9e5760405162461bcd60e51b8152600401610a2490612d83565b8051610bb2906013906020840190612870565b6000546001600160a01b03163314610fdb5760405162461bcd60e51b8152600401610a2490612d83565b6015805460ff19169055565b6000818152600360205260408120546001600160a01b0316806109155760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a24565b6000546001600160a01b031633146110885760405162461bcd60e51b8152600401610a2490612d83565b601055565b3360009081526019602052604090206003015460ff1615156001146110f45760405162461bcd60e51b815260206004820152601e60248201527f536f7272792c20596f75206e65656420746f20626520616e2061646d696e00006044820152606401610a24565b60005b601a548110156111515761113f601a828154811061112557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316610bb6565b8061114981612f27565b9150506110f7565b50565b6000546001600160a01b0316331461117e5760405162461bcd60e51b8152600401610a2490612d83565b6001600160a01b03166000908152601960205260409020600301805460ff19811660ff90911615179055565b60006001600160a01b0382166112155760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a24565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b0316331461125b5760405162461bcd60e51b8152600401610a2490612d83565b61126560006121a4565b565b3360009081526019602052604090206003015460ff1615156001146112ce5760405162461bcd60e51b815260206004820152601e60248201527f536f7272792c20596f75206e65656420746f20626520616e2061646d696e00006044820152606401610a24565b336000908152601960205260409020805460039091015460ff1615156001146113395760405162461bcd60e51b815260206004820152601d60248201527f536f7272792c204f6e6c7920616e2061646d696e2063616e206d696e740000006044820152606401610a24565b600081116113895760405162461bcd60e51b815260206004820152601c60248201527f4e65656420746f206861766520726573657276656420737570706c79000000006044820152606401610a24565b6010548161139660095490565b6113a09190612e5e565b11156113ee5760405162461bcd60e51b815260206004820152601f60248201527f596f7520776f756c642065786365656420746865206d696e74206c696d6974006044820152606401610a24565b336000908152601960205260408120805483929061140d908490612ea9565b9091555050601654611420908290612ea9565b60165560005b81811015610bb2576017805490600061143e83612f27565b919050555061144f336017546121f4565b337f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688561147a60095490565b60405190815260200160405180910390a28061149581612f27565b915050611426565b6000600f82815481106114c057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b6000546001600160a01b031633146115055760405162461bcd60e51b8152600401610a2490612d83565b8051610bb2906014906020840190612870565b60606002805461092c90612eec565b6001600160a01b0382163314156115805760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a24565b3360008181526006602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115ed911515815260200190565b60405180910390a35050565b6116033383611f02565b61161f5760405162461bcd60e51b8152600401610a2490612db8565b61162b8484848461220e565b50505050565b6000546001600160a01b0316331461165b5760405162461bcd60e51b8152600401610a2490612d83565b6015805460ff19166001179055565b6000818152600360205260409020546060906001600160a01b03166116e95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a24565b60006116f3612241565b90506000815111611713576040518060200160405280600081525061173e565b8061171d84612250565b60405160200161172e929190612cb2565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331461176f5760405162461bcd60e51b8152600401610a2490612d83565b60165460105461177f9190612ea9565b815160095461178e9190612e5e565b11156117e75760405162461bcd60e51b815260206004820152602260248201527f596f7520776f756c6420657863656564207468652061697264726f70206c696d6044820152611a5d60f21b6064820152608401610a24565b60005b8151811015610bb2576017805490600061180383612f27565b919050555061183b82828151811061182b57634e487b7160e01b600052603260045260246000fd5b60200260200101516017546121f4565b337f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688561186660095490565b60405190815260200160405180910390a28061188181612f27565b9150506117ea565b60606014805461092c90612eec565b6000546001600160a01b031633146118c25760405162461bcd60e51b8152600401610a2490612d83565b6015805462ff0000191662010000179055565b6000546001600160a01b031633146118ff5760405162461bcd60e51b8152600401610a2490612d83565b601155565b6000546001600160a01b0316331461192e5760405162461bcd60e51b8152600401610a2490612d83565b6001600160a01b0381166119935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a24565b611151816121a4565b601554610100900460ff16156119e55760405162461bcd60e51b815260206004820152600e60248201526d4e6f2072652d656e7472616e637960901b6044820152606401610a24565b6015805461ff001916610100179081905560ff16611a455760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610a24565b601654601054611a559190612ea9565b81611a5f60095490565b611a699190612e5e565b1115611ac95760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c79604482015268206f66204d5554545360b81b6064820152608401610a24565b80601154611ad79190612e8a565b341015611b265760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610a24565b333b15611b6c5760405162461bcd60e51b815260206004820152601460248201527310dbdb9d1c9858dd1cc818d85b89dd081b5a5b9d60621b6044820152606401610a24565b6018544210611bf15733600090815260196020526040902060020154600a90611b959083612e5e565b1115611bf15760405162461bcd60e51b815260206004820152602560248201527f536f72727920796f752063616e206f6e6c79206d696e74203130207065722077604482015264185b1b195d60da1b6064820152608401610a24565b60005b81811015611c8e5760178054906000611c0c83612f27565b9091555050336000908152601960205260408120600201805491611c2f83612f27565b9190505550611c40336017546121f4565b337f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885611c6b60095490565b60405190815260200160405180910390a280611c8681612f27565b915050611bf4565b50506015805461ff0019169055565b60128054611caa90612eec565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd690612eec565b8015611d235780601f10611cf857610100808354040283529160200191611d23565b820191906000526020600020905b815481529060010190602001808311611d0657829003601f168201915b505050505081565b60006001600160e01b031982166380ac58cd60e01b1480611d5c57506001600160e01b03198216635b5e139f60e01b145b8061091557506301ffc9a760e01b6001600160e01b0319831614610915565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611db082610fe7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015611e395760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a24565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e86576040519150601f19603f3d011682016040523d82523d6000602084013e611e8b565b606091505b5050905080610b5a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a24565b6000818152600360205260408120546001600160a01b0316611f7b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a24565b6000611f8683610fe7565b9050806001600160a01b0316846001600160a01b03161480611fc15750836001600160a01b0316611fb6846109af565b6001600160a01b0316145b80611ff157506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661200c82610fe7565b6001600160a01b0316146120745760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a24565b6001600160a01b0382166120d65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a24565b6120e183838361236b565b6120ec600082611d7b565b6001600160a01b0383166000908152600460205260408120805460019290612115908490612ea9565b90915550506001600160a01b0382166000908152600460205260408120805460019290612143908490612e5e565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610bb2828260405180602001604052806000815250612428565b612219848484611ff9565b6122258484848461245b565b61162b5760405162461bcd60e51b8152600401610a2490612d31565b60606013805461092c90612eec565b60608161227557506040805180820190915260018152600360fc1b6020820152610918565b8160005b811561229f578061228981612f27565b91506122989050600a83612e76565b9150612279565b60008167ffffffffffffffff8111156122c857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122f2576020820181803683370190505b5090505b8415611ff157612307600183612ea9565b9150612314600a86612f42565b61231f906030612e5e565b60f81b81838151811061234257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612364600a86612e76565b94506122f6565b6001600160a01b0383166123c6576123c181600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6123e9565b816001600160a01b0316836001600160a01b0316146123e9576123e98382612568565b6001600160a01b0382166124055761240081612605565b610b5a565b826001600160a01b0316826001600160a01b031614610b5a57610b5a82826126de565b6124328383612722565b61243f600084848461245b565b610b5a5760405162461bcd60e51b8152600401610a2490612d31565b60006001600160a01b0384163b1561255d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061249f903390899088908890600401612ce1565b602060405180830381600087803b1580156124b957600080fd5b505af19250505080156124e9575060408051601f3d908101601f191682019092526124e691810190612c0c565b60015b612543573d808015612517576040519150601f19603f3d011682016040523d82523d6000602084013e61251c565b606091505b50805161253b5760405162461bcd60e51b8152600401610a2490612d31565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ff1565b506001949350505050565b60006001612575846111aa565b61257f9190612ea9565b6000838152600860205260409020549091508082146125d2576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061261790600190612ea9565b6000838152600a60205260408120546009805493945090928490811061264d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061267c57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806126c257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006126e9836111aa565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166127785760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a24565b6000818152600360205260409020546001600160a01b0316156127dd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a24565b6127e96000838361236b565b6001600160a01b0382166000908152600460205260408120805460019290612812908490612e5e565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461287c90612eec565b90600052602060002090601f01602090048101928261289e57600085556128e4565b82601f106128b757805160ff19168380011785556128e4565b828001600101855582156128e4579182015b828111156128e45782518255916020019190600101906128c9565b506128f09291506128f4565b5090565b5b808211156128f057600081556001016128f5565b600067ffffffffffffffff83111561292357612923612f82565b612936601f8401601f1916602001612e09565b905082815283838301111561294a57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612972578081fd5b813561173e81612f98565b6000806040838503121561298f578081fd5b823561299a81612f98565b915060208301356129aa81612f98565b809150509250929050565b6000806000606084860312156129c9578081fd5b83356129d481612f98565b925060208401356129e481612f98565b929592945050506040919091013590565b60008060008060808587031215612a0a578081fd5b8435612a1581612f98565b93506020850135612a2581612f98565b925060408501359150606085013567ffffffffffffffff811115612a47578182fd5b8501601f81018713612a57578182fd5b612a6687823560208401612909565b91505092959194509250565b60008060408385031215612a84578182fd5b8235612a8f81612f98565b9150602083013580151581146129aa578182fd5b60008060408385031215612ab5578182fd5b8235612ac081612f98565b946020939093013593505050565b60006020808385031215612ae0578182fd5b823567ffffffffffffffff811115612af6578283fd5b8301601f81018513612b06578283fd5b8035612b19612b1482612e3a565b612e09565b8181528381019083850185840285018601891015612b35578687fd5b8694505b83851015612b60578035612b4c81612f98565b835260019490940193918501918501612b39565b50979650505050505050565b60006020808385031215612b7e578182fd5b823567ffffffffffffffff811115612b94578283fd5b8301601f81018513612ba4578283fd5b8035612bb2612b1482612e3a565b8181528381019083850185840285018601891015612bce578687fd5b8694505b83851015612b60578035835260019490940193918501918501612bd2565b600060208284031215612c01578081fd5b813561173e81612fad565b600060208284031215612c1d578081fd5b815161173e81612fad565b600060208284031215612c39578081fd5b813567ffffffffffffffff811115612c4f578182fd5b8201601f81018413612c5f578182fd5b611ff184823560208401612909565b600060208284031215612c7f578081fd5b5035919050565b60008151808452612c9e816020860160208601612ec0565b601f01601f19169290920160200192915050565b60008351612cc4818460208801612ec0565b835190830190612cd8818360208801612ec0565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d1490830184612c86565b9695505050505050565b60006020825261173e6020830184612c86565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e3257612e32612f82565b604052919050565b600067ffffffffffffffff821115612e5457612e54612f82565b5060209081020190565b60008219821115612e7157612e71612f56565b500190565b600082612e8557612e85612f6c565b500490565b6000816000190483118215151615612ea457612ea4612f56565b500290565b600082821015612ebb57612ebb612f56565b500390565b60005b83811015612edb578181015183820152602001612ec3565b8381111561162b5750506000910152565b600281046001821680612f0057607f821691505b60208210811415612f2157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f3b57612f3b612f56565b5060010190565b600082612f5157612f51612f6c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461115157600080fd5b6001600160e01b03198116811461115157600080fdfea2646970667358221220566dfbdc1a81e15863388484bc1fb2ae44554ad91f46f921336e99ded3c83c1064736f6c634300080200330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000007000000000000000000000000691dd7b83f32d199aa2593c308b20dda91c67d5e000000000000000000000000a222c1174132309d98b891dcb5c93f09aee23b9600000000000000000000000069601fb69d6144ec2d072237db7ce18ad9820e75000000000000000000000000a049675f410212cc89534358cbaec6cc4a0c71cc0000000000000000000000002136c6cd5a710b1181de480f577450221751bb3b0000000000000000000000000f46d5c777d82350a2397e06d54fcb5d3cdc472e000000000000000000000000a287df004974aa012dc63fc9d689316229b213400000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000039d000000000000000000000000000000000000000000000000000000000000039d0000000000000000000000000000000000000000000000000000000000000096000000000000000000000000000000000000000000000000000000000000177000000000000000000000000000000000000000000000000000000000000002bc00000000000000000000000000000000000000000000000000000000000002bc00000000000000000000000000000000000000000000000000000000000002580000000000000000000000000000000000000000000000000000000000000008000000000000000000000000a126a2a819b3456b04cf36c820a80f56fd24dff8000000000000000000000000db85c683c4e4a2555e0e93368fc003f4885014c3000000000000000000000000c25f57623c2acef27365699d50643b3ba9dc792c000000000000000000000000925e13a5ab1d9d6e36bd2d3af9da3ac14f1693b4000000000000000000000000402905d2aa5d66515d51faf2dfa4e350634dd20a00000000000000000000000002c65175f7daf40be976e4fa54842b08149d8c6d000000000000000000000000bbea2edb1eb8dba31d69eaeea328b8a59c65da5800000000000000000000000047e2e4aa911a75006076986d09741a48f12c2526

Deployed Bytecode

0x6080604052600436106102975760003560e01c806370a082311161015a578063c87b56dd116100c1578063e985e9c51161007a578063e985e9c51461082a578063ea7523ee14610873578063ee8cdd4e14610888578063f2fde38b146108a8578063f6a51ac8146108c8578063ff1b6556146108db576102e0565b8063c87b56dd14610774578063cadf7c4d14610794578063ce7c2ac2146107b4578063d6504937146107ea578063e33b7de314610800578063e8a3d48514610815576102e0565b8063938e3d7b11610113578063938e3d7b146106b457806395d89b41146106d45780639852595c146106e9578063a22cb4651461071f578063b88d4fde1461073f578063c721f08d1461075f576102e0565b806370a0823114610616578063715018a614610636578063855f3be11461064b578063895fc788146106615780638b83209b146106765780638da5cb5b14610696576102e0565b80633c8463a1116101fe578063616d0dfd116101b7578063616d0dfd146105765780636352211e1461058b578063669124a1146105ab57806369d89575146105cb5780636aaa571d146105e0578063704b6c02146105f6576102e0565b80633c8463a11461048057806342842e0e146104955780634f5e0b28146104b55780634f6ccce7146104cf57806355f804b3146104ef5780635e5c06e21461050f576102e0565b8063191655871161025057806319165587146103d557806323b872dd146103f557806326d104ec146104155780632f745c591461043557806333bc1c5c146104555780633a98ef391461046b576102e0565b806301ffc9a7146102e557806306fdde031461031a578063081812fc1461033c578063095ea7b314610374578063109695231461039657806318160ddd146103b6576102e0565b366102e0577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156102f157600080fd5b50610305610300366004612bf0565b6108f0565b60405190151581526020015b60405180910390f35b34801561032657600080fd5b5061032f61091d565b6040516103119190612d1e565b34801561034857600080fd5b5061035c610357366004612c6e565b6109af565b6040516001600160a01b039091168152602001610311565b34801561038057600080fd5b5061039461038f366004612aa3565b610a49565b005b3480156103a257600080fd5b506103946103b1366004612c28565b610b5f565b3480156103c257600080fd5b506009545b604051908152602001610311565b3480156103e157600080fd5b506103946103f0366004612961565b610bb6565b34801561040157600080fd5b506103946104103660046129b5565b610d87565b34801561042157600080fd5b50610394610430366004612b6c565b610db8565b34801561044157600080fd5b506103c7610450366004612aa3565b610e22565b34801561046157600080fd5b506103c760185481565b34801561047757600080fd5b50600b546103c7565b34801561048c57600080fd5b506103c7600a81565b3480156104a157600080fd5b506103946104b03660046129b5565b610eb8565b3480156104c157600080fd5b506015546103059060ff1681565b3480156104db57600080fd5b506103c76104ea366004612c6e565b610ed3565b3480156104fb57600080fd5b5061039461050a366004612c28565b610f74565b34801561051b57600080fd5b5061055461052a366004612961565b60196020526000908152604090208054600182015460028301546003909301549192909160ff1684565b6040805194855260208501939093529183015215156060820152608001610311565b34801561058257600080fd5b50610394610fb1565b34801561059757600080fd5b5061035c6105a6366004612c6e565b610fe7565b3480156105b757600080fd5b506103946105c6366004612c6e565b61105e565b3480156105d757600080fd5b5061039461108d565b3480156105ec57600080fd5b506103c760165481565b34801561060257600080fd5b50610394610611366004612961565b611154565b34801561062257600080fd5b506103c7610631366004612961565b6111aa565b34801561064257600080fd5b50610394611231565b34801561065757600080fd5b506103c760115481565b34801561066d57600080fd5b50610394611267565b34801561068257600080fd5b5061035c610691366004612c6e565b61149d565b3480156106a257600080fd5b506000546001600160a01b031661035c565b3480156106c057600080fd5b506103946106cf366004612c28565b6114db565b3480156106e057600080fd5b5061032f611518565b3480156106f557600080fd5b506103c7610704366004612961565b6001600160a01b03166000908152600e602052604090205490565b34801561072b57600080fd5b5061039461073a366004612a72565b611527565b34801561074b57600080fd5b5061039461075a3660046129f5565b6115f9565b34801561076b57600080fd5b50610394611631565b34801561078057600080fd5b5061032f61078f366004612c6e565b61166a565b3480156107a057600080fd5b506103946107af366004612ace565b611745565b3480156107c057600080fd5b506103c76107cf366004612961565b6001600160a01b03166000908152600d602052604090205490565b3480156107f657600080fd5b506103c760105481565b34801561080c57600080fd5b50600c546103c7565b34801561082157600080fd5b5061032f611889565b34801561083657600080fd5b5061030561084536600461297d565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561087f57600080fd5b50610394611898565b34801561089457600080fd5b506103946108a3366004612c6e565b6118d5565b3480156108b457600080fd5b506103946108c3366004612961565b611904565b6103946108d6366004612c6e565b61199c565b3480156108e757600080fd5b5061032f611c9d565b60006001600160e01b0319821663780e9d6360e01b1480610915575061091582611d2b565b90505b919050565b60606001805461092c90612eec565b80601f016020809104026020016040519081016040528092919081815260200182805461095890612eec565b80156109a55780601f1061097a576101008083540402835291602001916109a5565b820191906000526020600020905b81548152906001019060200180831161098857829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610a2d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a5482610fe7565b9050806001600160a01b0316836001600160a01b03161415610ac25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a24565b336001600160a01b0382161480610ade5750610ade8133610845565b610b505760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a24565b610b5a8383611d7b565b505050565b6000546001600160a01b03163314610b895760405162461bcd60e51b8152600401610a2490612d83565b60155462010000900460ff1615610b9f57600080fd5b8051610bb2906012906020840190612870565b5050565b6001600160a01b0381166000908152600d6020526040902054610c2a5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610a24565b6000600c5447610c3a9190612e5e565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192610c719085612e8a565b610c7b9190612e76565b610c859190612ea9565b905080610ce85760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610a24565b6001600160a01b0383166000908152600e6020526040902054610d0c908290612e5e565b6001600160a01b0384166000908152600e6020526040902055600c54610d33908290612e5e565b600c55610d408382611de9565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610d913382611f02565b610dad5760405162461bcd60e51b8152600401610a2490612db8565b610b5a838383611ff9565b6000546001600160a01b03163314610de25760405162461bcd60e51b8152600401610a2490612d83565b8051600114610df057600080fd5b80600081518110610e1157634e487b7160e01b600052603260045260246000fd5b602002602001015160188190555050565b6000610e2d836111aa565b8210610e8f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a24565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610b5a838383604051806020016040528060008152506115f9565b6000610ede60095490565b8210610f415760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a24565b60098281548110610f6257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000546001600160a01b03163314610f9e5760405162461bcd60e51b8152600401610a2490612d83565b8051610bb2906013906020840190612870565b6000546001600160a01b03163314610fdb5760405162461bcd60e51b8152600401610a2490612d83565b6015805460ff19169055565b6000818152600360205260408120546001600160a01b0316806109155760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a24565b6000546001600160a01b031633146110885760405162461bcd60e51b8152600401610a2490612d83565b601055565b3360009081526019602052604090206003015460ff1615156001146110f45760405162461bcd60e51b815260206004820152601e60248201527f536f7272792c20596f75206e65656420746f20626520616e2061646d696e00006044820152606401610a24565b60005b601a548110156111515761113f601a828154811061112557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316610bb6565b8061114981612f27565b9150506110f7565b50565b6000546001600160a01b0316331461117e5760405162461bcd60e51b8152600401610a2490612d83565b6001600160a01b03166000908152601960205260409020600301805460ff19811660ff90911615179055565b60006001600160a01b0382166112155760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a24565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b0316331461125b5760405162461bcd60e51b8152600401610a2490612d83565b61126560006121a4565b565b3360009081526019602052604090206003015460ff1615156001146112ce5760405162461bcd60e51b815260206004820152601e60248201527f536f7272792c20596f75206e65656420746f20626520616e2061646d696e00006044820152606401610a24565b336000908152601960205260409020805460039091015460ff1615156001146113395760405162461bcd60e51b815260206004820152601d60248201527f536f7272792c204f6e6c7920616e2061646d696e2063616e206d696e740000006044820152606401610a24565b600081116113895760405162461bcd60e51b815260206004820152601c60248201527f4e65656420746f206861766520726573657276656420737570706c79000000006044820152606401610a24565b6010548161139660095490565b6113a09190612e5e565b11156113ee5760405162461bcd60e51b815260206004820152601f60248201527f596f7520776f756c642065786365656420746865206d696e74206c696d6974006044820152606401610a24565b336000908152601960205260408120805483929061140d908490612ea9565b9091555050601654611420908290612ea9565b60165560005b81811015610bb2576017805490600061143e83612f27565b919050555061144f336017546121f4565b337f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688561147a60095490565b60405190815260200160405180910390a28061149581612f27565b915050611426565b6000600f82815481106114c057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b6000546001600160a01b031633146115055760405162461bcd60e51b8152600401610a2490612d83565b8051610bb2906014906020840190612870565b60606002805461092c90612eec565b6001600160a01b0382163314156115805760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a24565b3360008181526006602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115ed911515815260200190565b60405180910390a35050565b6116033383611f02565b61161f5760405162461bcd60e51b8152600401610a2490612db8565b61162b8484848461220e565b50505050565b6000546001600160a01b0316331461165b5760405162461bcd60e51b8152600401610a2490612d83565b6015805460ff19166001179055565b6000818152600360205260409020546060906001600160a01b03166116e95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a24565b60006116f3612241565b90506000815111611713576040518060200160405280600081525061173e565b8061171d84612250565b60405160200161172e929190612cb2565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331461176f5760405162461bcd60e51b8152600401610a2490612d83565b60165460105461177f9190612ea9565b815160095461178e9190612e5e565b11156117e75760405162461bcd60e51b815260206004820152602260248201527f596f7520776f756c6420657863656564207468652061697264726f70206c696d6044820152611a5d60f21b6064820152608401610a24565b60005b8151811015610bb2576017805490600061180383612f27565b919050555061183b82828151811061182b57634e487b7160e01b600052603260045260246000fd5b60200260200101516017546121f4565b337f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688561186660095490565b60405190815260200160405180910390a28061188181612f27565b9150506117ea565b60606014805461092c90612eec565b6000546001600160a01b031633146118c25760405162461bcd60e51b8152600401610a2490612d83565b6015805462ff0000191662010000179055565b6000546001600160a01b031633146118ff5760405162461bcd60e51b8152600401610a2490612d83565b601155565b6000546001600160a01b0316331461192e5760405162461bcd60e51b8152600401610a2490612d83565b6001600160a01b0381166119935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a24565b611151816121a4565b601554610100900460ff16156119e55760405162461bcd60e51b815260206004820152600e60248201526d4e6f2072652d656e7472616e637960901b6044820152606401610a24565b6015805461ff001916610100179081905560ff16611a455760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610a24565b601654601054611a559190612ea9565b81611a5f60095490565b611a699190612e5e565b1115611ac95760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c79604482015268206f66204d5554545360b81b6064820152608401610a24565b80601154611ad79190612e8a565b341015611b265760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610a24565b333b15611b6c5760405162461bcd60e51b815260206004820152601460248201527310dbdb9d1c9858dd1cc818d85b89dd081b5a5b9d60621b6044820152606401610a24565b6018544210611bf15733600090815260196020526040902060020154600a90611b959083612e5e565b1115611bf15760405162461bcd60e51b815260206004820152602560248201527f536f72727920796f752063616e206f6e6c79206d696e74203130207065722077604482015264185b1b195d60da1b6064820152608401610a24565b60005b81811015611c8e5760178054906000611c0c83612f27565b9091555050336000908152601960205260408120600201805491611c2f83612f27565b9190505550611c40336017546121f4565b337f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885611c6b60095490565b60405190815260200160405180910390a280611c8681612f27565b915050611bf4565b50506015805461ff0019169055565b60128054611caa90612eec565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd690612eec565b8015611d235780601f10611cf857610100808354040283529160200191611d23565b820191906000526020600020905b815481529060010190602001808311611d0657829003601f168201915b505050505081565b60006001600160e01b031982166380ac58cd60e01b1480611d5c57506001600160e01b03198216635b5e139f60e01b145b8061091557506301ffc9a760e01b6001600160e01b0319831614610915565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611db082610fe7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015611e395760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a24565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e86576040519150601f19603f3d011682016040523d82523d6000602084013e611e8b565b606091505b5050905080610b5a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a24565b6000818152600360205260408120546001600160a01b0316611f7b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a24565b6000611f8683610fe7565b9050806001600160a01b0316846001600160a01b03161480611fc15750836001600160a01b0316611fb6846109af565b6001600160a01b0316145b80611ff157506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661200c82610fe7565b6001600160a01b0316146120745760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a24565b6001600160a01b0382166120d65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a24565b6120e183838361236b565b6120ec600082611d7b565b6001600160a01b0383166000908152600460205260408120805460019290612115908490612ea9565b90915550506001600160a01b0382166000908152600460205260408120805460019290612143908490612e5e565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610bb2828260405180602001604052806000815250612428565b612219848484611ff9565b6122258484848461245b565b61162b5760405162461bcd60e51b8152600401610a2490612d31565b60606013805461092c90612eec565b60608161227557506040805180820190915260018152600360fc1b6020820152610918565b8160005b811561229f578061228981612f27565b91506122989050600a83612e76565b9150612279565b60008167ffffffffffffffff8111156122c857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122f2576020820181803683370190505b5090505b8415611ff157612307600183612ea9565b9150612314600a86612f42565b61231f906030612e5e565b60f81b81838151811061234257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612364600a86612e76565b94506122f6565b6001600160a01b0383166123c6576123c181600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6123e9565b816001600160a01b0316836001600160a01b0316146123e9576123e98382612568565b6001600160a01b0382166124055761240081612605565b610b5a565b826001600160a01b0316826001600160a01b031614610b5a57610b5a82826126de565b6124328383612722565b61243f600084848461245b565b610b5a5760405162461bcd60e51b8152600401610a2490612d31565b60006001600160a01b0384163b1561255d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061249f903390899088908890600401612ce1565b602060405180830381600087803b1580156124b957600080fd5b505af19250505080156124e9575060408051601f3d908101601f191682019092526124e691810190612c0c565b60015b612543573d808015612517576040519150601f19603f3d011682016040523d82523d6000602084013e61251c565b606091505b50805161253b5760405162461bcd60e51b8152600401610a2490612d31565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ff1565b506001949350505050565b60006001612575846111aa565b61257f9190612ea9565b6000838152600860205260409020549091508082146125d2576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061261790600190612ea9565b6000838152600a60205260408120546009805493945090928490811061264d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061267c57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806126c257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006126e9836111aa565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166127785760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a24565b6000818152600360205260409020546001600160a01b0316156127dd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a24565b6127e96000838361236b565b6001600160a01b0382166000908152600460205260408120805460019290612812908490612e5e565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461287c90612eec565b90600052602060002090601f01602090048101928261289e57600085556128e4565b82601f106128b757805160ff19168380011785556128e4565b828001600101855582156128e4579182015b828111156128e45782518255916020019190600101906128c9565b506128f09291506128f4565b5090565b5b808211156128f057600081556001016128f5565b600067ffffffffffffffff83111561292357612923612f82565b612936601f8401601f1916602001612e09565b905082815283838301111561294a57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612972578081fd5b813561173e81612f98565b6000806040838503121561298f578081fd5b823561299a81612f98565b915060208301356129aa81612f98565b809150509250929050565b6000806000606084860312156129c9578081fd5b83356129d481612f98565b925060208401356129e481612f98565b929592945050506040919091013590565b60008060008060808587031215612a0a578081fd5b8435612a1581612f98565b93506020850135612a2581612f98565b925060408501359150606085013567ffffffffffffffff811115612a47578182fd5b8501601f81018713612a57578182fd5b612a6687823560208401612909565b91505092959194509250565b60008060408385031215612a84578182fd5b8235612a8f81612f98565b9150602083013580151581146129aa578182fd5b60008060408385031215612ab5578182fd5b8235612ac081612f98565b946020939093013593505050565b60006020808385031215612ae0578182fd5b823567ffffffffffffffff811115612af6578283fd5b8301601f81018513612b06578283fd5b8035612b19612b1482612e3a565b612e09565b8181528381019083850185840285018601891015612b35578687fd5b8694505b83851015612b60578035612b4c81612f98565b835260019490940193918501918501612b39565b50979650505050505050565b60006020808385031215612b7e578182fd5b823567ffffffffffffffff811115612b94578283fd5b8301601f81018513612ba4578283fd5b8035612bb2612b1482612e3a565b8181528381019083850185840285018601891015612bce578687fd5b8694505b83851015612b60578035835260019490940193918501918501612bd2565b600060208284031215612c01578081fd5b813561173e81612fad565b600060208284031215612c1d578081fd5b815161173e81612fad565b600060208284031215612c39578081fd5b813567ffffffffffffffff811115612c4f578182fd5b8201601f81018413612c5f578182fd5b611ff184823560208401612909565b600060208284031215612c7f578081fd5b5035919050565b60008151808452612c9e816020860160208601612ec0565b601f01601f19169290920160200192915050565b60008351612cc4818460208801612ec0565b835190830190612cd8818360208801612ec0565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d1490830184612c86565b9695505050505050565b60006020825261173e6020830184612c86565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e3257612e32612f82565b604052919050565b600067ffffffffffffffff821115612e5457612e54612f82565b5060209081020190565b60008219821115612e7157612e71612f56565b500190565b600082612e8557612e85612f6c565b500490565b6000816000190483118215151615612ea457612ea4612f56565b500290565b600082821015612ebb57612ebb612f56565b500390565b60005b83811015612edb578181015183820152602001612ec3565b8381111561162b5750506000910152565b600281046001821680612f0057607f821691505b60208210811415612f2157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f3b57612f3b612f56565b5060010190565b600082612f5157612f51612f6c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461115157600080fd5b6001600160e01b03198116811461115157600080fdfea2646970667358221220566dfbdc1a81e15863388484bc1fb2ae44554ad91f46f921336e99ded3c83c1064736f6c63430008020033

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000007000000000000000000000000691dd7b83f32d199aa2593c308b20dda91c67d5e000000000000000000000000a222c1174132309d98b891dcb5c93f09aee23b9600000000000000000000000069601fb69d6144ec2d072237db7ce18ad9820e75000000000000000000000000a049675f410212cc89534358cbaec6cc4a0c71cc0000000000000000000000002136c6cd5a710b1181de480f577450221751bb3b0000000000000000000000000f46d5c777d82350a2397e06d54fcb5d3cdc472e000000000000000000000000a287df004974aa012dc63fc9d689316229b213400000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000039d000000000000000000000000000000000000000000000000000000000000039d0000000000000000000000000000000000000000000000000000000000000096000000000000000000000000000000000000000000000000000000000000177000000000000000000000000000000000000000000000000000000000000002bc00000000000000000000000000000000000000000000000000000000000002bc00000000000000000000000000000000000000000000000000000000000002580000000000000000000000000000000000000000000000000000000000000008000000000000000000000000a126a2a819b3456b04cf36c820a80f56fd24dff8000000000000000000000000db85c683c4e4a2555e0e93368fc003f4885014c3000000000000000000000000c25f57623c2acef27365699d50643b3ba9dc792c000000000000000000000000925e13a5ab1d9d6e36bd2d3af9da3ac14f1693b4000000000000000000000000402905d2aa5d66515d51faf2dfa4e350634dd20a00000000000000000000000002c65175f7daf40be976e4fa54842b08149d8c6d000000000000000000000000bbea2edb1eb8dba31d69eaeea328b8a59c65da5800000000000000000000000047e2e4aa911a75006076986d09741a48f12c2526

-----Decoded View---------------
Arg [0] : team (address[]): 0x691dd7b83f32d199aa2593c308B20DDA91C67D5E,0xA222c1174132309D98B891dCB5c93f09aEE23b96,0x69601Fb69D6144EC2D072237Db7CE18AD9820E75,0xA049675F410212CC89534358cbAec6cc4A0C71CC,0x2136C6CD5A710B1181DE480f577450221751Bb3B,0x0f46D5C777D82350A2397e06D54fCb5d3CDc472E,0xA287df004974Aa012dC63FC9D689316229b21340
Arg [1] : team_shares (uint256[]): 925,925,150,6000,700,700,600
Arg [2] : admins (address[]): 0xa126a2A819b3456B04cf36C820A80F56fd24DFF8,0xDb85C683c4E4a2555e0e93368Fc003f4885014c3,0xc25f57623C2acEf27365699D50643B3ba9DC792c,0x925e13a5aB1d9D6e36Bd2D3af9DA3aC14F1693B4,0x402905d2AA5D66515D51FAF2dFA4e350634dd20A,0x02C65175F7DAF40bE976E4Fa54842b08149d8C6d,0xbbEa2Edb1eB8dbA31d69eAeEa328B8A59c65DA58,0x47E2e4AA911A75006076986D09741a48F12c2526

-----Encoded View---------------
28 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 000000000000000000000000691dd7b83f32d199aa2593c308b20dda91c67d5e
Arg [5] : 000000000000000000000000a222c1174132309d98b891dcb5c93f09aee23b96
Arg [6] : 00000000000000000000000069601fb69d6144ec2d072237db7ce18ad9820e75
Arg [7] : 000000000000000000000000a049675f410212cc89534358cbaec6cc4a0c71cc
Arg [8] : 0000000000000000000000002136c6cd5a710b1181de480f577450221751bb3b
Arg [9] : 0000000000000000000000000f46d5c777d82350a2397e06d54fcb5d3cdc472e
Arg [10] : 000000000000000000000000a287df004974aa012dc63fc9d689316229b21340
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [12] : 000000000000000000000000000000000000000000000000000000000000039d
Arg [13] : 000000000000000000000000000000000000000000000000000000000000039d
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [15] : 0000000000000000000000000000000000000000000000000000000000001770
Arg [16] : 00000000000000000000000000000000000000000000000000000000000002bc
Arg [17] : 00000000000000000000000000000000000000000000000000000000000002bc
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000258
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [20] : 000000000000000000000000a126a2a819b3456b04cf36c820a80f56fd24dff8
Arg [21] : 000000000000000000000000db85c683c4e4a2555e0e93368fc003f4885014c3
Arg [22] : 000000000000000000000000c25f57623c2acef27365699d50643b3ba9dc792c
Arg [23] : 000000000000000000000000925e13a5ab1d9d6e36bd2d3af9da3ac14f1693b4
Arg [24] : 000000000000000000000000402905d2aa5d66515d51faf2dfa4e350634dd20a
Arg [25] : 00000000000000000000000002c65175f7daf40be976e4fa54842b08149d8c6d
Arg [26] : 000000000000000000000000bbea2edb1eb8dba31d69eaeea328b8a59c65da58
Arg [27] : 00000000000000000000000047e2e4aa911a75006076986d09741a48f12c2526


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Chef Boi R Doge Mutts! 1/1s only inspired by Chef Boi R Doge, this programmatically generated project NOW MINTING.

Validator Index Block Amount
View All Withdrawals

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

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