ETH Price: $2,316.20 (+1.67%)

Contract

0x28F3aCc53cC541a5E159DdC7c73a29F96679d873
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...243802802026-02-04 1:43:3541 days ago1770169415IN
0x28F3aCc5...96679d873
0 ETH0.000002840.11424277
Set Approval For...243169332026-01-26 5:32:4750 days ago1769405567IN
0x28F3aCc5...96679d873
0 ETH0.000000950.03846175
Set Approval For...243169322026-01-26 5:32:3550 days ago1769405555IN
0x28F3aCc5...96679d873
0 ETH0.00000090.03626026
Set Approval For...243165112026-01-26 4:08:1150 days ago1769400491IN
0x28F3aCc5...96679d873
0 ETH0.000050632.03575033
Set Approval For...243108762026-01-25 9:17:4751 days ago1769332667IN
0x28F3aCc5...96679d873
0 ETH0.000001630.035
Set Approval For...243092442026-01-25 3:49:5951 days ago1769312999IN
0x28F3aCc5...96679d873
0 ETH0.00000080.03
Set Approval For...243091612026-01-25 3:33:2351 days ago1769312003IN
0x28F3aCc5...96679d873
0 ETH0.000001630.035
Set Approval For...243085852026-01-25 1:37:5951 days ago1769305079IN
0x28F3aCc5...96679d873
0 ETH0.000001630.035
Set Approval For...241129592025-12-28 18:35:2378 days ago1766946923IN
0x28F3aCc5...96679d873
0 ETH0.0000020.043
Set Approval For...241063312025-12-27 20:23:4779 days ago1766867027IN
0x28F3aCc5...96679d873
0 ETH0.000050862.05191029
Set Approval For...241027412025-12-27 8:22:3580 days ago1766823755IN
0x28F3aCc5...96679d873
0 ETH0.000094732.0284476
Set Approval For...240917552025-12-25 19:32:5981 days ago1766691179IN
0x28F3aCc5...96679d873
0 ETH0.000002180.0468305
Set Approval For...240809662025-12-24 7:24:3583 days ago1766561075IN
0x28F3aCc5...96679d873
0 ETH0.00000130.02793494
Set Approval For...237231522025-11-04 3:04:23133 days ago1762225463IN
0x28F3aCc5...96679d873
0 ETH0.000005370.2162891
Set Approval For...236432742025-10-23 22:50:35144 days ago1761259835IN
0x28F3aCc5...96679d873
0 ETH0.000052062.09320092
Set Approval For...236266062025-10-21 14:43:11146 days ago1761057791IN
0x28F3aCc5...96679d873
0 ETH0.000018030.72502231
Set Approval For...234039262025-09-20 11:16:59177 days ago1758367019IN
0x28F3aCc5...96679d873
0 ETH0.000009920.39898624
Transfer From229186552025-07-14 16:37:59245 days ago1752511079IN
0x28F3aCc5...96679d873
0 ETH0.000797036.61532408
Transfer From229186532025-07-14 16:37:35245 days ago1752511055IN
0x28F3aCc5...96679d873
0 ETH0.000798037.06334836
Transfer From229186512025-07-14 16:37:11245 days ago1752511031IN
0x28F3aCc5...96679d873
0 ETH0.00100837.13677359
Set Approval For...227294042025-06-18 5:53:11272 days ago1750225991IN
0x28F3aCc5...96679d873
0 ETH0.000037860.81089761
Set Approval For...226772552025-06-10 22:49:47279 days ago1749595787IN
0x28F3aCc5...96679d873
0 ETH0.000079913.2131087
Set Approval For...225973442025-05-30 18:29:11290 days ago1748629751IN
0x28F3aCc5...96679d873
0 ETH0.000211684.53271887
Set Approval For...225970162025-05-30 17:23:11290 days ago1748625791IN
0x28F3aCc5...96679d873
0 ETH0.000355577.61187124
Set Approval For...224264272025-05-06 18:22:59314 days ago1746555779IN
0x28F3aCc5...96679d873
0 ETH0.000045490.97413177
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-140471482022-01-21 5:41:421516 days ago1642743702
0x28F3aCc5...96679d873
433.75 ETH
-139558052022-01-07 3:09:251530 days ago1641524965
0x28F3aCc5...96679d873
120.12 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Nouns3D

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: UNLICENSED

//  author Name: Alex Yap
//  author-email: <[email protected]>
//  author-website: https://alexyap.dev

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./NounsToken.sol";


contract Nouns3D is ERC721Enumerable, Ownable {

    string public NOUNS3D_PROVENANCE = "";
    string public baseTokenURI;

    uint256 public maxNouns3dPerTxn;
    uint256 public nouns3dPrice;
    uint256 public constant MAX_NOUNS3D = 100000;
    uint256 MintCycleTierA = 2099;
    uint256 MintCycleTierB = 7099;
    uint256 public nameChangeTokenPrice = 300 ether;
    uint256 public claimTokenPrice = 900 ether;

    bool public saleIsActiveTierA = false;
    bool public saleIsActiveTierB = false;
    bool public saleIsActiveTierC = false;

    mapping(uint256 => string) public nameN3D;
    mapping(address => uint256) public balanceN3D;

    YieldToken public yieldToken;

    event NameChanged(string name);

    function setYieldToken(address _yield) external onlyOwner {
        yieldToken = YieldToken(_yield);
    }

    function setBurnRate(uint256 _namingPrice, uint256 _claimingPrice) external onlyOwner {
        nameChangeTokenPrice = _namingPrice;
        claimTokenPrice = _claimingPrice;
    }

    function changeName(uint256 _tokenId, string memory _newName) public {
        require(ownerOf(_tokenId) == msg.sender);
        require(validateName(_newName) == true, "Invalid name");
        yieldToken.burn(msg.sender, nameChangeTokenPrice);
        nameN3D[_tokenId] = _newName;

        emit NameChanged(_newName);
    }

    function validateName(string memory str) internal pure returns (bool) {
        bytes memory b = bytes(str);

        if(b.length < 1) return false;
        if(b.length > 25) return false;
        if(b[0] == 0x20) return false; // Leading space
        if(b[b.length - 1] == 0x20) return false; // Trailing space

        bytes1 lastChar = b[0];

        for (uint256 i; i < b.length; i++) {
            bytes1 char = b[i];

            if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces

            if (
                !(char >= 0x30 && char <= 0x39) && //9-0
                !(char >= 0x41 && char <= 0x5A) && //A-Z
                !(char >= 0x61 && char <= 0x7A) && //a-z
                !(char == 0x20) //space
            ) {
                return false;
            }

            lastChar = char;
        }

        return true;
    }

    function claim() external {
        yieldToken.burn(msg.sender, claimTokenPrice);

        uint256 mintIndex = totalSupply();
        _safeMint(msg.sender, mintIndex);
    }

    function getReward() external {
        yieldToken.updateReward(msg.sender, address(0), 0);
        yieldToken.getReward(msg.sender);
    }

    function transferFrom(address from, address to, uint256 tokenId) public override {
        yieldToken.updateReward(from, to, tokenId);
        if (tokenId < 7400)
        {
            balanceN3D[from]--;
            balanceN3D[to]++;
        }
        ERC721.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override {
        yieldToken.updateReward(from, to, tokenId);
        if (tokenId < 7400)
        {
            balanceN3D[from]--;
            balanceN3D[to]++;
        }
        ERC721.safeTransferFrom(from, to, tokenId, _data);
    }

    constructor(string memory baseURI) ERC721("Nouns3D", "N3D") {
        setBaseURI(baseURI);
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseTokenURI;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);

        payable(msg.sender).transfer(balance);
    }

    function reserveNouns3d(uint256 _maxMint) public onlyOwner {
        uint256 supply = totalSupply();
        uint256 i;
        for (i = 0; i < _maxMint; i++) {
            if (totalSupply() < MAX_NOUNS3D) {
                uint256 mintIndex = supply + i;

                _safeMint(msg.sender, mintIndex);

                if (mintIndex < 7400) {
                    balanceN3D[msg.sender]++;
                }
            }
        }

        yieldToken.updateRewardOnMint(msg.sender);
    }

    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        NOUNS3D_PROVENANCE = provenanceHash;
    }

    function setMaxperTransaction(uint256 _maxNFTPerTransaction) internal onlyOwner {
        maxNouns3dPerTxn = _maxNFTPerTransaction;
    }

    function flipSaleStateTierA(uint256 price, uint256 _maxMint) public onlyOwner {
        nouns3dPrice = price;
        setMaxperTransaction(_maxMint);
        saleIsActiveTierA = !saleIsActiveTierA;
    }

    function flipSaleStateTierB(uint256 price, uint256 _maxMint) public onlyOwner {
        nouns3dPrice = price;
        setMaxperTransaction(_maxMint);
        saleIsActiveTierB = !saleIsActiveTierB;
    }

    function flipSaleStateTierC(uint256 price, uint256 _maxMint) public onlyOwner {
        nouns3dPrice = price;
        setMaxperTransaction(_maxMint);
        saleIsActiveTierC = !saleIsActiveTierC;
    }

    function mintTierA(uint256 numberOfTokens) public payable {
        require(saleIsActiveTierA, "Sale must be active to mint Nouns3D");
        require(maxNouns3dPerTxn > 0);
        require(totalSupply() <= MintCycleTierA);
        require(numberOfTokens <= maxNouns3dPerTxn, "Cannot purchase this many tokens in a transaction");
        require(totalSupply() + numberOfTokens <= MAX_NOUNS3D, "Purchase would exceed max supply of Nouns3D");
        require(nouns3dPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");

        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 mintIndex = totalSupply();
            if (totalSupply() <= MintCycleTierA) {
                _safeMint(msg.sender, mintIndex);
                //update balance count if it part of the genesis nouns
                if (mintIndex < 7400) {
                    balanceN3D[msg.sender]++;
                }
            }
        }
        //update reward on mint
        yieldToken.updateRewardOnMint(msg.sender);
    }

    function mintTierB(uint256 numberOfTokens) public payable {
        require(saleIsActiveTierB, "Sale must be active to mint Nouns3D");
        require(maxNouns3dPerTxn > 0);
        require(totalSupply() <= MintCycleTierB);
        require(numberOfTokens <= maxNouns3dPerTxn, "Cannot purchase this many tokens in a transaction");
        require(totalSupply() + numberOfTokens <= MAX_NOUNS3D, "Purchase would exceed max supply of Nouns3D");
        require(nouns3dPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");

        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 mintIndex = totalSupply();
            if (totalSupply() <= MintCycleTierB) {
                _safeMint(msg.sender, mintIndex);
                //update balance count if it part of the genesis nouns
                if (mintIndex < 7400) {
                    balanceN3D[msg.sender]++;
                }
            }
        }
        //update reward on mint
        yieldToken.updateRewardOnMint(msg.sender);
    }

    function mintTierC(uint256 numberOfTokens) public payable {
        require(saleIsActiveTierC, "Sale must be active to mint Nouns3D");
        require(maxNouns3dPerTxn > 0);
        require(numberOfTokens <= maxNouns3dPerTxn, "Cannot purchase this many tokens in a transaction");
        require(totalSupply() + numberOfTokens <= MAX_NOUNS3D, "Purchase would exceed max supply of Nouns3D");
        require(nouns3dPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");

        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 mintIndex = totalSupply();
            if (totalSupply() < MAX_NOUNS3D) {
                _safeMint(msg.sender, mintIndex);
            }
        }
    }
}

