ETH Price: $3,342.48 (-0.96%)

Contract

0x282A7D13152b3f51a3E31D46A2Ca563F8554d85D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Set Approval For...214078112024-12-15 12:06:3512 days ago1734264395IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000187967.74102371
Set Approval For...213473742024-12-07 1:36:1121 days ago1733535371IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0003752715.50846598
Set Approval For...211024862024-11-02 20:57:2355 days ago1730581043IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000125845.1956672
Set Approval For...211022222024-11-02 20:03:5955 days ago1730577839IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000130795.4
Set Approval For...210572662024-10-27 13:29:1161 days ago1730035751IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000202698.37644261
Set Approval For...210199252024-10-22 8:28:1166 days ago1729585691IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0002726811.26871026
Set Approval For...209204172024-10-08 10:59:2380 days ago1728385163IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0003545114.6
Set Approval For...206578462024-09-01 19:35:47117 days ago1725219347IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000028611.18238987
Set Approval For...206485032024-08-31 12:17:59118 days ago1725106679IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000030631.26583849
Set Approval For...204493822024-08-03 17:02:35146 days ago1722704555IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000126445.22045498
Set Approval For...204199282024-07-30 14:20:47150 days ago1722349247IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0003146412.9579495
Safe Transfer Fr...204150262024-07-29 21:51:11151 days ago1722289871IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000108462.64956559
Set Approval For...201965252024-06-29 9:43:47181 days ago1719654227IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000038721.59868095
Set Approval For...201965022024-06-29 9:39:11181 days ago1719653951IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000044591.83661389
Set Approval For...200967672024-06-15 11:02:35195 days ago1718449355IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000092093.79281259
Set Approval For...197981272024-05-04 17:07:11237 days ago1714842431IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000153286.32834406
Set Approval For...197927772024-05-03 23:10:35238 days ago1714777835IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000132925.49339315
Set Approval For...196774072024-04-17 19:53:35254 days ago1713383615IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0002802311.58077255
Set Approval For...196630552024-04-15 19:40:47256 days ago1713210047IN
Toxic Skulls Club: Old TSC Token
0 ETH0.000713115.46528582
Set Approval For...196295942024-04-11 3:05:59261 days ago1712804759IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0003338813.79793604
Set Approval For...195790592024-04-04 1:15:23268 days ago1712193323IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0005061620.91761622
Set Approval For...195578512024-04-01 1:53:11271 days ago1711936391IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0004418618.26045209
Set Approval For...194985142024-03-23 16:33:11279 days ago1711211591IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0004300917.77416877
Set Approval For...194956492024-03-23 6:55:35279 days ago1711176935IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0004066916.80698419
Set Approval For...194924892024-03-22 20:17:11280 days ago1711138631IN
Toxic Skulls Club: Old TSC Token
0 ETH0.0005472822.59456171
View all transactions

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
146000512022-04-17 2:04:04986 days ago1650161044
Toxic Skulls Club: Old TSC Token
61.984 ETH
146000512022-04-17 2:04:04986 days ago1650161044
Toxic Skulls Club: Old TSC Token
557.856 ETH
146000512022-04-17 2:04:04986 days ago1650161044
Toxic Skulls Club: Old TSC Token
154.96 ETH
145995972022-04-17 0:26:28986 days ago1650155188
Toxic Skulls Club: Old TSC Token
557.856 ETH
145995972022-04-17 0:26:28986 days ago1650155188
Toxic Skulls Club: Old TSC Token
154.96 ETH
145995632022-04-17 0:19:28986 days ago1650154768
Toxic Skulls Club: Old TSC Token
557.856 ETH
145995632022-04-17 0:19:28986 days ago1650154768
Toxic Skulls Club: Old TSC Token
154.96 ETH
145860962022-04-14 21:57:43988 days ago1649973463
Toxic Skulls Club: Old TSC Token
0.08 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ToxicSkullsClub

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 50000 runs

Other Settings:
default evmVersion
File 1 of 15 : ToxicSkullsClub.sol
// SPDX-License-Identifier: MIT
// Author: Pagzi Tech Inc. | 2022
// Toxic Skulls Club - TSC | 2022
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./ERC721Enumerable.sol";

