ETH Price: $3,429.46 (+3.28%)

Contract

0xE798e8972b148592f83AE67E19E7E27805037eF8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...196814852024-04-18 9:35:23219 days ago1713432923IN
0xE798e897...805037eF8
0 ETH0.000404188.66596854
Set Approval For...188797072023-12-27 21:37:35332 days ago1703713055IN
0xE798e897...805037eF8
0 ETH0.001365929.2403022
Set Approval For...173583652023-05-28 15:20:11545 days ago1685287211IN
0xE798e897...805037eF8
0 ETH0.0014720431.5611716
Transfer From173086372023-05-21 15:29:59552 days ago1684682999IN
0xE798e897...805037eF8
0 ETH0.0028677432.68900524
Transfer From173086332023-05-21 15:28:59552 days ago1684682939IN
0xE798e897...805037eF8
0 ETH0.0021521728.53282197
Transfer From173086312023-05-21 15:28:35552 days ago1684682915IN
0xE798e897...805037eF8
0 ETH0.0024378829.3428045
Transfer From173086302023-05-21 15:28:23552 days ago1684682903IN
0xE798e897...805037eF8
0 ETH0.0027963329.31693583
Set Approval For...164414652023-01-19 14:31:47674 days ago1674138707IN
0xE798e897...805037eF8
0 ETH0.0008106517.38066937
Transfer From162136362022-12-18 19:21:23706 days ago1671391283IN
0xE798e897...805037eF8
0 ETH0.0012170613.87317205
Safe Transfer Fr...161911052022-12-15 15:51:35709 days ago1671119495IN
0xE798e897...805037eF8
0 ETH0.0017052118.79939909
Set Approval For...161128262022-12-04 17:06:59720 days ago1670173619IN
0xE798e897...805037eF8
0 ETH0.0005793112.42071225
Transfer From161122602022-12-04 15:12:35720 days ago1670166755IN
0xE798e897...805037eF8
0 ETH0.001347215.86291302
Transfer From160856092022-11-30 21:53:59723 days ago1669845239IN
0xE798e897...805037eF8
0 ETH0.0011869712.44430965
Set Approval For...160028492022-11-19 8:24:47735 days ago1668846287IN
0xE798e897...805037eF8
0 ETH0.0005691612.20309953
Set Approval For...159808562022-11-16 6:40:23738 days ago1668580823IN
0xE798e897...805037eF8
0 ETH0.0006877914.7465085
Set Approval For...159577212022-11-13 1:08:35741 days ago1668301715IN
0xE798e897...805037eF8
0 ETH0.0005916112.68447399
Set Approval For...157590052022-10-16 6:52:23769 days ago1665903143IN
0xE798e897...805037eF8
0 ETH0.0005596912
Set Approval For...156111612022-09-25 15:03:35790 days ago1664118215IN
0xE798e897...805037eF8
0 ETH0.0005684712.18841155
Set Approval For...155988242022-09-23 21:46:23791 days ago1663969583IN
0xE798e897...805037eF8
0 ETH0.0006471113.84949446
Transfer From155737532022-09-20 9:18:11795 days ago1663665491IN
0xE798e897...805037eF8
0 ETH0.000516955.89354645
Transfer From155737502022-09-20 9:17:35795 days ago1663665455IN
0xE798e897...805037eF8
0 ETH0.000546575.73035181
Safe Transfer Fr...155602772022-09-18 11:56:35797 days ago1663502195IN
0xE798e897...805037eF8
0 ETH0.000204782.25792981
Set Approval For...155602662022-09-18 11:54:23797 days ago1663502063IN
0xE798e897...805037eF8
0 ETH0.000188674.04524564
Safe Transfer Fr...155602622022-09-18 11:53:35797 days ago1663502015IN
0xE798e897...805037eF8
0 ETH0.000192352.544531
Safe Transfer Fr...155602582022-09-18 11:52:47797 days ago1663501967IN
0xE798e897...805037eF8
0 ETH0.000249582.53774087
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
152029962022-07-24 3:47:26853 days ago1658634446
0xE798e897...805037eF8
1.0742 ETH
145612762022-04-11 0:55:11957 days ago1649638511
0xE798e897...805037eF8
10.9385 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PowerUpCharacter

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : PowerUpCharacter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./PowerUpMembershipPass1155Merkle.sol";

     
contract PowerUpCharacter is ERC721Enumerable, Ownable {    
    bool public isSaleActive = false;     
    bool public isPresale = true;       
    bool public isPremint = true;
    bool public lockMeta = false;
    string private metadataUri;

    uint public goldPrice;
    uint public platinumPrice;
    uint public blackPrice;
    uint public memberPrice;
    uint public nonMemberPrice;
    uint public maxSupply;

    mapping(address => bool) private _allowList;
    bool private _useAllowList = false;

    // Only allow holders of membership passes to mint    
    PowerUpMembershipPass1155Merkle private membershipPass;

    constructor(
        uint goldPrice_,
        uint platinumPrice_,
        uint blackPrice_,
        uint memberPrice_,        
        uint nonMemberPrice_,        
        uint maxSupply_,
        address membershipPassAddress_,
        string memory metadataUri_        
    ) ERC721("PowerUp", "POW") {  
        membershipPass = PowerUpMembershipPass1155Merkle(membershipPassAddress_);
        goldPrice = goldPrice_;
        platinumPrice = platinumPrice_;
        blackPrice = blackPrice_;
        memberPrice = memberPrice_;
        nonMemberPrice = nonMemberPrice_;
        maxSupply = maxSupply_;
        metadataUri = metadataUri_;
    }

    function mintCost(uint numCharacters) public view returns (uint) {
        uint passType = membershipPass.passType(msg.sender);        
        if (isPresale) {    
            if (passType == 0) {
                return blackPrice*numCharacters;
            } else if (passType == 1) {
                return platinumPrice*numCharacters;
            } else if (passType == 2) {
                if (_useAllowList && !_allowList[msg.sender]) {
                    return numCharacters*goldPrice;     
                } else {
                    return (balanceOf(msg.sender) == 0) ? 
                        (numCharacters-1)*goldPrice : 
                        numCharacters*goldPrice;              
                }
            } else {
                return 1 ether;
            }
        }

        return ((passType > 2) ? nonMemberPrice : memberPrice)*numCharacters;        
    }

    function mintLimit() public view returns (uint) {
        return (isPresale) ?
            4 - balanceOf(msg.sender) :
            10;                
    }

    function mint(uint numCharacters) public payable {   
        require(isSaleActive, "Sale is not active.");                        
        require(msg.sender == tx.origin, "Not user.");
        require(!isPresale || membershipPass.hasPass(msg.sender), "Does not own membership pass");        
        require(msg.value >= mintCost(numCharacters), "Not enough ETH.");
        require(numCharacters <= mintLimit(), "Exceeded mint limit.");
            
        _mintCharacters(numCharacters);
    }

    function _mintCharacters(uint numCharacters) internal {
        require(totalSupply() + numCharacters <= maxSupply, "Not enough supply.");    
        
        for (uint i = 0; i < numCharacters; i++) {                                    
            uint tokenId = totalSupply() + 1;
            if (tokenId <= maxSupply) {
                _safeMint(msg.sender, tokenId);           
            }                        
        } 
    }

    function  _baseURI() internal view override returns (string memory) {
       return metadataUri;
    }
    
    function premint(uint numCharacters) public onlyOwner {
        require(isPremint, "Premint not allowed");
        _mintCharacters(numCharacters);
    } 

    function setMetaDataUri(string memory metadataUri_) public onlyOwner {
        require(!lockMeta, "Metadata is locked");
        metadataUri = metadataUri_;
    }

    function setSaleActive(bool isSaleActive_) public onlyOwner {
        isSaleActive = isSaleActive_;
        isPremint = false;
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function setPresale(bool isPresale_) public onlyOwner {
        isPresale = isPresale_;
    }

    function setPrices(uint gold, uint platinum, uint black, uint member, uint nonmember) public onlyOwner {
        goldPrice = gold;
        platinumPrice = platinum;
        blackPrice = black;
        memberPrice = member;
        nonMemberPrice = nonmember;
    }

    function lockMetaData() public onlyOwner {
        lockMeta = true;
    }

    function setUseAllowList(bool useAllowList_) public onlyOwner {
        _useAllowList = useAllowList_;
    }

    function addToAllowList(address[] calldata addresses) public onlyOwner {
        _useAllowList = true;
        for (uint i = 0; i < addresses.length; i++) {
            _allowList[addresses[i]] = true;
        }        
    }
}

File 2 of 20 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 20 : 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 4 of 20 : 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 5 of 20 : PowerUpMembershipPass1155Merkle.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./Random.sol";

contract PowerUpMembershipPass1155Merkle is ERC1155, Random, Ownable {   
    uint public constant BLACK = 0;
    uint public constant PLATINUM = 1;
    uint public constant GOLD = 2;
    uint public tokensClaimed = 0;

    string public name = "PowerUp Membership Passes";

    bytes32 public merkleRoot;
    bool public isPresale = true;
    bool public isSaleActive = true;

    mapping(uint256 => uint256) private claimedBitMap;

    constructor(        
        uint blackAmount,
        uint platinumAmount,          
        uint goldAmount,
        string memory metadataUri,
        bytes32 merkleRoot_
    ) ERC1155(metadataUri) 
      Random(321262) {                               
        _mint(address(this), BLACK, blackAmount, "");
        _mint(address(this), PLATINUM, platinumAmount, "");
        _mint(address(this), GOLD, goldAmount, "");        
        merkleRoot = merkleRoot_;
    }

    function claim() external {
        require(!isPresale, "Public sale not open.");
        _claim();
    }

    function claimPresale(uint index, bytes32[] calldata merkleProof) external {
        require(!isClaimed(index), "Index already claimed.");
        
        uint num = 1;
        bytes32 node = keccak256(abi.encodePacked(index, msg.sender, num));
        require(MerkleProof.verify(merkleProof, merkleRoot, node), "Not in allow list.");        
        _claim();
        _setClaimed(index);
    }

    function _claim() internal {           
        require(isSaleActive, "Sale not active.");
        
        uint blackAmount = balanceOf(address(this), BLACK);
        uint platinumAmount = balanceOf(address(this), PLATINUM);
        uint goldAmount = balanceOf(address(this), GOLD);

        require(
            blackAmount > 0 || 
            platinumAmount > 0 || 
            goldAmount > 0, 
            "No more supply left."
        );        
        
        require(!hasPass(msg.sender), "Already owns pass.");        
        
        // Find a random index
        uint idx = randMod(blackAmount + platinumAmount + goldAmount);         
        
        // Pick pass from available supply
        uint claimedToken;
        if (idx < goldAmount) {
            claimedToken = GOLD;
        } else if (idx >= goldAmount && idx < goldAmount + platinumAmount) {
            claimedToken = PLATINUM;
        } else {
            claimedToken = BLACK;
        }

        // Transfer token
        _safeTransferFrom(address(this), msg.sender, claimedToken, 1, "");
        tokensClaimed++;
    }

    function hasPass(address addr) public view returns(bool) {
        return   
            balanceOf(addr, BLACK) > 0 || 
            balanceOf(addr, PLATINUM) > 0 ||
            balanceOf(addr, GOLD) > 0;
    }

    function passType(address addr) public view returns(uint) {
        if (balanceOf(addr, GOLD) > 0) {
            return GOLD;
        } else if (balanceOf(addr, PLATINUM) > 0) {
            return PLATINUM;
        } else if (balanceOf(addr, BLACK) > 0) {
            return BLACK;
        } else {
            return 10;
        }
    }

    function setMerkleRoot(bytes32 merkleRoot_) public onlyOwner {
        merkleRoot = merkleRoot_;
    }

    function setSaleActive(bool isSaleActive_) public onlyOwner {
        isSaleActive = isSaleActive_;
    }

    function setPresale(bool isPresale_) public onlyOwner {
        isPresale = isPresale_;
    }

    function setMedataDataUri(string memory metadataUri) public onlyOwner {
        _setURI(metadataUri);
    }

    function isClaimed(uint256 index) public view returns (bool) {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        uint256 claimedWord = claimedBitMap[claimedWordIndex];
        uint256 mask = (1 << claimedBitIndex);
        return claimedWord & mask == mask;
    }
    
    function _setClaimed(uint256 index) private {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex);
    }    
}