// 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();
    }
}

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

// SPDX-License-Identifier: NONE

//  author Name: Alex Yap
//  author-email: <[email protected]>
//  author-website: https://alexyap.dev

pragma solidity ^0.8.0;

interface INouns3d {
    function balanceN3D(address _user) external view returns(uint256);
}

// Part: OpenZeppelin/[email protected]/Address
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract YieldToken is ERC20, Ownable {
    //Start 1641600000 - Sat, January 8, 2022 12:00:00 AM 
    //End   1799280000 - Thu, January 7, 2027 12:00:00 AM, 5 years, 157680000
    uint256 constant public END = 1799280000;
    uint256 constant public BASE_RATE = 10 ether; 

    // max supply 
    uint256 public constant MAX_YIELD_SUPPLY = 135050000 ether;
    uint256 public constant MAX_COMMUNITY_FUND_SUPPLY = 100000000 ether;
    uint256 public constant MAX_PUBLIC_SALES_SUPPLY = 50000000 ether;
    uint256 public constant MAX_TEAM_RESERVE_SUPPLY = 30000000 ether;

    // minted amount
    uint256 public totalYieldSupply;
    uint256 public totalCommunityFundSupply;
    uint256 public totalPublicSalesSupply;
    uint256 public totalTeamReserveSupply;

    mapping(address => bool) councillors;
    mapping(address => uint256) public rewards;
    mapping(address => uint256) public lastUpdate;

    INouns3d public nouns3dContract;

    event CouncillorAdded(address councillor);
    event CouncillorRemoved(address councillor);
    event RewardPaid(address indexed user, uint256 reward);

    constructor(address _nouns3d) ERC20("NOUN", "NOUN") {
        nouns3dContract = INouns3d(_nouns3d);
        addCouncillor(_nouns3d);
    }

    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    function isCouncillor(address _councillor) public view returns(bool) {
        return councillors[_councillor];
    }

    function addCouncillor(address _councillor) public onlyOwner {
       require(_councillor != address(0), "Cannot add null address");
       councillors[_councillor] = true;
       emit CouncillorAdded(_councillor);
    }

    function removeCouncillor(address _councillor) public onlyOwner {
        require(isCouncillor(_councillor), "Not a councillor");
        delete councillors[_councillor];
        emit CouncillorRemoved(_councillor);
    }

    // updated_amount = (balanceN3D(user) * base_rate * delta / 86400) + amount * initial rate
    function updateRewardOnMint(address _user) external {
        require(councillors[msg.sender], "Unauthorized");

        uint256 time = min(block.timestamp, END);
        uint256 timerUser = lastUpdate[_user];
        uint256 timerRemainder = 0;
        if (timerUser > 0) {
            rewards[_user] = rewards[_user] + (nouns3dContract.balanceN3D(_user) * BASE_RATE * ((time - timerUser) / 86400));
            timerRemainder = (time - timerUser) % 86400;
        } else {
            rewards[_user] = 0;
        }
        
        lastUpdate[_user] = time - timerRemainder;
    }

    // called on transfers
    function updateReward(address _from, address _to, uint256 _tokenId) external {
        require(councillors[msg.sender], "Unauthorized");
        
        if (_tokenId < 7400) {
            uint256 time = min(block.timestamp, END);
            uint256 timerFrom = lastUpdate[_from];
            uint256 timerRemainderFrom = 0;
            
            if (timerFrom > 0) {
                rewards[_from] += nouns3dContract.balanceN3D(_from) * BASE_RATE * ((time - timerFrom) / 86400);
                timerRemainderFrom = (time - timerFrom) % 86400;
            }

            if (timerFrom != END) {
                lastUpdate[_from] = time - timerRemainderFrom;
            }

            if (_to != address(0)) {
                uint256 timerTo = lastUpdate[_to];
                uint256 timerRemainderTo = 0;

                if (timerTo > 0) {
                    rewards[_to] += nouns3dContract.balanceN3D(_to) * BASE_RATE * ((time - timerTo) / 86400);
                    timerRemainderTo = (time - timerTo) % 86400;
                }

                if (timerTo != END) {
                    lastUpdate[_to] = time - timerRemainderTo;
                }
            }
        }
    }

    function getReward(address _to) external {
        require(councillors[msg.sender], "Unauthorized");
        
        uint256 reward = rewards[_to];
        if (reward > 0) {
            require(
                totalYieldSupply + reward <= MAX_YIELD_SUPPLY,
                "Maximum yield supply reached"
            );

            rewards[_to] = 0;
            totalYieldSupply += reward;
            
            _mint(_to, reward);
            emit RewardPaid(_to, reward);
        }
    }

    function communityFundMint(address to, uint256 amount) external {
        require(councillors[msg.sender], "Unauthorized");
        require(
            totalCommunityFundSupply + amount <= MAX_COMMUNITY_FUND_SUPPLY,
            "Maximum community fund supply reached"
        );

        totalCommunityFundSupply += amount;
        _mint(to, amount);
    }

    function publicSalesMint(address to, uint256 amount) external {
        require(councillors[msg.sender], "Unauthorized");
        require(
            totalPublicSalesSupply + amount <= MAX_PUBLIC_SALES_SUPPLY,
            "Maximum public sales supply reached"
        );

        totalPublicSalesSupply += amount;
        _mint(to, amount);
    }

    function teamReserveMint(address to, uint256 amount) external {
        require(councillors[msg.sender], "Unauthorized");
        require(
            totalTeamReserveSupply + amount <= MAX_TEAM_RESERVE_SUPPLY,
            "Maximum team reserve supply reached"
        );

        totalTeamReserveSupply += amount;
        _mint(to, amount);
    }

    function burn(address _from, uint256 _amount) external {
        require(councillors[msg.sender], "Unauthorized");
        
        _burn(_from, _amount);
    }

    function getTotalClaimable(address _user) external view returns(uint256) {
        uint256 time = min(block.timestamp, END);
        uint256 pending = nouns3dContract.balanceN3D(_user) * BASE_RATE * ((time - lastUpdate[_user]) / 86400);
        return rewards[_user] + pending;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// 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;
    }
}

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