contract ToxicSkullsClub is ERC721Enumerable, Ownable, ReentrancyGuard {
    //allowlist settings    
    bytes32 public merkleRoot;
    mapping(address => uint256) public claimed;

    //sale settings
    uint256 public cost = 0.08 ether;
    uint256 public costPre = 0.07 ether;
    uint256 public maxSupply = 9999;
    uint256 public maxMint = 10;
    uint256 public maxMintPre = 2;
    bool public paused = false;

    //backend settings
    string public baseURI;
    address internal immutable founders = 0x1ff63DF1077a40ec7A4f5a85a07eA7aC773EF368;
    address internal immutable pagzidev = 0xeBaBB8C951F5c3b17b416A3D840C52CcaB728c19;
    address internal immutable partner = 0x9C3EDD974552898350bbD3425608CE03cDE2426a;
    mapping(address => bool) public projectProxy;

    //date variables
    uint256 public publicDate = 1649966400;
    uint256 public preDate = 1649955600;

    //mint passes/claims
    mapping(address => uint256) public mintPasses;
    address public proxyAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;

    modifier checkLimit(uint256 _mintAmount) {
        require(_mintAmount > 0 && _mintAmount <= maxMint, "Invalid mint amount!");
        require(_owners.length + _mintAmount < maxSupply + 1, "Max supply exceeded!");
        _;
    }
    
    modifier checkDate() {
        require(!paused, "Public sale is paused!");
        require((publicDate <= block.timestamp),"Public sale is not yet!");
        _;
    }
    modifier checkPreDate() {
        require(!paused, "Pre sale is paused!");
        require((preDate <= block.timestamp),"Presale is not yet!");
        _;
    }

    modifier checkPrice(uint256 _mintAmount) {
        require(msg.value >= cost * _mintAmount, "Insufficient funds!");
        _;
    }
    modifier checPrePrice(uint256 _mintAmount) {
        require(msg.value >= costPre * _mintAmount, "Insufficient funds!");
        _;
    }

    constructor() ERC721("Toxic Skulls Club", "TSC") {
        baseURI = "https://tsc.nftapi.art/meta/";
    }

    // external
    function mint(uint256 count) external payable checkLimit(count) checkPrice(count) checkDate {
        uint256 totalSupply = _owners.length;
        for(uint i; i < count; i++) { 
            _mint(msg.sender, totalSupply + i + 1);
        }
    }
    
    function mintPass(uint256 count) external payable checkLimit(count) checPrePrice(count) checkPreDate {
        uint256 totalSupply = _owners.length;
        uint256 reserve = mintPasses[msg.sender];
        require(reserve > 0, "Low reserve!");
        for (uint256 i = 0; i < count; ++i) {
            _mint(msg.sender, totalSupply + i + 1);
        }
        mintPasses[msg.sender] = reserve - count;
        delete totalSupply;
        delete reserve;
    }

    function mintPre(uint256 count, bytes32[] calldata _merkleProof) external payable checkLimit(count) checPrePrice(count) checkPreDate {
        // Verify allowlist requirements
        require((claimed[msg.sender] + count) < (maxMintPre + 1), "Address has no allowance!");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid merkle proof!");
        uint256 totalSupply = _owners.length;
        for(uint i; i < count; i++) { 
            _mint(msg.sender, totalSupply + i + 1);
        }
        claimed[msg.sender] = claimed[msg.sender] + count;
        delete totalSupply;
        delete leaf;
    }
    //only owner
    function gift(uint[] calldata quantity, address[] calldata recipient) external onlyOwner{
    require(quantity.length == recipient.length, "Provide quantities and recipients" );
    uint totalQuantity;
    uint256 totalSupply = _owners.length;
    for(uint i = 0; i < quantity.length; ++i){
        totalQuantity += quantity[i];
    }
    require(totalSupply + totalQuantity + 1 <= maxSupply, "Not enough supply!" );
        for(uint i = 0; i < recipient.length; ++i){
        for(uint j = 0; j < quantity[i]; ++j){
            _mint(recipient[i], totalSupply + 1);
            totalSupply++;
        }
        }
    }

    function setCost(uint256 _cost) external onlyOwner {
        cost = _cost;
    }
    function setCostPre(uint256 _costPre) external onlyOwner {
        costPre = _costPre;
    }
    function setPublicDate(uint256 _publicDate) external onlyOwner {
        publicDate = _publicDate;
    }
    function setPreDate(uint256 _preDate) external onlyOwner {
        preDate = _preDate;
    }
    function setDates(uint256 _publicDate, uint256 _preDate) external onlyOwner {
        publicDate = _publicDate;
        preDate = _preDate;
    }
    function setMintPass(address _address,uint256 _quantity) external onlyOwner {
        mintPasses[_address] = _quantity;
    }
    function setMintPasses(address[] calldata _addresses, uint256[] calldata _amounts) external onlyOwner {
        for(uint256 i; i < _addresses.length; i++){
        mintPasses[_addresses[i]] = _amounts[i];
        }
    }
    function setPaused(bool _paused) public onlyOwner {
        paused = _paused;
    }
    function setBaseURI(string memory _baseURI) public onlyOwner {
        baseURI = _baseURI;
    }
    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }
    function switchProxy(address _proxyAddress) public onlyOwner {
        projectProxy[_proxyAddress] = !projectProxy[_proxyAddress];
    }
    function setProxy(address _proxyAddress) external onlyOwner {
        proxyAddress = _proxyAddress;
    }
    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(_exists(_tokenId), "Token does not exist.");
        return string(abi.encodePacked(baseURI, Strings.toString(_tokenId)));
    }
    function burn(uint256 tokenId) public { 
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn.");
        _burn(tokenId);
    }
    function tokensOfOwner(address _owner) public view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) return new uint256[](0);
        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }
    function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            transferFrom(_from, _to, _tokenIds[i]);
        }
    }
    function batchSafeTransferFrom(address _from, address _to, uint256[] memory _tokenIds, bytes memory data_) public {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            safeTransferFrom(_from, _to, _tokenIds[i], data_);
        }
    }
    function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool){
        for(uint256 i; i < _tokenIds.length; ++i ){
            if(_owners[_tokenIds[i]] != account)
                return false;
        }
        return true;
    }
    function isApprovedForAll(address _owner, address operator) public view override(IERC721,ERC721) returns (bool) {
        //Free listing on OpenSea by granting access to their proxy wallet. This can be removed in case of a breach on OS.
        OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyAddress);
        if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true;
        return super.isApprovedForAll(_owner, operator);
    }
    function _mint(address to, uint256 tokenId) internal virtual override {
        _owners.push(to);
        emit Transfer(address(0), to, tokenId);
    }
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(pagzidev).transfer((balance * 200) / 1000);
        payable(founders).transfer((balance * 720) / 1000);
        payable(partner).transfer((balance * 80) / 1000);
    }
}
contract OwnableDelegateProxy { }
contract OpenSeaProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: GPL-3.0
// Author: Pagzi Tech Inc. | 2022
// DeadTownZeds | 2022
pragma solidity >=0.8.0 <0.9.0;
import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/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 but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @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-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _owners.length;
    }

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

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

        uint count;
        for(uint i; i < _owners.length; i++){
            if(owner == _owners[i]){
                if(count == index) return i+1;
                else count++;
            }
        }
        revert("ERC721Enumerable: owner index out of bounds");
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