File 6 of 20 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

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

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

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

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

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

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

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

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 7 of 20 : 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 8 of 20 : 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 9 of 20 : 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 10 of 20 : 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 11 of 20 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 12 of 20 : 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 13 of 20 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 20 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 16 of 20 : MerkleProof.sol
// SPDX-License-Identifier: MIT

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

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 17 of 20 : Random.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Random {    
    uint private randNonce;
    
    constructor(uint randomSeed) {
        randNonce = randomSeed;
    }

    function randMod(uint _modulus) internal returns(uint) {
        randNonce++;         
        return uint(keccak256(abi.encodePacked(
            block.timestamp,             
            block.difficulty, 
            msg.sender, 
            randNonce))) % _modulus;
     }
}

File 18 of 20 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 19 of 20 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 20 of 20 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"goldPrice_","type":"uint256"},{"internalType":"uint256","name":"platinumPrice_","type":"uint256"},{"internalType":"uint256","name":"blackPrice_","type":"uint256"},{"internalType":"uint256","name":"memberPrice_","type":"uint256"},{"internalType":"uint256","name":"nonMemberPrice_","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"address","name":"membershipPassAddress_","type":"address"},{"internalType":"string","name":"metadataUri_","type":"string"}],"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":"addresses","type":"address[]"}],"name":"addToAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blackPrice","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":[],"name":"goldPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPremint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMeta","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetaData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"memberPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numCharacters","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numCharacters","type":"uint256"}],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonMemberPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platinumPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numCharacters","type":"uint256"}],"name":"premint","outputs":[],"stateMutability":"nonpayable","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":"metadataUri_","type":"string"}],"name":"setMetaDataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPresale_","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gold","type":"uint256"},{"internalType":"uint256","name":"platinum","type":"uint256"},{"internalType":"uint256","name":"black","type":"uint256"},{"internalType":"uint256","name":"member","type":"uint256"},{"internalType":"uint256","name":"nonmember","type":"uint256"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isSaleActive_","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"useAllowList_","type":"bool"}],"name":"setUseAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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"}]