// 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;
    }
}

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

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

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

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

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) 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, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_NOUNS3D","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NOUNS3D_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"","type":"address"}],"name":"balanceN3D","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"flipSaleStateTierA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"flipSaleStateTierB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"flipSaleStateTierC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNouns3dPerTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintTierA","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintTierB","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintTierC","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangeTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nameN3D","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nouns3dPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"reserveNouns3d","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActiveTierA","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleIsActiveTierB","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleIsActiveTierC","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_namingPrice","type":"uint256"},{"internalType":"uint256","name":"_claimingPrice","type":"uint256"}],"name":"setBurnRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_yield","type":"address"}],"name":"setYieldToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"yieldToken","outputs":[{"internalType":"contract YieldToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405260405180602001604052806000815250600b90805190602001906200002b92919062000351565b50610833600f55611bbb601055681043561a88293000006011556830ca024f987b9000006012556000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff0219169083151502179055506000601360026101000a81548160ff021916908315150217905550348015620000b057600080fd5b5060405162006130380380620061308339818101604052810190620000d691906200059e565b6040518060400160405280600781526020017f4e6f756e733344000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e3344000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200015a92919062000351565b5080600190805190602001906200017392919062000351565b505050620001966200018a620001ae60201b60201c565b620001b660201b60201c565b620001a7816200027c60201b60201c565b50620006d7565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200028c620001ae60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002b26200032760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200030b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003029062000650565b60405180910390fd5b80600c90805190602001906200032392919062000351565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200035f90620006a1565b90600052602060002090601f016020900481019282620003835760008555620003cf565b82601f106200039e57805160ff1916838001178555620003cf565b82800160010185558215620003cf579182015b82811115620003ce578251825591602001919060010190620003b1565b5b509050620003de9190620003e2565b5090565b5b80821115620003fd576000816000905550600101620003e3565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200046a826200041f565b810181811067ffffffffffffffff821117156200048c576200048b62000430565b5b80604052505050565b6000620004a162000401565b9050620004af82826200045f565b919050565b600067ffffffffffffffff821115620004d257620004d162000430565b5b620004dd826200041f565b9050602081019050919050565b60005b838110156200050a578082015181840152602081019050620004ed565b838111156200051a576000848401525b50505050565b6000620005376200053184620004b4565b62000495565b9050828152602081018484840111156200055657620005556200041a565b5b62000563848285620004ea565b509392505050565b600082601f83011262000583576200058262000415565b5b81516200059584826020860162000520565b91505092915050565b600060208284031215620005b757620005b66200040b565b5b600082015167ffffffffffffffff811115620005d857620005d762000410565b5b620005e6848285016200056b565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000638602083620005ef565b9150620006458262000600565b602082019050919050565b600060208201905081810360008301526200066b8162000629565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006ba57607f821691505b60208210811415620006d157620006d062000672565b5b50919050565b615a4980620006e76000396000f3fe6080604052600436106102885760003560e01c8063715018a61161015a578063c87b56dd116100c1578063de2838ed1161007a578063de2838ed1461098a578063e0d0b9f9146109b5578063e91e1bff146109e0578063e985e9c5146109fc578063ea288bfb14610a39578063f2fde38b14610a6257610288565b8063c87b56dd14610861578063c957c6601461089e578063cf93c5f2146108ba578063d20478bc146108f7578063d2ab48f614610934578063d547cfb71461095f57610288565b8063a25cd48711610113578063a25cd48714610765578063a60472c914610790578063b3d3924e146107b9578063b88d4fde146107e4578063c1f963921461080d578063c39cbef11461083857610288565b8063715018a61461067b57806376d5de85146106925780638da5cb5b146106bd57806395d89b41146106e85780639c6bff9914610713578063a22cb4651461073c57610288565b80633ccfd60b116101fe57806355f804b3116101b757806355f804b31461055b578063573faa2d146105845780636352211e146105ad5780636a42a2e0146105ea5780636b14683b1461061357806370a082311461063e57610288565b80633ccfd60b146104855780633d18b9121461049c57806340675ade146104b357806342842e0e146104de5780634e71d92d146105075780634f6ccce71461051e57610288565b806318160ddd1161025057806318160ddd1461038457806323b872dd146103af57806323ffce85146103d85780632839b8ff146104015780632f745c591461042c5780633a66910e1461046957610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b314610332578063109695231461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614197565b610a8b565b6040516102c191906141df565b60405180910390f35b3480156102d657600080fd5b506102df610b05565b6040516102ec9190614293565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906142eb565b610b97565b6040516103299190614359565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906143a0565b610c1c565b005b34801561036757600080fd5b50610382600480360381019061037d9190614515565b610d34565b005b34801561039057600080fd5b50610399610dca565b6040516103a6919061456d565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190614588565b610dd7565b005b3480156103e457600080fd5b506103ff60048036038101906103fa91906145db565b610f2d565b005b34801561040d57600080fd5b50610416610fed565b604051610423919061456d565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e91906143a0565b610ff4565b604051610460919061456d565b60405180910390f35b610483600480360381019061047e91906142eb565b611099565b005b34801561049157600080fd5b5061049a611331565b005b3480156104a857600080fd5b506104b1611409565b005b3480156104bf57600080fd5b506104c861152a565b6040516104d5919061456d565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190614588565b611530565b005b34801561051357600080fd5b5061051c611550565b005b34801561052a57600080fd5b50610545600480360381019061054091906142eb565b6115fa565b604051610552919061456d565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190614515565b61166b565b005b34801561059057600080fd5b506105ab60048036038101906105a691906142eb565b611701565b005b3480156105b957600080fd5b506105d460048036038101906105cf91906142eb565b6118c7565b6040516105e19190614359565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190614608565b611979565b005b34801561061f57600080fd5b50610628611a07565b604051610635919061456d565b60405180910390f35b34801561064a57600080fd5b50610665600480360381019061066091906145db565b611a0d565b604051610672919061456d565b60405180910390f35b34801561068757600080fd5b50610690611ac5565b005b34801561069e57600080fd5b506106a7611b4d565b6040516106b491906146a7565b60405180910390f35b3480156106c957600080fd5b506106d2611b73565b6040516106df9190614359565b60405180910390f35b3480156106f457600080fd5b506106fd611b9d565b60405161070a9190614293565b60405180910390f35b34801561071f57600080fd5b5061073a60048036038101906107359190614608565b611c2f565b005b34801561074857600080fd5b50610763600480360381019061075e91906146ee565b611ce9565b005b34801561077157600080fd5b5061077a611cff565b6040516107879190614293565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b29190614608565b611d8d565b005b3480156107c557600080fd5b506107ce611e47565b6040516107db91906141df565b60405180910390f35b3480156107f057600080fd5b5061080b600480360381019061080691906147cf565b611e5a565b005b34801561081957600080fd5b50610822611fb2565b60405161082f91906141df565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a9190614852565b611fc5565b005b34801561086d57600080fd5b50610888600480360381019061088391906142eb565b612148565b6040516108959190614293565b60405180910390f35b6108b860048036038101906108b391906142eb565b6121ef565b005b3480156108c657600080fd5b506108e160048036038101906108dc91906145db565b612487565b6040516108ee919061456d565b60405180910390f35b34801561090357600080fd5b5061091e600480360381019061091991906142eb565b61249f565b60405161092b9190614293565b60405180910390f35b34801561094057600080fd5b5061094961253f565b604051610956919061456d565b60405180910390f35b34801561096b57600080fd5b50610974612545565b6040516109819190614293565b60405180910390f35b34801561099657600080fd5b5061099f6125d3565b6040516109ac91906141df565b60405180910390f35b3480156109c157600080fd5b506109ca6125e6565b6040516109d7919061456d565b60405180910390f35b6109fa60048036038101906109f591906142eb565b6125ec565b005b348015610a0857600080fd5b50610a236004803603810190610a1e91906148ae565b612783565b604051610a3091906141df565b60405180910390f35b348015610a4557600080fd5b50610a606004803603810190610a5b9190614608565b612817565b005b348015610a6e57600080fd5b50610a896004803603810190610a8491906145db565b6128d1565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610afe5750610afd826129c9565b5b9050919050565b606060008054610b149061491d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b409061491d565b8015610b8d5780601f10610b6257610100808354040283529160200191610b8d565b820191906000526020600020905b815481529060010190602001808311610b7057829003601f168201915b5050505050905090565b6000610ba282612aab565b610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd8906149c1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c27826118c7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8f90614a53565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb7612b17565b73ffffffffffffffffffffffffffffffffffffffff161480610ce65750610ce581610ce0612b17565b612783565b5b610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c90614ae5565b60405180910390fd5b610d2f8383612b1f565b505050565b610d3c612b17565b73ffffffffffffffffffffffffffffffffffffffff16610d5a611b73565b73ffffffffffffffffffffffffffffffffffffffff1614610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790614b51565b60405180910390fd5b80600b9080519060200190610dc6929190614088565b5050565b6000600880549050905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa8484846040518463ffffffff1660e01b8152600401610e3693929190614b71565b600060405180830381600087803b158015610e5057600080fd5b505af1158015610e64573d6000803e3d6000fd5b50505050611ce8811015610f1d57601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610ec290614bd7565b9190505550601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f1790614c01565b91905055505b610f28838383612bd8565b505050565b610f35612b17565b73ffffffffffffffffffffffffffffffffffffffff16610f53611b73565b73ffffffffffffffffffffffffffffffffffffffff1614610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090614b51565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620186a081565b6000610fff83611a0d565b8210611040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103790614cbc565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601360019054906101000a900460ff166110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90614d4e565b60405180910390fd5b6000600d54116110f757600080fd5b601054611102610dca565b111561110d57600080fd5b600d54811115611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614de0565b60405180910390fd5b620186a08161115f610dca565b6111699190614e00565b11156111aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a190614ec8565b60405180910390fd5b3481600e546111b99190614ee8565b11156111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f190614f8e565b60405180910390fd5b60005b818110156112a057600061120f610dca565b905060105461121c610dca565b1161128c5761122b3382612c38565b611ce881101561128b57601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061128590614c01565b91905055505b5b50808061129890614c01565b9150506111fd565b50601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638f7985a8336040518263ffffffff1660e01b81526004016112fc9190614359565b600060405180830381600087803b15801561131657600080fd5b505af115801561132a573d6000803e3d6000fd5b5050505050565b611339612b17565b73ffffffffffffffffffffffffffffffffffffffff16611357611b73565b73ffffffffffffffffffffffffffffffffffffffff16146113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a490614b51565b60405180910390fd5b6000479050600081116113bf57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611405573d6000803e3d6000fd5b5050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa336000806040518463ffffffff1660e01b815260040161146993929190614fe9565b600060405180830381600087803b15801561148357600080fd5b505af1158015611497573d6000803e3d6000fd5b50505050601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c00007b0336040518263ffffffff1660e01b81526004016114f69190614359565b600060405180830381600087803b15801561151057600080fd5b505af1158015611524573d6000803e3d6000fd5b50505050565b600e5481565b61154b83838360405180602001604052806000815250611e5a565b505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac336012546040518363ffffffff1660e01b81526004016115af929190615020565b600060405180830381600087803b1580156115c957600080fd5b505af11580156115dd573d6000803e3d6000fd5b5050505060006115eb610dca565b90506115f73382612c38565b50565b6000611604610dca565b8210611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c906150bb565b60405180910390fd5b60088281548110611659576116586150db565b5b90600052602060002001549050919050565b611673612b17565b73ffffffffffffffffffffffffffffffffffffffff16611691611b73565b73ffffffffffffffffffffffffffffffffffffffff16146116e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116de90614b51565b60405180910390fd5b80600c90805190602001906116fd929190614088565b5050565b611709612b17565b73ffffffffffffffffffffffffffffffffffffffff16611727611b73565b73ffffffffffffffffffffffffffffffffffffffff161461177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490614b51565b60405180910390fd5b6000611787610dca565b905060005b8281101561183557620186a06117a0610dca565b101561182257600081836117b49190614e00565b90506117c03382612c38565b611ce881101561182057601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061181a90614c01565b91905055505b505b808061182d90614c01565b91505061178c565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638f7985a8336040518263ffffffff1660e01b81526004016118909190614359565b600060405180830381600087803b1580156118aa57600080fd5b505af11580156118be573d6000803e3d6000fd5b50505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119679061517c565b60405180910390fd5b80915050919050565b611981612b17565b73ffffffffffffffffffffffffffffffffffffffff1661199f611b73565b73ffffffffffffffffffffffffffffffffffffffff16146119f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ec90614b51565b60405180910390fd5b81601181905550806012819055505050565b60125481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a759061520e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611acd612b17565b73ffffffffffffffffffffffffffffffffffffffff16611aeb611b73565b73ffffffffffffffffffffffffffffffffffffffff1614611b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3890614b51565b60405180910390fd5b611b4b6000612c56565b565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611bac9061491d565b80601f0160208091040260200160405190810160405280929190818152602001828054611bd89061491d565b8015611c255780601f10611bfa57610100808354040283529160200191611c25565b820191906000526020600020905b815481529060010190602001808311611c0857829003601f168201915b5050505050905090565b611c37612b17565b73ffffffffffffffffffffffffffffffffffffffff16611c55611b73565b73ffffffffffffffffffffffffffffffffffffffff1614611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca290614b51565b60405180910390fd5b81600e81905550611cbb81612d1c565b601360019054906101000a900460ff1615601360016101000a81548160ff0219169083151502179055505050565b611cfb611cf4612b17565b8383612da2565b5050565b600b8054611d0c9061491d565b80601f0160208091040260200160405190810160405280929190818152602001828054611d389061491d565b8015611d855780601f10611d5a57610100808354040283529160200191611d85565b820191906000526020600020905b815481529060010190602001808311611d6857829003601f168201915b505050505081565b611d95612b17565b73ffffffffffffffffffffffffffffffffffffffff16611db3611b73565b73ffffffffffffffffffffffffffffffffffffffff1614611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0090614b51565b60405180910390fd5b81600e81905550611e1981612d1c565b601360029054906101000a900460ff1615601360026101000a81548160ff0219169083151502179055505050565b601360009054906101000a900460ff1681565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa8585856040518463ffffffff1660e01b8152600401611eb993929190614b71565b600060405180830381600087803b158015611ed357600080fd5b505af1158015611ee7573d6000803e3d6000fd5b50505050611ce8821015611fa057601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611f4590614bd7565b9190505550601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611f9a90614c01565b91905055505b611fac84848484612f0f565b50505050565b601360029054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16611fe5836118c7565b73ffffffffffffffffffffffffffffffffffffffff161461200557600080fd5b6001151561201282612f71565b151514612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b9061527a565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac336011546040518363ffffffff1660e01b81526004016120b3929190615020565b600060405180830381600087803b1580156120cd57600080fd5b505af11580156120e1573d6000803e3d6000fd5b505050508060146000848152602001908152602001600020908051906020019061210c929190614088565b507f4737457377f528cc8afd815f73ecb8b05df80d047dbffc41c17750a4033592bc8160405161213c9190614293565b60405180910390a15050565b606061215382612aab565b612192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121899061530c565b60405180910390fd5b600061219c6132a3565b905060008151116121bc57604051806020016040528060008152506121e7565b806121c684613335565b6040516020016121d7929190615368565b6040516020818303038152906040525b915050919050565b601360009054906101000a900460ff1661223e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223590614d4e565b60405180910390fd5b6000600d541161224d57600080fd5b600f54612258610dca565b111561226357600080fd5b600d548111156122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f90614de0565b60405180910390fd5b620186a0816122b5610dca565b6122bf9190614e00565b1115612300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f790614ec8565b60405180910390fd5b3481600e5461230f9190614ee8565b1115612350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234790614f8e565b60405180910390fd5b60005b818110156123f6576000612365610dca565b9050600f54612372610dca565b116123e2576123813382612c38565b611ce88110156123e157601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906123db90614c01565b91905055505b5b5080806123ee90614c01565b915050612353565b50601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638f7985a8336040518263ffffffff1660e01b81526004016124529190614359565b600060405180830381600087803b15801561246c57600080fd5b505af1158015612480573d6000803e3d6000fd5b5050505050565b60156020528060005260406000206000915090505481565b601460205280600052604060002060009150905080546124be9061491d565b80601f01602080910402602001604051908101604052809291908181526020018280546124ea9061491d565b80156125375780601f1061250c57610100808354040283529160200191612537565b820191906000526020600020905b81548152906001019060200180831161251a57829003601f168201915b505050505081565b60115481565b600c80546125529061491d565b80601f016020809104026020016040519081016040528092919081815260200182805461257e9061491d565b80156125cb5780601f106125a0576101008083540402835291602001916125cb565b820191906000526020600020905b8154815290600101906020018083116125ae57829003601f168201915b505050505081565b601360019054906101000a900460ff1681565b600d5481565b601360029054906101000a900460ff1661263b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263290614d4e565b60405180910390fd5b6000600d541161264a57600080fd5b600d5481111561268f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268690614de0565b60405180910390fd5b620186a08161269c610dca565b6126a69190614e00565b11156126e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126de90614ec8565b60405180910390fd5b3481600e546126f69190614ee8565b1115612737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272e90614f8e565b60405180910390fd5b60005b8181101561277f57600061274c610dca565b9050620186a061275a610dca565b101561276b5761276a3382612c38565b5b50808061277790614c01565b91505061273a565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61281f612b17565b73ffffffffffffffffffffffffffffffffffffffff1661283d611b73565b73ffffffffffffffffffffffffffffffffffffffff1614612893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288a90614b51565b60405180910390fd5b81600e819055506128a381612d1c565b601360009054906101000a900460ff1615601360006101000a81548160ff0219169083151502179055505050565b6128d9612b17565b73ffffffffffffffffffffffffffffffffffffffff166128f7611b73565b73ffffffffffffffffffffffffffffffffffffffff161461294d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294490614b51565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b4906153fe565b60405180910390fd5b6129c681612c56565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a9457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612aa45750612aa382613496565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b92836118c7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612be9612be3612b17565b82613500565b612c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1f90615490565b60405180910390fd5b612c338383836135de565b505050565b612c5282826040518060200160405280600081525061383a565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d24612b17565b73ffffffffffffffffffffffffffffffffffffffff16612d42611b73565b73ffffffffffffffffffffffffffffffffffffffff1614612d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8f90614b51565b60405180910390fd5b80600d8190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e08906154fc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f0291906141df565b60405180910390a3505050565b612f20612f1a612b17565b83613500565b612f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5690615490565b60405180910390fd5b612f6b84848484613895565b50505050565b600080829050600181511015612f8b57600091505061329e565b601981511115612f9f57600091505061329e565b602060f81b81600081518110612fb857612fb76150db565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612ff557600091505061329e565b602060f81b8160018351613009919061551c565b8151811061301a576130196150db565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561305757600091505061329e565b60008160008151811061306d5761306c6150db565b5b602001015160f81c60f81b905060005b825181101561329657600083828151811061309b5761309a6150db565b5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480156131025750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b1561311457600094505050505061329e565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156131705750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156131d65750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156131d45750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561323b5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156132395750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561326d5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561327f57600094505050505061329e565b80925050808061328e90614c01565b91505061307d565b506001925050505b919050565b6060600c80546132b29061491d565b80601f01602080910402602001604051908101604052809291908181526020018280546132de9061491d565b801561332b5780601f106133005761010080835404028352916020019161332b565b820191906000526020600020905b81548152906001019060200180831161330e57829003601f168201915b5050505050905090565b6060600082141561337d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613491565b600082905060005b600082146133af57808061339890614c01565b915050600a826133a8919061557f565b9150613385565b60008167ffffffffffffffff8111156133cb576133ca6143ea565b5b6040519080825280601f01601f1916602001820160405280156133fd5781602001600182028036833780820191505090505b5090505b6000851461348a57600182613416919061551c565b9150600a8561342591906155b0565b60306134319190614e00565b60f81b818381518110613447576134466150db565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613483919061557f565b9450613401565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061350b82612aab565b61354a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354190615653565b60405180910390fd5b6000613555836118c7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806135c457508373ffffffffffffffffffffffffffffffffffffffff166135ac84610b97565b73ffffffffffffffffffffffffffffffffffffffff16145b806135d557506135d48185612783565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166135fe826118c7565b73ffffffffffffffffffffffffffffffffffffffff1614613654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364b906156e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bb90615777565b60405180910390fd5b6136cf8383836138f1565b6136da600082612b1f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461372a919061551c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137819190614e00565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6138448383613a05565b6138516000848484613bd3565b613890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388790615809565b60405180910390fd5b505050565b6138a08484846135de565b6138ac84848484613bd3565b6138eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e290615809565b60405180910390fd5b50505050565b6138fc838383613d6a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561393f5761393a81613d6f565b61397e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461397d5761397c8382613db8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139c1576139bc81613f25565b613a00565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139ff576139fe8282613ff6565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6c90615875565b60405180910390fd5b613a7e81612aab565b15613abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab5906158e1565b60405180910390fd5b613aca600083836138f1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b1a9190614e00565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000613bf48473ffffffffffffffffffffffffffffffffffffffff16614075565b15613d5d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c1d612b17565b8786866040518563ffffffff1660e01b8152600401613c3f9493929190615956565b602060405180830381600087803b158015613c5957600080fd5b505af1925050508015613c8a57506040513d601f19601f82011682018060405250810190613c8791906159b7565b60015b613d0d573d8060008114613cba576040519150601f19603f3d011682016040523d82523d6000602084013e613cbf565b606091505b50600081511415613d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cfc90615809565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613d62565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613dc584611a0d565b613dcf919061551c565b9050600060076000848152602001908152602001600020549050818114613eb4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613f39919061551c565b9050600060096000848152602001908152602001600020549050600060088381548110613f6957613f686150db565b5b906000526020600020015490508060088381548110613f8b57613f8a6150db565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613fda57613fd96159e4565b5b6001900381819060005260206000200160009055905550505050565b600061400183611a0d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546140949061491d565b90600052602060002090601f0160209004810192826140b657600085556140fd565b82601f106140cf57805160ff19168380011785556140fd565b828001600101855582156140fd579182015b828111156140fc5782518255916020019190600101906140e1565b5b50905061410a919061410e565b5090565b5b8082111561412757600081600090555060010161410f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6141748161413f565b811461417f57600080fd5b50565b6000813590506141918161416b565b92915050565b6000602082840312156141ad576141ac614135565b5b60006141bb84828501614182565b91505092915050565b60008115159050919050565b6141d9816141c4565b82525050565b60006020820190506141f460008301846141d0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614234578082015181840152602081019050614219565b83811115614243576000848401525b50505050565b6000601f19601f8301169050919050565b6000614265826141fa565b61426f8185614205565b935061427f818560208601614216565b61428881614249565b840191505092915050565b600060208201905081810360008301526142ad818461425a565b905092915050565b6000819050919050565b6142c8816142b5565b81146142d357600080fd5b50565b6000813590506142e5816142bf565b92915050565b60006020828403121561430157614300614135565b5b600061430f848285016142d6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061434382614318565b9050919050565b61435381614338565b82525050565b600060208201905061436e600083018461434a565b92915050565b61437d81614338565b811461438857600080fd5b50565b60008135905061439a81614374565b92915050565b600080604083850312156143b7576143b6614135565b5b60006143c58582860161438b565b92505060206143d6858286016142d6565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61442282614249565b810181811067ffffffffffffffff82111715614441576144406143ea565b5b80604052505050565b600061445461412b565b90506144608282614419565b919050565b600067ffffffffffffffff8211156144805761447f6143ea565b5b61448982614249565b9050602081019050919050565b82818337600083830152505050565b60006144b86144b384614465565b61444a565b9050828152602081018484840111156144d4576144d36143e5565b5b6144df848285614496565b509392505050565b600082601f8301126144fc576144fb6143e0565b5b813561450c8482602086016144a5565b91505092915050565b60006020828403121561452b5761452a614135565b5b600082013567ffffffffffffffff8111156145495761454861413a565b5b614555848285016144e7565b91505092915050565b614567816142b5565b82525050565b6000602082019050614582600083018461455e565b92915050565b6000806000606084860312156145a1576145a0614135565b5b60006145af8682870161438b565b93505060206145c08682870161438b565b92505060406145d1868287016142d6565b9150509250925092565b6000602082840312156145f1576145f0614135565b5b60006145ff8482850161438b565b91505092915050565b6000806040838503121561461f5761461e614135565b5b600061462d858286016142d6565b925050602061463e858286016142d6565b9150509250929050565b6000819050919050565b600061466d61466861466384614318565b614648565b614318565b9050919050565b600061467f82614652565b9050919050565b600061469182614674565b9050919050565b6146a181614686565b82525050565b60006020820190506146bc6000830184614698565b92915050565b6146cb816141c4565b81146146d657600080fd5b50565b6000813590506146e8816146c2565b92915050565b6000806040838503121561470557614704614135565b5b60006147138582860161438b565b9250506020614724858286016146d9565b9150509250929050565b600067ffffffffffffffff821115614749576147486143ea565b5b61475282614249565b9050602081019050919050565b600061477261476d8461472e565b61444a565b90508281526020810184848401111561478e5761478d6143e5565b5b614799848285614496565b509392505050565b600082601f8301126147b6576147b56143e0565b5b81356147c684826020860161475f565b91505092915050565b600080600080608085870312156147e9576147e8614135565b5b60006147f78782880161438b565b94505060206148088782880161438b565b9350506040614819878288016142d6565b925050606085013567ffffffffffffffff81111561483a5761483961413a565b5b614846878288016147a1565b91505092959194509250565b6000806040838503121561486957614868614135565b5b6000614877858286016142d6565b925050602083013567ffffffffffffffff8111156148985761489761413a565b5b6148a4858286016144e7565b9150509250929050565b600080604083850312156148c5576148c4614135565b5b60006148d38582860161438b565b92505060206148e48582860161438b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061493557607f821691505b60208210811415614949576149486148ee565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006149ab602c83614205565b91506149b68261494f565b604082019050919050565b600060208201905081810360008301526149da8161499e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a3d602183614205565b9150614a48826149e1565b604082019050919050565b60006020820190508181036000830152614a6c81614a30565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614acf603883614205565b9150614ada82614a73565b604082019050919050565b60006020820190508181036000830152614afe81614ac2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b3b602083614205565b9150614b4682614b05565b602082019050919050565b60006020820190508181036000830152614b6a81614b2e565b9050919050565b6000606082019050614b86600083018661434a565b614b93602083018561434a565b614ba0604083018461455e565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614be2826142b5565b91506000821415614bf657614bf5614ba8565b5b600182039050919050565b6000614c0c826142b5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c3f57614c3e614ba8565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614ca6602b83614205565b9150614cb182614c4a565b604082019050919050565b60006020820190508181036000830152614cd581614c99565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e74204e6f756e60008201527f7333440000000000000000000000000000000000000000000000000000000000602082015250565b6000614d38602383614205565b9150614d4382614cdc565b604082019050919050565b60006020820190508181036000830152614d6781614d2b565b9050919050565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e7360008201527f20696e2061207472616e73616374696f6e000000000000000000000000000000602082015250565b6000614dca603183614205565b9150614dd582614d6e565b604082019050919050565b60006020820190508181036000830152614df981614dbd565b9050919050565b6000614e0b826142b5565b9150614e16836142b5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e4b57614e4a614ba8565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204e6f756e733344000000000000000000000000000000000000000000602082015250565b6000614eb2602b83614205565b9150614ebd82614e56565b604082019050919050565b60006020820190508181036000830152614ee181614ea5565b9050919050565b6000614ef3826142b5565b9150614efe836142b5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f3757614f36614ba8565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614f78601f83614205565b9150614f8382614f42565b602082019050919050565b60006020820190508181036000830152614fa781614f6b565b9050919050565b6000819050919050565b6000614fd3614fce614fc984614fae565b614648565b6142b5565b9050919050565b614fe381614fb8565b82525050565b6000606082019050614ffe600083018661434a565b61500b602083018561434a565b6150186040830184614fda565b949350505050565b6000604082019050615035600083018561434a565b615042602083018461455e565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006150a5602c83614205565b91506150b082615049565b604082019050919050565b600060208201905081810360008301526150d481615098565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615166602983614205565b91506151718261510a565b604082019050919050565b6000602082019050818103600083015261519581615159565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151f8602a83614205565b91506152038261519c565b604082019050919050565b60006020820190508181036000830152615227816151eb565b9050919050565b7f496e76616c6964206e616d650000000000000000000000000000000000000000600082015250565b6000615264600c83614205565b915061526f8261522e565b602082019050919050565b6000602082019050818103600083015261529381615257565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006152f6602f83614205565b91506153018261529a565b604082019050919050565b60006020820190508181036000830152615325816152e9565b9050919050565b600081905092915050565b6000615342826141fa565b61534c818561532c565b935061535c818560208601614216565b80840191505092915050565b60006153748285615337565b91506153808284615337565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153e8602683614205565b91506153f38261538c565b604082019050919050565b60006020820190508181036000830152615417816153db565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061547a603183614205565b91506154858261541e565b604082019050919050565b600060208201905081810360008301526154a98161546d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006154e6601983614205565b91506154f1826154b0565b602082019050919050565b60006020820190508181036000830152615515816154d9565b9050919050565b6000615527826142b5565b9150615532836142b5565b92508282101561554557615544614ba8565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061558a826142b5565b9150615595836142b5565b9250826155a5576155a4615550565b5b828204905092915050565b60006155bb826142b5565b91506155c6836142b5565b9250826155d6576155d5615550565b5b828206905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061563d602c83614205565b9150615648826155e1565b604082019050919050565b6000602082019050818103600083015261566c81615630565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006156cf602983614205565b91506156da82615673565b604082019050919050565b600060208201905081810360008301526156fe816156c2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615761602483614205565b915061576c82615705565b604082019050919050565b6000602082019050818103600083015261579081615754565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006157f3603283614205565b91506157fe82615797565b604082019050919050565b60006020820190508181036000830152615822816157e6565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061585f602083614205565b915061586a82615829565b602082019050919050565b6000602082019050818103600083015261588e81615852565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006158cb601c83614205565b91506158d682615895565b602082019050919050565b600060208201905081810360008301526158fa816158be565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061592882615901565b615932818561590c565b9350615942818560208601614216565b61594b81614249565b840191505092915050565b600060808201905061596b600083018761434a565b615978602083018661434a565b615985604083018561455e565b8181036060830152615997818461591d565b905095945050505050565b6000815190506159b18161416b565b92915050565b6000602082840312156159cd576159cc614135565b5b60006159db848285016159a2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122010ba61abc3d59d031ff7bc377375376b807398c2632ec88f0164728a1711b0e864736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e6e6f756e7333642e636f6d2f746f6b656e2f0000

