ETH Price: $3,122.21 (-0.73%)

Token

Otherdeed (OTHR)
 

Overview

Max Total Supply

100,000 OTHR

Holders

14,840

Market

Volume (24H)

3.5097 ETH

Min Price (24H)

$396.21 @ 0.126900 ETH

Max Price (24H)

$3,434.43 @ 1.100000 ETH

Other Info

Balance
1 OTHR
0xAA935ee459Ff72E4292Ba17839d94e64746C5A31
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Otherdeed is the key to claiming land in Otherside. Each have a unique blend of environment and sediment — some with resources, some home to powerful artifacts. And on a very few, a Koda roams.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Land

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract Land is ERC721Enumerable, Ownable, ReentrancyGuard, VRFConsumerBase {
    using SafeERC20 for IERC20;

    // attributes
    string private baseURI;
    address public operator;

    bool public publicSaleActive;
    uint256 public publicSaleStartTime;
    uint256 public publicSalePriceLoweringDuration;
    uint256 public publicSaleStartPrice;
    uint256 public publicSaleEndingPrice;
    uint256 public currentNumLandsMintedPublicSale;
    uint256 public mintIndexPublicSaleAndContributors;
    address public tokenContract;
    bool private isKycCheckRequired;
    bytes32 public kycMerkleRoot;

    uint256 public maxMintPerTx;
    uint256 public maxMintPerAddress;
    mapping(address => uint256) public mintedPerAddress;

    bool public claimableActive; 
    bool public adminClaimStarted;
    
    address public alphaContract; 
    mapping(uint256 => bool) public alphaClaimed;
    uint256 public alphaClaimedAmount;

    address public betaContract; 
    mapping(uint256 => bool) public betaClaimed;
    uint256 public betaClaimedAmount;
    uint256 public betaNftIdCurrent;

    bool public contributorsClaimActive;
    mapping(address => uint256) public contributors;
    uint256 public futureLandsNftIdCurrent;

    address public futureMinter;

    Metadata[] public metadataHashes;
    bytes32 public keyHash;
    uint256 public fee;
    uint256 public publicSaleAndContributorsOffset;
    uint256 public alphaOffset;
    uint256 public betaOffset;
    mapping(bytes32 => bool) public isRandomRequestForPublicSaleAndContributors;
    bool public publicSaleAndContributorsRandomnessRequested;
    bool public ownerClaimRandomnessRequested;
    
    // constants
    uint256 immutable public MAX_LANDS;
    uint256 immutable public MAX_LANDS_WITH_FUTURE;
    uint256 immutable public MAX_ALPHA_NFT_AMOUNT;
    uint256 immutable public MAX_BETA_NFT_AMOUNT;
    uint256 immutable public MAX_PUBLIC_SALE_AMOUNT;
    uint256 immutable public RESERVED_CONTRIBUTORS_AMOUNT;
    uint256 immutable public MAX_FUTURE_LANDS;
    uint256 constant public MAX_MINT_PER_BLOCK = 150;

    // structs
    struct LandAmount {
        uint256 alpha;
        uint256 beta;
        uint256 publicSale;
        uint256 future;
    }
    struct ContributorAmount {
        address contributor;
        uint256 amount;
    }

    struct Metadata {
        bytes32 metadataHash;
        bytes32 shuffledArrayHash;
        uint256 startIndex;
        uint256 endIndex;
    }

    struct ContractAddresses {
        address alphaContract;
        address betaContract;
        address tokenContract;
    }

    // modifiers
    modifier whenPublicSaleActive() {
        require(publicSaleActive, "Public sale is not active");
        _;
    }
    modifier whenContributorsClaimActive() {
        require(contributorsClaimActive, "Contributors Claim is not active");
        _;
    }
    modifier whenClaimableActive() {
        require(claimableActive && !adminClaimStarted, "Claimable state is not active");
        _;
    }
    modifier checkMetadataRange(Metadata memory _landMetadata){
        require(_landMetadata.endIndex < MAX_LANDS_WITH_FUTURE, "Range upper bound cannot exceed MAX_LANDS_WITH_FUTURE - 1");
        _;
    }

    modifier onlyContributors(address _contributor){
        require(contributors[_contributor] > 0, "Only contributors can call this method");
        _;
    }

    modifier onlyOperator() {
        require(operator == msg.sender , "Only operator can call this method");
        _;
    }

    modifier onlyFutureMinter() {
        require(futureMinter == msg.sender , "Only futureMinter can call this method");
        _;
    }

    modifier checkFirstMetadataRange(uint256 index, uint256 startIndex, uint256 endIndex) {
        if(index == 0){
            require(startIndex == 0, "For first metadata range lower bound should be 0");
            require(endIndex == MAX_LANDS - 1, "For first metadata range upper bound should be MAX_LANDS - 1");
        }
        _;
    }

    // events
    event LandPublicSaleStart(
        uint256 indexed _saleDuration,
        uint256 indexed _saleStartTime
    );
    event LandPublicSaleStop(
        uint256 indexed _currentPrice,
        uint256 indexed _timeElapsed
    );
    event ClaimableStateChanged(bool indexed claimableActive);

    event ContributorsClaimStart(uint256 _timestamp);
    event ContributorsClaimStop(uint256 _timestamp);

    event StartingIndexSetPublicSale(uint256 indexed _startingIndex);
    event StartingIndexSetAlphaBeta(uint256 indexed _alphaOffset, uint256 indexed _betaOffset);

    event PublicSaleMint(address indexed sender, uint256 indexed numLands, uint256 indexed mintPrice);

    constructor(string memory name, string memory symbol,
        ContractAddresses memory addresses,
        LandAmount memory amount,
        ContributorAmount[] memory _contributors,
        address _vrfCoordinator, address _linkTokenAddress,
        bytes32 _vrfKeyHash, uint256 _vrfFee,
        address _operator
    ) ERC721(name, symbol) VRFConsumerBase(_vrfCoordinator, _linkTokenAddress) {

        alphaContract = addresses.alphaContract;
        betaContract = addresses.betaContract;
        tokenContract = addresses.tokenContract;

        MAX_ALPHA_NFT_AMOUNT = amount.alpha;
        MAX_BETA_NFT_AMOUNT = amount.beta;
        MAX_PUBLIC_SALE_AMOUNT = amount.publicSale;
        MAX_FUTURE_LANDS = amount.future;

        betaNftIdCurrent = amount.alpha; //beta starts after alpha
        mintIndexPublicSaleAndContributors = amount.alpha + amount.beta; //public sale starts after beta

        uint256 tempSum;
        for(uint256 i; i<_contributors.length; ++i){
            contributors[_contributors[i].contributor] = _contributors[i].amount;
            tempSum += _contributors[i].amount;
        }
        RESERVED_CONTRIBUTORS_AMOUNT = tempSum;

        MAX_LANDS = amount.alpha + amount.beta + amount.publicSale + RESERVED_CONTRIBUTORS_AMOUNT;
        MAX_LANDS_WITH_FUTURE = MAX_LANDS + amount.future;
        futureLandsNftIdCurrent = MAX_LANDS; //future starts after public sale

        keyHash  = _vrfKeyHash;
        fee = _vrfFee;

        operator = _operator;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
    function setBaseURI(string memory uri) external onlyOperator {
        baseURI = uri;
    }

    function setOperator(address _operator) external onlyOwner {
        operator = _operator;
    }

    function setMaxMintPerTx(uint256 _maxMintPerTx) external onlyOperator {
        maxMintPerTx = _maxMintPerTx;
    }

    function setMaxMintPerAddress(uint256 _maxMintPerAddress) external onlyOperator {
        maxMintPerAddress = _maxMintPerAddress;
    }

    function setKycCheckRequired(bool _isKycCheckRequired) external onlyOperator {
        isKycCheckRequired = _isKycCheckRequired;
    }

    function setKycMerkleRoot(bytes32 _kycMerkleRoot) external onlyOperator {
        kycMerkleRoot = _kycMerkleRoot;
    }

    // Public Sale Methods
    function startPublicSale(
        uint256 _publicSalePriceLoweringDuration, 
        uint256 _publicSaleStartPrice, 
        uint256 _publicSaleEndingPrice,
        uint256 _maxMintPerTx,
        uint256 _maxMintPerAddress,
        bool _isKycCheckRequired
    ) external onlyOperator {
        require(!publicSaleActive, "Public sale has already begun");
        
        publicSalePriceLoweringDuration = _publicSalePriceLoweringDuration;
        publicSaleStartPrice = _publicSaleStartPrice;
        publicSaleEndingPrice = _publicSaleEndingPrice;
        publicSaleStartTime = block.timestamp;
        publicSaleActive = true;

        maxMintPerTx = _maxMintPerTx;
        maxMintPerAddress = _maxMintPerAddress;

        isKycCheckRequired = _isKycCheckRequired;

        emit LandPublicSaleStart(publicSalePriceLoweringDuration, publicSaleStartTime);
    }

    function stopPublicSale() external onlyOperator whenPublicSaleActive {
        emit LandPublicSaleStop(getMintPrice(), getElapsedSaleTime());
        publicSaleActive = false;
    }

    function getElapsedSaleTime() private view returns (uint256) {
        return publicSaleStartTime > 0 ? block.timestamp - publicSaleStartTime : 0;
    }

    function getMintPrice() public view whenPublicSaleActive returns (uint256) {
        uint256 elapsed = getElapsedSaleTime();
        uint256 price;

        if(elapsed < publicSalePriceLoweringDuration) {
            // Linear decreasing function
            price =
                publicSaleStartPrice -
                    ( ( publicSaleStartPrice - publicSaleEndingPrice ) * elapsed ) / publicSalePriceLoweringDuration ;
        } else {
            price = publicSaleEndingPrice;
        }

        return price;
    }

    function mintLands(uint256 numLands, bytes32[] calldata merkleProof) external whenPublicSaleActive nonReentrant {
        require(numLands > 0, "Must mint at least one beta");
        require(currentNumLandsMintedPublicSale + numLands <= MAX_PUBLIC_SALE_AMOUNT, "Minting would exceed max supply");
        require(numLands <= maxMintPerTx, "numLands should not exceed maxMintPerTx");
        require(numLands + mintedPerAddress[msg.sender] <= maxMintPerAddress, "sender address cannot mint more than maxMintPerAddress lands");
        if(isKycCheckRequired) {
            require(MerkleProof.verify(merkleProof, kycMerkleRoot, keccak256(abi.encodePacked(msg.sender))), "Sender address is not in KYC allowlist");
        } else {
            require(msg.sender == tx.origin, "Minting from smart contracts is disallowed");
        }
     
        uint256 mintPrice = getMintPrice();
        IERC20(tokenContract).safeTransferFrom(msg.sender, address(this), mintPrice * numLands);
        currentNumLandsMintedPublicSale += numLands;
        mintedPerAddress[msg.sender] += numLands;
        emit PublicSaleMint(msg.sender, numLands, mintPrice);
        mintLandsCommon(numLands, msg.sender);
    }

    function mintLandsCommon(uint256 numLands, address recipient) private {
        for (uint256 i; i < numLands; ++i) {
            _safeMint(recipient, mintIndexPublicSaleAndContributors++);
        }
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        if(balance > 0){
            Address.sendValue(payable(owner()), balance);
        }

        balance = IERC20(tokenContract).balanceOf(address(this));
        if(balance > 0){
            IERC20(tokenContract).safeTransfer(owner(), balance);
        }
    }

    // Alpha/Beta Claim Methods
    function flipClaimableState() external onlyOperator {
        claimableActive = !claimableActive;
        emit ClaimableStateChanged(claimableActive);
    }

    function nftOwnerClaimLand(uint256[] calldata alphaTokenIds, uint256[] calldata betaTokenIds) external whenClaimableActive {
        require(alphaTokenIds.length > 0 || betaTokenIds.length > 0, "Should claim at least one land");
        require(alphaTokenIds.length + betaTokenIds.length <= MAX_MINT_PER_BLOCK, "Input length should be <= MAX_MINT_PER_BLOCK");

        alphaClaimLand(alphaTokenIds);
        betaClaimLand(betaTokenIds);
    }

    function alphaClaimLand(uint256[] calldata alphaTokenIds) private {
        for(uint256 i; i < alphaTokenIds.length; ++i){
            uint256 alphaTokenId = alphaTokenIds[i];
            require(!alphaClaimed[alphaTokenId], "ALPHA NFT already claimed");
            require(ERC721(alphaContract).ownerOf(alphaTokenId) == msg.sender, "Must own all of the alpha defined by alphaTokenIds");
            
            alphaClaimLandByTokenId(alphaTokenId);    
        }
    }

    function alphaClaimLandByTokenId(uint256 alphaTokenId) private {
        alphaClaimed[alphaTokenId] = true;
        ++alphaClaimedAmount;        
        _safeMint(msg.sender, alphaTokenId);
    }

    function betaClaimLand(uint256[] calldata betaTokenIds) private {
        for(uint256 i; i < betaTokenIds.length; ++i){
            uint256 betaTokenId = betaTokenIds[i];
            require(!betaClaimed[betaTokenId], "BETA NFT already claimed");
            require(ERC721(betaContract).ownerOf(betaTokenId) == msg.sender, "Must own all of the beta defined by betaTokenIds");
            
            betaClaimLandByTokenId(betaTokenId);    
        }
    }

    function betaClaimLandByTokenId(uint256 betaTokenId) private {
        betaClaimed[betaTokenId] = true;
        ++betaClaimedAmount;
        _safeMint(msg.sender, betaNftIdCurrent++);
    }

    // Contributors Claim Methods
    function startContributorsClaimPeriod() onlyOperator external {
        require(!contributorsClaimActive, "Contributors claim is already active");
        contributorsClaimActive = true;
        emit ContributorsClaimStart(block.timestamp);
    }

    function stopContributorsClaimPeriod() onlyOperator external whenContributorsClaimActive {
        contributorsClaimActive = false;
        emit ContributorsClaimStop(block.timestamp);
    }

    function contributorsClaimLand(uint256 amount, address recipient) external onlyContributors(msg.sender) whenContributorsClaimActive {
        require(amount > 0, "Must mint at least one land");
        require(amount <= MAX_MINT_PER_BLOCK, "amount should not exceed MAX_MINT_PER_BLOCK");
        require(amount <= contributors[msg.sender], "Contributor cannot claim other lands");

        contributors[msg.sender] -= amount;
        mintLandsCommon(amount, recipient);
    }

    function claimUnclaimedAndUnsoldLands(address recipient) external onlyOwner {
        claimUnclaimedAndUnsoldLandsWithAmount(recipient, MAX_MINT_PER_BLOCK);
    }

    function claimUnclaimedAndUnsoldLandsWithAmount(address recipient, uint256 maxAmount) public onlyOwner {
        require (publicSaleStartTime > 0 && !claimableActive && !publicSaleActive && !contributorsClaimActive,
            "Cannot claim the unclaimed if claimable or public sale are active");
        require(maxAmount <= MAX_MINT_PER_BLOCK, "maxAmount cannot exceed MAX_MINT_PER_BLOCK");
        require(alphaClaimedAmount < MAX_ALPHA_NFT_AMOUNT || betaClaimedAmount < MAX_BETA_NFT_AMOUNT
                    || mintIndexPublicSaleAndContributors < MAX_LANDS, "Max NFT amount already claimed or sold");

        uint256 totalMinted;
        adminClaimStarted = true;
        //claim beta
        if(betaClaimedAmount < MAX_BETA_NFT_AMOUNT) {
            uint256 leftToBeMinted = MAX_BETA_NFT_AMOUNT - betaClaimedAmount;
            uint256 toMint = leftToBeMinted < maxAmount ? leftToBeMinted : 
                maxAmount; //take the min

            uint256 target = betaNftIdCurrent + toMint;
            for(; betaNftIdCurrent < target; ++betaNftIdCurrent){
                ++betaClaimedAmount;
                ++totalMinted;
                _safeMint(recipient, betaNftIdCurrent);
            }
        }

        //claim alpha
        if(alphaClaimedAmount < MAX_ALPHA_NFT_AMOUNT) {
            uint256 leftToBeMinted = MAX_ALPHA_NFT_AMOUNT - alphaClaimedAmount;
            uint256 toMint = maxAmount < leftToBeMinted + totalMinted ? 
                            maxAmount :
                            leftToBeMinted + totalMinted; //summing totalMinted avoid to use another counter
            
            uint256 lastAlphaNft = MAX_ALPHA_NFT_AMOUNT - 1;
            for(uint256 i; i <= lastAlphaNft && totalMinted < toMint; ++i) {
                if(!alphaClaimed[i]){
                    ++alphaClaimedAmount;
                    ++totalMinted;
                    alphaClaimed[i] = true;
                    _safeMint(recipient, i);
                }
            }
        }

        //claim unsold
        if(mintIndexPublicSaleAndContributors < MAX_LANDS){
            uint256 leftToBeMinted = MAX_LANDS - mintIndexPublicSaleAndContributors; 
            uint256 toMint = maxAmount < leftToBeMinted + totalMinted ? 
                            maxAmount :
                            leftToBeMinted + totalMinted; //summing totalMinted avoid to use another counter

            for(; mintIndexPublicSaleAndContributors < MAX_LANDS && totalMinted < toMint; ++mintIndexPublicSaleAndContributors) {
                    ++totalMinted;
                    _safeMint(recipient, mintIndexPublicSaleAndContributors);
            }              
        }
    }

    //future
    function setFutureMinter(address _futureMinter) external onlyOwner {
        futureMinter = _futureMinter;
    }

    function mintFutureLands(address recipient) external onlyFutureMinter {
        mintFutureLandsWithAmount(recipient, MAX_MINT_PER_BLOCK);
    }

    function mintFutureLandsWithAmount(address recipient, uint256 maxAmount) public onlyFutureMinter {
        require(maxAmount <= MAX_MINT_PER_BLOCK, "maxAmount cannot exceed MAX_MINT_PER_BLOCK");    
        require(futureLandsNftIdCurrent < MAX_LANDS_WITH_FUTURE, "All future lands were already minted");
        for(uint256 claimed; claimed < maxAmount && futureLandsNftIdCurrent < MAX_LANDS_WITH_FUTURE; ++claimed){

            _safeMint(recipient, futureLandsNftIdCurrent++);
        }
    }
     
    // metadata
    function loadLandMetadata(Metadata memory _landMetadata)
        external onlyOperator checkMetadataRange(_landMetadata)
        checkFirstMetadataRange(metadataHashes.length, _landMetadata.startIndex, _landMetadata.endIndex)
    {
        metadataHashes.push(_landMetadata);
    } 

    function putLandMetadataAtIndex(uint256 index, Metadata memory _landMetadata)
        external onlyOperator checkMetadataRange(_landMetadata)
        checkFirstMetadataRange(index, _landMetadata.startIndex, _landMetadata.endIndex)
    {
        metadataHashes[index] = _landMetadata;
    }     

    // randomness
    function requestRandomnessForPublicSaleAndContributors() external onlyOperator returns (bytes32 requestId) {
        require(!publicSaleAndContributorsRandomnessRequested, "Public Sale And Contributors Offset already requested");
        publicSaleAndContributorsRandomnessRequested = true;
        requestId = requestRandomnessPrivate();
        isRandomRequestForPublicSaleAndContributors[requestId] = true;
    }

    function requestRandomnessForOwnerClaim() external onlyOperator returns (bytes32 requestId) {
        require(!ownerClaimRandomnessRequested, "Owner Claim Offset already requested");
        ownerClaimRandomnessRequested = true;
        requestId = requestRandomnessPrivate();
        isRandomRequestForPublicSaleAndContributors[requestId] = false;
    }

    function requestRandomnessPrivate() private returns (bytes32 requestId) {
        require(
            LINK.balanceOf(address(this)) >= fee,
            "Not enough LINK"
        );
        return requestRandomness(keyHash, fee);
    }

    function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override {
        if(isRandomRequestForPublicSaleAndContributors[requestId]){
            publicSaleAndContributorsOffset = (randomness % (MAX_PUBLIC_SALE_AMOUNT + RESERVED_CONTRIBUTORS_AMOUNT));
            emit StartingIndexSetPublicSale(publicSaleAndContributorsOffset);
        } else {
            alphaOffset = (randomness % MAX_ALPHA_NFT_AMOUNT);
            betaOffset = (randomness % MAX_BETA_NFT_AMOUNT);
            emit StartingIndexSetAlphaBeta(alphaOffset, betaOffset);
        }
    }
}

File 2 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 20 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 20 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 7 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return 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 8 of 20 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 9 of 20 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

    /**
     * @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 10 of 20 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 13 of 20 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 14 of 20 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 15 of 20 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 16 of 20 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 17 of 20 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

interface LinkTokenInterface {
  function allowance(address owner, address spender) external view returns (uint256 remaining);

  function approve(address spender, uint256 value) external returns (bool success);

  function balanceOf(address owner) external view returns (uint256 balance);

  function decimals() external view returns (uint8 decimalPlaces);

  function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);

  function increaseApproval(address spender, uint256 subtractedValue) external;

  function name() external view returns (string memory tokenName);

  function symbol() external view returns (string memory tokenSymbol);

  function totalSupply() external view returns (uint256 totalTokensIssued);

  function transfer(address to, uint256 value) external returns (bool success);

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  ) external returns (bool success);

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool success);
}

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

contract VRFRequestIDBase {
  /**
   * @notice returns the seed which is actually input to the VRF coordinator
   *
   * @dev To prevent repetition of VRF output due to repetition of the
   * @dev user-supplied seed, that seed is combined in a hash with the
   * @dev user-specific nonce, and the address of the consuming contract. The
   * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
   * @dev the final seed, but the nonce does protect against repetition in
   * @dev requests which are included in a single block.
   *
   * @param _userSeed VRF seed input provided by user
   * @param _requester Address of the requesting contract
   * @param _nonce User-specific nonce at the time of the request
   */
  function makeVRFInputSeed(
    bytes32 _keyHash,
    uint256 _userSeed,
    address _requester,
    uint256 _nonce
  ) internal pure returns (uint256) {
    return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
  }

  /**
   * @notice Returns the id for this request
   * @param _keyHash The serviceAgreement ID to be used for this request
   * @param _vRFInputSeed The seed to be passed directly to the VRF
   * @return The id for this request
   *
   * @dev Note that _vRFInputSeed is not the seed passed by the consuming
   * @dev contract, but the one generated by makeVRFInputSeed
   */
  function makeRequestId(bytes32 _keyHash, uint256 _vRFInputSeed) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
  }
}

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

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constuctor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.)
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {
  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBase expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomness the VRF output
   */
  function fulfillRandomness(bytes32 requestId, uint256 randomness) internal virtual;

  /**
   * @dev In order to keep backwards compatibility we have kept the user
   * seed field around. We remove the use of it because given that the blockhash
   * enters later, it overrides whatever randomness the used seed provides.
   * Given that it adds no security, and can easily lead to misunderstandings,
   * we have removed it from usage and can now provide a simpler API.
   */
  uint256 private constant USER_SEED_PLACEHOLDER = 0;

  /**
   * @notice requestRandomness initiates a request for VRF output given _seed
   *
   * @dev The fulfillRandomness method receives the output, once it's provided
   * @dev by the Oracle, and verified by the vrfCoordinator.
   *
   * @dev The _keyHash must already be registered with the VRFCoordinator, and
   * @dev the _fee must exceed the fee specified during registration of the
   * @dev _keyHash.
   *
   * @dev The _seed parameter is vestigial, and is kept only for API
   * @dev compatibility with older versions. It can't *hurt* to mix in some of
   * @dev your own randomness, here, but it's not necessary because the VRF
   * @dev oracle will mix the hash of the block containing your request into the
   * @dev VRF seed it ultimately uses.
   *
   * @param _keyHash ID of public key against which randomness is generated
   * @param _fee The amount of LINK to send with the request
   *
   * @return requestId unique ID for this request
   *
   * @dev The returned requestId can be used to distinguish responses to
   * @dev concurrent requests. It is passed as the first argument to
   * @dev fulfillRandomness.
   */
  function requestRandomness(bytes32 _keyHash, uint256 _fee) internal returns (bytes32 requestId) {
    LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
    // This is the seed passed to VRFCoordinator. The oracle will mix this with
    // the hash of the block containing this request to obtain the seed/input
    // which is finally passed to the VRF cryptographic machinery.
    uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
    // nonces[_keyHash] must stay in sync with
    // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
    // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
    // This provides protection against the user repeating their input seed,
    // which would result in a predictable/duplicate output, if multiple such
    // requests appeared in the same block.
    nonces[_keyHash] = nonces[_keyHash] + 1;
    return makeRequestId(_keyHash, vRFSeed);
  }

  LinkTokenInterface internal immutable LINK;
  address private immutable vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 => uint256) /* keyHash */ /* nonce */
    private nonces;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   * @param _link address of LINK token contract
   *
   * @dev https://docs.chain.link/docs/link-token-contracts
   */
  constructor(address _vrfCoordinator, address _link) {
    vrfCoordinator = _vrfCoordinator;
    LINK = LinkTokenInterface(_link);
  }

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomness(bytes32 requestId, uint256 randomness) external {
    require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
    fulfillRandomness(requestId, randomness);
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"components":[{"internalType":"address","name":"alphaContract","type":"address"},{"internalType":"address","name":"betaContract","type":"address"},{"internalType":"address","name":"tokenContract","type":"address"}],"internalType":"struct Land.ContractAddresses","name":"addresses","type":"tuple"},{"components":[{"internalType":"uint256","name":"alpha","type":"uint256"},{"internalType":"uint256","name":"beta","type":"uint256"},{"internalType":"uint256","name":"publicSale","type":"uint256"},{"internalType":"uint256","name":"future","type":"uint256"}],"internalType":"struct Land.LandAmount","name":"amount","type":"tuple"},{"components":[{"internalType":"address","name":"contributor","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Land.ContributorAmount[]","name":"_contributors","type":"tuple[]"},{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"internalType":"address","name":"_linkTokenAddress","type":"address"},{"internalType":"bytes32","name":"_vrfKeyHash","type":"bytes32"},{"internalType":"uint256","name":"_vrfFee","type":"uint256"},{"internalType":"address","name":"_operator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"claimableActive","type":"bool"}],"name":"ClaimableStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"ContributorsClaimStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"ContributorsClaimStop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_saleDuration","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_saleStartTime","type":"uint256"}],"name":"LandPublicSaleStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_currentPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_timeElapsed","type":"uint256"}],"name":"LandPublicSaleStop","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":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"numLands","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"mintPrice","type":"uint256"}],"name":"PublicSaleMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_alphaOffset","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_betaOffset","type":"uint256"}],"name":"StartingIndexSetAlphaBeta","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_startingIndex","type":"uint256"}],"name":"StartingIndexSetPublicSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ALPHA_NFT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BETA_NFT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FUTURE_LANDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_LANDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_LANDS_WITH_FUTURE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_BLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_SALE_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_CONTRIBUTORS_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminClaimStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"alphaClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alphaClaimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alphaContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alphaOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"betaClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"betaClaimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"betaContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"betaNftIdCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"betaOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"claimUnclaimedAndUnsoldLands","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"claimUnclaimedAndUnsoldLandsWithAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimableActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contributors","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contributorsClaimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"contributorsClaimLand","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentNumLandsMintedPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipClaimableState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"futureLandsNftIdCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"futureMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"isRandomRequestForPublicSaleAndContributors","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keyHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kycMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"metadataHash","type":"bytes32"},{"internalType":"bytes32","name":"shuffledArrayHash","type":"bytes32"},{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"endIndex","type":"uint256"}],"internalType":"struct Land.Metadata","name":"_landMetadata","type":"tuple"}],"name":"loadLandMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxMintPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"metadataHashes","outputs":[{"internalType":"bytes32","name":"metadataHash","type":"bytes32"},{"internalType":"bytes32","name":"shuffledArrayHash","type":"bytes32"},{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"endIndex","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintFutureLands","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintFutureLandsWithAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintIndexPublicSaleAndContributors","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numLands","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintLands","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"alphaTokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"betaTokenIds","type":"uint256[]"}],"name":"nftOwnerClaimLand","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerClaimRandomnessRequested","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleAndContributorsOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleAndContributorsRandomnessRequested","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleEndingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePriceLoweringDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"components":[{"internalType":"bytes32","name":"metadataHash","type":"bytes32"},{"internalType":"bytes32","name":"shuffledArrayHash","type":"bytes32"},{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"endIndex","type":"uint256"}],"internalType":"struct Land.Metadata","name":"_landMetadata","type":"tuple"}],"name":"putLandMetadataAtIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestRandomnessForOwnerClaim","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestRandomnessForPublicSaleAndContributors","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_futureMinter","type":"address"}],"name":"setFutureMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isKycCheckRequired","type":"bool"}],"name":"setKycCheckRequired","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_kycMerkleRoot","type":"bytes32"}],"name":"setKycMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintPerAddress","type":"uint256"}],"name":"setMaxMintPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startContributorsClaimPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSalePriceLoweringDuration","type":"uint256"},{"internalType":"uint256","name":"_publicSaleStartPrice","type":"uint256"},{"internalType":"uint256","name":"_publicSaleEndingPrice","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerAddress","type":"uint256"},{"internalType":"bool","name":"_isKycCheckRequired","type":"bool"}],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopContributorsClaimPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPublicSale","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":[],"name":"tokenContract","outputs":[{"internalType":"address","name":"","type":"address"}],"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"}]