60806040526000600a60146101000a81548160ff0219169083151502179055506001600a60156101000a81548160ff0219169083151502179055506001600a60166101000a81548160ff0219169083151502179055506000600a60176101000a81548160ff0219169083151502179055506000601360006101000a81548160ff0219169083151502179055503480156200009857600080fd5b5060405162005376380380620053768339818101604052810190620000be91906200042e565b6040518060400160405280600781526020017f506f7765725570000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f504f570000000000000000000000000000000000000000000000000000000000815250816000908051906020019062000142929190620002de565b5080600190805190602001906200015b929190620002de565b5050506200017e620001726200021060201b60201c565b6200021860201b60201c565b81601360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555087600c8190555086600d8190555085600e8190555084600f81905550836010819055508260118190555080600b908051906020019062000201929190620002de565b505050505050505050620006ec565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ec90620005dd565b90600052602060002090601f0160209004810192826200031057600085556200035c565b82601f106200032b57805160ff19168380011785556200035c565b828001600101855582156200035c579182015b828111156200035b5782518255916020019190600101906200033e565b5b5090506200036b91906200036f565b5090565b5b808211156200038a57600081600090555060010162000370565b5090565b6000620003a56200039f8462000533565b6200050a565b905082815260208101848484011115620003be57600080fd5b620003cb848285620005a7565b509392505050565b600081519050620003e481620006b8565b92915050565b600082601f830112620003fc57600080fd5b81516200040e8482602086016200038e565b91505092915050565b6000815190506200042881620006d2565b92915050565b600080600080600080600080610100898b0312156200044c57600080fd5b60006200045c8b828c0162000417565b98505060206200046f8b828c0162000417565b9750506040620004828b828c0162000417565b9650506060620004958b828c0162000417565b9550506080620004a88b828c0162000417565b94505060a0620004bb8b828c0162000417565b93505060c0620004ce8b828c01620003d3565b92505060e089015167ffffffffffffffff811115620004ec57600080fd5b620004fa8b828c01620003ea565b9150509295985092959890939650565b60006200051662000529565b905062000524828262000613565b919050565b6000604051905090565b600067ffffffffffffffff82111562000551576200055062000678565b5b6200055c82620006a7565b9050602081019050919050565b600062000576826200057d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620005c7578082015181840152602081019050620005aa565b83811115620005d7576000848401525b50505050565b60006002820490506001821680620005f657607f821691505b602082108114156200060d576200060c62000649565b5b50919050565b6200061e82620006a7565b810181811067ffffffffffffffff8211171562000640576200063f62000678565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620006c38162000569565b8114620006cf57600080fd5b50565b620006dd816200059d565b8114620006e957600080fd5b50565b614c7a80620006fc6000396000f3fe6080604052600436106102465760003560e01c8063841718a611610139578063a0712d68116100b6578063c87b56dd1161007a578063c87b56dd14610847578063d5abeb0114610884578063df86976a146108af578063e985e9c5146108da578063ed0f733314610917578063f2fde38b1461094257610246565b8063a0712d6814610785578063a22cb465146107a1578063b88d4fde146107ca578063c492b021146107f3578063c54e73e31461081e57610246565b806398c5c707116100fd57806398c5c707146106c657806399599e29146106f1578063996517cf1461071a5780639d5aef30146107455780639e2517581461076e57610246565b8063841718a6146105f35780638da5cb5b1461061c5780638edb27251461064757806395364a841461067057806395d89b411461069b57610246565b806344501404116101c757806370a082311161018b57806370a0823114610522578063715018a61461055f5780637263cfe2146105765780637bc6ec1a1461059f5780638168803d146105c857610246565b806344501404146104275780634f6ccce714610452578063564566a81461048f5780636352211e146104ba578063636e746b146104f757610246565b806323b872dd1161020e57806323b872dd1461034457806327de8f271461036d5780632f745c59146103aa5780633ccfd60b146103e757806342842e0e146103fe57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806318160ddd14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061378e565b61096b565b60405161027f9190613dd3565b60405180910390f35b34801561029457600080fd5b5061029d6109e5565b6040516102aa9190613dee565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613821565b610a77565b6040516102e79190613d6c565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906136bb565b610afc565b005b34801561032557600080fd5b5061032e610c14565b60405161033b9190614150565b60405180910390f35b34801561035057600080fd5b5061036b600480360381019061036691906135b5565b610c21565b005b34801561037957600080fd5b50610394600480360381019061038f9190613821565b610c81565b6040516103a19190614150565b60405180910390f35b3480156103b657600080fd5b506103d160048036038101906103cc91906136bb565b610e8d565b6040516103de9190614150565b60405180910390f35b3480156103f357600080fd5b506103fc610f32565b005b34801561040a57600080fd5b50610425600480360381019061042091906135b5565b610ffd565b005b34801561043357600080fd5b5061043c61101d565b6040516104499190614150565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190613821565b611023565b6040516104869190614150565b60405180910390f35b34801561049b57600080fd5b506104a46110ba565b6040516104b19190613dd3565b60405180910390f35b3480156104c657600080fd5b506104e160048036038101906104dc9190613821565b6110cd565b6040516104ee9190613d6c565b60405180910390f35b34801561050357600080fd5b5061050c61117f565b6040516105199190614150565b60405180910390f35b34801561052e57600080fd5b5061054960048036038101906105449190613550565b611185565b6040516105569190614150565b60405180910390f35b34801561056b57600080fd5b5061057461123d565b005b34801561058257600080fd5b5061059d600480360381019061059891906136f7565b6112c5565b005b3480156105ab57600080fd5b506105c660048036038101906105c19190613873565b611427565b005b3480156105d457600080fd5b506105dd6114cd565b6040516105ea9190614150565b60405180910390f35b3480156105ff57600080fd5b5061061a6004803603810190610615919061373c565b6114d3565b005b34801561062857600080fd5b50610631611587565b60405161063e9190613d6c565b60405180910390f35b34801561065357600080fd5b5061066e6004803603810190610669919061373c565b6115b1565b005b34801561067c57600080fd5b5061068561164a565b6040516106929190613dd3565b60405180910390f35b3480156106a757600080fd5b506106b061165d565b6040516106bd9190613dee565b60405180910390f35b3480156106d257600080fd5b506106db6116ef565b6040516106e89190613dd3565b60405180910390f35b3480156106fd57600080fd5b50610718600480360381019061071391906137e0565b611702565b005b34801561072657600080fd5b5061072f6117e8565b60405161073c9190614150565b60405180910390f35b34801561075157600080fd5b5061076c60048036038101906107679190613821565b611820565b005b34801561077a57600080fd5b506107836118f7565b005b61079f600480360381019061079a9190613821565b611990565b005b3480156107ad57600080fd5b506107c860048036038101906107c3919061367f565b611bf0565b005b3480156107d657600080fd5b506107f160048036038101906107ec9190613604565b611d71565b005b3480156107ff57600080fd5b50610808611dd3565b6040516108159190614150565b60405180910390f35b34801561082a57600080fd5b506108456004803603810190610840919061373c565b611dd9565b005b34801561085357600080fd5b5061086e60048036038101906108699190613821565b611e72565b60405161087b9190613dee565b60405180910390f35b34801561089057600080fd5b50610899611f19565b6040516108a69190614150565b60405180910390f35b3480156108bb57600080fd5b506108c4611f1f565b6040516108d19190614150565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc9190613579565b611f25565b60405161090e9190613dd3565b60405180910390f35b34801561092357600080fd5b5061092c611fb9565b6040516109399190613dd3565b60405180910390f35b34801561094e57600080fd5b5061096960048036038101906109649190613550565b611fcc565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109de57506109dd826120c4565b5b9050919050565b6060600080546109f490614400565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2090614400565b8015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b5050505050905090565b6000610a82826121a6565b610ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab890613ff0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b07826110cd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f906140b0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b97612212565b73ffffffffffffffffffffffffffffffffffffffff161480610bc65750610bc581610bc0612212565b611f25565b5b610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc90613f50565b60405180910390fd5b610c0f838361221a565b505050565b6000600880549050905090565b610c32610c2c612212565b826122d3565b610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c68906140f0565b60405180910390fd5b610c7c8383836123b1565b505050565b600080601360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663718f838c336040518263ffffffff1660e01b8152600401610cdf9190613d6c565b60206040518083038186803b158015610cf757600080fd5b505afa158015610d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2f919061384a565b9050600a60159054906101000a900460ff1615610e65576000811415610d655782600e54610d5d91906142bc565b915050610e88565b6001811415610d845782600d54610d7c91906142bc565b915050610e88565b6002811415610e5457601360009054906101000a900460ff168015610df35750601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15610e0e57600c5483610e0691906142bc565b915050610e88565b6000610e1933611185565b14610e3157600c5483610e2c91906142bc565b610e4c565b600c54600184610e419190614316565b610e4b91906142bc565b5b915050610e88565b670de0b6b3a7640000915050610e88565b8260028211610e7657600f54610e7a565b6010545b610e8491906142bc565b9150505b919050565b6000610e9883611185565b8210610ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed090613e30565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f3a612212565b73ffffffffffffffffffffffffffffffffffffffff16610f58611587565b73ffffffffffffffffffffffffffffffffffffffff1614610fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa590614010565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ff9573d6000803e3d6000fd5b5050565b61101883838360405180602001604052806000815250611d71565b505050565b600c5481565b600061102d610c14565b821061106e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106590614110565b60405180910390fd5b600882815481106110a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600a60149054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116d90613f90565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ed90613f70565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611245612212565b73ffffffffffffffffffffffffffffffffffffffff16611263611587565b73ffffffffffffffffffffffffffffffffffffffff16146112b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b090614010565b60405180910390fd5b6112c3600061260d565b565b6112cd612212565b73ffffffffffffffffffffffffffffffffffffffff166112eb611587565b73ffffffffffffffffffffffffffffffffffffffff1614611341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133890614010565b60405180910390fd5b6001601360006101000a81548160ff02191690831515021790555060005b82829050811015611422576001601260008585858181106113a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906113be9190613550565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061141a90614463565b91505061135f565b505050565b61142f612212565b73ffffffffffffffffffffffffffffffffffffffff1661144d611587565b73ffffffffffffffffffffffffffffffffffffffff16146114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90614010565b60405180910390fd5b84600c8190555083600d8190555082600e8190555081600f81905550806010819055505050505050565b600d5481565b6114db612212565b73ffffffffffffffffffffffffffffffffffffffff166114f9611587565b73ffffffffffffffffffffffffffffffffffffffff161461154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690614010565b60405180910390fd5b80600a60146101000a81548160ff0219169083151502179055506000600a60166101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115b9612212565b73ffffffffffffffffffffffffffffffffffffffff166115d7611587565b73ffffffffffffffffffffffffffffffffffffffff161461162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490614010565b60405180910390fd5b80601360006101000a81548160ff02191690831515021790555050565b600a60159054906101000a900460ff1681565b60606001805461166c90614400565b80601f016020809104026020016040519081016040528092919081815260200182805461169890614400565b80156116e55780601f106116ba576101008083540402835291602001916116e5565b820191906000526020600020905b8154815290600101906020018083116116c857829003601f168201915b5050505050905090565b600a60179054906101000a900460ff1681565b61170a612212565b73ffffffffffffffffffffffffffffffffffffffff16611728611587565b73ffffffffffffffffffffffffffffffffffffffff161461177e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177590614010565b60405180910390fd5b600a60179054906101000a900460ff16156117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c590614130565b60405180910390fd5b80600b90805190602001906117e4929190613300565b5050565b6000600a60159054906101000a900460ff1661180557600a61181b565b61180e33611185565b600461181a9190614316565b5b905090565b611828612212565b73ffffffffffffffffffffffffffffffffffffffff16611846611587565b73ffffffffffffffffffffffffffffffffffffffff161461189c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189390614010565b60405180910390fd5b600a60169054906101000a900460ff166118eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e290613ef0565b60405180910390fd5b6118f4816126d3565b50565b6118ff612212565b73ffffffffffffffffffffffffffffffffffffffff1661191d611587565b73ffffffffffffffffffffffffffffffffffffffff1614611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a90614010565b60405180910390fd5b6001600a60176101000a81548160ff021916908315150217905550565b600a60149054906101000a900460ff166119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614070565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4490613f10565b60405180910390fd5b600a60159054906101000a900460ff161580611b105750601360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663937cde20336040518263ffffffff1660e01b8152600401611abf9190613d6c565b60206040518083038186803b158015611ad757600080fd5b505afa158015611aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0f9190613765565b5b611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4690613fd0565b60405180910390fd5b611b5881610c81565b341015611b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9190614090565b60405180910390fd5b611ba26117e8565b811115611be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdb90613e10565b60405180910390fd5b611bed816126d3565b50565b611bf8612212565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d90613ed0565b60405180910390fd5b8060056000611c73612212565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d20612212565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d659190613dd3565b60405180910390a35050565b611d82611d7c612212565b836122d3565b611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db8906140f0565b60405180910390fd5b611dcd84848484612779565b50505050565b600e5481565b611de1612212565b73ffffffffffffffffffffffffffffffffffffffff16611dff611587565b73ffffffffffffffffffffffffffffffffffffffff1614611e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4c90614010565b60405180910390fd5b80600a60156101000a81548160ff02191690831515021790555050565b6060611e7d826121a6565b611ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb390614050565b60405180910390fd5b6000611ec66127d5565b90506000815111611ee65760405180602001604052806000815250611f11565b80611ef084612867565b604051602001611f01929190613d48565b6040516020818303038152906040525b915050919050565b60115481565b60105481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a60169054906101000a900460ff1681565b611fd4612212565b73ffffffffffffffffffffffffffffffffffffffff16611ff2611587565b73ffffffffffffffffffffffffffffffffffffffff1614612048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203f90614010565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af90613e70565b60405180910390fd5b6120c18161260d565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061218f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061219f575061219e82612a14565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661228d836110cd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122de826121a6565b61231d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231490613f30565b60405180910390fd5b6000612328836110cd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061239757508373ffffffffffffffffffffffffffffffffffffffff1661237f84610a77565b73ffffffffffffffffffffffffffffffffffffffff16145b806123a857506123a78185611f25565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123d1826110cd565b73ffffffffffffffffffffffffffffffffffffffff1614612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e90614030565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248e90613eb0565b60405180910390fd5b6124a2838383612a7e565b6124ad60008261221a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124fd9190614316565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125549190614235565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b601154816126df610c14565b6126e99190614235565b111561272a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612721906140d0565b60405180910390fd5b60005b818110156127755760006001612741610c14565b61274b9190614235565b90506011548111612761576127603382612b92565b5b50808061276d90614463565b91505061272d565b5050565b6127848484846123b1565b61279084848484612bb0565b6127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c690613e50565b60405180910390fd5b50505050565b6060600b80546127e490614400565b80601f016020809104026020016040519081016040528092919081815260200182805461281090614400565b801561285d5780601f106128325761010080835404028352916020019161285d565b820191906000526020600020905b81548152906001019060200180831161284057829003601f168201915b5050505050905090565b606060008214156128af576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a0f565b600082905060005b600082146128e15780806128ca90614463565b915050600a826128da919061428b565b91506128b7565b60008167ffffffffffffffff811115612923577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129555781602001600182028036833780820191505090505b5090505b60008514612a085760018261296e9190614316565b9150600a8561297d91906144ac565b60306129899190614235565b60f81b8183815181106129c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a01919061428b565b9450612959565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a89838383612d47565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612acc57612ac781612d4c565b612b0b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b0a57612b098382612d95565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b4e57612b4981612f02565b612b8d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b8c57612b8b8282613045565b5b5b505050565b612bac8282604051806020016040528060008152506130c4565b5050565b6000612bd18473ffffffffffffffffffffffffffffffffffffffff1661311f565b15612d3a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bfa612212565b8786866040518563ffffffff1660e01b8152600401612c1c9493929190613d87565b602060405180830381600087803b158015612c3657600080fd5b505af1925050508015612c6757506040513d601f19601f82011682018060405250810190612c6491906137b7565b60015b612cea573d8060008114612c97576040519150601f19603f3d011682016040523d82523d6000602084013e612c9c565b606091505b50600081511415612ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd990613e50565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d3f565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612da284611185565b612dac9190614316565b9050600060076000848152602001908152602001600020549050818114612e91576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f169190614316565b9050600060096000848152602001908152602001600020549050600060088381548110612f6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612fb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613029577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061305083611185565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6130ce8383613132565b6130db6000848484612bb0565b61311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311190613e50565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319990613fb0565b60405180910390fd5b6131ab816121a6565b156131eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e290613e90565b60405180910390fd5b6131f760008383612a7e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132479190614235565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461330c90614400565b90600052602060002090601f01602090048101928261332e5760008555613375565b82601f1061334757805160ff1916838001178555613375565b82800160010185558215613375579182015b82811115613374578251825591602001919060010190613359565b5b5090506133829190613386565b5090565b5b8082111561339f576000816000905550600101613387565b5090565b60006133b66133b184614190565b61416b565b9050828152602081018484840111156133ce57600080fd5b6133d98482856143be565b509392505050565b60006133f46133ef846141c1565b61416b565b90508281526020810184848401111561340c57600080fd5b6134178482856143be565b509392505050565b60008135905061342e81614be8565b92915050565b60008083601f84011261344657600080fd5b8235905067ffffffffffffffff81111561345f57600080fd5b60208301915083602082028301111561347757600080fd5b9250929050565b60008135905061348d81614bff565b92915050565b6000815190506134a281614bff565b92915050565b6000813590506134b781614c16565b92915050565b6000815190506134cc81614c16565b92915050565b600082601f8301126134e357600080fd5b81356134f38482602086016133a3565b91505092915050565b600082601f83011261350d57600080fd5b813561351d8482602086016133e1565b91505092915050565b60008135905061353581614c2d565b92915050565b60008151905061354a81614c2d565b92915050565b60006020828403121561356257600080fd5b60006135708482850161341f565b91505092915050565b6000806040838503121561358c57600080fd5b600061359a8582860161341f565b92505060206135ab8582860161341f565b9150509250929050565b6000806000606084860312156135ca57600080fd5b60006135d88682870161341f565b93505060206135e98682870161341f565b92505060406135fa86828701613526565b9150509250925092565b6000806000806080858703121561361a57600080fd5b60006136288782880161341f565b94505060206136398782880161341f565b935050604061364a87828801613526565b925050606085013567ffffffffffffffff81111561366757600080fd5b613673878288016134d2565b91505092959194509250565b6000806040838503121561369257600080fd5b60006136a08582860161341f565b92505060206136b18582860161347e565b9150509250929050565b600080604083850312156136ce57600080fd5b60006136dc8582860161341f565b92505060206136ed85828601613526565b9150509250929050565b6000806020838503121561370a57600080fd5b600083013567ffffffffffffffff81111561372457600080fd5b61373085828601613434565b92509250509250929050565b60006020828403121561374e57600080fd5b600061375c8482850161347e565b91505092915050565b60006020828403121561377757600080fd5b600061378584828501613493565b91505092915050565b6000602082840312156137a057600080fd5b60006137ae848285016134a8565b91505092915050565b6000602082840312156137c957600080fd5b60006137d7848285016134bd565b91505092915050565b6000602082840312156137f257600080fd5b600082013567ffffffffffffffff81111561380c57600080fd5b613818848285016134fc565b91505092915050565b60006020828403121561383357600080fd5b600061384184828501613526565b91505092915050565b60006020828403121561385c57600080fd5b600061386a8482850161353b565b91505092915050565b600080600080600060a0868803121561388b57600080fd5b600061389988828901613526565b95505060206138aa88828901613526565b94505060406138bb88828901613526565b93505060606138cc88828901613526565b92505060806138dd88828901613526565b9150509295509295909350565b6138f38161434a565b82525050565b6139028161435c565b82525050565b6000613913826141f2565b61391d8185614208565b935061392d8185602086016143cd565b61393681614599565b840191505092915050565b600061394c826141fd565b6139568185614219565b93506139668185602086016143cd565b61396f81614599565b840191505092915050565b6000613985826141fd565b61398f818561422a565b935061399f8185602086016143cd565b80840191505092915050565b60006139b8601483614219565b91506139c3826145aa565b602082019050919050565b60006139db602b83614219565b91506139e6826145d3565b604082019050919050565b60006139fe603283614219565b9150613a0982614622565b604082019050919050565b6000613a21602683614219565b9150613a2c82614671565b604082019050919050565b6000613a44601c83614219565b9150613a4f826146c0565b602082019050919050565b6000613a67602483614219565b9150613a72826146e9565b604082019050919050565b6000613a8a601983614219565b9150613a9582614738565b602082019050919050565b6000613aad601383614219565b9150613ab882614761565b602082019050919050565b6000613ad0600983614219565b9150613adb8261478a565b602082019050919050565b6000613af3602c83614219565b9150613afe826147b3565b604082019050919050565b6000613b16603883614219565b9150613b2182614802565b604082019050919050565b6000613b39602a83614219565b9150613b4482614851565b604082019050919050565b6000613b5c602983614219565b9150613b67826148a0565b604082019050919050565b6000613b7f602083614219565b9150613b8a826148ef565b602082019050919050565b6000613ba2601c83614219565b9150613bad82614918565b602082019050919050565b6000613bc5602c83614219565b9150613bd082614941565b604082019050919050565b6000613be8602083614219565b9150613bf382614990565b602082019050919050565b6000613c0b602983614219565b9150613c16826149b9565b604082019050919050565b6000613c2e602f83614219565b9150613c3982614a08565b604082019050919050565b6000613c51601383614219565b9150613c5c82614a57565b602082019050919050565b6000613c74600f83614219565b9150613c7f82614a80565b602082019050919050565b6000613c97602183614219565b9150613ca282614aa9565b604082019050919050565b6000613cba601283614219565b9150613cc582614af8565b602082019050919050565b6000613cdd603183614219565b9150613ce882614b21565b604082019050919050565b6000613d00602c83614219565b9150613d0b82614b70565b604082019050919050565b6000613d23601283614219565b9150613d2e82614bbf565b602082019050919050565b613d42816143b4565b82525050565b6000613d54828561397a565b9150613d60828461397a565b91508190509392505050565b6000602082019050613d8160008301846138ea565b92915050565b6000608082019050613d9c60008301876138ea565b613da960208301866138ea565b613db66040830185613d39565b8181036060830152613dc88184613908565b905095945050505050565b6000602082019050613de860008301846138f9565b92915050565b60006020820190508181036000830152613e088184613941565b905092915050565b60006020820190508181036000830152613e29816139ab565b9050919050565b60006020820190508181036000830152613e49816139ce565b9050919050565b60006020820190508181036000830152613e69816139f1565b9050919050565b60006020820190508181036000830152613e8981613a14565b9050919050565b60006020820190508181036000830152613ea981613a37565b9050919050565b60006020820190508181036000830152613ec981613a5a565b9050919050565b60006020820190508181036000830152613ee981613a7d565b9050919050565b60006020820190508181036000830152613f0981613aa0565b9050919050565b60006020820190508181036000830152613f2981613ac3565b9050919050565b60006020820190508181036000830152613f4981613ae6565b9050919050565b60006020820190508181036000830152613f6981613b09565b9050919050565b60006020820190508181036000830152613f8981613b2c565b9050919050565b60006020820190508181036000830152613fa981613b4f565b9050919050565b60006020820190508181036000830152613fc981613b72565b9050919050565b60006020820190508181036000830152613fe981613b95565b9050919050565b6000602082019050818103600083015261400981613bb8565b9050919050565b6000602082019050818103600083015261402981613bdb565b9050919050565b6000602082019050818103600083015261404981613bfe565b9050919050565b6000602082019050818103600083015261406981613c21565b9050919050565b6000602082019050818103600083015261408981613c44565b9050919050565b600060208201905081810360008301526140a981613c67565b9050919050565b600060208201905081810360008301526140c981613c8a565b9050919050565b600060208201905081810360008301526140e981613cad565b9050919050565b6000602082019050818103600083015261410981613cd0565b9050919050565b6000602082019050818103600083015261412981613cf3565b9050919050565b6000602082019050818103600083015261414981613d16565b9050919050565b60006020820190506141656000830184613d39565b92915050565b6000614175614186565b90506141818282614432565b919050565b6000604051905090565b600067ffffffffffffffff8211156141ab576141aa61456a565b5b6141b482614599565b9050602081019050919050565b600067ffffffffffffffff8211156141dc576141db61456a565b5b6141e582614599565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614240826143b4565b915061424b836143b4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142805761427f6144dd565b5b828201905092915050565b6000614296826143b4565b91506142a1836143b4565b9250826142b1576142b061450c565b5b828204905092915050565b60006142c7826143b4565b91506142d2836143b4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561430b5761430a6144dd565b5b828202905092915050565b6000614321826143b4565b915061432c836143b4565b92508282101561433f5761433e6144dd565b5b828203905092915050565b600061435582614394565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156143eb5780820151818401526020810190506143d0565b838111156143fa576000848401525b50505050565b6000600282049050600182168061441857607f821691505b6020821081141561442c5761442b61453b565b5b50919050565b61443b82614599565b810181811067ffffffffffffffff8211171561445a5761445961456a565b5b80604052505050565b600061446e826143b4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144a1576144a06144dd565b5b600182019050919050565b60006144b7826143b4565b91506144c2836143b4565b9250826144d2576144d161450c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4578636565646564206d696e74206c696d69742e000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5072656d696e74206e6f7420616c6c6f77656400000000000000000000000000600082015250565b7f4e6f7420757365722e0000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f446f6573206e6f74206f776e206d656d62657273686970207061737300000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b7f4e6f7420656e6f756768204554482e0000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820737570706c792e0000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d65746164617461206973206c6f636b65640000000000000000000000000000600082015250565b614bf18161434a565b8114614bfc57600080fd5b50565b614c088161435c565b8114614c1357600080fd5b50565b614c1f81614368565b8114614c2a57600080fd5b50565b614c36816143b4565b8114614c4157600080fd5b5056fea264697066735822122099f0ff0de27566c79ccdd28918bd2d7f926423cbe620400dc0c8a4b797dc5aad64736f6c63430008040033000000000000000000000000000000000000000000000000002e8a616e8ec000000000000000000000000000000000000000000000000000002e8a616e8ec000000000000000000000000000000000000000000000000000005d14c2dd1d8000000000000000000000000000000000000000000000000000005d14c2dd1d800000000000000000000000000000000000000000000000000000ba2985ba3b00000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000d6f4a273f2e6932760cd9038d0767c6013b5919100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102465760003560e01c8063841718a611610139578063a0712d68116100b6578063c87b56dd1161007a578063c87b56dd14610847578063d5abeb0114610884578063df86976a146108af578063e985e9c5146108da578063ed0f733314610917578063f2fde38b1461094257610246565b8063a0712d6814610785578063a22cb465146107a1578063b88d4fde146107ca578063c492b021146107f3578063c54e73e31461081e57610246565b806398c5c707116100fd57806398c5c707146106c657806399599e29146106f1578063996517cf1461071a5780639d5aef30146107455780639e2517581461076e57610246565b8063841718a6146105f35780638da5cb5b1461061c5780638edb27251461064757806395364a841461067057806395d89b411461069b57610246565b806344501404116101c757806370a082311161018b57806370a0823114610522578063715018a61461055f5780637263cfe2146105765780637bc6ec1a1461059f5780638168803d146105c857610246565b806344501404146104275780634f6ccce714610452578063564566a81461048f5780636352211e146104ba578063636e746b146104f757610246565b806323b872dd1161020e57806323b872dd1461034457806327de8f271461036d5780632f745c59146103aa5780633ccfd60b146103e757806342842e0e146103fe57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806318160ddd14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061378e565b61096b565b60405161027f9190613dd3565b60405180910390f35b34801561029457600080fd5b5061029d6109e5565b6040516102aa9190613dee565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613821565b610a77565b6040516102e79190613d6c565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906136bb565b610afc565b005b34801561032557600080fd5b5061032e610c14565b60405161033b9190614150565b60405180910390f35b34801561035057600080fd5b5061036b600480360381019061036691906135b5565b610c21565b005b34801561037957600080fd5b50610394600480360381019061038f9190613821565b610c81565b6040516103a19190614150565b60405180910390f35b3480156103b657600080fd5b506103d160048036038101906103cc91906136bb565b610e8d565b6040516103de9190614150565b60405180910390f35b3480156103f357600080fd5b506103fc610f32565b005b34801561040a57600080fd5b50610425600480360381019061042091906135b5565b610ffd565b005b34801561043357600080fd5b5061043c61101d565b6040516104499190614150565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190613821565b611023565b6040516104869190614150565b60405180910390f35b34801561049b57600080fd5b506104a46110ba565b6040516104b19190613dd3565b60405180910390f35b3480156104c657600080fd5b506104e160048036038101906104dc9190613821565b6110cd565b6040516104ee9190613d6c565b60405180910390f35b34801561050357600080fd5b5061050c61117f565b6040516105199190614150565b60405180910390f35b34801561052e57600080fd5b5061054960048036038101906105449190613550565b611185565b6040516105569190614150565b60405180910390f35b34801561056b57600080fd5b5061057461123d565b005b34801561058257600080fd5b5061059d600480360381019061059891906136f7565b6112c5565b005b3480156105ab57600080fd5b506105c660048036038101906105c19190613873565b611427565b005b3480156105d457600080fd5b506105dd6114cd565b6040516105ea9190614150565b60405180910390f35b3480156105ff57600080fd5b5061061a6004803603810190610615919061373c565b6114d3565b005b34801561062857600080fd5b50610631611587565b60405161063e9190613d6c565b60405180910390f35b34801561065357600080fd5b5061066e6004803603810190610669919061373c565b6115b1565b005b34801561067c57600080fd5b5061068561164a565b6040516106929190613dd3565b60405180910390f35b3480156106a757600080fd5b506106b061165d565b6040516106bd9190613dee565b60405180910390f35b3480156106d257600080fd5b506106db6116ef565b6040516106e89190613dd3565b60405180910390f35b3480156106fd57600080fd5b50610718600480360381019061071391906137e0565b611702565b005b34801561072657600080fd5b5061072f6117e8565b60405161073c9190614150565b60405180910390f35b34801561075157600080fd5b5061076c60048036038101906107679190613821565b611820565b005b34801561077a57600080fd5b506107836118f7565b005b61079f600480360381019061079a9190613821565b611990565b005b3480156107ad57600080fd5b506107c860048036038101906107c3919061367f565b611bf0565b005b3480156107d657600080fd5b506107f160048036038101906107ec9190613604565b611d71565b005b3480156107ff57600080fd5b50610808611dd3565b6040516108159190614150565b60405180910390f35b34801561082a57600080fd5b506108456004803603810190610840919061373c565b611dd9565b005b34801561085357600080fd5b5061086e60048036038101906108699190613821565b611e72565b60405161087b9190613dee565b60405180910390f35b34801561089057600080fd5b50610899611f19565b6040516108a69190614150565b60405180910390f35b3480156108bb57600080fd5b506108c4611f1f565b6040516108d19190614150565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc9190613579565b611f25565b60405161090e9190613dd3565b60405180910390f35b34801561092357600080fd5b5061092c611fb9565b6040516109399190613dd3565b60405180910390f35b34801561094e57600080fd5b5061096960048036038101906109649190613550565b611fcc565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109de57506109dd826120c4565b5b9050919050565b6060600080546109f490614400565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2090614400565b8015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b5050505050905090565b6000610a82826121a6565b610ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab890613ff0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b07826110cd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f906140b0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b97612212565b73ffffffffffffffffffffffffffffffffffffffff161480610bc65750610bc581610bc0612212565b611f25565b5b610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc90613f50565b60405180910390fd5b610c0f838361221a565b505050565b6000600880549050905090565b610c32610c2c612212565b826122d3565b610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c68906140f0565b60405180910390fd5b610c7c8383836123b1565b505050565b600080601360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663718f838c336040518263ffffffff1660e01b8152600401610cdf9190613d6c565b60206040518083038186803b158015610cf757600080fd5b505afa158015610d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2f919061384a565b9050600a60159054906101000a900460ff1615610e65576000811415610d655782600e54610d5d91906142bc565b915050610e88565b6001811415610d845782600d54610d7c91906142bc565b915050610e88565b6002811415610e5457601360009054906101000a900460ff168015610df35750601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15610e0e57600c5483610e0691906142bc565b915050610e88565b6000610e1933611185565b14610e3157600c5483610e2c91906142bc565b610e4c565b600c54600184610e419190614316565b610e4b91906142bc565b5b915050610e88565b670de0b6b3a7640000915050610e88565b8260028211610e7657600f54610e7a565b6010545b610e8491906142bc565b9150505b919050565b6000610e9883611185565b8210610ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed090613e30565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f3a612212565b73ffffffffffffffffffffffffffffffffffffffff16610f58611587565b73ffffffffffffffffffffffffffffffffffffffff1614610fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa590614010565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ff9573d6000803e3d6000fd5b5050565b61101883838360405180602001604052806000815250611d71565b505050565b600c5481565b600061102d610c14565b821061106e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106590614110565b60405180910390fd5b600882815481106110a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600a60149054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116d90613f90565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ed90613f70565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611245612212565b73ffffffffffffffffffffffffffffffffffffffff16611263611587565b73ffffffffffffffffffffffffffffffffffffffff16146112b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b090614010565b60405180910390fd5b6112c3600061260d565b565b6112cd612212565b73ffffffffffffffffffffffffffffffffffffffff166112eb611587565b73ffffffffffffffffffffffffffffffffffffffff1614611341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133890614010565b60405180910390fd5b6001601360006101000a81548160ff02191690831515021790555060005b82829050811015611422576001601260008585858181106113a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906113be9190613550565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061141a90614463565b91505061135f565b505050565b61142f612212565b73ffffffffffffffffffffffffffffffffffffffff1661144d611587565b73ffffffffffffffffffffffffffffffffffffffff16146114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90614010565b60405180910390fd5b84600c8190555083600d8190555082600e8190555081600f81905550806010819055505050505050565b600d5481565b6114db612212565b73ffffffffffffffffffffffffffffffffffffffff166114f9611587565b73ffffffffffffffffffffffffffffffffffffffff161461154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690614010565b60405180910390fd5b80600a60146101000a81548160ff0219169083151502179055506000600a60166101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115b9612212565b73ffffffffffffffffffffffffffffffffffffffff166115d7611587565b73ffffffffffffffffffffffffffffffffffffffff161461162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490614010565b60405180910390fd5b80601360006101000a81548160ff02191690831515021790555050565b600a60159054906101000a900460ff1681565b60606001805461166c90614400565b80601f016020809104026020016040519081016040528092919081815260200182805461169890614400565b80156116e55780601f106116ba576101008083540402835291602001916116e5565b820191906000526020600020905b8154815290600101906020018083116116c857829003601f168201915b5050505050905090565b600a60179054906101000a900460ff1681565b61170a612212565b73ffffffffffffffffffffffffffffffffffffffff16611728611587565b73ffffffffffffffffffffffffffffffffffffffff161461177e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177590614010565b60405180910390fd5b600a60179054906101000a900460ff16156117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c590614130565b60405180910390fd5b80600b90805190602001906117e4929190613300565b5050565b6000600a60159054906101000a900460ff1661180557600a61181b565b61180e33611185565b600461181a9190614316565b5b905090565b611828612212565b73ffffffffffffffffffffffffffffffffffffffff16611846611587565b73ffffffffffffffffffffffffffffffffffffffff161461189c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189390614010565b60405180910390fd5b600a60169054906101000a900460ff166118eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e290613ef0565b60405180910390fd5b6118f4816126d3565b50565b6118ff612212565b73ffffffffffffffffffffffffffffffffffffffff1661191d611587565b73ffffffffffffffffffffffffffffffffffffffff1614611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a90614010565b60405180910390fd5b6001600a60176101000a81548160ff021916908315150217905550565b600a60149054906101000a900460ff166119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614070565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4490613f10565b60405180910390fd5b600a60159054906101000a900460ff161580611b105750601360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663937cde20336040518263ffffffff1660e01b8152600401611abf9190613d6c565b60206040518083038186803b158015611ad757600080fd5b505afa158015611aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0f9190613765565b5b611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4690613fd0565b60405180910390fd5b611b5881610c81565b341015611b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9190614090565b60405180910390fd5b611ba26117e8565b811115611be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdb90613e10565b60405180910390fd5b611bed816126d3565b50565b611bf8612212565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d90613ed0565b60405180910390fd5b8060056000611c73612212565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d20612212565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d659190613dd3565b60405180910390a35050565b611d82611d7c612212565b836122d3565b611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db8906140f0565b60405180910390fd5b611dcd84848484612779565b50505050565b600e5481565b611de1612212565b73ffffffffffffffffffffffffffffffffffffffff16611dff611587565b73ffffffffffffffffffffffffffffffffffffffff1614611e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4c90614010565b60405180910390fd5b80600a60156101000a81548160ff02191690831515021790555050565b6060611e7d826121a6565b611ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb390614050565b60405180910390fd5b6000611ec66127d5565b90506000815111611ee65760405180602001604052806000815250611f11565b80611ef084612867565b604051602001611f01929190613d48565b6040516020818303038152906040525b915050919050565b60115481565b60105481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a60169054906101000a900460ff1681565b611fd4612212565b73ffffffffffffffffffffffffffffffffffffffff16611ff2611587565b73ffffffffffffffffffffffffffffffffffffffff1614612048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203f90614010565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af90613e70565b60405180910390fd5b6120c18161260d565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061218f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061219f575061219e82612a14565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661228d836110cd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122de826121a6565b61231d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231490613f30565b60405180910390fd5b6000612328836110cd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061239757508373ffffffffffffffffffffffffffffffffffffffff1661237f84610a77565b73ffffffffffffffffffffffffffffffffffffffff16145b806123a857506123a78185611f25565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123d1826110cd565b73ffffffffffffffffffffffffffffffffffffffff1614612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e90614030565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248e90613eb0565b60405180910390fd5b6124a2838383612a7e565b6124ad60008261221a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124fd9190614316565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125549190614235565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b601154816126df610c14565b6126e99190614235565b111561272a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612721906140d0565b60405180910390fd5b60005b818110156127755760006001612741610c14565b61274b9190614235565b90506011548111612761576127603382612b92565b5b50808061276d90614463565b91505061272d565b5050565b6127848484846123b1565b61279084848484612bb0565b6127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c690613e50565b60405180910390fd5b50505050565b6060600b80546127e490614400565b80601f016020809104026020016040519081016040528092919081815260200182805461281090614400565b801561285d5780601f106128325761010080835404028352916020019161285d565b820191906000526020600020905b81548152906001019060200180831161284057829003601f168201915b5050505050905090565b606060008214156128af576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a0f565b600082905060005b600082146128e15780806128ca90614463565b915050600a826128da919061428b565b91506128b7565b60008167ffffffffffffffff811115612923577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129555781602001600182028036833780820191505090505b5090505b60008514612a085760018261296e9190614316565b9150600a8561297d91906144ac565b60306129899190614235565b60f81b8183815181106129c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a01919061428b565b9450612959565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a89838383612d47565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612acc57612ac781612d4c565b612b0b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b0a57612b098382612d95565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b4e57612b4981612f02565b612b8d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b8c57612b8b8282613045565b5b5b505050565b612bac8282604051806020016040528060008152506130c4565b5050565b6000612bd18473ffffffffffffffffffffffffffffffffffffffff1661311f565b15612d3a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bfa612212565b8786866040518563ffffffff1660e01b8152600401612c1c9493929190613d87565b602060405180830381600087803b158015612c3657600080fd5b505af1925050508015612c6757506040513d601f19601f82011682018060405250810190612c6491906137b7565b60015b612cea573d8060008114612c97576040519150601f19603f3d011682016040523d82523d6000602084013e612c9c565b606091505b50600081511415612ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd990613e50565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d3f565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612da284611185565b612dac9190614316565b9050600060076000848152602001908152602001600020549050818114612e91576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f169190614316565b9050600060096000848152602001908152602001600020549050600060088381548110612f6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612fb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613029577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061305083611185565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6130ce8383613132565b6130db6000848484612bb0565b61311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311190613e50565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319990613fb0565b60405180910390fd5b6131ab816121a6565b156131eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e290613e90565b60405180910390fd5b6131f760008383612a7e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132479190614235565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461330c90614400565b90600052602060002090601f01602090048101928261332e5760008555613375565b82601f1061334757805160ff1916838001178555613375565b82800160010185558215613375579182015b82811115613374578251825591602001919060010190613359565b5b5090506133829190613386565b5090565b5b8082111561339f576000816000905550600101613387565b5090565b60006133b66133b184614190565b61416b565b9050828152602081018484840111156133ce57600080fd5b6133d98482856143be565b509392505050565b60006133f46133ef846141c1565b61416b565b90508281526020810184848401111561340c57600080fd5b6134178482856143be565b509392505050565b60008135905061342e81614be8565b92915050565b60008083601f84011261344657600080fd5b8235905067ffffffffffffffff81111561345f57600080fd5b60208301915083602082028301111561347757600080fd5b9250929050565b60008135905061348d81614bff565b92915050565b6000815190506134a281614bff565b92915050565b6000813590506134b781614c16565b92915050565b6000815190506134cc81614c16565b92915050565b600082601f8301126134e357600080fd5b81356134f38482602086016133a3565b91505092915050565b600082601f83011261350d57600080fd5b813561351d8482602086016133e1565b91505092915050565b60008135905061353581614c2d565b92915050565b60008151905061354a81614c2d565b92915050565b60006020828403121561356257600080fd5b60006135708482850161341f565b91505092915050565b6000806040838503121561358c57600080fd5b600061359a8582860161341f565b92505060206135ab8582860161341f565b9150509250929050565b6000806000606084860312156135ca57600080fd5b60006135d88682870161341f565b93505060206135e98682870161341f565b92505060406135fa86828701613526565b9150509250925092565b6000806000806080858703121561361a57600080fd5b60006136288782880161341f565b94505060206136398782880161341f565b935050604061364a87828801613526565b925050606085013567ffffffffffffffff81111561366757600080fd5b613673878288016134d2565b91505092959194509250565b6000806040838503121561369257600080fd5b60006136a08582860161341f565b92505060206136b18582860161347e565b9150509250929050565b600080604083850312156136ce57600080fd5b60006136dc8582860161341f565b92505060206136ed85828601613526565b9150509250929050565b6000806020838503121561370a57600080fd5b600083013567ffffffffffffffff81111561372457600080fd5b61373085828601613434565b92509250509250929050565b60006020828403121561374e57600080fd5b600061375c8482850161347e565b91505092915050565b60006020828403121561377757600080fd5b600061378584828501613493565b91505092915050565b6000602082840312156137a057600080fd5b60006137ae848285016134a8565b91505092915050565b6000602082840312156137c957600080fd5b60006137d7848285016134bd565b91505092915050565b6000602082840312156137f257600080fd5b600082013567ffffffffffffffff81111561380c57600080fd5b613818848285016134fc565b91505092915050565b60006020828403121561383357600080fd5b600061384184828501613526565b91505092915050565b60006020828403121561385c57600080fd5b600061386a8482850161353b565b91505092915050565b600080600080600060a0868803121561388b57600080fd5b600061389988828901613526565b95505060206138aa88828901613526565b94505060406138bb88828901613526565b93505060606138cc88828901613526565b92505060806138dd88828901613526565b9150509295509295909350565b6138f38161434a565b82525050565b6139028161435c565b82525050565b6000613913826141f2565b61391d8185614208565b935061392d8185602086016143cd565b61393681614599565b840191505092915050565b600061394c826141fd565b6139568185614219565b93506139668185602086016143cd565b61396f81614599565b840191505092915050565b6000613985826141fd565b61398f818561422a565b935061399f8185602086016143cd565b80840191505092915050565b60006139b8601483614219565b91506139c3826145aa565b602082019050919050565b60006139db602b83614219565b91506139e6826145d3565b604082019050919050565b60006139fe603283614219565b9150613a0982614622565b604082019050919050565b6000613a21602683614219565b9150613a2c82614671565b604082019050919050565b6000613a44601c83614219565b9150613a4f826146c0565b602082019050919050565b6000613a67602483614219565b9150613a72826146e9565b604082019050919050565b6000613a8a601983614219565b9150613a9582614738565b602082019050919050565b6000613aad601383614219565b9150613ab882614761565b602082019050919050565b6000613ad0600983614219565b9150613adb8261478a565b602082019050919050565b6000613af3602c83614219565b9150613afe826147b3565b604082019050919050565b6000613b16603883614219565b9150613b2182614802565b604082019050919050565b6000613b39602a83614219565b9150613b4482614851565b604082019050919050565b6000613b5c602983614219565b9150613b67826148a0565b604082019050919050565b6000613b7f602083614219565b9150613b8a826148ef565b602082019050919050565b6000613ba2601c83614219565b9150613bad82614918565b602082019050919050565b6000613bc5602c83614219565b9150613bd082614941565b604082019050919050565b6000613be8602083614219565b9150613bf382614990565b602082019050919050565b6000613c0b602983614219565b9150613c16826149b9565b604082019050919050565b6000613c2e602f83614219565b9150613c3982614a08565b604082019050919050565b6000613c51601383614219565b9150613c5c82614a57565b602082019050919050565b6000613c74600f83614219565b9150613c7f82614a80565b602082019050919050565b6000613c97602183614219565b9150613ca282614aa9565b604082019050919050565b6000613cba601283614219565b9150613cc582614af8565b602082019050919050565b6000613cdd603183614219565b9150613ce882614b21565b604082019050919050565b6000613d00602c83614219565b9150613d0b82614b70565b604082019050919050565b6000613d23601283614219565b9150613d2e82614bbf565b602082019050919050565b613d42816143b4565b82525050565b6000613d54828561397a565b9150613d60828461397a565b91508190509392505050565b6000602082019050613d8160008301846138ea565b92915050565b6000608082019050613d9c60008301876138ea565b613da960208301866138ea565b613db66040830185613d39565b8181036060830152613dc88184613908565b905095945050505050565b6000602082019050613de860008301846138f9565b92915050565b60006020820190508181036000830152613e088184613941565b905092915050565b60006020820190508181036000830152613e29816139ab565b9050919050565b60006020820190508181036000830152613e49816139ce565b9050919050565b60006020820190508181036000830152613e69816139f1565b9050919050565b60006020820190508181036000830152613e8981613a14565b9050919050565b60006020820190508181036000830152613ea981613a37565b9050919050565b60006020820190508181036000830152613ec981613a5a565b9050919050565b60006020820190508181036000830152613ee981613a7d565b9050919050565b60006020820190508181036000830152613f0981613aa0565b9050919050565b60006020820190508181036000830152613f2981613ac3565b9050919050565b60006020820190508181036000830152613f4981613ae6565b9050919050565b60006020820190508181036000830152613f6981613b09565b9050919050565b60006020820190508181036000830152613f8981613b2c565b9050919050565b60006020820190508181036000830152613fa981613b4f565b9050919050565b60006020820190508181036000830152613fc981613b72565b9050919050565b60006020820190508181036000830152613fe981613b95565b9050919050565b6000602082019050818103600083015261400981613bb8565b9050919050565b6000602082019050818103600083015261402981613bdb565b9050919050565b6000602082019050818103600083015261404981613bfe565b9050919050565b6000602082019050818103600083015261406981613c21565b9050919050565b6000602082019050818103600083015261408981613c44565b9050919050565b600060208201905081810360008301526140a981613c67565b9050919050565b600060208201905081810360008301526140c981613c8a565b9050919050565b600060208201905081810360008301526140e981613cad565b9050919050565b6000602082019050818103600083015261410981613cd0565b9050919050565b6000602082019050818103600083015261412981613cf3565b9050919050565b6000602082019050818103600083015261414981613d16565b9050919050565b60006020820190506141656000830184613d39565b92915050565b6000614175614186565b90506141818282614432565b919050565b6000604051905090565b600067ffffffffffffffff8211156141ab576141aa61456a565b5b6141b482614599565b9050602081019050919050565b600067ffffffffffffffff8211156141dc576141db61456a565b5b6141e582614599565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614240826143b4565b915061424b836143b4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142805761427f6144dd565b5b828201905092915050565b6000614296826143b4565b91506142a1836143b4565b9250826142b1576142b061450c565b5b828204905092915050565b60006142c7826143b4565b91506142d2836143b4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561430b5761430a6144dd565b5b828202905092915050565b6000614321826143b4565b915061432c836143b4565b92508282101561433f5761433e6144dd565b5b828203905092915050565b600061435582614394565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156143eb5780820151818401526020810190506143d0565b838111156143fa576000848401525b50505050565b6000600282049050600182168061441857607f821691505b6020821081141561442c5761442b61453b565b5b50919050565b61443b82614599565b810181811067ffffffffffffffff8211171561445a5761445961456a565b5b80604052505050565b600061446e826143b4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144a1576144a06144dd565b5b600182019050919050565b60006144b7826143b4565b91506144c2836143b4565b9250826144d2576144d161450c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4578636565646564206d696e74206c696d69742e000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5072656d696e74206e6f7420616c6c6f77656400000000000000000000000000600082015250565b7f4e6f7420757365722e0000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f446f6573206e6f74206f776e206d656d62657273686970207061737300000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b7f4e6f7420656e6f756768204554482e0000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820737570706c792e0000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d65746164617461206973206c6f636b65640000000000000000000000000000600082015250565b614bf18161434a565b8114614bfc57600080fd5b50565b614c088161435c565b8114614c1357600080fd5b50565b614c1f81614368565b8114614c2a57600080fd5b50565b614c36816143b4565b8114614c4157600080fd5b5056fea264697066735822122099f0ff0de27566c79ccdd28918bd2d7f926423cbe620400dc0c8a4b797dc5aad64736f6c63430008040033

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