Deployed Bytecode

0x6080604052600436106102885760003560e01c8063715018a61161015a578063c87b56dd116100c1578063de2838ed1161007a578063de2838ed1461098a578063e0d0b9f9146109b5578063e91e1bff146109e0578063e985e9c5146109fc578063ea288bfb14610a39578063f2fde38b14610a6257610288565b8063c87b56dd14610861578063c957c6601461089e578063cf93c5f2146108ba578063d20478bc146108f7578063d2ab48f614610934578063d547cfb71461095f57610288565b8063a25cd48711610113578063a25cd48714610765578063a60472c914610790578063b3d3924e146107b9578063b88d4fde146107e4578063c1f963921461080d578063c39cbef11461083857610288565b8063715018a61461067b57806376d5de85146106925780638da5cb5b146106bd57806395d89b41146106e85780639c6bff9914610713578063a22cb4651461073c57610288565b80633ccfd60b116101fe57806355f804b3116101b757806355f804b31461055b578063573faa2d146105845780636352211e146105ad5780636a42a2e0146105ea5780636b14683b1461061357806370a082311461063e57610288565b80633ccfd60b146104855780633d18b9121461049c57806340675ade146104b357806342842e0e146104de5780634e71d92d146105075780634f6ccce71461051e57610288565b806318160ddd1161025057806318160ddd1461038457806323b872dd146103af57806323ffce85146103d85780632839b8ff146104015780632f745c591461042c5780633a66910e1461046957610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b314610332578063109695231461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614197565b610a8b565b6040516102c191906141df565b60405180910390f35b3480156102d657600080fd5b506102df610b05565b6040516102ec9190614293565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906142eb565b610b97565b6040516103299190614359565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906143a0565b610c1c565b005b34801561036757600080fd5b50610382600480360381019061037d9190614515565b610d34565b005b34801561039057600080fd5b50610399610dca565b6040516103a6919061456d565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190614588565b610dd7565b005b3480156103e457600080fd5b506103ff60048036038101906103fa91906145db565b610f2d565b005b34801561040d57600080fd5b50610416610fed565b604051610423919061456d565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e91906143a0565b610ff4565b604051610460919061456d565b60405180910390f35b610483600480360381019061047e91906142eb565b611099565b005b34801561049157600080fd5b5061049a611331565b005b3480156104a857600080fd5b506104b1611409565b005b3480156104bf57600080fd5b506104c861152a565b6040516104d5919061456d565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190614588565b611530565b005b34801561051357600080fd5b5061051c611550565b005b34801561052a57600080fd5b50610545600480360381019061054091906142eb565b6115fa565b604051610552919061456d565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190614515565b61166b565b005b34801561059057600080fd5b506105ab60048036038101906105a691906142eb565b611701565b005b3480156105b957600080fd5b506105d460048036038101906105cf91906142eb565b6118c7565b6040516105e19190614359565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190614608565b611979565b005b34801561061f57600080fd5b50610628611a07565b604051610635919061456d565b60405180910390f35b34801561064a57600080fd5b50610665600480360381019061066091906145db565b611a0d565b604051610672919061456d565b60405180910390f35b34801561068757600080fd5b50610690611ac5565b005b34801561069e57600080fd5b506106a7611b4d565b6040516106b491906146a7565b60405180910390f35b3480156106c957600080fd5b506106d2611b73565b6040516106df9190614359565b60405180910390f35b3480156106f457600080fd5b506106fd611b9d565b60405161070a9190614293565b60405180910390f35b34801561071f57600080fd5b5061073a60048036038101906107359190614608565b611c2f565b005b34801561074857600080fd5b50610763600480360381019061075e91906146ee565b611ce9565b005b34801561077157600080fd5b5061077a611cff565b6040516107879190614293565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b29190614608565b611d8d565b005b3480156107c557600080fd5b506107ce611e47565b6040516107db91906141df565b60405180910390f35b3480156107f057600080fd5b5061080b600480360381019061080691906147cf565b611e5a565b005b34801561081957600080fd5b50610822611fb2565b60405161082f91906141df565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a9190614852565b611fc5565b005b34801561086d57600080fd5b50610888600480360381019061088391906142eb565b612148565b6040516108959190614293565b60405180910390f35b6108b860048036038101906108b391906142eb565b6121ef565b005b3480156108c657600080fd5b506108e160048036038101906108dc91906145db565b612487565b6040516108ee919061456d565b60405180910390f35b34801561090357600080fd5b5061091e600480360381019061091991906142eb565b61249f565b60405161092b9190614293565b60405180910390f35b34801561094057600080fd5b5061094961253f565b604051610956919061456d565b60405180910390f35b34801561096b57600080fd5b50610974612545565b6040516109819190614293565b60405180910390f35b34801561099657600080fd5b5061099f6125d3565b6040516109ac91906141df565b60405180910390f35b3480156109c157600080fd5b506109ca6125e6565b6040516109d7919061456d565b60405180910390f35b6109fa60048036038101906109f591906142eb565b6125ec565b005b348015610a0857600080fd5b50610a236004803603810190610a1e91906148ae565b612783565b604051610a3091906141df565b60405180910390f35b348015610a4557600080fd5b50610a606004803603810190610a5b9190614608565b612817565b005b348015610a6e57600080fd5b50610a896004803603810190610a8491906145db565b6128d1565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610afe5750610afd826129c9565b5b9050919050565b606060008054610b149061491d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b409061491d565b8015610b8d5780601f10610b6257610100808354040283529160200191610b8d565b820191906000526020600020905b815481529060010190602001808311610b7057829003601f168201915b5050505050905090565b6000610ba282612aab565b610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd8906149c1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c27826118c7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8f90614a53565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb7612b17565b73ffffffffffffffffffffffffffffffffffffffff161480610ce65750610ce581610ce0612b17565b612783565b5b610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c90614ae5565b60405180910390fd5b610d2f8383612b1f565b505050565b610d3c612b17565b73ffffffffffffffffffffffffffffffffffffffff16610d5a611b73565b73ffffffffffffffffffffffffffffffffffffffff1614610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790614b51565b60405180910390fd5b80600b9080519060200190610dc6929190614088565b5050565b6000600880549050905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa8484846040518463ffffffff1660e01b8152600401610e3693929190614b71565b600060405180830381600087803b158015610e5057600080fd5b505af1158015610e64573d6000803e3d6000fd5b50505050611ce8811015610f1d57601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610ec290614bd7565b9190505550601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f1790614c01565b91905055505b610f28838383612bd8565b505050565b610f35612b17565b73ffffffffffffffffffffffffffffffffffffffff16610f53611b73565b73ffffffffffffffffffffffffffffffffffffffff1614610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090614b51565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620186a081565b6000610fff83611a0d565b8210611040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103790614cbc565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601360019054906101000a900460ff166110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90614d4e565b60405180910390fd5b6000600d54116110f757600080fd5b601054611102610dca565b111561110d57600080fd5b600d54811115611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614de0565b60405180910390fd5b620186a08161115f610dca565b6111699190614e00565b11156111aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a190614ec8565b60405180910390fd5b3481600e546111b99190614ee8565b11156111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f190614f8e565b60405180910390fd5b60005b818110156112a057600061120f610dca565b905060105461121c610dca565b1161128c5761122b3382612c38565b611ce881101561128b57601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061128590614c01565b91905055505b5b50808061129890614c01565b9150506111fd565b50601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638f7985a8336040518263ffffffff1660e01b81526004016112fc9190614359565b600060405180830381600087803b15801561131657600080fd5b505af115801561132a573d6000803e3d6000fd5b5050505050565b611339612b17565b73ffffffffffffffffffffffffffffffffffffffff16611357611b73565b73ffffffffffffffffffffffffffffffffffffffff16146113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a490614b51565b60405180910390fd5b6000479050600081116113bf57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611405573d6000803e3d6000fd5b5050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa336000806040518463ffffffff1660e01b815260040161146993929190614fe9565b600060405180830381600087803b15801561148357600080fd5b505af1158015611497573d6000803e3d6000fd5b50505050601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c00007b0336040518263ffffffff1660e01b81526004016114f69190614359565b600060405180830381600087803b15801561151057600080fd5b505af1158015611524573d6000803e3d6000fd5b50505050565b600e5481565b61154b83838360405180602001604052806000815250611e5a565b505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac336012546040518363ffffffff1660e01b81526004016115af929190615020565b600060405180830381600087803b1580156115c957600080fd5b505af11580156115dd573d6000803e3d6000fd5b5050505060006115eb610dca565b90506115f73382612c38565b50565b6000611604610dca565b8210611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c906150bb565b60405180910390fd5b60088281548110611659576116586150db565b5b90600052602060002001549050919050565b611673612b17565b73ffffffffffffffffffffffffffffffffffffffff16611691611b73565b73ffffffffffffffffffffffffffffffffffffffff16146116e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116de90614b51565b60405180910390fd5b80600c90805190602001906116fd929190614088565b5050565b611709612b17565b73ffffffffffffffffffffffffffffffffffffffff16611727611b73565b73ffffffffffffffffffffffffffffffffffffffff161461177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490614b51565b60405180910390fd5b6000611787610dca565b905060005b8281101561183557620186a06117a0610dca565b101561182257600081836117b49190614e00565b90506117c03382612c38565b611ce881101561182057601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061181a90614c01565b91905055505b505b808061182d90614c01565b91505061178c565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638f7985a8336040518263ffffffff1660e01b81526004016118909190614359565b600060405180830381600087803b1580156118aa57600080fd5b505af11580156118be573d6000803e3d6000fd5b50505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119679061517c565b60405180910390fd5b80915050919050565b611981612b17565b73ffffffffffffffffffffffffffffffffffffffff1661199f611b73565b73ffffffffffffffffffffffffffffffffffffffff16146119f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ec90614b51565b60405180910390fd5b81601181905550806012819055505050565b60125481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a759061520e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611acd612b17565b73ffffffffffffffffffffffffffffffffffffffff16611aeb611b73565b73ffffffffffffffffffffffffffffffffffffffff1614611b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3890614b51565b60405180910390fd5b611b4b6000612c56565b565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611bac9061491d565b80601f0160208091040260200160405190810160405280929190818152602001828054611bd89061491d565b8015611c255780601f10611bfa57610100808354040283529160200191611c25565b820191906000526020600020905b815481529060010190602001808311611c0857829003601f168201915b5050505050905090565b611c37612b17565b73ffffffffffffffffffffffffffffffffffffffff16611c55611b73565b73ffffffffffffffffffffffffffffffffffffffff1614611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca290614b51565b60405180910390fd5b81600e81905550611cbb81612d1c565b601360019054906101000a900460ff1615601360016101000a81548160ff0219169083151502179055505050565b611cfb611cf4612b17565b8383612da2565b5050565b600b8054611d0c9061491d565b80601f0160208091040260200160405190810160405280929190818152602001828054611d389061491d565b8015611d855780601f10611d5a57610100808354040283529160200191611d85565b820191906000526020600020905b815481529060010190602001808311611d6857829003601f168201915b505050505081565b611d95612b17565b73ffffffffffffffffffffffffffffffffffffffff16611db3611b73565b73ffffffffffffffffffffffffffffffffffffffff1614611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0090614b51565b60405180910390fd5b81600e81905550611e1981612d1c565b601360029054906101000a900460ff1615601360026101000a81548160ff0219169083151502179055505050565b601360009054906101000a900460ff1681565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa8585856040518463ffffffff1660e01b8152600401611eb993929190614b71565b600060405180830381600087803b158015611ed357600080fd5b505af1158015611ee7573d6000803e3d6000fd5b50505050611ce8821015611fa057601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611f4590614bd7565b9190505550601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611f9a90614c01565b91905055505b611fac84848484612f0f565b50505050565b601360029054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16611fe5836118c7565b73ffffffffffffffffffffffffffffffffffffffff161461200557600080fd5b6001151561201282612f71565b151514612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b9061527a565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac336011546040518363ffffffff1660e01b81526004016120b3929190615020565b600060405180830381600087803b1580156120cd57600080fd5b505af11580156120e1573d6000803e3d6000fd5b505050508060146000848152602001908152602001600020908051906020019061210c929190614088565b507f4737457377f528cc8afd815f73ecb8b05df80d047dbffc41c17750a4033592bc8160405161213c9190614293565b60405180910390a15050565b606061215382612aab565b612192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121899061530c565b60405180910390fd5b600061219c6132a3565b905060008151116121bc57604051806020016040528060008152506121e7565b806121c684613335565b6040516020016121d7929190615368565b6040516020818303038152906040525b915050919050565b601360009054906101000a900460ff1661223e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223590614d4e565b60405180910390fd5b6000600d541161224d57600080fd5b600f54612258610dca565b111561226357600080fd5b600d548111156122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f90614de0565b60405180910390fd5b620186a0816122b5610dca565b6122bf9190614e00565b1115612300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f790614ec8565b60405180910390fd5b3481600e5461230f9190614ee8565b1115612350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234790614f8e565b60405180910390fd5b60005b818110156123f6576000612365610dca565b9050600f54612372610dca565b116123e2576123813382612c38565b611ce88110156123e157601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906123db90614c01565b91905055505b5b5080806123ee90614c01565b915050612353565b50601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638f7985a8336040518263ffffffff1660e01b81526004016124529190614359565b600060405180830381600087803b15801561246c57600080fd5b505af1158015612480573d6000803e3d6000fd5b5050505050565b60156020528060005260406000206000915090505481565b601460205280600052604060002060009150905080546124be9061491d565b80601f01602080910402602001604051908101604052809291908181526020018280546124ea9061491d565b80156125375780601f1061250c57610100808354040283529160200191612537565b820191906000526020600020905b81548152906001019060200180831161251a57829003601f168201915b505050505081565b60115481565b600c80546125529061491d565b80601f016020809104026020016040519081016040528092919081815260200182805461257e9061491d565b80156125cb5780601f106125a0576101008083540402835291602001916125cb565b820191906000526020600020905b8154815290600101906020018083116125ae57829003601f168201915b505050505081565b601360019054906101000a900460ff1681565b600d5481565b601360029054906101000a900460ff1661263b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263290614d4e565b60405180910390fd5b6000600d541161264a57600080fd5b600d5481111561268f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268690614de0565b60405180910390fd5b620186a08161269c610dca565b6126a69190614e00565b11156126e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126de90614ec8565b60405180910390fd5b3481600e546126f69190614ee8565b1115612737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272e90614f8e565b60405180910390fd5b60005b8181101561277f57600061274c610dca565b9050620186a061275a610dca565b101561276b5761276a3382612c38565b5b50808061277790614c01565b91505061273a565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61281f612b17565b73ffffffffffffffffffffffffffffffffffffffff1661283d611b73565b73ffffffffffffffffffffffffffffffffffffffff1614612893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288a90614b51565b60405180910390fd5b81600e819055506128a381612d1c565b601360009054906101000a900460ff1615601360006101000a81548160ff0219169083151502179055505050565b6128d9612b17565b73ffffffffffffffffffffffffffffffffffffffff166128f7611b73565b73ffffffffffffffffffffffffffffffffffffffff161461294d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294490614b51565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b4906153fe565b60405180910390fd5b6129c681612c56565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a9457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612aa45750612aa382613496565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b92836118c7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612be9612be3612b17565b82613500565b612c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1f90615490565b60405180910390fd5b612c338383836135de565b505050565b612c5282826040518060200160405280600081525061383a565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d24612b17565b73ffffffffffffffffffffffffffffffffffffffff16612d42611b73565b73ffffffffffffffffffffffffffffffffffffffff1614612d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8f90614b51565b60405180910390fd5b80600d8190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e08906154fc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f0291906141df565b60405180910390a3505050565b612f20612f1a612b17565b83613500565b612f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5690615490565b60405180910390fd5b612f6b84848484613895565b50505050565b600080829050600181511015612f8b57600091505061329e565b601981511115612f9f57600091505061329e565b602060f81b81600081518110612fb857612fb76150db565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612ff557600091505061329e565b602060f81b8160018351613009919061551c565b8151811061301a576130196150db565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561305757600091505061329e565b60008160008151811061306d5761306c6150db565b5b602001015160f81c60f81b905060005b825181101561329657600083828151811061309b5761309a6150db565b5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480156131025750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b1561311457600094505050505061329e565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156131705750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156131d65750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156131d45750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561323b5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156132395750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561326d5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561327f57600094505050505061329e565b80925050808061328e90614c01565b91505061307d565b506001925050505b919050565b6060600c80546132b29061491d565b80601f01602080910402602001604051908101604052809291908181526020018280546132de9061491d565b801561332b5780601f106133005761010080835404028352916020019161332b565b820191906000526020600020905b81548152906001019060200180831161330e57829003601f168201915b5050505050905090565b6060600082141561337d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613491565b600082905060005b600082146133af57808061339890614c01565b915050600a826133a8919061557f565b9150613385565b60008167ffffffffffffffff8111156133cb576133ca6143ea565b5b6040519080825280601f01601f1916602001820160405280156133fd5781602001600182028036833780820191505090505b5090505b6000851461348a57600182613416919061551c565b9150600a8561342591906155b0565b60306134319190614e00565b60f81b818381518110613447576134466150db565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613483919061557f565b9450613401565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061350b82612aab565b61354a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354190615653565b60405180910390fd5b6000613555836118c7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806135c457508373ffffffffffffffffffffffffffffffffffffffff166135ac84610b97565b73ffffffffffffffffffffffffffffffffffffffff16145b806135d557506135d48185612783565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166135fe826118c7565b73ffffffffffffffffffffffffffffffffffffffff1614613654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364b906156e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bb90615777565b60405180910390fd5b6136cf8383836138f1565b6136da600082612b1f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461372a919061551c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137819190614e00565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6138448383613a05565b6138516000848484613bd3565b613890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388790615809565b60405180910390fd5b505050565b6138a08484846135de565b6138ac84848484613bd3565b6138eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e290615809565b60405180910390fd5b50505050565b6138fc838383613d6a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561393f5761393a81613d6f565b61397e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461397d5761397c8382613db8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139c1576139bc81613f25565b613a00565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139ff576139fe8282613ff6565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6c90615875565b60405180910390fd5b613a7e81612aab565b15613abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab5906158e1565b60405180910390fd5b613aca600083836138f1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b1a9190614e00565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000613bf48473ffffffffffffffffffffffffffffffffffffffff16614075565b15613d5d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c1d612b17565b8786866040518563ffffffff1660e01b8152600401613c3f9493929190615956565b602060405180830381600087803b158015613c5957600080fd5b505af1925050508015613c8a57506040513d601f19601f82011682018060405250810190613c8791906159b7565b60015b613d0d573d8060008114613cba576040519150601f19603f3d011682016040523d82523d6000602084013e613cbf565b606091505b50600081511415613d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cfc90615809565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613d62565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613dc584611a0d565b613dcf919061551c565b9050600060076000848152602001908152602001600020549050818114613eb4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613f39919061551c565b9050600060096000848152602001908152602001600020549050600060088381548110613f6957613f686150db565b5b906000526020600020015490508060088381548110613f8b57613f8a6150db565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613fda57613fd96159e4565b5b6001900381819060005260206000200160009055905550505050565b600061400183611a0d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546140949061491d565b90600052602060002090601f0160209004810192826140b657600085556140fd565b82601f106140cf57805160ff19168380011785556140fd565b828001600101855582156140fd579182015b828111156140fc5782518255916020019190600101906140e1565b5b50905061410a919061410e565b5090565b5b8082111561412757600081600090555060010161410f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6141748161413f565b811461417f57600080fd5b50565b6000813590506141918161416b565b92915050565b6000602082840312156141ad576141ac614135565b5b60006141bb84828501614182565b91505092915050565b60008115159050919050565b6141d9816141c4565b82525050565b60006020820190506141f460008301846141d0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614234578082015181840152602081019050614219565b83811115614243576000848401525b50505050565b6000601f19601f8301169050919050565b6000614265826141fa565b61426f8185614205565b935061427f818560208601614216565b61428881614249565b840191505092915050565b600060208201905081810360008301526142ad818461425a565b905092915050565b6000819050919050565b6142c8816142b5565b81146142d357600080fd5b50565b6000813590506142e5816142bf565b92915050565b60006020828403121561430157614300614135565b5b600061430f848285016142d6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061434382614318565b9050919050565b61435381614338565b82525050565b600060208201905061436e600083018461434a565b92915050565b61437d81614338565b811461438857600080fd5b50565b60008135905061439a81614374565b92915050565b600080604083850312156143b7576143b6614135565b5b60006143c58582860161438b565b92505060206143d6858286016142d6565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61442282614249565b810181811067ffffffffffffffff82111715614441576144406143ea565b5b80604052505050565b600061445461412b565b90506144608282614419565b919050565b600067ffffffffffffffff8211156144805761447f6143ea565b5b61448982614249565b9050602081019050919050565b82818337600083830152505050565b60006144b86144b384614465565b61444a565b9050828152602081018484840111156144d4576144d36143e5565b5b6144df848285614496565b509392505050565b600082601f8301126144fc576144fb6143e0565b5b813561450c8482602086016144a5565b91505092915050565b60006020828403121561452b5761452a614135565b5b600082013567ffffffffffffffff8111156145495761454861413a565b5b614555848285016144e7565b91505092915050565b614567816142b5565b82525050565b6000602082019050614582600083018461455e565b92915050565b6000806000606084860312156145a1576145a0614135565b5b60006145af8682870161438b565b93505060206145c08682870161438b565b92505060406145d1868287016142d6565b9150509250925092565b6000602082840312156145f1576145f0614135565b5b60006145ff8482850161438b565b91505092915050565b6000806040838503121561461f5761461e614135565b5b600061462d858286016142d6565b925050602061463e858286016142d6565b9150509250929050565b6000819050919050565b600061466d61466861466384614318565b614648565b614318565b9050919050565b600061467f82614652565b9050919050565b600061469182614674565b9050919050565b6146a181614686565b82525050565b60006020820190506146bc6000830184614698565b92915050565b6146cb816141c4565b81146146d657600080fd5b50565b6000813590506146e8816146c2565b92915050565b6000806040838503121561470557614704614135565b5b60006147138582860161438b565b9250506020614724858286016146d9565b9150509250929050565b600067ffffffffffffffff821115614749576147486143ea565b5b61475282614249565b9050602081019050919050565b600061477261476d8461472e565b61444a565b90508281526020810184848401111561478e5761478d6143e5565b5b614799848285614496565b509392505050565b600082601f8301126147b6576147b56143e0565b5b81356147c684826020860161475f565b91505092915050565b600080600080608085870312156147e9576147e8614135565b5b60006147f78782880161438b565b94505060206148088782880161438b565b9350506040614819878288016142d6565b925050606085013567ffffffffffffffff81111561483a5761483961413a565b5b614846878288016147a1565b91505092959194509250565b6000806040838503121561486957614868614135565b5b6000614877858286016142d6565b925050602083013567ffffffffffffffff8111156148985761489761413a565b5b6148a4858286016144e7565b9150509250929050565b600080604083850312156148c5576148c4614135565b5b60006148d38582860161438b565b92505060206148e48582860161438b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061493557607f821691505b60208210811415614949576149486148ee565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006149ab602c83614205565b91506149b68261494f565b604082019050919050565b600060208201905081810360008301526149da8161499e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a3d602183614205565b9150614a48826149e1565b604082019050919050565b60006020820190508181036000830152614a6c81614a30565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614acf603883614205565b9150614ada82614a73565b604082019050919050565b60006020820190508181036000830152614afe81614ac2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b3b602083614205565b9150614b4682614b05565b602082019050919050565b60006020820190508181036000830152614b6a81614b2e565b9050919050565b6000606082019050614b86600083018661434a565b614b93602083018561434a565b614ba0604083018461455e565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614be2826142b5565b91506000821415614bf657614bf5614ba8565b5b600182039050919050565b6000614c0c826142b5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c3f57614c3e614ba8565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614ca6602b83614205565b9150614cb182614c4a565b604082019050919050565b60006020820190508181036000830152614cd581614c99565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e74204e6f756e60008201527f7333440000000000000000000000000000000000000000000000000000000000602082015250565b6000614d38602383614205565b9150614d4382614cdc565b604082019050919050565b60006020820190508181036000830152614d6781614d2b565b9050919050565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e7360008201527f20696e2061207472616e73616374696f6e000000000000000000000000000000602082015250565b6000614dca603183614205565b9150614dd582614d6e565b604082019050919050565b60006020820190508181036000830152614df981614dbd565b9050919050565b6000614e0b826142b5565b9150614e16836142b5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e4b57614e4a614ba8565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204e6f756e733344000000000000000000000000000000000000000000602082015250565b6000614eb2602b83614205565b9150614ebd82614e56565b604082019050919050565b60006020820190508181036000830152614ee181614ea5565b9050919050565b6000614ef3826142b5565b9150614efe836142b5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f3757614f36614ba8565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614f78601f83614205565b9150614f8382614f42565b602082019050919050565b60006020820190508181036000830152614fa781614f6b565b9050919050565b6000819050919050565b6000614fd3614fce614fc984614fae565b614648565b6142b5565b9050919050565b614fe381614fb8565b82525050565b6000606082019050614ffe600083018661434a565b61500b602083018561434a565b6150186040830184614fda565b949350505050565b6000604082019050615035600083018561434a565b615042602083018461455e565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006150a5602c83614205565b91506150b082615049565b604082019050919050565b600060208201905081810360008301526150d481615098565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615166602983614205565b91506151718261510a565b604082019050919050565b6000602082019050818103600083015261519581615159565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151f8602a83614205565b91506152038261519c565b604082019050919050565b60006020820190508181036000830152615227816151eb565b9050919050565b7f496e76616c6964206e616d650000000000000000000000000000000000000000600082015250565b6000615264600c83614205565b915061526f8261522e565b602082019050919050565b6000602082019050818103600083015261529381615257565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006152f6602f83614205565b91506153018261529a565b604082019050919050565b60006020820190508181036000830152615325816152e9565b9050919050565b600081905092915050565b6000615342826141fa565b61534c818561532c565b935061535c818560208601614216565b80840191505092915050565b60006153748285615337565b91506153808284615337565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153e8602683614205565b91506153f38261538c565b604082019050919050565b60006020820190508181036000830152615417816153db565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061547a603183614205565b91506154858261541e565b604082019050919050565b600060208201905081810360008301526154a98161546d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006154e6601983614205565b91506154f1826154b0565b602082019050919050565b60006020820190508181036000830152615515816154d9565b9050919050565b6000615527826142b5565b9150615532836142b5565b92508282101561554557615544614ba8565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061558a826142b5565b9150615595836142b5565b9250826155a5576155a4615550565b5b828204905092915050565b60006155bb826142b5565b91506155c6836142b5565b9250826155d6576155d5615550565b5b828206905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061563d602c83614205565b9150615648826155e1565b604082019050919050565b6000602082019050818103600083015261566c81615630565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006156cf602983614205565b91506156da82615673565b604082019050919050565b600060208201905081810360008301526156fe816156c2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615761602483614205565b915061576c82615705565b604082019050919050565b6000602082019050818103600083015261579081615754565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006157f3603283614205565b91506157fe82615797565b604082019050919050565b60006020820190508181036000830152615822816157e6565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061585f602083614205565b915061586a82615829565b602082019050919050565b6000602082019050818103600083015261588e81615852565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006158cb601c83614205565b91506158d682615895565b602082019050919050565b600060208201905081810360008301526158fa816158be565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061592882615901565b615932818561590c565b9350615942818560208601614216565b61594b81614249565b840191505092915050565b600060808201905061596b600083018761434a565b615978602083018661434a565b615985604083018561455e565b8181036060830152615997818461591d565b905095945050505050565b6000815190506159b18161416b565b92915050565b6000602082840312156159cd576159cc614135565b5b60006159db848285016159a2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122010ba61abc3d59d031ff7bc377375376b807398c2632ec88f0164728a1711b0e864736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e6e6f756e7333642e636f6d2f746f6b656e2f0000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.nouns3d.com/token/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [2] : 68747470733a2f2f6170692e6e6f756e7333642e636f6d2f746f6b656e2f0000


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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