6101a06040523480156200001257600080fd5b50604051620056d9380380620056d983398101604081905262000035916200062b565b84848b8b816000908051906020019062000051929190620002c6565b50805162000067906001906020840190620002c6565b505050620000846200007e6200027060201b60201c565b62000274565b6001600b556001600160a01b0391821660a05281166080528851601a8054918316620100000262010000600160b01b0319909216919091179055602089810151601d80549184166001600160a01b03199283161790556040808c015160158054919095169216919091179092558851610100528881018051610120529189015161014052606089015161018052885190819055905162000124916200074b565b6014556000805b8751811015620001e2578781815181106200014a576200014a62000766565b602002602001015160200151602260008a84815181106200016f576200016f62000766565b6020026020010151600001516001600160a01b03166001600160a01b0316815260200190815260200160002081905550878181518110620001b457620001b462000766565b60200260200101516020015182620001cd91906200074b565b9150620001da816200077c565b90506200012b565b5061016081905260408801516020890151895183929162000203916200074b565b6200020f91906200074b565b6200021b91906200074b565b60c0819052606089015162000230916200074b565b60e0525060c051602355602692909255602755600e80546001600160a01b0319166001600160a01b0390921691909117905550620007d795505050505050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002d4906200079a565b90600052602060002090601f016020900481019282620002f8576000855562000343565b82601f106200031357805160ff191683800117855562000343565b8280016001018555821562000343579182015b828111156200034357825182559160200191906001019062000326565b506200035192915062000355565b5090565b5b8082111562000351576000815560010162000356565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715620003a757620003a76200036c565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620003d857620003d86200036c565b604052919050565b600082601f830112620003f257600080fd5b81516001600160401b038111156200040e576200040e6200036c565b602062000424601f8301601f19168201620003ad565b82815285828487010111156200043957600080fd5b60005b83811015620004595785810183015182820184015282016200043c565b838111156200046b5760008385840101525b5095945050505050565b80516001600160a01b03811681146200048d57600080fd5b919050565b600060608284031215620004a557600080fd5b604051606081016001600160401b0381118282101715620004ca57620004ca6200036c565b604052905080620004db8362000475565b8152620004eb6020840162000475565b6020820152620004fe6040840162000475565b60408201525092915050565b6000608082840312156200051d57600080fd5b604051608081016001600160401b03811182821017156200054257620005426200036c565b8060405250809150825181526020830151602082015260408301516040820152606083015160608201525092915050565b600082601f8301126200058557600080fd5b815160206001600160401b03821115620005a357620005a36200036c565b620005b3818360051b01620003ad565b82815260069290921b84018101918181019086841115620005d357600080fd5b8286015b84811015620006205760408189031215620005f25760008081fd5b620005fc62000382565b620006078262000475565b81528185015185820152835291830191604001620005d7565b509695505050505050565b6000806000806000806000806000806101e08b8d0312156200064c57600080fd5b8a516001600160401b03808211156200066457600080fd5b620006728e838f01620003e0565b9b5060208d01519150808211156200068957600080fd5b620006978e838f01620003e0565b9a50620006a88e60408f0162000492565b9950620006b98e60a08f016200050a565b98506101208d0151915080821115620006d157600080fd5b50620006e08d828e0162000573565b965050620006f26101408c0162000475565b9450620007036101608c0162000475565b93506101808b015192506101a08b01519150620007246101c08c0162000475565b90509295989b9194979a5092959850565b634e487b7160e01b600052601160045260246000fd5b6000821982111562000761576200076162000735565b500190565b634e487b7160e01b600052603260045260246000fd5b600060001982141562000793576200079362000735565b5060010190565b600181811c90821680620007af57607f821691505b60208210811415620007d157634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051610140516101605161018051614de9620008f060003960006105af015260008181610a25015261360601526000818161094f015281816117820152613627015260008181610b0001528181611218015281816112da0152818161130601526136b9015260008181610903015281816111ed015281816113a9015281816113d801528181611431015261368c0152600081816104e1015281816120790152818161210301528181612558015261296c015260008181610ad901528181611244015281816114dc0152818161150b0152818161155e015281816125d201526129e40152600081816124a50152613ba40152600081816131cc0152613b750152614de96000f3fe608060405234801561001057600080fd5b50600436106104d75760003560e01c8063715018a611610283578063bc8893b41161015c578063ddca3f43116100ce578063ebc113de11610092578063ebc113de14610ac1578063ec10abc614610ad4578063ec607ce214610afb578063f2fde38b14610b22578063f9fd78c814610b35578063ff1d408014610b6857600080fd5b8063ddca3f4314610a47578063de7fcb1d14610a50578063e58537f414610a59578063e867afc014610a6c578063e985e9c514610a8557600080fd5b8063d04db50e11610120578063d04db50e146109cf578063d0bab933146109dc578063d445b978146109e5578063d926f8fa14610a05578063da1b91c314610a18578063dcae8d8714610a2057600080fd5b8063bc8893b41461098d578063bcd3a192146109a1578063c324a2c2146109aa578063c87b56dd146109b3578063ca694ac8146109c657600080fd5b80639c59b66d116101f5578063ae851f51116101b9578063ae851f51146108fe578063b3ab15fb14610925578063b45385bd14610938578063b48a05391461094a578063b62147e514610971578063b88d4fde1461097a57600080fd5b80639c59b66d146108a5578063a22cb465146108b8578063a7f93ebd146108cb578063ab0752d5146108d3578063ae510a58146108f657600080fd5b80637ca0a252116102475780637ca0a2521461084b5780637d48ca411461085e578063848d075e146108665780638da5cb5b1461087957806394985ddd1461088a57806395d89b411461089d57600080fd5b8063715018a61461080157806371700b5614610809578063745ac9651461081c578063786867b5146108255780637951074a1461083857600080fd5b8063497e0f0d116103b55780635cb3a9c011610327578063653220bc116102eb578063653220bc146107c357806368d41e7d146107cb5780636bb7b1d9146107d45780636f977fbe146107dd5780636faaf624146107e557806370a08231146107ee57600080fd5b80635cb3a9c01461077f578063616cdb1e1461078757806361728f391461079a57806361eede53146107a35780636352211e146107b057600080fd5b806352a97fc31161037957806352a97fc31461072757806355a373d61461073057806355f804b3146107435780635668aca014610756578063570ca73514610763578063572849c41461077657600080fd5b8063497e0f0d146106d75780634cbe9043146106e05780634f2a7abb146106e95780634f6ccce71461070c5780635006f20a1461071f57600080fd5b80631f6d49421161044e578063372854e411610412578063372854e414610671578063396d91b5146106845780633ccfd60b146106965780633fa8e1b51461069e578063401a2ab9146106b157806342842e0e146106c457600080fd5b80631f6d4942146105f557806323b872dd146106155780632dd98a97146106285780632f1f38ae1461063b5780632f745c591461065e57600080fd5b8063081812fc116104a0578063081812fc1461056c578063095ea7b3146105975780630a3ed148146105aa5780630fa57d8a146105d157806318160ddd146105da5780631e14d44b146105e257600080fd5b806229d729146104dc57806301ffc9a71461051657806305084e6b14610539578063064e144f1461054257806306fdde0314610557575b600080fd5b6105037f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b610529610524366004614306565b610b7b565b604051901515815260200161050d565b61050360235481565b610555610550366004614338565b610ba6565b005b61055f610dbc565b60405161050d91906143c0565b61057f61057a3660046143d3565b610e4e565b6040516001600160a01b03909116815260200161050d565b6105556105a53660046143ec565b610ee3565b6105037f000000000000000000000000000000000000000000000000000000000000000081565b61050360135481565b600854610503565b6105556105f03660046143d3565b610ff4565b610503610603366004614418565b60226020526000908152604090205481565b610555610623366004614435565b611023565b601d5461057f906001600160a01b031681565b6105296106493660046143d3565b601e6020526000908152604090205460ff1681565b61050361066c3660046143ec565b611054565b61055561067f3660046143ec565b6110ea565b602c5461052990610100900460ff1681565b6105556115c7565b6105556106ac3660046144c2565b6116b2565b6105556106bf366004614418565b611ae7565b6105556106d2366004614435565b611b1c565b610503602a5481565b61050360145481565b6105296106f73660046143d3565b601b6020526000908152604090205460ff1681565b61050361071a3660046143d3565b611b37565b610555611bca565b61050360295481565b60155461057f906001600160a01b031681565b61055561075136600461459a565b611c38565b6021546105299060ff1681565b600e5461057f906001600160a01b031681565b61050360185481565b610555611c79565b6105556107953660046143d3565b611d35565b61050360265481565b602c546105299060ff1681565b61057f6107be3660046143d3565b611d64565b610503611ddb565b610503601c5481565b610503600f5481565b610503611eac565b61050360115481565b6105036107fc366004614418565b611f6f565b610555611ff6565b6105556108173660046143ec565b61202c565b61050360105481565b6105556108333660046143d3565b61215b565b60245461057f906001600160a01b031681565b6105556108593660046145e3565b61218a565b6105556122d2565b61055561087436600461465d565b61239a565b600a546001600160a01b031661057f565b6105556108983660046146b2565b61249a565b61055f61251c565b6105556108b336600461473a565b61252b565b6105556108c6366004614767565b612669565b610503612674565b6105296108e13660046143d3565b602b6020526000908152604090205460ff1681565b610503609681565b6105037f000000000000000000000000000000000000000000000000000000000000000081565b610555610933366004614418565b6126ff565b601a5461052990610100900460ff1681565b6105037f000000000000000000000000000000000000000000000000000000000000000081565b61050360125481565b610555610988366004614795565b61274b565b600e5461052990600160a01b900460ff1681565b61050360285481565b61050360165481565b61055f6109c13660046143d3565b61277d565b610503601f5481565b601a546105299060ff1681565b61050360205481565b6105036109f3366004614418565b60196020526000908152604090205481565b610555610a13366004614418565b612858565b6105556128a4565b6105037f000000000000000000000000000000000000000000000000000000000000000081565b61050360275481565b61050360175481565b610555610a67366004614815565b61293f565b601a5461057f906201000090046001600160a01b031681565b610529610a93366004614831565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610555610acf366004614418565b612ae8565b6105037f000000000000000000000000000000000000000000000000000000000000000081565b6105037f000000000000000000000000000000000000000000000000000000000000000081565b610555610b30366004614418565b612b1d565b610b48610b433660046143d3565b612bb5565b60408051948552602085019390935291830152606082015260800161050d565b610555610b7636600461485f565b612bef565b60006001600160e01b0319821663780e9d6360e01b1480610ba05750610ba082612c37565b92915050565b33600081815260226020526040902054610c165760405162461bcd60e51b815260206004820152602660248201527f4f6e6c7920636f6e7472696275746f72732063616e2063616c6c2074686973206044820152651b595d1a1bd960d21b60648201526084015b60405180910390fd5b60215460ff16610c685760405162461bcd60e51b815260206004820181905260248201527f436f6e7472696275746f727320436c61696d206973206e6f74206163746976656044820152606401610c0d565b60008311610cb85760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374206f6e65206c616e6400000000006044820152606401610c0d565b6096831115610d1d5760405162461bcd60e51b815260206004820152602b60248201527f616d6f756e742073686f756c64206e6f7420657863656564204d41585f4d494e60448201526a545f5045525f424c4f434b60a81b6064820152608401610c0d565b33600090815260226020526040902054831115610d885760405162461bcd60e51b8152602060048201526024808201527f436f6e7472696275746f722063616e6e6f7420636c61696d206f74686572206c604482015263616e647360e01b6064820152608401610c0d565b3360009081526022602052604081208054859290610da7908490614892565b90915550610db790508383612c87565b505050565b606060008054610dcb906148a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610df7906148a9565b8015610e445780601f10610e1957610100808354040283529160200191610e44565b820191906000526020600020905b815481529060010190602001808311610e2757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ec75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c0d565b506000908152600460205260409020546001600160a01b031690565b6000610eee82611d64565b9050806001600160a01b0316836001600160a01b03161415610f5c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c0d565b336001600160a01b0382161480610f785750610f788133610a93565b610fea5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c0d565b610db78383612cb8565b600e546001600160a01b0316331461101e5760405162461bcd60e51b8152600401610c0d906148e4565b601855565b61102d3382612d26565b6110495760405162461bcd60e51b8152600401610c0d90614926565b610db7838383612e1d565b600061105f83611f6f565b82106110c15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c0d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146111145760405162461bcd60e51b8152600401610c0d90614977565b6000600f541180156111295750601a5460ff16155b801561113f5750600e54600160a01b900460ff16155b801561114e575060215460ff16155b6111ca5760405162461bcd60e51b815260206004820152604160248201527f43616e6e6f7420636c61696d2074686520756e636c61696d656420696620636c60448201527f61696d61626c65206f72207075626c69632073616c65206172652061637469766064820152606560f81b608482015260a401610c0d565b60968111156111eb5760405162461bcd60e51b8152600401610c0d906149ac565b7f0000000000000000000000000000000000000000000000000000000000000000601c54108061123c57507f0000000000000000000000000000000000000000000000000000000000000000601f54105b8061126857507f0000000000000000000000000000000000000000000000000000000000000000601454105b6112c35760405162461bcd60e51b815260206004820152602660248201527f4d6178204e465420616d6f756e7420616c726561647920636c61696d6564206f6044820152651c881cdbdb1960d21b6064820152608401610c0d565b601a805461ff001916610100179055601f546000907f000000000000000000000000000000000000000000000000000000000000000011156113a7576000601f547f000000000000000000000000000000000000000000000000000000000000000061132f9190614892565b905060008382106113405783611342565b815b905060008160205461135491906149f6565b90505b8060205410156113a357601f6000815461137090614a0e565b9091555061137d84614a0e565b935061138b86602054612fc4565b60206000815461139a90614a0e565b90915550611357565b5050505b7f0000000000000000000000000000000000000000000000000000000000000000601c5410156114da576000601c547f00000000000000000000000000000000000000000000000000000000000000006114019190614892565b9050600061140f83836149f6565b84106114245761141f83836149f6565b611426565b835b9050600061145560017f0000000000000000000000000000000000000000000000000000000000000000614892565b905060005b81811115801561146957508285105b156114d5576000818152601b602052604090205460ff166114c557601c6000815461149390614a0e565b909155506114a085614a0e565b6000828152601b60205260409020805460ff1916600117905594506114c58782612fc4565b6114ce81614a0e565b905061145a565b505050505b7f00000000000000000000000000000000000000000000000000000000000000006014541015610db75760006014547f00000000000000000000000000000000000000000000000000000000000000006115349190614892565b9050600061154283836149f6565b84106115575761155283836149f6565b611559565b835b90505b7f000000000000000000000000000000000000000000000000000000000000000060145410801561158c57508083105b156115c05761159a83614a0e565b92506115a885601454612fc4565b6014600081546115b790614a0e565b9091555061155c565b5050505050565b600a546001600160a01b031633146115f15760405162461bcd60e51b8152600401610c0d90614977565b4780156116135761161361160d600a546001600160a01b031690565b82612fde565b6015546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190614a29565b905080156116af576116af61169c600a546001600160a01b031690565b6015546001600160a01b031690836130f7565b50565b600e54600160a01b900460ff166116db5760405162461bcd60e51b8152600401610c0d90614a42565b6002600b54141561172e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c0d565b6002600b55826117805760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374206f6e65206265746100000000006044820152606401610c0d565b7f0000000000000000000000000000000000000000000000000000000000000000836013546117af91906149f6565b11156117fd5760405162461bcd60e51b815260206004820152601f60248201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c79006044820152606401610c0d565b60175483111561185f5760405162461bcd60e51b815260206004820152602760248201527f6e756d4c616e64732073686f756c64206e6f7420657863656564206d61784d696044820152660dce8a0cae4a8f60cb1b6064820152608401610c0d565b6018543360009081526019602052604090205461187c90856149f6565b11156118f05760405162461bcd60e51b815260206004820152603c60248201527f73656e64657220616464726573732063616e6e6f74206d696e74206d6f72652060448201527f7468616e206d61784d696e7450657241646472657373206c616e6473000000006064820152608401610c0d565b601554600160a01b900460ff16156119d757611977828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506016546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061315a565b6119d25760405162461bcd60e51b815260206004820152602660248201527f53656e6465722061646472657373206973206e6f7420696e204b594320616c6c6044820152651bdddb1a5cdd60d21b6064820152608401610c0d565b611a39565b333214611a395760405162461bcd60e51b815260206004820152602a60248201527f4d696e74696e672066726f6d20736d61727420636f6e74726163747320697320604482015269191a5cd85b1b1bddd95960b21b6064820152608401610c0d565b6000611a43612674565b9050611a683330611a548785614a79565b6015546001600160a01b0316929190613170565b8360136000828254611a7a91906149f6565b90915550503360009081526019602052604081208054869290611a9e9084906149f6565b90915550506040518190859033907f2c7d174a64b49c17bcea3a44c1ba1547c9a3f4997b68952c5dd3fcc1f17f7d6d90600090a4611adc8433612c87565b50506001600b555050565b600a546001600160a01b03163314611b115760405162461bcd60e51b8152600401610c0d90614977565b6116af8160966110ea565b610db78383836040518060200160405280600081525061274b565b6000611b4260085490565b8210611ba55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c0d565b60088281548110611bb857611bb8614a98565b90600052602060002001549050919050565b600e546001600160a01b03163314611bf45760405162461bcd60e51b8152600401610c0d906148e4565b601a805460ff19811660ff9182161590811790925560405191161515907e231f1eb7ad7923209c5cc8028852e71745bff7e8c7d9f8752f2d3a69f2997490600090a2565b600e546001600160a01b03163314611c625760405162461bcd60e51b8152600401610c0d906148e4565b8051611c7590600d906020840190614257565b5050565b600e546001600160a01b03163314611ca35760405162461bcd60e51b8152600401610c0d906148e4565b60215460ff16611cf55760405162461bcd60e51b815260206004820181905260248201527f436f6e7472696275746f727320436c61696d206973206e6f74206163746976656044820152606401610c0d565b6021805460ff191690556040514281527f4018d3084dfacabf0eba098d4b7b8b4140b4eae436210480e5affa48fdfacd76906020015b60405180910390a1565b600e546001600160a01b03163314611d5f5760405162461bcd60e51b8152600401610c0d906148e4565b601755565b6000818152600260205260408120546001600160a01b031680610ba05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c0d565b600e546000906001600160a01b03163314611e085760405162461bcd60e51b8152600401610c0d906148e4565b602c5460ff1615611e795760405162461bcd60e51b815260206004820152603560248201527f5075626c69632053616c6520416e6420436f6e7472696275746f7273204f66666044820152741cd95d08185b1c9958591e481c995c5d595cdd1959605a1b6064820152608401610c0d565b602c805460ff19166001179055611e8e6131a8565b6000818152602b60205260409020805460ff19166001179055919050565b600e546000906001600160a01b03163314611ed95760405162461bcd60e51b8152600401610c0d906148e4565b602c54610100900460ff1615611f3d5760405162461bcd60e51b8152602060048201526024808201527f4f776e657220436c61696d204f666673657420616c72656164792072657175656044820152631cdd195960e21b6064820152608401610c0d565b602c805461ff001916610100179055611f546131a8565b6000818152602b60205260409020805460ff19169055919050565b60006001600160a01b038216611fda5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c0d565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146120205760405162461bcd60e51b8152600401610c0d90614977565b61202a600061328a565b565b6024546001600160a01b031633146120565760405162461bcd60e51b8152600401610c0d90614aae565b60968111156120775760405162461bcd60e51b8152600401610c0d906149ac565b7f0000000000000000000000000000000000000000000000000000000000000000602354106120f45760405162461bcd60e51b8152602060048201526024808201527f416c6c20667574757265206c616e6473207765726520616c7265616479206d696044820152631b9d195960e21b6064820152608401610c0d565b60005b818110801561212757507f0000000000000000000000000000000000000000000000000000000000000000602354105b15610db7576023805461214b91859190600061214283614a0e565b91905055612fc4565b61215481614a0e565b90506120f7565b600e546001600160a01b031633146121855760405162461bcd60e51b8152600401610c0d906148e4565b601655565b601a5460ff1680156121a45750601a54610100900460ff16155b6121f05760405162461bcd60e51b815260206004820152601d60248201527f436c61696d61626c65207374617465206973206e6f74206163746976650000006044820152606401610c0d565b821515806121fd57508015155b6122495760405162461bcd60e51b815260206004820152601e60248201527f53686f756c6420636c61696d206174206c65617374206f6e65206c616e6400006044820152606401610c0d565b609661225582856149f6565b11156122b85760405162461bcd60e51b815260206004820152602c60248201527f496e707574206c656e6774682073686f756c64206265203c3d204d41585f4d4960448201526b4e545f5045525f424c4f434b60a01b6064820152608401610c0d565b6122c284846132dc565b6122cc8282613467565b50505050565b600e546001600160a01b031633146122fc5760405162461bcd60e51b8152600401610c0d906148e4565b60215460ff161561235b5760405162461bcd60e51b8152602060048201526024808201527f436f6e7472696275746f727320636c61696d20697320616c72656164792061636044820152637469766560e01b6064820152608401610c0d565b6021805460ff191660011790556040517fb821e7c7541dfb5a35afc6d252e3cfcd56e0e25852e9c38fb7504da18ae4209e90611d2b9042815260200190565b600e546001600160a01b031633146123c45760405162461bcd60e51b8152600401610c0d906148e4565b600e54600160a01b900460ff161561241e5760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c652068617320616c726561647920626567756e0000006044820152606401610c0d565b60108690556011859055601284905542600f819055600e8054600160a01b60ff60a01b199182168117909255601786905560188590556015805490911684151590920291909117905560405187907f03bbdfe69cc0e9bf6a00b606f78ef6f3391ea272251e9ab2d56ce08f96be745f90600090a3505050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146125125760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610c0d565b611c7582826135ea565b606060018054610dcb906148a9565b600e546001600160a01b031633146125555760405162461bcd60e51b8152600401610c0d906148e4565b807f00000000000000000000000000000000000000000000000000000000000000008160600151106125995760405162461bcd60e51b8152600401610c0d90614af4565b828260400151836060015182600014156126145781156125cb5760405162461bcd60e51b8152600401610c0d90614b51565b6125f660017f0000000000000000000000000000000000000000000000000000000000000000614892565b81146126145760405162461bcd60e51b8152600401610c0d90614ba1565b846025878154811061262857612628614a98565b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050505050505050565b611c75338383613713565b600e54600090600160a01b900460ff166126a05760405162461bcd60e51b8152600401610c0d90614a42565b60006126aa6137e2565b905060006010548210156126f457601054826012546011546126cc9190614892565b6126d69190614a79565b6126e09190614c14565b6011546126ed9190614892565b90506126f9565b506012545b91505090565b600a546001600160a01b031633146127295760405162461bcd60e51b8152600401610c0d90614977565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6127553383612d26565b6127715760405162461bcd60e51b8152600401610c0d90614926565b6122cc84848484613800565b6000818152600260205260409020546060906001600160a01b03166127fc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c0d565b6000612806613833565b905060008151116128265760405180602001604052806000815250612851565b8061283084613842565b604051602001612841929190614c28565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146128825760405162461bcd60e51b8152600401610c0d90614977565b602480546001600160a01b0319166001600160a01b0392909216919091179055565b600e546001600160a01b031633146128ce5760405162461bcd60e51b8152600401610c0d906148e4565b600e54600160a01b900460ff166128f75760405162461bcd60e51b8152600401610c0d90614a42565b6128ff6137e2565b612907612674565b6040517f3da9555b37cd6c211f437cd26ac71eb0716e111fa9458c73183e99711e4e34eb90600090a3600e805460ff60a01b19169055565b600e546001600160a01b031633146129695760405162461bcd60e51b8152600401610c0d906148e4565b807f00000000000000000000000000000000000000000000000000000000000000008160600151106129ad5760405162461bcd60e51b8152600401610c0d90614af4565b6025546040830151606084015182612a265781156129dd5760405162461bcd60e51b8152600401610c0d90614b51565b612a0860017f0000000000000000000000000000000000000000000000000000000000000000614892565b8114612a265760405162461bcd60e51b8152600401610c0d90614ba1565b50506025805460018101825560009190915283517f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4c60049092029182015560208401517f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4d82015560408401517f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4e8201556060909301517f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4f909301929092555050565b6024546001600160a01b03163314612b125760405162461bcd60e51b8152600401610c0d90614aae565b6116af81609661202c565b600a546001600160a01b03163314612b475760405162461bcd60e51b8152600401610c0d90614977565b6001600160a01b038116612bac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c0d565b6116af8161328a565b60258181548110612bc557600080fd5b60009182526020909120600490910201805460018201546002830154600390930154919350919084565b600e546001600160a01b03163314612c195760405162461bcd60e51b8152600401610c0d906148e4565b60158054911515600160a01b0260ff60a01b19909216919091179055565b60006001600160e01b031982166380ac58cd60e01b1480612c6857506001600160e01b03198216635b5e139f60e01b145b80610ba057506301ffc9a760e01b6001600160e01b0319831614610ba0565b60005b82811015610db75760148054612ca891849190600061214283614a0e565b612cb181614a0e565b9050612c8a565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612ced82611d64565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316612d9f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c0d565b6000612daa83611d64565b9050806001600160a01b0316846001600160a01b03161480612de55750836001600160a01b0316612dda84610e4e565b6001600160a01b0316145b80612e1557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612e3082611d64565b6001600160a01b031614612e945760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610c0d565b6001600160a01b038216612ef65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c0d565b612f01838383613940565b612f0c600082612cb8565b6001600160a01b0383166000908152600360205260408120805460019290612f35908490614892565b90915550506001600160a01b0382166000908152600360205260408120805460019290612f639084906149f6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611c758282604051806020016040528060008152506139f8565b8047101561302e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c0d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461307b576040519150601f19603f3d011682016040523d82523d6000602084013e613080565b606091505b5050905080610db75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c0d565b6040516001600160a01b038316602482015260448101829052610db790849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613a2b565b6000826131678584613afd565b14949350505050565b6040516001600160a01b03808516602483015283166044820152606481018290526122cc9085906323b872dd60e01b90608401613123565b6027546040516370a0823160e01b8152306004820152600091906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015613213573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132379190614a29565b10156132775760405162461bcd60e51b815260206004820152600f60248201526e4e6f7420656e6f756768204c494e4b60881b6044820152606401610c0d565b613285602654602754613b71565b905090565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81811015610db75760008383838181106132fb576132fb614a98565b602090810292909201356000818152601b9093526040909220549192505060ff16156133695760405162461bcd60e51b815260206004820152601960248201527f414c504841204e465420616c726561647920636c61696d6564000000000000006044820152606401610c0d565b601a546040516331a9108f60e11b81526004810183905233916201000090046001600160a01b031690636352211e90602401602060405180830381865afa1580156133b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133dc9190614c57565b6001600160a01b03161461344d5760405162461bcd60e51b815260206004820152603260248201527f4d757374206f776e20616c6c206f662074686520616c70686120646566696e656044820152716420627920616c706861546f6b656e49647360701b6064820152608401610c0d565b61345681613ced565b5061346081614a0e565b90506132df565b60005b81811015610db757600083838381811061348657613486614a98565b602090810292909201356000818152601e9093526040909220549192505060ff16156134f45760405162461bcd60e51b815260206004820152601860248201527f42455441204e465420616c726561647920636c61696d656400000000000000006044820152606401610c0d565b601d546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561353d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135619190614c57565b6001600160a01b0316146135d05760405162461bcd60e51b815260206004820152603060248201527f4d757374206f776e20616c6c206f6620746865206265746120646566696e656460448201526f2062792062657461546f6b656e49647360801b6064820152608401610c0d565b6135d981613d24565b506135e381614a0e565b905061346a565b6000828152602b602052604090205460ff16156136875761364b7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006149f6565b6136559082614c74565b60288190556040517f662707e4febdcde4fd5eca7d6311dc840e55b942dc58734aac52fff6d866da9990600090a25050565b6136b17f000000000000000000000000000000000000000000000000000000000000000082614c74565b6029556136de7f000000000000000000000000000000000000000000000000000000000000000082614c74565b602a8190556029546040517f7ed9998d8bac64249deff15104738a8f3446fef3c2d1155d10baa100eeb4965a90600090a35050565b816001600160a01b0316836001600160a01b031614156137755760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c0d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600080600f54116137f35750600090565b600f546132859042614892565b61380b848484612e1d565b61381784848484613d67565b6122cc5760405162461bcd60e51b8152600401610c0d90614c88565b6060600d8054610dcb906148a9565b6060816138665750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613890578061387a81614a0e565b91506138899050600a83614c14565b915061386a565b60008167ffffffffffffffff8111156138ab576138ab61450e565b6040519080825280601f01601f1916602001820160405280156138d5576020820181803683370190505b5090505b8415612e15576138ea600183614892565b91506138f7600a86614c74565b6139029060306149f6565b60f81b81838151811061391757613917614a98565b60200101906001600160f81b031916908160001a905350613939600a86614c14565b94506138d9565b6001600160a01b03831661399b5761399681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6139be565b816001600160a01b0316836001600160a01b0316146139be576139be8382613e65565b6001600160a01b0382166139d557610db781613f02565b826001600160a01b0316826001600160a01b031614610db757610db78282613fb1565b613a028383613ff5565b613a0f6000848484613d67565b610db75760405162461bcd60e51b8152600401610c0d90614c88565b6000613a80826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166141439092919063ffffffff16565b805190915015610db75780806020019051810190613a9e9190614cda565b610db75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c0d565b600081815b8451811015613b69576000858281518110613b1f57613b1f614a98565b60200260200101519050808311613b455760008381526020829052604090209250613b56565b600081815260208490526040902092505b5080613b6181614a0e565b915050613b02565b509392505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001613be1929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401613c0e93929190614cf7565b6020604051808303816000875af1158015613c2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c519190614cda565b506000838152600c6020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a090910190925281519183019190912093879052919052613cad9060016149f6565b6000858152600c6020526040902055612e158482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000818152601b60205260408120805460ff19166001179055601c8054909190613d1690614a0e565b909155506116af3382612fc4565b6000818152601e60205260408120805460ff19166001179055601f8054909190613d4d90614a0e565b90915550602080546116af91339190600061214283614a0e565b60006001600160a01b0384163b15613e5a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613dab903390899088908890600401614d27565b6020604051808303816000875af1925050508015613de6575060408051601f3d908101601f19168201909252613de391810190614d64565b60015b613e40573d808015613e14576040519150601f19603f3d011682016040523d82523d6000602084013e613e19565b606091505b508051613e385760405162461bcd60e51b8152600401610c0d90614c88565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612e15565b506001949350505050565b60006001613e7284611f6f565b613e7c9190614892565b600083815260076020526040902054909150808214613ecf576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613f1490600190614892565b60008381526009602052604081205460088054939450909284908110613f3c57613f3c614a98565b906000526020600020015490508060088381548110613f5d57613f5d614a98565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613f9557613f95614d81565b6001900381819060005260206000200160009055905550505050565b6000613fbc83611f6f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661404b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c0d565b6000818152600260205260409020546001600160a01b0316156140b05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c0d565b6140bc60008383613940565b6001600160a01b03821660009081526003602052604081208054600192906140e59084906149f6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060612e158484600085856001600160a01b0385163b6141a55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c0d565b600080866001600160a01b031685876040516141c19190614d97565b60006040518083038185875af1925050503d80600081146141fe576040519150601f19603f3d011682016040523d82523d6000602084013e614203565b606091505b509150915061421382828661421e565b979650505050505050565b6060831561422d575081612851565b82511561423d5782518084602001fd5b8160405162461bcd60e51b8152600401610c0d91906143c0565b828054614263906148a9565b90600052602060002090601f01602090048101928261428557600085556142cb565b82601f1061429e57805160ff19168380011785556142cb565b828001600101855582156142cb579182015b828111156142cb5782518255916020019190600101906142b0565b506142d79291506142db565b5090565b5b808211156142d757600081556001016142dc565b6001600160e01b0319811681146116af57600080fd5b60006020828403121561431857600080fd5b8135612851816142f0565b6001600160a01b03811681146116af57600080fd5b6000806040838503121561434b57600080fd5b82359150602083013561435d81614323565b809150509250929050565b60005b8381101561438357818101518382015260200161436b565b838111156122cc5750506000910152565b600081518084526143ac816020860160208601614368565b601f01601f19169290920160200192915050565b6020815260006128516020830184614394565b6000602082840312156143e557600080fd5b5035919050565b600080604083850312156143ff57600080fd5b823561440a81614323565b946020939093013593505050565b60006020828403121561442a57600080fd5b813561285181614323565b60008060006060848603121561444a57600080fd5b833561445581614323565b9250602084013561446581614323565b929592945050506040919091013590565b60008083601f84011261448857600080fd5b50813567ffffffffffffffff8111156144a057600080fd5b6020830191508360208260051b85010111156144bb57600080fd5b9250929050565b6000806000604084860312156144d757600080fd5b83359250602084013567ffffffffffffffff8111156144f557600080fd5b61450186828701614476565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561453f5761453f61450e565b604051601f8501601f19908116603f011681019082821181831017156145675761456761450e565b8160405280935085815286868601111561458057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156145ac57600080fd5b813567ffffffffffffffff8111156145c357600080fd5b8201601f810184136145d457600080fd5b612e1584823560208401614524565b600080600080604085870312156145f957600080fd5b843567ffffffffffffffff8082111561461157600080fd5b61461d88838901614476565b9096509450602087013591508082111561463657600080fd5b5061464387828801614476565b95989497509550505050565b80151581146116af57600080fd5b60008060008060008060c0878903121561467657600080fd5b863595506020870135945060408701359350606087013592506080870135915060a08701356146a48161464f565b809150509295509295509295565b600080604083850312156146c557600080fd5b50508035926020909101359150565b6000608082840312156146e657600080fd5b6040516080810181811067ffffffffffffffff821117156147095761470961450e565b8060405250809150823581526020830135602082015260408301356040820152606083013560608201525092915050565b60008060a0838503121561474d57600080fd5b8235915061475e84602085016146d4565b90509250929050565b6000806040838503121561477a57600080fd5b823561478581614323565b9150602083013561435d8161464f565b600080600080608085870312156147ab57600080fd5b84356147b681614323565b935060208501356147c681614323565b925060408501359150606085013567ffffffffffffffff8111156147e957600080fd5b8501601f810187136147fa57600080fd5b61480987823560208401614524565b91505092959194509250565b60006080828403121561482757600080fd5b61285183836146d4565b6000806040838503121561484457600080fd5b823561484f81614323565b9150602083013561435d81614323565b60006020828403121561487157600080fd5b81356128518161464f565b634e487b7160e01b600052601160045260246000fd5b6000828210156148a4576148a461487c565b500390565b600181811c908216806148bd57607f821691505b602082108114156148de57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526022908201527f4f6e6c79206f70657261746f722063616e2063616c6c2074686973206d6574686040820152611bd960f21b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602a908201527f6d6178416d6f756e742063616e6e6f7420657863656564204d41585f4d494e546040820152695f5045525f424c4f434b60b01b606082015260800190565b60008219821115614a0957614a0961487c565b500190565b6000600019821415614a2257614a2261487c565b5060010190565b600060208284031215614a3b57600080fd5b5051919050565b60208082526019908201527f5075626c69632073616c65206973206e6f742061637469766500000000000000604082015260600190565b6000816000190483118215151615614a9357614a9361487c565b500290565b634e487b7160e01b600052603260045260246000fd5b60208082526026908201527f4f6e6c79206675747572654d696e7465722063616e2063616c6c2074686973206040820152651b595d1a1bd960d21b606082015260800190565b60208082526039908201527f52616e676520757070657220626f756e642063616e6e6f74206578636565642060408201527f4d41585f4c414e44535f574954485f465554555245202d203100000000000000606082015260800190565b60208082526030908201527f466f72206669727374206d657461646174612072616e6765206c6f776572206260408201526f06f756e642073686f756c6420626520360841b606082015260800190565b6020808252603c908201527f466f72206669727374206d657461646174612072616e6765207570706572206260408201527f6f756e642073686f756c64206265204d41585f4c414e4453202d203100000000606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082614c2357614c23614bfe565b500490565b60008351614c3a818460208801614368565b835190830190614c4e818360208801614368565b01949350505050565b600060208284031215614c6957600080fd5b815161285181614323565b600082614c8357614c83614bfe565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600060208284031215614cec57600080fd5b81516128518161464f565b60018060a01b0384168152826020820152606060408201526000614d1e6060830184614394565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614d5a90830184614394565b9695505050505050565b600060208284031215614d7657600080fd5b8151612851816142f0565b634e487b7160e01b600052603160045260246000fd5b60008251614da9818460208701614368565b919091019291505056fea26469706673582212207e127b1e97d2162bf460e4e3ca114b301223332f4e9293ecb39b448fc24d5d9464736f6c634300080a003300000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d00000000000000000000000060e4d786628fea6478f785a6d7e704777c86a7c60000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438100000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000004e20000000000000000000000000000000000000000000000000000000000000d6d800000000000000000000000000000000000000000000000000000000000186a00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000cda9742761cb069ff70b5cd5fcb8dd636a45396100000000000000000000000000000000000000000000000000000000000000094f7468657264656564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044f544852000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c7b2040886eaacdc0f24f54f043d5b570e4773700000000000000000000000000000000000000000000000000000000000002ee0000000000000000000000000c9bb87aba3a8af6b419dc9bd21a928d03271dfe100000000000000000000000000000000000000000000000000000000000009c40000000000000000000000001d69bdd1e343320620a137b418481e70633254ee00000000000000000000000000000000000000000000000000000000000001f4

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106104d75760003560e01c8063715018a611610283578063bc8893b41161015c578063ddca3f43116100ce578063ebc113de11610092578063ebc113de14610ac1578063ec10abc614610ad4578063ec607ce214610afb578063f2fde38b14610b22578063f9fd78c814610b35578063ff1d408014610b6857600080fd5b8063ddca3f4314610a47578063de7fcb1d14610a50578063e58537f414610a59578063e867afc014610a6c578063e985e9c514610a8557600080fd5b8063d04db50e11610120578063d04db50e146109cf578063d0bab933146109dc578063d445b978146109e5578063d926f8fa14610a05578063da1b91c314610a18578063dcae8d8714610a2057600080fd5b8063bc8893b41461098d578063bcd3a192146109a1578063c324a2c2146109aa578063c87b56dd146109b3578063ca694ac8146109c657600080fd5b80639c59b66d116101f5578063ae851f51116101b9578063ae851f51146108fe578063b3ab15fb14610925578063b45385bd14610938578063b48a05391461094a578063b62147e514610971578063b88d4fde1461097a57600080fd5b80639c59b66d146108a5578063a22cb465146108b8578063a7f93ebd146108cb578063ab0752d5146108d3578063ae510a58146108f657600080fd5b80637ca0a252116102475780637ca0a2521461084b5780637d48ca411461085e578063848d075e146108665780638da5cb5b1461087957806394985ddd1461088a57806395d89b411461089d57600080fd5b8063715018a61461080157806371700b5614610809578063745ac9651461081c578063786867b5146108255780637951074a1461083857600080fd5b8063497e0f0d116103b55780635cb3a9c011610327578063653220bc116102eb578063653220bc146107c357806368d41e7d146107cb5780636bb7b1d9146107d45780636f977fbe146107dd5780636faaf624146107e557806370a08231146107ee57600080fd5b80635cb3a9c01461077f578063616cdb1e1461078757806361728f391461079a57806361eede53146107a35780636352211e146107b057600080fd5b806352a97fc31161037957806352a97fc31461072757806355a373d61461073057806355f804b3146107435780635668aca014610756578063570ca73514610763578063572849c41461077657600080fd5b8063497e0f0d146106d75780634cbe9043146106e05780634f2a7abb146106e95780634f6ccce71461070c5780635006f20a1461071f57600080fd5b80631f6d49421161044e578063372854e411610412578063372854e414610671578063396d91b5146106845780633ccfd60b146106965780633fa8e1b51461069e578063401a2ab9146106b157806342842e0e146106c457600080fd5b80631f6d4942146105f557806323b872dd146106155780632dd98a97146106285780632f1f38ae1461063b5780632f745c591461065e57600080fd5b8063081812fc116104a0578063081812fc1461056c578063095ea7b3146105975780630a3ed148146105aa5780630fa57d8a146105d157806318160ddd146105da5780631e14d44b146105e257600080fd5b806229d729146104dc57806301ffc9a71461051657806305084e6b14610539578063064e144f1461054257806306fdde0314610557575b600080fd5b6105037f0000000000000000000000000000000000000000000000000000000000030d4081565b6040519081526020015b60405180910390f35b610529610524366004614306565b610b7b565b604051901515815260200161050d565b61050360235481565b610555610550366004614338565b610ba6565b005b61055f610dbc565b60405161050d91906143c0565b61057f61057a3660046143d3565b610e4e565b6040516001600160a01b03909116815260200161050d565b6105556105a53660046143ec565b610ee3565b6105037f00000000000000000000000000000000000000000000000000000000000186a081565b61050360135481565b600854610503565b6105556105f03660046143d3565b610ff4565b610503610603366004614418565b60226020526000908152604090205481565b610555610623366004614435565b611023565b601d5461057f906001600160a01b031681565b6105296106493660046143d3565b601e6020526000908152604090205460ff1681565b61050361066c3660046143ec565b611054565b61055561067f3660046143ec565b6110ea565b602c5461052990610100900460ff1681565b6105556115c7565b6105556106ac3660046144c2565b6116b2565b6105556106bf366004614418565b611ae7565b6105556106d2366004614435565b611b1c565b610503602a5481565b61050360145481565b6105296106f73660046143d3565b601b6020526000908152604090205460ff1681565b61050361071a3660046143d3565b611b37565b610555611bca565b61050360295481565b60155461057f906001600160a01b031681565b61055561075136600461459a565b611c38565b6021546105299060ff1681565b600e5461057f906001600160a01b031681565b61050360185481565b610555611c79565b6105556107953660046143d3565b611d35565b61050360265481565b602c546105299060ff1681565b61057f6107be3660046143d3565b611d64565b610503611ddb565b610503601c5481565b610503600f5481565b610503611eac565b61050360115481565b6105036107fc366004614418565b611f6f565b610555611ff6565b6105556108173660046143ec565b61202c565b61050360105481565b6105556108333660046143d3565b61215b565b60245461057f906001600160a01b031681565b6105556108593660046145e3565b61218a565b6105556122d2565b61055561087436600461465d565b61239a565b600a546001600160a01b031661057f565b6105556108983660046146b2565b61249a565b61055f61251c565b6105556108b336600461473a565b61252b565b6105556108c6366004614767565b612669565b610503612674565b6105296108e13660046143d3565b602b6020526000908152604090205460ff1681565b610503609681565b6105037f000000000000000000000000000000000000000000000000000000000000271081565b610555610933366004614418565b6126ff565b601a5461052990610100900460ff1681565b6105037f000000000000000000000000000000000000000000000000000000000000d6d881565b61050360125481565b610555610988366004614795565b61274b565b600e5461052990600160a01b900460ff1681565b61050360285481565b61050360165481565b61055f6109c13660046143d3565b61277d565b610503601f5481565b601a546105299060ff1681565b61050360205481565b6105036109f3366004614418565b60196020526000908152604090205481565b610555610a13366004614418565b612858565b6105556128a4565b6105037f0000000000000000000000000000000000000000000000000000000000003a9881565b61050360275481565b61050360175481565b610555610a67366004614815565b61293f565b601a5461057f906201000090046001600160a01b031681565b610529610a93366004614831565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610555610acf366004614418565b612ae8565b6105037f00000000000000000000000000000000000000000000000000000000000186a081565b6105037f0000000000000000000000000000000000000000000000000000000000004e2081565b610555610b30366004614418565b612b1d565b610b48610b433660046143d3565b612bb5565b60408051948552602085019390935291830152606082015260800161050d565b610555610b7636600461485f565b612bef565b60006001600160e01b0319821663780e9d6360e01b1480610ba05750610ba082612c37565b92915050565b33600081815260226020526040902054610c165760405162461bcd60e51b815260206004820152602660248201527f4f6e6c7920636f6e7472696275746f72732063616e2063616c6c2074686973206044820152651b595d1a1bd960d21b60648201526084015b60405180910390fd5b60215460ff16610c685760405162461bcd60e51b815260206004820181905260248201527f436f6e7472696275746f727320436c61696d206973206e6f74206163746976656044820152606401610c0d565b60008311610cb85760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374206f6e65206c616e6400000000006044820152606401610c0d565b6096831115610d1d5760405162461bcd60e51b815260206004820152602b60248201527f616d6f756e742073686f756c64206e6f7420657863656564204d41585f4d494e60448201526a545f5045525f424c4f434b60a81b6064820152608401610c0d565b33600090815260226020526040902054831115610d885760405162461bcd60e51b8152602060048201526024808201527f436f6e7472696275746f722063616e6e6f7420636c61696d206f74686572206c604482015263616e647360e01b6064820152608401610c0d565b3360009081526022602052604081208054859290610da7908490614892565b90915550610db790508383612c87565b505050565b606060008054610dcb906148a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610df7906148a9565b8015610e445780601f10610e1957610100808354040283529160200191610e44565b820191906000526020600020905b815481529060010190602001808311610e2757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ec75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c0d565b506000908152600460205260409020546001600160a01b031690565b6000610eee82611d64565b9050806001600160a01b0316836001600160a01b03161415610f5c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c0d565b336001600160a01b0382161480610f785750610f788133610a93565b610fea5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c0d565b610db78383612cb8565b600e546001600160a01b0316331461101e5760405162461bcd60e51b8152600401610c0d906148e4565b601855565b61102d3382612d26565b6110495760405162461bcd60e51b8152600401610c0d90614926565b610db7838383612e1d565b600061105f83611f6f565b82106110c15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c0d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146111145760405162461bcd60e51b8152600401610c0d90614977565b6000600f541180156111295750601a5460ff16155b801561113f5750600e54600160a01b900460ff16155b801561114e575060215460ff16155b6111ca5760405162461bcd60e51b815260206004820152604160248201527f43616e6e6f7420636c61696d2074686520756e636c61696d656420696620636c60448201527f61696d61626c65206f72207075626c69632073616c65206172652061637469766064820152606560f81b608482015260a401610c0d565b60968111156111eb5760405162461bcd60e51b8152600401610c0d906149ac565b7f0000000000000000000000000000000000000000000000000000000000002710601c54108061123c57507f0000000000000000000000000000000000000000000000000000000000004e20601f54105b8061126857507f00000000000000000000000000000000000000000000000000000000000186a0601454105b6112c35760405162461bcd60e51b815260206004820152602660248201527f4d6178204e465420616d6f756e7420616c726561647920636c61696d6564206f6044820152651c881cdbdb1960d21b6064820152608401610c0d565b601a805461ff001916610100179055601f546000907f0000000000000000000000000000000000000000000000000000000000004e2011156113a7576000601f547f0000000000000000000000000000000000000000000000000000000000004e2061132f9190614892565b905060008382106113405783611342565b815b905060008160205461135491906149f6565b90505b8060205410156113a357601f6000815461137090614a0e565b9091555061137d84614a0e565b935061138b86602054612fc4565b60206000815461139a90614a0e565b90915550611357565b5050505b7f0000000000000000000000000000000000000000000000000000000000002710601c5410156114da576000601c547f00000000000000000000000000000000000000000000000000000000000027106114019190614892565b9050600061140f83836149f6565b84106114245761141f83836149f6565b611426565b835b9050600061145560017f0000000000000000000000000000000000000000000000000000000000002710614892565b905060005b81811115801561146957508285105b156114d5576000818152601b602052604090205460ff166114c557601c6000815461149390614a0e565b909155506114a085614a0e565b6000828152601b60205260409020805460ff1916600117905594506114c58782612fc4565b6114ce81614a0e565b905061145a565b505050505b7f00000000000000000000000000000000000000000000000000000000000186a06014541015610db75760006014547f00000000000000000000000000000000000000000000000000000000000186a06115349190614892565b9050600061154283836149f6565b84106115575761155283836149f6565b611559565b835b90505b7f00000000000000000000000000000000000000000000000000000000000186a060145410801561158c57508083105b156115c05761159a83614a0e565b92506115a885601454612fc4565b6014600081546115b790614a0e565b9091555061155c565b5050505050565b600a546001600160a01b031633146115f15760405162461bcd60e51b8152600401610c0d90614977565b4780156116135761161361160d600a546001600160a01b031690565b82612fde565b6015546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190614a29565b905080156116af576116af61169c600a546001600160a01b031690565b6015546001600160a01b031690836130f7565b50565b600e54600160a01b900460ff166116db5760405162461bcd60e51b8152600401610c0d90614a42565b6002600b54141561172e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c0d565b6002600b55826117805760405162461bcd60e51b815260206004820152601b60248201527f4d757374206d696e74206174206c65617374206f6e65206265746100000000006044820152606401610c0d565b7f000000000000000000000000000000000000000000000000000000000000d6d8836013546117af91906149f6565b11156117fd5760405162461bcd60e51b815260206004820152601f60248201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c79006044820152606401610c0d565b60175483111561185f5760405162461bcd60e51b815260206004820152602760248201527f6e756d4c616e64732073686f756c64206e6f7420657863656564206d61784d696044820152660dce8a0cae4a8f60cb1b6064820152608401610c0d565b6018543360009081526019602052604090205461187c90856149f6565b11156118f05760405162461bcd60e51b815260206004820152603c60248201527f73656e64657220616464726573732063616e6e6f74206d696e74206d6f72652060448201527f7468616e206d61784d696e7450657241646472657373206c616e6473000000006064820152608401610c0d565b601554600160a01b900460ff16156119d757611977828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506016546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061315a565b6119d25760405162461bcd60e51b815260206004820152602660248201527f53656e6465722061646472657373206973206e6f7420696e204b594320616c6c6044820152651bdddb1a5cdd60d21b6064820152608401610c0d565b611a39565b333214611a395760405162461bcd60e51b815260206004820152602a60248201527f4d696e74696e672066726f6d20736d61727420636f6e74726163747320697320604482015269191a5cd85b1b1bddd95960b21b6064820152608401610c0d565b6000611a43612674565b9050611a683330611a548785614a79565b6015546001600160a01b0316929190613170565b8360136000828254611a7a91906149f6565b90915550503360009081526019602052604081208054869290611a9e9084906149f6565b90915550506040518190859033907f2c7d174a64b49c17bcea3a44c1ba1547c9a3f4997b68952c5dd3fcc1f17f7d6d90600090a4611adc8433612c87565b50506001600b555050565b600a546001600160a01b03163314611b115760405162461bcd60e51b8152600401610c0d90614977565b6116af8160966110ea565b610db78383836040518060200160405280600081525061274b565b6000611b4260085490565b8210611ba55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c0d565b60088281548110611bb857611bb8614a98565b90600052602060002001549050919050565b600e546001600160a01b03163314611bf45760405162461bcd60e51b8152600401610c0d906148e4565b601a805460ff19811660ff9182161590811790925560405191161515907e231f1eb7ad7923209c5cc8028852e71745bff7e8c7d9f8752f2d3a69f2997490600090a2565b600e546001600160a01b03163314611c625760405162461bcd60e51b8152600401610c0d906148e4565b8051611c7590600d906020840190614257565b5050565b600e546001600160a01b03163314611ca35760405162461bcd60e51b8152600401610c0d906148e4565b60215460ff16611cf55760405162461bcd60e51b815260206004820181905260248201527f436f6e7472696275746f727320436c61696d206973206e6f74206163746976656044820152606401610c0d565b6021805460ff191690556040514281527f4018d3084dfacabf0eba098d4b7b8b4140b4eae436210480e5affa48fdfacd76906020015b60405180910390a1565b600e546001600160a01b03163314611d5f5760405162461bcd60e51b8152600401610c0d906148e4565b601755565b6000818152600260205260408120546001600160a01b031680610ba05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c0d565b600e546000906001600160a01b03163314611e085760405162461bcd60e51b8152600401610c0d906148e4565b602c5460ff1615611e795760405162461bcd60e51b815260206004820152603560248201527f5075626c69632053616c6520416e6420436f6e7472696275746f7273204f66666044820152741cd95d08185b1c9958591e481c995c5d595cdd1959605a1b6064820152608401610c0d565b602c805460ff19166001179055611e8e6131a8565b6000818152602b60205260409020805460ff19166001179055919050565b600e546000906001600160a01b03163314611ed95760405162461bcd60e51b8152600401610c0d906148e4565b602c54610100900460ff1615611f3d5760405162461bcd60e51b8152602060048201526024808201527f4f776e657220436c61696d204f666673657420616c72656164792072657175656044820152631cdd195960e21b6064820152608401610c0d565b602c805461ff001916610100179055611f546131a8565b6000818152602b60205260409020805460ff19169055919050565b60006001600160a01b038216611fda5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c0d565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146120205760405162461bcd60e51b8152600401610c0d90614977565b61202a600061328a565b565b6024546001600160a01b031633146120565760405162461bcd60e51b8152600401610c0d90614aae565b60968111156120775760405162461bcd60e51b8152600401610c0d906149ac565b7f0000000000000000000000000000000000000000000000000000000000030d40602354106120f45760405162461bcd60e51b8152602060048201526024808201527f416c6c20667574757265206c616e6473207765726520616c7265616479206d696044820152631b9d195960e21b6064820152608401610c0d565b60005b818110801561212757507f0000000000000000000000000000000000000000000000000000000000030d40602354105b15610db7576023805461214b91859190600061214283614a0e565b91905055612fc4565b61215481614a0e565b90506120f7565b600e546001600160a01b031633146121855760405162461bcd60e51b8152600401610c0d906148e4565b601655565b601a5460ff1680156121a45750601a54610100900460ff16155b6121f05760405162461bcd60e51b815260206004820152601d60248201527f436c61696d61626c65207374617465206973206e6f74206163746976650000006044820152606401610c0d565b821515806121fd57508015155b6122495760405162461bcd60e51b815260206004820152601e60248201527f53686f756c6420636c61696d206174206c65617374206f6e65206c616e6400006044820152606401610c0d565b609661225582856149f6565b11156122b85760405162461bcd60e51b815260206004820152602c60248201527f496e707574206c656e6774682073686f756c64206265203c3d204d41585f4d4960448201526b4e545f5045525f424c4f434b60a01b6064820152608401610c0d565b6122c284846132dc565b6122cc8282613467565b50505050565b600e546001600160a01b031633146122fc5760405162461bcd60e51b8152600401610c0d906148e4565b60215460ff161561235b5760405162461bcd60e51b8152602060048201526024808201527f436f6e7472696275746f727320636c61696d20697320616c72656164792061636044820152637469766560e01b6064820152608401610c0d565b6021805460ff191660011790556040517fb821e7c7541dfb5a35afc6d252e3cfcd56e0e25852e9c38fb7504da18ae4209e90611d2b9042815260200190565b600e546001600160a01b031633146123c45760405162461bcd60e51b8152600401610c0d906148e4565b600e54600160a01b900460ff161561241e5760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c652068617320616c726561647920626567756e0000006044820152606401610c0d565b60108690556011859055601284905542600f819055600e8054600160a01b60ff60a01b199182168117909255601786905560188590556015805490911684151590920291909117905560405187907f03bbdfe69cc0e9bf6a00b606f78ef6f3391ea272251e9ab2d56ce08f96be745f90600090a3505050505050565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795216146125125760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610c0d565b611c7582826135ea565b606060018054610dcb906148a9565b600e546001600160a01b031633146125555760405162461bcd60e51b8152600401610c0d906148e4565b807f0000000000000000000000000000000000000000000000000000000000030d408160600151106125995760405162461bcd60e51b8152600401610c0d90614af4565b828260400151836060015182600014156126145781156125cb5760405162461bcd60e51b8152600401610c0d90614b51565b6125f660017f00000000000000000000000000000000000000000000000000000000000186a0614892565b81146126145760405162461bcd60e51b8152600401610c0d90614ba1565b846025878154811061262857612628614a98565b906000526020600020906004020160008201518160000155602082015181600101556040820151816002015560608201518160030155905050505050505050565b611c75338383613713565b600e54600090600160a01b900460ff166126a05760405162461bcd60e51b8152600401610c0d90614a42565b60006126aa6137e2565b905060006010548210156126f457601054826012546011546126cc9190614892565b6126d69190614a79565b6126e09190614c14565b6011546126ed9190614892565b90506126f9565b506012545b91505090565b600a546001600160a01b031633146127295760405162461bcd60e51b8152600401610c0d90614977565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6127553383612d26565b6127715760405162461bcd60e51b8152600401610c0d90614926565b6122cc84848484613800565b6000818152600260205260409020546060906001600160a01b03166127fc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c0d565b6000612806613833565b905060008151116128265760405180602001604052806000815250612851565b8061283084613842565b604051602001612841929190614c28565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146128825760405162461bcd60e51b8152600401610c0d90614977565b602480546001600160a01b0319166001600160a01b0392909216919091179055565b600e546001600160a01b031633146128ce5760405162461bcd60e51b8152600401610c0d906148e4565b600e54600160a01b900460ff166128f75760405162461bcd60e51b8152600401610c0d90614a42565b6128ff6137e2565b612907612674565b6040517f3da9555b37cd6c211f437cd26ac71eb0716e111fa9458c73183e99711e4e34eb90600090a3600e805460ff60a01b19169055565b600e546001600160a01b031633146129695760405162461bcd60e51b8152600401610c0d906148e4565b807f0000000000000000000000000000000000000000000000000000000000030d408160600151106129ad5760405162461bcd60e51b8152600401610c0d90614af4565b6025546040830151606084015182612a265781156129dd5760405162461bcd60e51b8152600401610c0d90614b51565b612a0860017f00000000000000000000000000000000000000000000000000000000000186a0614892565b8114612a265760405162461bcd60e51b8152600401610c0d90614ba1565b50506025805460018101825560009190915283517f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4c60049092029182015560208401517f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4d82015560408401517f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4e8201556060909301517f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4f909301929092555050565b6024546001600160a01b03163314612b125760405162461bcd60e51b8152600401610c0d90614aae565b6116af81609661202c565b600a546001600160a01b03163314612b475760405162461bcd60e51b8152600401610c0d90614977565b6001600160a01b038116612bac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c0d565b6116af8161328a565b60258181548110612bc557600080fd5b60009182526020909120600490910201805460018201546002830154600390930154919350919084565b600e546001600160a01b03163314612c195760405162461bcd60e51b8152600401610c0d906148e4565b60158054911515600160a01b0260ff60a01b19909216919091179055565b60006001600160e01b031982166380ac58cd60e01b1480612c6857506001600160e01b03198216635b5e139f60e01b145b80610ba057506301ffc9a760e01b6001600160e01b0319831614610ba0565b60005b82811015610db75760148054612ca891849190600061214283614a0e565b612cb181614a0e565b9050612c8a565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612ced82611d64565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316612d9f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c0d565b6000612daa83611d64565b9050806001600160a01b0316846001600160a01b03161480612de55750836001600160a01b0316612dda84610e4e565b6001600160a01b0316145b80612e1557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612e3082611d64565b6001600160a01b031614612e945760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610c0d565b6001600160a01b038216612ef65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c0d565b612f01838383613940565b612f0c600082612cb8565b6001600160a01b0383166000908152600360205260408120805460019290612f35908490614892565b90915550506001600160a01b0382166000908152600360205260408120805460019290612f639084906149f6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611c758282604051806020016040528060008152506139f8565b8047101561302e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c0d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461307b576040519150601f19603f3d011682016040523d82523d6000602084013e613080565b606091505b5050905080610db75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c0d565b6040516001600160a01b038316602482015260448101829052610db790849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613a2b565b6000826131678584613afd565b14949350505050565b6040516001600160a01b03808516602483015283166044820152606481018290526122cc9085906323b872dd60e01b90608401613123565b6027546040516370a0823160e01b8152306004820152600091906001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca16906370a0823190602401602060405180830381865afa158015613213573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132379190614a29565b10156132775760405162461bcd60e51b815260206004820152600f60248201526e4e6f7420656e6f756768204c494e4b60881b6044820152606401610c0d565b613285602654602754613b71565b905090565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81811015610db75760008383838181106132fb576132fb614a98565b602090810292909201356000818152601b9093526040909220549192505060ff16156133695760405162461bcd60e51b815260206004820152601960248201527f414c504841204e465420616c726561647920636c61696d6564000000000000006044820152606401610c0d565b601a546040516331a9108f60e11b81526004810183905233916201000090046001600160a01b031690636352211e90602401602060405180830381865afa1580156133b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133dc9190614c57565b6001600160a01b03161461344d5760405162461bcd60e51b815260206004820152603260248201527f4d757374206f776e20616c6c206f662074686520616c70686120646566696e656044820152716420627920616c706861546f6b656e49647360701b6064820152608401610c0d565b61345681613ced565b5061346081614a0e565b90506132df565b60005b81811015610db757600083838381811061348657613486614a98565b602090810292909201356000818152601e9093526040909220549192505060ff16156134f45760405162461bcd60e51b815260206004820152601860248201527f42455441204e465420616c726561647920636c61696d656400000000000000006044820152606401610c0d565b601d546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561353d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135619190614c57565b6001600160a01b0316146135d05760405162461bcd60e51b815260206004820152603060248201527f4d757374206f776e20616c6c206f6620746865206265746120646566696e656460448201526f2062792062657461546f6b656e49647360801b6064820152608401610c0d565b6135d981613d24565b506135e381614a0e565b905061346a565b6000828152602b602052604090205460ff16156136875761364b7f0000000000000000000000000000000000000000000000000000000000003a987f000000000000000000000000000000000000000000000000000000000000d6d86149f6565b6136559082614c74565b60288190556040517f662707e4febdcde4fd5eca7d6311dc840e55b942dc58734aac52fff6d866da9990600090a25050565b6136b17f000000000000000000000000000000000000000000000000000000000000271082614c74565b6029556136de7f0000000000000000000000000000000000000000000000000000000000004e2082614c74565b602a8190556029546040517f7ed9998d8bac64249deff15104738a8f3446fef3c2d1155d10baa100eeb4965a90600090a35050565b816001600160a01b0316836001600160a01b031614156137755760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c0d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600080600f54116137f35750600090565b600f546132859042614892565b61380b848484612e1d565b61381784848484613d67565b6122cc5760405162461bcd60e51b8152600401610c0d90614c88565b6060600d8054610dcb906148a9565b6060816138665750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613890578061387a81614a0e565b91506138899050600a83614c14565b915061386a565b60008167ffffffffffffffff8111156138ab576138ab61450e565b6040519080825280601f01601f1916602001820160405280156138d5576020820181803683370190505b5090505b8415612e15576138ea600183614892565b91506138f7600a86614c74565b6139029060306149f6565b60f81b81838151811061391757613917614a98565b60200101906001600160f81b031916908160001a905350613939600a86614c14565b94506138d9565b6001600160a01b03831661399b5761399681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6139be565b816001600160a01b0316836001600160a01b0316146139be576139be8382613e65565b6001600160a01b0382166139d557610db781613f02565b826001600160a01b0316826001600160a01b031614610db757610db78282613fb1565b613a028383613ff5565b613a0f6000848484613d67565b610db75760405162461bcd60e51b8152600401610c0d90614c88565b6000613a80826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166141439092919063ffffffff16565b805190915015610db75780806020019051810190613a9e9190614cda565b610db75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c0d565b600081815b8451811015613b69576000858281518110613b1f57613b1f614a98565b60200260200101519050808311613b455760008381526020829052604090209250613b56565b600081815260208490526040902092505b5080613b6181614a0e565b915050613b02565b509392505050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001613be1929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401613c0e93929190614cf7565b6020604051808303816000875af1158015613c2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c519190614cda565b506000838152600c6020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a090910190925281519183019190912093879052919052613cad9060016149f6565b6000858152600c6020526040902055612e158482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000818152601b60205260408120805460ff19166001179055601c8054909190613d1690614a0e565b909155506116af3382612fc4565b6000818152601e60205260408120805460ff19166001179055601f8054909190613d4d90614a0e565b90915550602080546116af91339190600061214283614a0e565b60006001600160a01b0384163b15613e5a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613dab903390899088908890600401614d27565b6020604051808303816000875af1925050508015613de6575060408051601f3d908101601f19168201909252613de391810190614d64565b60015b613e40573d808015613e14576040519150601f19603f3d011682016040523d82523d6000602084013e613e19565b606091505b508051613e385760405162461bcd60e51b8152600401610c0d90614c88565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612e15565b506001949350505050565b60006001613e7284611f6f565b613e7c9190614892565b600083815260076020526040902054909150808214613ecf576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613f1490600190614892565b60008381526009602052604081205460088054939450909284908110613f3c57613f3c614a98565b906000526020600020015490508060088381548110613f5d57613f5d614a98565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613f9557613f95614d81565b6001900381819060005260206000200160009055905550505050565b6000613fbc83611f6f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661404b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c0d565b6000818152600260205260409020546001600160a01b0316156140b05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c0d565b6140bc60008383613940565b6001600160a01b03821660009081526003602052604081208054600192906140e59084906149f6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060612e158484600085856001600160a01b0385163b6141a55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c0d565b600080866001600160a01b031685876040516141c19190614d97565b60006040518083038185875af1925050503d80600081146141fe576040519150601f19603f3d011682016040523d82523d6000602084013e614203565b606091505b509150915061421382828661421e565b979650505050505050565b6060831561422d575081612851565b82511561423d5782518084602001fd5b8160405162461bcd60e51b8152600401610c0d91906143c0565b828054614263906148a9565b90600052602060002090601f01602090048101928261428557600085556142cb565b82601f1061429e57805160ff19168380011785556142cb565b828001600101855582156142cb579182015b828111156142cb5782518255916020019190600101906142b0565b506142d79291506142db565b5090565b5b808211156142d757600081556001016142dc565b6001600160e01b0319811681146116af57600080fd5b60006020828403121561431857600080fd5b8135612851816142f0565b6001600160a01b03811681146116af57600080fd5b6000806040838503121561434b57600080fd5b82359150602083013561435d81614323565b809150509250929050565b60005b8381101561438357818101518382015260200161436b565b838111156122cc5750506000910152565b600081518084526143ac816020860160208601614368565b601f01601f19169290920160200192915050565b6020815260006128516020830184614394565b6000602082840312156143e557600080fd5b5035919050565b600080604083850312156143ff57600080fd5b823561440a81614323565b946020939093013593505050565b60006020828403121561442a57600080fd5b813561285181614323565b60008060006060848603121561444a57600080fd5b833561445581614323565b9250602084013561446581614323565b929592945050506040919091013590565b60008083601f84011261448857600080fd5b50813567ffffffffffffffff8111156144a057600080fd5b6020830191508360208260051b85010111156144bb57600080fd5b9250929050565b6000806000604084860312156144d757600080fd5b83359250602084013567ffffffffffffffff8111156144f557600080fd5b61450186828701614476565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561453f5761453f61450e565b604051601f8501601f19908116603f011681019082821181831017156145675761456761450e565b8160405280935085815286868601111561458057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156145ac57600080fd5b813567ffffffffffffffff8111156145c357600080fd5b8201601f810184136145d457600080fd5b612e1584823560208401614524565b600080600080604085870312156145f957600080fd5b843567ffffffffffffffff8082111561461157600080fd5b61461d88838901614476565b9096509450602087013591508082111561463657600080fd5b5061464387828801614476565b95989497509550505050565b80151581146116af57600080fd5b60008060008060008060c0878903121561467657600080fd5b863595506020870135945060408701359350606087013592506080870135915060a08701356146a48161464f565b809150509295509295509295565b600080604083850312156146c557600080fd5b50508035926020909101359150565b6000608082840312156146e657600080fd5b6040516080810181811067ffffffffffffffff821117156147095761470961450e565b8060405250809150823581526020830135602082015260408301356040820152606083013560608201525092915050565b60008060a0838503121561474d57600080fd5b8235915061475e84602085016146d4565b90509250929050565b6000806040838503121561477a57600080fd5b823561478581614323565b9150602083013561435d8161464f565b600080600080608085870312156147ab57600080fd5b84356147b681614323565b935060208501356147c681614323565b925060408501359150606085013567ffffffffffffffff8111156147e957600080fd5b8501601f810187136147fa57600080fd5b61480987823560208401614524565b91505092959194509250565b60006080828403121561482757600080fd5b61285183836146d4565b6000806040838503121561484457600080fd5b823561484f81614323565b9150602083013561435d81614323565b60006020828403121561487157600080fd5b81356128518161464f565b634e487b7160e01b600052601160045260246000fd5b6000828210156148a4576148a461487c565b500390565b600181811c908216806148bd57607f821691505b602082108114156148de57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526022908201527f4f6e6c79206f70657261746f722063616e2063616c6c2074686973206d6574686040820152611bd960f21b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602a908201527f6d6178416d6f756e742063616e6e6f7420657863656564204d41585f4d494e546040820152695f5045525f424c4f434b60b01b606082015260800190565b60008219821115614a0957614a0961487c565b500190565b6000600019821415614a2257614a2261487c565b5060010190565b600060208284031215614a3b57600080fd5b5051919050565b60208082526019908201527f5075626c69632073616c65206973206e6f742061637469766500000000000000604082015260600190565b6000816000190483118215151615614a9357614a9361487c565b500290565b634e487b7160e01b600052603260045260246000fd5b60208082526026908201527f4f6e6c79206675747572654d696e7465722063616e2063616c6c2074686973206040820152651b595d1a1bd960d21b606082015260800190565b60208082526039908201527f52616e676520757070657220626f756e642063616e6e6f74206578636565642060408201527f4d41585f4c414e44535f574954485f465554555245202d203100000000000000606082015260800190565b60208082526030908201527f466f72206669727374206d657461646174612072616e6765206c6f776572206260408201526f06f756e642073686f756c6420626520360841b606082015260800190565b6020808252603c908201527f466f72206669727374206d657461646174612072616e6765207570706572206260408201527f6f756e642073686f756c64206265204d41585f4c414e4453202d203100000000606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082614c2357614c23614bfe565b500490565b60008351614c3a818460208801614368565b835190830190614c4e818360208801614368565b01949350505050565b600060208284031215614c6957600080fd5b815161285181614323565b600082614c8357614c83614bfe565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600060208284031215614cec57600080fd5b81516128518161464f565b60018060a01b0384168152826020820152606060408201526000614d1e6060830184614394565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614d5a90830184614394565b9695505050505050565b600060208284031215614d7657600080fd5b8151612851816142f0565b634e487b7160e01b600052603160045260246000fd5b60008251614da9818460208701614368565b919091019291505056fea26469706673582212207e127b1e97d2162bf460e4e3ca114b301223332f4e9293ecb39b448fc24d5d9464736f6c634300080a0033

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