000000000000000000000000000000000000000000000000002e8a616e8ec000000000000000000000000000000000000000000000000000002e8a616e8ec000000000000000000000000000000000000000000000000000005d14c2dd1d8000000000000000000000000000000000000000000000000000005d14c2dd1d800000000000000000000000000000000000000000000000000000ba2985ba3b00000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000d6f4a273f2e6932760cd9038d0767c6013b5919100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : goldPrice_ (uint256): 13100000000000000
Arg [1] : platinumPrice_ (uint256): 13100000000000000
Arg [2] : blackPrice_ (uint256): 26200000000000000
Arg [3] : memberPrice_ (uint256): 26200000000000000
Arg [4] : nonMemberPrice_ (uint256): 52400000000000000
Arg [5] : maxSupply_ (uint256): 8000
Arg [6] : membershipPassAddress_ (address): 0xd6F4a273F2E6932760Cd9038D0767C6013B59191
Arg [7] : metadataUri_ (string):

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000002e8a616e8ec000
Arg [1] : 000000000000000000000000000000000000000000000000002e8a616e8ec000
Arg [2] : 000000000000000000000000000000000000000000000000005d14c2dd1d8000
Arg [3] : 000000000000000000000000000000000000000000000000005d14c2dd1d8000
Arg [4] : 00000000000000000000000000000000000000000000000000ba2985ba3b0000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000001f40
Arg [6] : 000000000000000000000000d6f4a273f2e6932760cd9038d0767c6013b59191
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000


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.