File 5 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 6 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 7 of 15 : ERC721.sol
// SPDX-License-Identifier: GPL-3.0
// Author: Pagzi Tech Inc. | 2022
// DeadTownZeds | 2022
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;
    
    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    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 (uint) 
    {
        require(owner != address(0), "ERC721: balance query for the zero address");

        uint count;
        for( uint i; i < _owners.length; ++i ){
          if( owner == _owners[i] )
            ++count;
        }
        return count;
    }

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

    /**
     * @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 tokenId < (_owners.length + 1)  && _owners[tokenId - 1] != 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);
        _owners.push(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);
        _owners[tokenId - 1] = address(0);

        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);
        _owners[tokenId - 1] = 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 - 1] = 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 8 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 9 of 15 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

File 10 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 11 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 12 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 13 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 14 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 15 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costPre","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPre","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintPass","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintPasses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPre","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicDate","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_costPre","type":"uint256"}],"name":"setCostPre","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"},{"internalType":"uint256","name":"_preDate","type":"uint256"}],"name":"setDates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"setMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"setMintPasses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preDate","type":"uint256"}],"name":"setPreDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"}],"name":"setPublicDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"switchProxy","outputs":[],"stateMutability":"nonpayable","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405267011c37937e08000060095566f8b0a10e470000600a90815561270f600b55600c556002600d55600e805460ff19169055731ff63df1077a40ec7a4f5a85a07ea7ac773ef36860805273ebabb8c951f5c3b17b416a3d840c52ccab728c1960a052739c3edd974552898350bbd3425608ce03cde2426a60c0526362587d406011556362585310601255601480546001600160a01b03191673a5409ec958c83c3f309868babaca7c86dcb077c1179055348015620000c057600080fd5b5060408051808201825260118152702a37bc34b19029b5bab636399021b63ab160791b60208083019182528351808501909452600384526254534360e81b9084015281519192916200011591600091620001f0565b5080516200012b906001906020840190620001f0565b50505062000148620001426200019a60201b60201c565b6200019e565b600160065560408051808201909152601c8082527f68747470733a2f2f7473632e6e66746170692e6172742f6d6574612f0000000060209092019182526200019391600f91620001f0565b50620002d2565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001fe9062000296565b90600052602060002090601f0160209004810192826200022257600085556200026d565b82601f106200023d57805160ff19168380011785556200026d565b828001600101855582156200026d579182015b828111156200026d57825182559160200191906001019062000250565b506200027b9291506200027f565b5090565b5b808211156200027b576000815560010162000280565b600181811c90821680620002ab57607f821691505b602082108103620002cc57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05161471b6200030260003960006117240152600061162d015260006116a8015261471b6000f3fe6080604052600436106103605760003560e01c80635c975abb116101c657806397107d6d116100f7578063d5abeb0111610095578063e985e9c51161006f578063e985e9c5146109ac578063ea9d6d29146109cc578063f2fde38b146109ec578063f3993d1114610a0c57600080fd5b8063d5abeb0114610956578063dedf141e1461096c578063e928ff9f1461098c57600080fd5b8063b88d4fde116100d1578063b88d4fde146108c9578063bae3aaa6146108e9578063c87b56dd14610909578063c884ef831461092957600080fd5b806397107d6d14610876578063a0712d6814610896578063a22cb465146108a957600080fd5b80638462151c116101645780638da5cb5b1161013e5780638da5cb5b146107e95780638f1bca111461081457806395d89b411461084157806396ea3a471461085657600080fd5b80638462151c14610786578063858feced146107b357806389a1f66f146107c957600080fd5b806370a08231116101a057806370a082311461071b578063715018a61461073b5780637501f741146107505780637cb647591461076657600080fd5b80635c975abb146106cc5780636352211e146106e65780636c0360eb1461070657600080fd5b80632f745c59116102a05780634d44660c1161023e57806351463d5b1161021857806351463d5b1461064657806355f804b31461065c5780635a4fee301461067c5780635bab26e21461069c57600080fd5b80634d44660c146105f35780634f28e680146106135780634f6ccce71461062657600080fd5b806342966c681161027a57806342966c681461057d57806344a0d68a1461059d57806348466402146105bd5780634bfb8ed3146105dd57600080fd5b80632f745c59146105285780633ccfd60b1461054857806342842e0e1461055d57600080fd5b806313faede61161030d57806323b872dd116102e757806323b872dd146104a557806323f5c02d146104c5578063245cad7a146104f25780632eb4a7ab1461051257600080fd5b806313faede61461045a57806316c38b3c1461047057806318160ddd1461049057600080fd5b806308bcfdbf1161033e57806308bcfdbf14610401578063095ea7b314610416578063108ce0a21461043657600080fd5b806301ffc9a71461036557806306fdde031461039a578063081812fc146103bc575b600080fd5b34801561037157600080fd5b50610385610380366004613ce6565b610a2c565b60405190151581526020015b60405180910390f35b3480156103a657600080fd5b506103af610a88565b6040516103919190613d79565b3480156103c857600080fd5b506103dc6103d7366004613d8c565b610b1a565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610391565b61041461040f366004613df1565b610bf2565b005b34801561042257600080fd5b50610414610431366004613e5f565b611035565b34801561044257600080fd5b5061044c60125481565b604051908152602001610391565b34801561046657600080fd5b5061044c60095481565b34801561047c57600080fd5b5061041461048b366004613ea0565b6111c1565b34801561049c57600080fd5b5060025461044c565b3480156104b157600080fd5b506104146104c0366004613ebb565b611273565b3480156104d157600080fd5b506014546103dc9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104fe57600080fd5b5061041461050d366004613efc565b611315565b34801561051e57600080fd5b5061044c60075481565b34801561053457600080fd5b5061044c610543366004613e5f565b6113ea565b34801561055457600080fd5b50610414611594565b34801561056957600080fd5b50610414610578366004613ebb565b61178b565b34801561058957600080fd5b50610414610598366004613d8c565b6117a6565b3480156105a957600080fd5b506104146105b8366004613d8c565b611821565b3480156105c957600080fd5b506104146105d8366004613e5f565b6118a7565b3480156105e957600080fd5b5061044c600a5481565b3480156105ff57600080fd5b5061038561060e366004613f19565b611951565b610414610621366004613d8c565b6119ed565b34801561063257600080fd5b5061044c610641366004613d8c565b611cff565b34801561065257600080fd5b5061044c60115481565b34801561066857600080fd5b50610414610677366004614049565b611d9e565b34801561068857600080fd5b50610414610697366004614132565b611e32565b3480156106a857600080fd5b506103856106b7366004613efc565b60106020526000908152604090205460ff1681565b3480156106d857600080fd5b50600e546103859060ff1681565b3480156106f257600080fd5b506103dc610701366004613d8c565b611e7c565b34801561071257600080fd5b506103af611f4d565b34801561072757600080fd5b5061044c610736366004613efc565b611fdb565b34801561074757600080fd5b506104146120f0565b34801561075c57600080fd5b5061044c600c5481565b34801561077257600080fd5b50610414610781366004613d8c565b61217d565b34801561079257600080fd5b506107a66107a1366004613efc565b612203565b60405161039191906141bb565b3480156107bf57600080fd5b5061044c600d5481565b3480156107d557600080fd5b506104146107e4366004613d8c565b6122bf565b3480156107f557600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff166103dc565b34801561082057600080fd5b5061044c61082f366004613efc565b60136020526000908152604090205481565b34801561084d57600080fd5b506103af612345565b34801561086257600080fd5b506104146108713660046141ff565b612354565b34801561088257600080fd5b50610414610891366004613efc565b6125c6565b6104146108a4366004613d8c565b61268e565b3480156108b557600080fd5b506104146108c436600461426b565b612909565b3480156108d557600080fd5b506104146108e43660046142a0565b612a1f565b3480156108f557600080fd5b50610414610904366004613d8c565b612ac7565b34801561091557600080fd5b506103af610924366004613d8c565b612b4d565b34801561093557600080fd5b5061044c610944366004613efc565b60086020526000908152604090205481565b34801561096257600080fd5b5061044c600b5481565b34801561097857600080fd5b50610414610987366004614300565b612bf0565b34801561099857600080fd5b506104146109a73660046141ff565b612c7c565b3480156109b857600080fd5b506103856109c7366004614322565b612d85565b3480156109d857600080fd5b506104146109e7366004613d8c565b612eb6565b3480156109f857600080fd5b50610414610a07366004613efc565b612f3c565b348015610a1857600080fd5b50610414610a2736600461435b565b613069565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610a825750610a82826130ab565b92915050565b606060008054610a97906143bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac3906143bd565b8015610b105780601f10610ae557610100808354040283529160200191610b10565b820191906000526020600020905b815481529060010190602001808311610af357829003601f168201915b5050505050905090565b6000610b258261318e565b610bb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b60036000610bc560018561443f565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b82600081118015610c055750600c548111155b610c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bad565b600b54610c79906001614456565b600254610c87908390614456565b10610cee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610bad565b8380600a54610cfd919061446e565b341015610d66576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bad565b600e5460ff1615610dd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5072652073616c652069732070617573656421000000000000000000000000006044820152606401610bad565b426012541115610e3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f50726573616c65206973206e6f742079657421000000000000000000000000006044820152606401610bad565b600d54610e4d906001614456565b33600090815260086020526040902054610e68908790614456565b10610ecf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4164647265737320686173206e6f20616c6c6f77616e636521000000000000006044820152606401610bad565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050610f5c8585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060075491508490506131f1565b610fc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f496e76616c6964206d65726b6c652070726f6f662100000000000000000000006044820152606401610bad565b60025460005b8781101561100057610fee33610fde8385614456565b610fe9906001614456565b613207565b80610ff8816144ab565b915050610fc8565b503360009081526008602052604090205461101c908890614456565b3360009081526008602052604090205550505050505050565b600061104082611e7c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610bad565b3373ffffffffffffffffffffffffffffffffffffffff8216148061112657506111268133612d85565b6111b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bad565b6111bc83836132a8565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b61127e335b8261335a565b61130a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bad565b6111bc83838361347b565b60055473ffffffffffffffffffffffffffffffffffffffff163314611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b73ffffffffffffffffffffffffffffffffffffffff16600090815260106020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60006113f583611fdb565b8210611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bad565b6000805b60025481101561150b57600281815481106114a4576114a46144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff908116908616036114f9578382036114eb576114e2816001614456565b92505050610a82565b816114f5816144ab565b9250505b80611503816144ab565b915050611487565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bad565b60055473ffffffffffffffffffffffffffffffffffffffff163314611615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b4773ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166108fc6103e861165e8460c861446e565b6116689190614541565b6040518115909202916000818181858888f19350505050158015611690573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166108fc6103e86116da846102d061446e565b6116e49190614541565b6040518115909202916000818181858888f1935050505015801561170c573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166108fc6103e861175584605061446e565b61175f9190614541565b6040518115909202916000818181858888f19350505050158015611787573d6000803e3d6000fd5b5050565b6111bc83838360405180602001604052806000815250612a1f565b6117af33611278565b611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e00000000000000000000006044820152606401610bad565b61181e81613688565b50565b60055473ffffffffffffffffffffffffffffffffffffffff1633146118a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b600955565b60055473ffffffffffffffffffffffffffffffffffffffff163314611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b73ffffffffffffffffffffffffffffffffffffffff909116600090815260136020526040902055565b6000805b828110156119e0578473ffffffffffffffffffffffffffffffffffffffff166002858584818110611988576119886144e3565b905060200201358154811061199f5761199f6144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16146119d05760009150506119e6565b6119d9816144ab565b9050611955565b50600190505b9392505050565b80600081118015611a005750600c548111155b611a66576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bad565b600b54611a74906001614456565b600254611a82908390614456565b10611ae9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610bad565b8180600a54611af8919061446e565b341015611b61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bad565b600e5460ff1615611bce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5072652073616c652069732070617573656421000000000000000000000000006044820152606401610bad565b426012541115611c3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f50726573616c65206973206e6f742079657421000000000000000000000000006044820152606401610bad565b6002543360009081526013602052604090205480611cb4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4c6f7720726573657276652100000000000000000000000000000000000000006044820152606401610bad565b60005b85811015611cdd57611ccd33610fde8386614456565b611cd6816144ab565b9050611cb7565b50611ce8858261443f565b336000908152601360205260409020555050505050565b6002546000908210611d93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610bad565b610a82826001614456565b60055473ffffffffffffffffffffffffffffffffffffffff163314611e1f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b805161178790600f906020840190613c1f565b60005b8251811015611e7557611e638585858481518110611e5557611e556144e3565b602002602001015185612a1f565b80611e6d816144ab565b915050611e35565b5050505050565b6000806002611e8c60018561443f565b81548110611e9c57611e9c6144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905080610a82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610bad565b600f8054611f5a906143bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611f86906143bd565b8015611fd35780601f10611fa857610100808354040283529160200191611fd3565b820191906000526020600020905b815481529060010190602001808311611fb657829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff8216612080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610bad565b6000805b6002548110156120e957600281815481106120a1576120a16144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff908116908516036120d9576120d6826144ab565b91505b6120e2816144ab565b9050612084565b5092915050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b61217b6000613739565b565b60055473ffffffffffffffffffffffffffffffffffffffff1633146121fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b600755565b6060600061221083611fdb565b9050806000036122345760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561224f5761224f613f55565b604051908082528060200260200182016040528015612278578160200160208202803683370190505b50905060005b8281101561222c5761229085826113ea565b8282815181106122a2576122a26144e3565b6020908102919091010152806122b7816144ab565b91505061227e565b60055473ffffffffffffffffffffffffffffffffffffffff163314612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b601255565b606060018054610a97906143bd565b60055473ffffffffffffffffffffffffffffffffffffffff1633146123d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b828114612464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e7460448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610bad565b600254600090815b858110156124aa57868682818110612486576124866144e3565b90506020020135836124989190614456565b92506124a3816144ab565b905061246c565b50600b546124b88383614456565b6124c3906001614456565b111561252b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4e6f7420656e6f75676820737570706c792100000000000000000000000000006044820152606401610bad565b60005b838110156125bd5760005b87878381811061254b5761254b6144e3565b905060200201358110156125ac5761258e86868481811061256e5761256e6144e3565b90506020020160208101906125839190613efc565b610fe9856001614456565b82612598816144ab565b935050806125a5906144ab565b9050612539565b506125b6816144ab565b905061252e565b50505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b601480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b806000811180156126a15750600c548111155b612707576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bad565b600b54612715906001614456565b600254612723908390614456565b1061278a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610bad565b8180600954612799919061446e565b341015612802576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bad565b600e5460ff161561286f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5075626c69632073616c652069732070617573656421000000000000000000006044820152606401610bad565b4260115411156128db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5075626c69632073616c65206973206e6f7420796574210000000000000000006044820152606401610bad565b60025460005b84811015611e75576128f733610fde8385614456565b80612901816144ab565b9150506128e1565b3373ffffffffffffffffffffffffffffffffffffffff831603612988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bad565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612a29338361335a565b612ab5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bad565b612ac1848484846137b0565b50505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b600a55565b6060612b588261318e565b612bbe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610bad565b600f612bc983613853565b604051602001612bda929190614571565b6040516020818303038152906040529050919050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612c71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b601191909155601255565b60055473ffffffffffffffffffffffffffffffffffffffff163314612cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b60005b83811015611e7557828282818110612d1a57612d1a6144e3565b9050602002013560136000878785818110612d3757612d376144e3565b9050602002016020810190612d4c9190613efc565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205580612d7d816144ab565b915050612d00565b6014546040517fc455279100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015612dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e21919061464e565b73ffffffffffffffffffffffffffffffffffffffff161480612e68575073ffffffffffffffffffffffffffffffffffffffff831660009081526010602052604090205460ff165b15612e77576001915050610a82565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612f37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b601155565b60055473ffffffffffffffffffffffffffffffffffffffff163314612fbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b73ffffffffffffffffffffffffffffffffffffffff8116613060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bad565b61181e81613739565b60005b8151811015612ac157613099848484848151811061308c5761308c6144e3565b6020026020010151611273565b806130a3816144ab565b91505061306c565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061313e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a8257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610a82565b60025460009061319f906001614456565b82108015610a825750600060026131b760018561443f565b815481106131c7576131c76144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141592915050565b6000826131fe8584613988565b14949350505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b81600360006132b860018561443f565b8152602081019190915260400160002080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9283161790558190831661331482611e7c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006133658261318e565b6133f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610bad565b60006133fc83611e7c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061346b57508373ffffffffffffffffffffffffffffffffffffffff1661345384610b1a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612eae5750612eae8185612d85565b8273ffffffffffffffffffffffffffffffffffffffff1661349b82611e7c565b73ffffffffffffffffffffffffffffffffffffffff161461353e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610bad565b73ffffffffffffffffffffffffffffffffffffffff82166135e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610bad565b6135eb6000826132a8565b8160026135f960018461443f565b81548110613609576136096144e3565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600061369382611e7c565b90506136a06000836132a8565b600060026136af60018561443f565b815481106136bf576136bf6144e3565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff93841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6137bb84848461347b565b6137c784848484613a2c565b612ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bad565b60608160000361389657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156138c057806138aa816144ab565b91506138b99050600a83614541565b915061389a565b60008167ffffffffffffffff8111156138db576138db613f55565b6040519080825280601f01601f191660200182016040528015613905576020820181803683370190505b5090505b8415612eae5761391a60018361443f565b9150613927600a8661466b565b613932906030614456565b60f81b818381518110613947576139476144e3565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613981600a86614541565b9450613909565b600081815b845181101561222c5760008582815181106139aa576139aa6144e3565b602002602001015190508083116139ec576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250613a19565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080613a24816144ab565b91505061398d565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613c14576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613aa390339089908890889060040161467f565b6020604051808303816000875af1925050508015613afc575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252613af9918101906146c8565b60015b613bc9573d808015613b2a576040519150601f19603f3d011682016040523d82523d6000602084013e613b2f565b606091505b508051600003613bc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bad565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612eae565b506001949350505050565b828054613c2b906143bd565b90600052602060002090601f016020900481019282613c4d5760008555613c93565b82601f10613c6657805160ff1916838001178555613c93565b82800160010185558215613c93579182015b82811115613c93578251825591602001919060010190613c78565b50613c9f929150613ca3565b5090565b5b80821115613c9f5760008155600101613ca4565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461181e57600080fd5b600060208284031215613cf857600080fd5b81356119e681613cb8565b60005b83811015613d1e578181015183820152602001613d06565b83811115612ac15750506000910152565b60008151808452613d47816020860160208601613d03565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006119e66020830184613d2f565b600060208284031215613d9e57600080fd5b5035919050565b60008083601f840112613db757600080fd5b50813567ffffffffffffffff811115613dcf57600080fd5b6020830191508360208260051b8501011115613dea57600080fd5b9250929050565b600080600060408486031215613e0657600080fd5b83359250602084013567ffffffffffffffff811115613e2457600080fd5b613e3086828701613da5565b9497909650939450505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461181e57600080fd5b60008060408385031215613e7257600080fd5b8235613e7d81613e3d565b946020939093013593505050565b80358015158114613e9b57600080fd5b919050565b600060208284031215613eb257600080fd5b6119e682613e8b565b600080600060608486031215613ed057600080fd5b8335613edb81613e3d565b92506020840135613eeb81613e3d565b929592945050506040919091013590565b600060208284031215613f0e57600080fd5b81356119e681613e3d565b600080600060408486031215613f2e57600080fd5b8335613f3981613e3d565b9250602084013567ffffffffffffffff811115613e2457600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613fcb57613fcb613f55565b604052919050565b600067ffffffffffffffff831115613fed57613fed613f55565b61401e60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613f84565b905082815283838301111561403257600080fd5b828260208301376000602084830101529392505050565b60006020828403121561405b57600080fd5b813567ffffffffffffffff81111561407257600080fd5b8201601f8101841361408357600080fd5b612eae84823560208401613fd3565b600082601f8301126140a357600080fd5b8135602067ffffffffffffffff8211156140bf576140bf613f55565b8160051b6140ce828201613f84565b92835284810182019282810190878511156140e857600080fd5b83870192505b84831015614107578235825291830191908301906140ee565b979650505050505050565b600082601f83011261412357600080fd5b6119e683833560208501613fd3565b6000806000806080858703121561414857600080fd5b843561415381613e3d565b9350602085013561416381613e3d565b9250604085013567ffffffffffffffff8082111561418057600080fd5b61418c88838901614092565b935060608701359150808211156141a257600080fd5b506141af87828801614112565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b818110156141f3578351835292840192918401916001016141d7565b50909695505050505050565b6000806000806040858703121561421557600080fd5b843567ffffffffffffffff8082111561422d57600080fd5b61423988838901613da5565b9096509450602087013591508082111561425257600080fd5b5061425f87828801613da5565b95989497509550505050565b6000806040838503121561427e57600080fd5b823561428981613e3d565b915061429760208401613e8b565b90509250929050565b600080600080608085870312156142b657600080fd5b84356142c181613e3d565b935060208501356142d181613e3d565b925060408501359150606085013567ffffffffffffffff8111156142f457600080fd5b6141af87828801614112565b6000806040838503121561431357600080fd5b50508035926020909101359150565b6000806040838503121561433557600080fd5b823561434081613e3d565b9150602083013561435081613e3d565b809150509250929050565b60008060006060848603121561437057600080fd5b833561437b81613e3d565b9250602084013561438b81613e3d565b9150604084013567ffffffffffffffff8111156143a757600080fd5b6143b386828701614092565b9150509250925092565b600181811c908216806143d157607f821691505b60208210810361440a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561445157614451614410565b500390565b6000821982111561446957614469614410565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144a6576144a6614410565b500290565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036144dc576144dc614410565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261455057614550614512565b500490565b60008151614567818560208601613d03565b9290920192915050565b600080845481600182811c91508083168061458d57607f831692505b602080841082036145c5577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156145d9576001811461460857614635565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650614635565b60008b81526020902060005b8681101561462d5781548b820152908501908301614614565b505084890196505b5050505050506146458185614555565b95945050505050565b60006020828403121561466057600080fd5b81516119e681613e3d565b60008261467a5761467a614512565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526146be6080830184613d2f565b9695505050505050565b6000602082840312156146da57600080fd5b81516119e681613cb856fea2646970667358221220959eec37c135036b769bf7e2d1ae0d20b6d96c8f205cbf4932cc1683c4a807ed64736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106103605760003560e01c80635c975abb116101c657806397107d6d116100f7578063d5abeb0111610095578063e985e9c51161006f578063e985e9c5146109ac578063ea9d6d29146109cc578063f2fde38b146109ec578063f3993d1114610a0c57600080fd5b8063d5abeb0114610956578063dedf141e1461096c578063e928ff9f1461098c57600080fd5b8063b88d4fde116100d1578063b88d4fde146108c9578063bae3aaa6146108e9578063c87b56dd14610909578063c884ef831461092957600080fd5b806397107d6d14610876578063a0712d6814610896578063a22cb465146108a957600080fd5b80638462151c116101645780638da5cb5b1161013e5780638da5cb5b146107e95780638f1bca111461081457806395d89b411461084157806396ea3a471461085657600080fd5b80638462151c14610786578063858feced146107b357806389a1f66f146107c957600080fd5b806370a08231116101a057806370a082311461071b578063715018a61461073b5780637501f741146107505780637cb647591461076657600080fd5b80635c975abb146106cc5780636352211e146106e65780636c0360eb1461070657600080fd5b80632f745c59116102a05780634d44660c1161023e57806351463d5b1161021857806351463d5b1461064657806355f804b31461065c5780635a4fee301461067c5780635bab26e21461069c57600080fd5b80634d44660c146105f35780634f28e680146106135780634f6ccce71461062657600080fd5b806342966c681161027a57806342966c681461057d57806344a0d68a1461059d57806348466402146105bd5780634bfb8ed3146105dd57600080fd5b80632f745c59146105285780633ccfd60b1461054857806342842e0e1461055d57600080fd5b806313faede61161030d57806323b872dd116102e757806323b872dd146104a557806323f5c02d146104c5578063245cad7a146104f25780632eb4a7ab1461051257600080fd5b806313faede61461045a57806316c38b3c1461047057806318160ddd1461049057600080fd5b806308bcfdbf1161033e57806308bcfdbf14610401578063095ea7b314610416578063108ce0a21461043657600080fd5b806301ffc9a71461036557806306fdde031461039a578063081812fc146103bc575b600080fd5b34801561037157600080fd5b50610385610380366004613ce6565b610a2c565b60405190151581526020015b60405180910390f35b3480156103a657600080fd5b506103af610a88565b6040516103919190613d79565b3480156103c857600080fd5b506103dc6103d7366004613d8c565b610b1a565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610391565b61041461040f366004613df1565b610bf2565b005b34801561042257600080fd5b50610414610431366004613e5f565b611035565b34801561044257600080fd5b5061044c60125481565b604051908152602001610391565b34801561046657600080fd5b5061044c60095481565b34801561047c57600080fd5b5061041461048b366004613ea0565b6111c1565b34801561049c57600080fd5b5060025461044c565b3480156104b157600080fd5b506104146104c0366004613ebb565b611273565b3480156104d157600080fd5b506014546103dc9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104fe57600080fd5b5061041461050d366004613efc565b611315565b34801561051e57600080fd5b5061044c60075481565b34801561053457600080fd5b5061044c610543366004613e5f565b6113ea565b34801561055457600080fd5b50610414611594565b34801561056957600080fd5b50610414610578366004613ebb565b61178b565b34801561058957600080fd5b50610414610598366004613d8c565b6117a6565b3480156105a957600080fd5b506104146105b8366004613d8c565b611821565b3480156105c957600080fd5b506104146105d8366004613e5f565b6118a7565b3480156105e957600080fd5b5061044c600a5481565b3480156105ff57600080fd5b5061038561060e366004613f19565b611951565b610414610621366004613d8c565b6119ed565b34801561063257600080fd5b5061044c610641366004613d8c565b611cff565b34801561065257600080fd5b5061044c60115481565b34801561066857600080fd5b50610414610677366004614049565b611d9e565b34801561068857600080fd5b50610414610697366004614132565b611e32565b3480156106a857600080fd5b506103856106b7366004613efc565b60106020526000908152604090205460ff1681565b3480156106d857600080fd5b50600e546103859060ff1681565b3480156106f257600080fd5b506103dc610701366004613d8c565b611e7c565b34801561071257600080fd5b506103af611f4d565b34801561072757600080fd5b5061044c610736366004613efc565b611fdb565b34801561074757600080fd5b506104146120f0565b34801561075c57600080fd5b5061044c600c5481565b34801561077257600080fd5b50610414610781366004613d8c565b61217d565b34801561079257600080fd5b506107a66107a1366004613efc565b612203565b60405161039191906141bb565b3480156107bf57600080fd5b5061044c600d5481565b3480156107d557600080fd5b506104146107e4366004613d8c565b6122bf565b3480156107f557600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff166103dc565b34801561082057600080fd5b5061044c61082f366004613efc565b60136020526000908152604090205481565b34801561084d57600080fd5b506103af612345565b34801561086257600080fd5b506104146108713660046141ff565b612354565b34801561088257600080fd5b50610414610891366004613efc565b6125c6565b6104146108a4366004613d8c565b61268e565b3480156108b557600080fd5b506104146108c436600461426b565b612909565b3480156108d557600080fd5b506104146108e43660046142a0565b612a1f565b3480156108f557600080fd5b50610414610904366004613d8c565b612ac7565b34801561091557600080fd5b506103af610924366004613d8c565b612b4d565b34801561093557600080fd5b5061044c610944366004613efc565b60086020526000908152604090205481565b34801561096257600080fd5b5061044c600b5481565b34801561097857600080fd5b50610414610987366004614300565b612bf0565b34801561099857600080fd5b506104146109a73660046141ff565b612c7c565b3480156109b857600080fd5b506103856109c7366004614322565b612d85565b3480156109d857600080fd5b506104146109e7366004613d8c565b612eb6565b3480156109f857600080fd5b50610414610a07366004613efc565b612f3c565b348015610a1857600080fd5b50610414610a2736600461435b565b613069565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610a825750610a82826130ab565b92915050565b606060008054610a97906143bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac3906143bd565b8015610b105780601f10610ae557610100808354040283529160200191610b10565b820191906000526020600020905b815481529060010190602001808311610af357829003601f168201915b5050505050905090565b6000610b258261318e565b610bb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b60036000610bc560018561443f565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b82600081118015610c055750600c548111155b610c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bad565b600b54610c79906001614456565b600254610c87908390614456565b10610cee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610bad565b8380600a54610cfd919061446e565b341015610d66576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bad565b600e5460ff1615610dd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5072652073616c652069732070617573656421000000000000000000000000006044820152606401610bad565b426012541115610e3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f50726573616c65206973206e6f742079657421000000000000000000000000006044820152606401610bad565b600d54610e4d906001614456565b33600090815260086020526040902054610e68908790614456565b10610ecf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4164647265737320686173206e6f20616c6c6f77616e636521000000000000006044820152606401610bad565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050610f5c8585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060075491508490506131f1565b610fc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f496e76616c6964206d65726b6c652070726f6f662100000000000000000000006044820152606401610bad565b60025460005b8781101561100057610fee33610fde8385614456565b610fe9906001614456565b613207565b80610ff8816144ab565b915050610fc8565b503360009081526008602052604090205461101c908890614456565b3360009081526008602052604090205550505050505050565b600061104082611e7c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610bad565b3373ffffffffffffffffffffffffffffffffffffffff8216148061112657506111268133612d85565b6111b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bad565b6111bc83836132a8565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314611242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b61127e335b8261335a565b61130a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bad565b6111bc83838361347b565b60055473ffffffffffffffffffffffffffffffffffffffff163314611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b73ffffffffffffffffffffffffffffffffffffffff16600090815260106020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60006113f583611fdb565b8210611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bad565b6000805b60025481101561150b57600281815481106114a4576114a46144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff908116908616036114f9578382036114eb576114e2816001614456565b92505050610a82565b816114f5816144ab565b9250505b80611503816144ab565b915050611487565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bad565b60055473ffffffffffffffffffffffffffffffffffffffff163314611615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b4773ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000ebabb8c951f5c3b17b416a3d840c52ccab728c19166108fc6103e861165e8460c861446e565b6116689190614541565b6040518115909202916000818181858888f19350505050158015611690573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000001ff63df1077a40ec7a4f5a85a07ea7ac773ef368166108fc6103e86116da846102d061446e565b6116e49190614541565b6040518115909202916000818181858888f1935050505015801561170c573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000009c3edd974552898350bbd3425608ce03cde2426a166108fc6103e861175584605061446e565b61175f9190614541565b6040518115909202916000818181858888f19350505050158015611787573d6000803e3d6000fd5b5050565b6111bc83838360405180602001604052806000815250612a1f565b6117af33611278565b611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e00000000000000000000006044820152606401610bad565b61181e81613688565b50565b60055473ffffffffffffffffffffffffffffffffffffffff1633146118a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b600955565b60055473ffffffffffffffffffffffffffffffffffffffff163314611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b73ffffffffffffffffffffffffffffffffffffffff909116600090815260136020526040902055565b6000805b828110156119e0578473ffffffffffffffffffffffffffffffffffffffff166002858584818110611988576119886144e3565b905060200201358154811061199f5761199f6144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16146119d05760009150506119e6565b6119d9816144ab565b9050611955565b50600190505b9392505050565b80600081118015611a005750600c548111155b611a66576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bad565b600b54611a74906001614456565b600254611a82908390614456565b10611ae9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610bad565b8180600a54611af8919061446e565b341015611b61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bad565b600e5460ff1615611bce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5072652073616c652069732070617573656421000000000000000000000000006044820152606401610bad565b426012541115611c3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f50726573616c65206973206e6f742079657421000000000000000000000000006044820152606401610bad565b6002543360009081526013602052604090205480611cb4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4c6f7720726573657276652100000000000000000000000000000000000000006044820152606401610bad565b60005b85811015611cdd57611ccd33610fde8386614456565b611cd6816144ab565b9050611cb7565b50611ce8858261443f565b336000908152601360205260409020555050505050565b6002546000908210611d93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610bad565b610a82826001614456565b60055473ffffffffffffffffffffffffffffffffffffffff163314611e1f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b805161178790600f906020840190613c1f565b60005b8251811015611e7557611e638585858481518110611e5557611e556144e3565b602002602001015185612a1f565b80611e6d816144ab565b915050611e35565b5050505050565b6000806002611e8c60018561443f565b81548110611e9c57611e9c6144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905080610a82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610bad565b600f8054611f5a906143bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611f86906143bd565b8015611fd35780601f10611fa857610100808354040283529160200191611fd3565b820191906000526020600020905b815481529060010190602001808311611fb657829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff8216612080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610bad565b6000805b6002548110156120e957600281815481106120a1576120a16144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff908116908516036120d9576120d6826144ab565b91505b6120e2816144ab565b9050612084565b5092915050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b61217b6000613739565b565b60055473ffffffffffffffffffffffffffffffffffffffff1633146121fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b600755565b6060600061221083611fdb565b9050806000036122345760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561224f5761224f613f55565b604051908082528060200260200182016040528015612278578160200160208202803683370190505b50905060005b8281101561222c5761229085826113ea565b8282815181106122a2576122a26144e3565b6020908102919091010152806122b7816144ab565b91505061227e565b60055473ffffffffffffffffffffffffffffffffffffffff163314612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b601255565b606060018054610a97906143bd565b60055473ffffffffffffffffffffffffffffffffffffffff1633146123d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b828114612464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e7460448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610bad565b600254600090815b858110156124aa57868682818110612486576124866144e3565b90506020020135836124989190614456565b92506124a3816144ab565b905061246c565b50600b546124b88383614456565b6124c3906001614456565b111561252b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4e6f7420656e6f75676820737570706c792100000000000000000000000000006044820152606401610bad565b60005b838110156125bd5760005b87878381811061254b5761254b6144e3565b905060200201358110156125ac5761258e86868481811061256e5761256e6144e3565b90506020020160208101906125839190613efc565b610fe9856001614456565b82612598816144ab565b935050806125a5906144ab565b9050612539565b506125b6816144ab565b905061252e565b50505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b601480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b806000811180156126a15750600c548111155b612707576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610bad565b600b54612715906001614456565b600254612723908390614456565b1061278a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610bad565b8180600954612799919061446e565b341015612802576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610bad565b600e5460ff161561286f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5075626c69632073616c652069732070617573656421000000000000000000006044820152606401610bad565b4260115411156128db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5075626c69632073616c65206973206e6f7420796574210000000000000000006044820152606401610bad565b60025460005b84811015611e75576128f733610fde8385614456565b80612901816144ab565b9150506128e1565b3373ffffffffffffffffffffffffffffffffffffffff831603612988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bad565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612a29338361335a565b612ab5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bad565b612ac1848484846137b0565b50505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b600a55565b6060612b588261318e565b612bbe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610bad565b600f612bc983613853565b604051602001612bda929190614571565b6040516020818303038152906040529050919050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612c71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b601191909155601255565b60055473ffffffffffffffffffffffffffffffffffffffff163314612cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b60005b83811015611e7557828282818110612d1a57612d1a6144e3565b9050602002013560136000878785818110612d3757612d376144e3565b9050602002016020810190612d4c9190613efc565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205580612d7d816144ab565b915050612d00565b6014546040517fc455279100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015612dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e21919061464e565b73ffffffffffffffffffffffffffffffffffffffff161480612e68575073ffffffffffffffffffffffffffffffffffffffff831660009081526010602052604090205460ff165b15612e77576001915050610a82565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612f37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b601155565b60055473ffffffffffffffffffffffffffffffffffffffff163314612fbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b73ffffffffffffffffffffffffffffffffffffffff8116613060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bad565b61181e81613739565b60005b8151811015612ac157613099848484848151811061308c5761308c6144e3565b6020026020010151611273565b806130a3816144ab565b91505061306c565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061313e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a8257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610a82565b60025460009061319f906001614456565b82108015610a825750600060026131b760018561443f565b815481106131c7576131c76144e3565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141592915050565b6000826131fe8584613988565b14949350505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b81600360006132b860018561443f565b8152602081019190915260400160002080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9283161790558190831661331482611e7c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006133658261318e565b6133f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610bad565b60006133fc83611e7c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061346b57508373ffffffffffffffffffffffffffffffffffffffff1661345384610b1a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612eae5750612eae8185612d85565b8273ffffffffffffffffffffffffffffffffffffffff1661349b82611e7c565b73ffffffffffffffffffffffffffffffffffffffff161461353e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610bad565b73ffffffffffffffffffffffffffffffffffffffff82166135e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610bad565b6135eb6000826132a8565b8160026135f960018461443f565b81548110613609576136096144e3565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600061369382611e7c565b90506136a06000836132a8565b600060026136af60018561443f565b815481106136bf576136bf6144e3565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff93841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6137bb84848461347b565b6137c784848484613a2c565b612ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bad565b60608160000361389657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156138c057806138aa816144ab565b91506138b99050600a83614541565b915061389a565b60008167ffffffffffffffff8111156138db576138db613f55565b6040519080825280601f01601f191660200182016040528015613905576020820181803683370190505b5090505b8415612eae5761391a60018361443f565b9150613927600a8661466b565b613932906030614456565b60f81b818381518110613947576139476144e3565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613981600a86614541565b9450613909565b600081815b845181101561222c5760008582815181106139aa576139aa6144e3565b602002602001015190508083116139ec576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250613a19565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080613a24816144ab565b91505061398d565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613c14576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613aa390339089908890889060040161467f565b6020604051808303816000875af1925050508015613afc575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252613af9918101906146c8565b60015b613bc9573d808015613b2a576040519150601f19603f3d011682016040523d82523d6000602084013e613b2f565b606091505b508051600003613bc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bad565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612eae565b506001949350505050565b828054613c2b906143bd565b90600052602060002090601f016020900481019282613c4d5760008555613c93565b82601f10613c6657805160ff1916838001178555613c93565b82800160010185558215613c93579182015b82811115613c93578251825591602001919060010190613c78565b50613c9f929150613ca3565b5090565b5b80821115613c9f5760008155600101613ca4565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461181e57600080fd5b600060208284031215613cf857600080fd5b81356119e681613cb8565b60005b83811015613d1e578181015183820152602001613d06565b83811115612ac15750506000910152565b60008151808452613d47816020860160208601613d03565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006119e66020830184613d2f565b600060208284031215613d9e57600080fd5b5035919050565b60008083601f840112613db757600080fd5b50813567ffffffffffffffff811115613dcf57600080fd5b6020830191508360208260051b8501011115613dea57600080fd5b9250929050565b600080600060408486031215613e0657600080fd5b83359250602084013567ffffffffffffffff811115613e2457600080fd5b613e3086828701613da5565b9497909650939450505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461181e57600080fd5b60008060408385031215613e7257600080fd5b8235613e7d81613e3d565b946020939093013593505050565b80358015158114613e9b57600080fd5b919050565b600060208284031215613eb257600080fd5b6119e682613e8b565b600080600060608486031215613ed057600080fd5b8335613edb81613e3d565b92506020840135613eeb81613e3d565b929592945050506040919091013590565b600060208284031215613f0e57600080fd5b81356119e681613e3d565b600080600060408486031215613f2e57600080fd5b8335613f3981613e3d565b9250602084013567ffffffffffffffff811115613e2457600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613fcb57613fcb613f55565b604052919050565b600067ffffffffffffffff831115613fed57613fed613f55565b61401e60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613f84565b905082815283838301111561403257600080fd5b828260208301376000602084830101529392505050565b60006020828403121561405b57600080fd5b813567ffffffffffffffff81111561407257600080fd5b8201601f8101841361408357600080fd5b612eae84823560208401613fd3565b600082601f8301126140a357600080fd5b8135602067ffffffffffffffff8211156140bf576140bf613f55565b8160051b6140ce828201613f84565b92835284810182019282810190878511156140e857600080fd5b83870192505b84831015614107578235825291830191908301906140ee565b979650505050505050565b600082601f83011261412357600080fd5b6119e683833560208501613fd3565b6000806000806080858703121561414857600080fd5b843561415381613e3d565b9350602085013561416381613e3d565b9250604085013567ffffffffffffffff8082111561418057600080fd5b61418c88838901614092565b935060608701359150808211156141a257600080fd5b506141af87828801614112565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b818110156141f3578351835292840192918401916001016141d7565b50909695505050505050565b6000806000806040858703121561421557600080fd5b843567ffffffffffffffff8082111561422d57600080fd5b61423988838901613da5565b9096509450602087013591508082111561425257600080fd5b5061425f87828801613da5565b95989497509550505050565b6000806040838503121561427e57600080fd5b823561428981613e3d565b915061429760208401613e8b565b90509250929050565b600080600080608085870312156142b657600080fd5b84356142c181613e3d565b935060208501356142d181613e3d565b925060408501359150606085013567ffffffffffffffff8111156142f457600080fd5b6141af87828801614112565b6000806040838503121561431357600080fd5b50508035926020909101359150565b6000806040838503121561433557600080fd5b823561434081613e3d565b9150602083013561435081613e3d565b809150509250929050565b60008060006060848603121561437057600080fd5b833561437b81613e3d565b9250602084013561438b81613e3d565b9150604084013567ffffffffffffffff8111156143a757600080fd5b6143b386828701614092565b9150509250925092565b600181811c908216806143d157607f821691505b60208210810361440a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561445157614451614410565b500390565b6000821982111561446957614469614410565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144a6576144a6614410565b500290565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036144dc576144dc614410565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261455057614550614512565b500490565b60008151614567818560208601613d03565b9290920192915050565b600080845481600182811c91508083168061458d57607f831692505b602080841082036145c5577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156145d9576001811461460857614635565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650614635565b60008b81526020902060005b8681101561462d5781548b820152908501908301614614565b505084890196505b5050505050506146458185614555565b95945050505050565b60006020828403121561466057600080fd5b81516119e681613e3d565b60008261467a5761467a614512565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526146be6080830184613d2f565b9695505050505050565b6000602082840312156146da57600080fd5b81516119e681613cb856fea2646970667358221220959eec37c135036b769bf7e2d1ae0d20b6d96c8f205cbf4932cc1683c4a807ed64736f6c634300080d0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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