00000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d00000000000000000000000060e4d786628fea6478f785a6d7e704777c86a7c60000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438100000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000004e20000000000000000000000000000000000000000000000000000000000000d6d800000000000000000000000000000000000000000000000000000000000186a00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000cda9742761cb069ff70b5cd5fcb8dd636a45396100000000000000000000000000000000000000000000000000000000000000094f7468657264656564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044f544852000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000c7b2040886eaacdc0f24f54f043d5b570e4773700000000000000000000000000000000000000000000000000000000000002ee0000000000000000000000000c9bb87aba3a8af6b419dc9bd21a928d03271dfe100000000000000000000000000000000000000000000000000000000000009c40000000000000000000000001d69bdd1e343320620a137b418481e70633254ee00000000000000000000000000000000000000000000000000000000000001f4

-----Decoded View---------------
Arg [0] : name (string): Otherdeed
Arg [1] : symbol (string): OTHR
Arg [2] : addresses (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [3] : amount (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [4] : _contributors (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [5] : _vrfCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [6] : _linkTokenAddress (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [7] : _vrfKeyHash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [8] : _vrfFee (uint256): 2000000000000000000
Arg [9] : _operator (address): 0xcDA9742761cB069ff70b5cD5fCb8DD636a453961

-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [2] : 000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d
Arg [3] : 00000000000000000000000060e4d786628fea6478f785a6d7e704777c86a7c6
Arg [4] : 0000000000000000000000004d224452801aced8b2f0aebe155379bb5d594381
Arg [5] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [6] : 0000000000000000000000000000000000000000000000000000000000004e20
Arg [7] : 000000000000000000000000000000000000000000000000000000000000d6d8
Arg [8] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [10] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [11] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [12] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [13] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [14] : 000000000000000000000000cda9742761cb069ff70b5cd5fcb8dd636a453961
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [16] : 4f74686572646565640000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [18] : 4f54485200000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [20] : 000000000000000000000000c7b2040886eaacdc0f24f54f043d5b570e477370
Arg [21] : 0000000000000000000000000000000000000000000000000000000000002ee0
Arg [22] : 000000000000000000000000c9bb87aba3a8af6b419dc9bd21a928d03271dfe1
Arg [23] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [24] : 0000000000000000000000001d69bdd1e343320620a137b418481e70633254ee
Arg [25] : 00000000000000000000000000000000000000000000000000000000000001f4


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

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