ETH Price: $2,937.68 (+4.67%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...209005622024-10-05 16:34:4733 days ago1728146087IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000294196.37097322
Safe Transfer Fr...208728542024-10-01 19:52:2337 days ago1727812343IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0015756918.13857685
Set Approval For...208574572024-09-29 16:21:3539 days ago1727626895IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0002788111.49006729
Safe Transfer Fr...208574342024-09-29 16:16:5939 days ago1727626619IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0008785110.11436648
Set Approval For...208512082024-09-28 19:25:1140 days ago1727551511IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000330127.14902707
Set Approval For...207487082024-09-14 12:00:3555 days ago1726315235IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000096972.1
Set Approval For...207064292024-09-08 14:16:2360 days ago1725804983IN
IN NOISE WE TRUST: INWT Token
0 ETH0.00009171.98586689
Safe Transfer Fr...206955332024-09-07 1:48:3562 days ago1725673715IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000145351.67352205
Set Approval For...201001132024-06-15 22:16:35145 days ago1718489795IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000139643.02396809
Set Approval For...200766502024-06-12 15:29:59148 days ago1718206199IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0012394726.84121913
Set Approval For...200550762024-06-09 15:10:59151 days ago1717945859IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000797317.26592913
Set Approval For...200540412024-06-09 11:43:11152 days ago1717933391IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000218764.73750555
Set Approval For...197777352024-05-01 20:41:23190 days ago1714596083IN
IN NOISE WE TRUST: INWT Token
0 ETH0.00034947.56658257
Set Approval For...197539022024-04-28 12:45:47194 days ago1714308347IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000296466.42008864
Set Approval For...197348702024-04-25 20:48:47196 days ago1714078127IN
IN NOISE WE TRUST: INWT Token
0 ETH0.000408968.85630289
Set Approval For...194538012024-03-17 9:53:35236 days ago1710669215IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0015626633.7873537
Set Approval For...194529452024-03-17 7:00:59236 days ago1710658859IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0014930332.27339818
Set Approval For...192307432024-02-15 3:47:11267 days ago1707968831IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0008127517.6005246
Set Approval For...192288692024-02-14 21:27:23267 days ago1707946043IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0013817229.86748827
Safe Transfer Fr...191814072024-02-08 5:37:59274 days ago1707370679IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0039755645.82994736
Set Approval For...191047222024-01-28 11:24:47285 days ago1706441087IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0006836614.80505861
Safe Transfer Fr...190910692024-01-26 13:27:11286 days ago1706275631IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0020520523.62545132
Withdraw189043052023-12-31 8:34:59313 days ago1704011699IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0004525314.70876994
Set Approval For...188413212023-12-22 12:15:35322 days ago1703247335IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0013645529.54982806
Safe Transfer Fr...187817162023-12-14 3:29:47330 days ago1702524587IN
IN NOISE WE TRUST: INWT Token
0 ETH0.0040522546.65384288
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
189043052023-12-31 8:34:59313 days ago1704011699
IN NOISE WE TRUST: INWT Token
2.424 ETH
145212352022-04-04 18:51:54948 days ago1649098314
IN NOISE WE TRUST: INWT Token
125.85599999 ETH
145209012022-04-04 17:38:04948 days ago1649093884
IN NOISE WE TRUST: INWT Token
1 ETH
145208902022-04-04 17:35:33948 days ago1649093733
IN NOISE WE TRUST: INWT Token
1 wei
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InNoiseWeTrust

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 20 runs

Other Settings:
default evmVersion
File 1 of 15 : InNoiseWeTrust.sol
// SPDX-License-Identifier: No License
// Copyright 404.zero, 2022

pragma solidity ^0.8.11;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

contract InNoiseWeTrust is ERC721, ERC721Enumerable, Ownable, ReentrancyGuard {
    using Strings for uint256;

    string public constant MANIFEST = (
        'ALL INFORMATION EXISTS IN THE CODE - NOTHING IS HIDDEN.\n'
        'ONCE THE CODE IS EXECUTED - WE ARE UNABLE TO CHANGE IT OR STOP IT.\n'
        'WE DO NOT HAVE FRIENDLY WHITELISTS - NOISE IS THE ONLY ACCESS TO INWT404.\n\n'

        'WE ONLY TALK TO THE NOISEFAMILY.\n'
        'ANYTHING THAT CAN BE SAID IS HIDDEN IN THE NOISE.\n'
        'EVERYTHING WE WILL SAY IS HIDDEN IN THE NOISE.\n'
        'DO NOT LOOK ELSEWHERE.\n\n'

        'NOISE WILL BE REBORN AS ENDLESSLY AS ALL OTHERS IN THIS WORLD.\n'
        'IN THE END, YOU CAN BRING NOTHING,\n'
        'BUT THE NOISE WILL ALWAYS FOLLOW YOU.\n'
        'DO NOT RESIST.\n\n'

        'WE FOLLOW A PARADIGM OF NOISE.\n'
        'WE DO NOT DEAL IN OTHER POLEMICS,\n'
        'WE TALK ONLY OF THE UNIFIED PERCEPTION OF THE WORLD,\n'
        'EXPRESSED THROUGH THE SINGLE MATERIAL AVAILABLE TO US,\n'
        'NOISE\n\n'

        'ANYTHING MORE THAN THAT IS AN ABUNDANCE OF LIARS.\n'
        'ANYTHING LESS THAN THAT IS HUMAN FEAR.\n\n'

        'DO NOT SEEK BEAUTY OUTSIDE.\n'
        'FIND THE NOISE INSIDE.\n\n'

        'AMEN\n\n'

        'IN NOISE WE TRUST'
    );

    struct NoiseDNA {
       bytes32 dna;
       uint256 programId;
       uint256 hinId;
       uint256 blockNumber;
    }

    struct NoiseShader {
        string sourceCode;
        string uniformTypes;
    }

    struct NoiseProgram {
        string sourceCode;
        uint256[] shaderIds;
    }

    address public constant HIN_ADDRESS = 0xf55dD62034b534e71Cb17EF6E2Bb112e93d6131A;
    uint256 public constant MINT_PRICE = 0.404 ether;
    uint256 public constant MINT_DURATION = 404;

    uint256 public lfgBlockNumber;

    mapping(uint256 => NoiseDNA) private _noiseDNA;
    mapping(uint256 => NoiseShader) private _noiseShaders;
    mapping(uint256 => NoiseProgram) private _noisePrograms;

    string public _noiseCore;

    mapping(uint256 => uint256) private _hinMints;

    constructor(string memory name, string memory symbol) ERC721(name, symbol) {
    }

    modifier notLockedForever() {
        require((lfgBlockNumber + MINT_DURATION) > block.number || lfgBlockNumber == 0, "Contract is self-locked forever after the community drop");
        _;
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function lfg(uint256 blockNumber) public onlyOwner notLockedForever {
        require(block.number <= blockNumber, "LFG should be greater than or equal to the current block");

        lfgBlockNumber = blockNumber;
    }

    function withdraw(uint256 amount) public payable onlyOwner {
        require(amount <= address(this).balance, "Insufficient funds to withdraw");

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

    function mint(uint256[] calldata hinIds) public payable nonReentrant {
        require(block.number >= lfgBlockNumber && (lfgBlockNumber != 0), "Sale has not started yet");
        require(block.number < (lfgBlockNumber + MINT_DURATION), "Sale has already ended");

        require(hinIds.length > 0, "Mint at least 1 INWT at once");
        require(hinIds.length <= 10, "You can only mint 10 INWT at once");

        require(msg.value >= (MINT_PRICE * hinIds.length), "Insufficient funds to purchase");

        IERC721Enumerable hinContract = IERC721Enumerable(HIN_ADDRESS);

        for (uint256 i = 0; i < hinIds.length; i++) {
            uint256 hinId = hinIds[i];

            require(hinContract.ownerOf(hinId) == msg.sender, "You are not the owner of this HIN");
            require(_hinMints[hinId] == 0, "INWT with this HIN has already been minted");

            uint256 inwtId = totalSupply();

            _safeMint(msg.sender, inwtId);
            _synthesizeNoiseDNA(block.number, hinId, inwtId);

            _hinMints[hinId]++;
        }
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "Token does not exist");

        return string(
            abi.encodePacked(
                'data:application/json,'

                '{'
                    '"name":"', _noiseName(tokenId), '",'
                    '"description":"', _noiseDescription(tokenId), '",'
                    '"animation_url":"data:text/html;base64,', Base64.encode(_compileNoiseHTML(tokenId)), '",'
                    '"background_color":"000000"'
                '}'
            )
        );
    }

    function hinTokensCanMint(uint256[] calldata hinIds) public view returns (bool[] memory) {
        bool[] memory result = new bool[](hinIds.length);

        for (uint256 i = 0; i < hinIds.length; i++) {
            result[i] = _hinMints[hinIds[i]] == 0;
        }

        return result;
    }

    function hinTokenCanMint(uint256 hinId) public view returns (bool) {
        return _hinMints[hinId] == 0;
    }

    function noiseDNA(uint256 noiseId) public view virtual returns (NoiseDNA memory) {
        require(_exists(noiseId), "Noise does not exist");

        return _noiseDNA[noiseId];
    }

    function noiseHTML(uint256 noiseId) public view virtual returns (string memory) { // NOTE: Is it ok to return non base64-string? Noise holders should be available just copy-paste noises without any decoding.
        require(_exists(noiseId), "Noise does not exist");

        return string(_compileNoiseHTML(noiseId));
    }

    function setNoiseCore(string calldata core) public onlyOwner notLockedForever {
        _noiseCore = core;
    }

    function noiseCore() public view virtual returns (string memory) {
        return _noiseCore;
    }

    function setNoiseShader(uint256 shaderId, NoiseShader calldata shaderData) public onlyOwner notLockedForever {
        _noiseShaders[shaderId] = shaderData;
    }

    function noiseShader(uint256 shaderId) public view virtual returns (NoiseShader memory) {
        require(bytes(_noiseShaders[shaderId].sourceCode).length > 0, "Shader does not exist");

        return _noiseShaders[shaderId];
    }

    function setNoiseProgram(uint256 programId, NoiseProgram calldata programData) public onlyOwner notLockedForever {
        _noisePrograms[programId] = programData;
    }

    function noiseProgram(uint256 programId) public view virtual returns (NoiseProgram memory) {
        require(bytes(_noisePrograms[programId].sourceCode).length > 0, "Program does not exist");

        return _noisePrograms[programId];
    }

    function _synthesizeNoiseDNA(uint256 blockNumber, uint256 hinId, uint256 inwtId) private {
        _noiseDNA[inwtId] = NoiseDNA({
            dna: _mixNoiseDNA(blockNumber, hinId, inwtId),
            programId: _mixNoiseProgram(inwtId),
            hinId: hinId,
            blockNumber: blockNumber
        });
    }

    function _mixNoiseDNA(uint256 blockNumber, uint256 hinId, uint256 inwtId) private pure returns (bytes32) {
        return keccak256(abi.encode(blockNumber, hinId, inwtId));
    }

    function _mixNoiseProgram(uint256 inwtId) private pure returns (uint256) {
        return ((inwtId % 13) + ((inwtId * 2 + 19) % 17)) % 12;
    }

    function _noiseName(uint256 noiseId) private pure returns (bytes memory) {
        return abi.encodePacked('INWT ', (noiseId + 1).toString());
    }

    function _noiseDescription(uint256 noiseId) private view returns (bytes memory) {
        return abi.encodePacked('INNOISEWETRUST #', noiseId.toString(), '/', totalSupply().toString(), '. 404.zero, 2022');
    }

    function _compileNoiseHTML(uint256 noiseId) private view returns (bytes memory) {
        return abi.encodePacked(
            '<!DOCTYPE html>'
            '<html>'
                '<head>'
                    '<title>', _noiseName(noiseId), '</title>'
                    '<meta name="description" content="', _noiseDescription(noiseId), '" />'
                    '<style>body{background:#000;margin:0;padding:0;overflow:hidden;}</style>'
                '</head>'

                '<body>'
                    '<script type="application/javascript">', _noiseCore, _compileNoiseJS(noiseId), '</script>'
                '</body>'
            '</html>'

            '\n'
            '<!--'
            '\n', MANIFEST, '\n'
            '-->'
            '\n'
        );
    }

    function _compileNoiseJS(uint256 noiseId) private view returns (bytes memory) {
        NoiseProgram memory program = _noisePrograms[_noiseDNA[noiseId].programId];

        bytes memory shaders = '';

        for (uint256 i = 0; i < program.shaderIds.length; i++) {
            uint256 shaderId = program.shaderIds[i];

            shaders = abi.encodePacked(
                shaders, shaderId.toString(), ':["', _noiseShaders[shaderId].sourceCode, '","', _noiseShaders[shaderId].uniformTypes, '"],'
            );
        }

        return abi.encodePacked(
            'noise({', shaders, '},', program.sourceCode, ',"', Strings.toHexString(uint256(_noiseDNA[noiseId].dna), 32), '");'
        );
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 3 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 15 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"HIN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANIFEST","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_noiseCore","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"hinId","type":"uint256"}],"name":"hinTokenCanMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"hinIds","type":"uint256[]"}],"name":"hinTokensCanMint","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"lfg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lfgBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"hinIds","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"noiseCore","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"noiseId","type":"uint256"}],"name":"noiseDNA","outputs":[{"components":[{"internalType":"bytes32","name":"dna","type":"bytes32"},{"internalType":"uint256","name":"programId","type":"uint256"},{"internalType":"uint256","name":"hinId","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"internalType":"struct InNoiseWeTrust.NoiseDNA","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"noiseId","type":"uint256"}],"name":"noiseHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"programId","type":"uint256"}],"name":"noiseProgram","outputs":[{"components":[{"internalType":"string","name":"sourceCode","type":"string"},{"internalType":"uint256[]","name":"shaderIds","type":"uint256[]"}],"internalType":"struct InNoiseWeTrust.NoiseProgram","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shaderId","type":"uint256"}],"name":"noiseShader","outputs":[{"components":[{"internalType":"string","name":"sourceCode","type":"string"},{"internalType":"string","name":"uniformTypes","type":"string"}],"internalType":"struct InNoiseWeTrust.NoiseShader","name":"","type":"tuple"}],"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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"core","type":"string"}],"name":"setNoiseCore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"programId","type":"uint256"},{"components":[{"internalType":"string","name":"sourceCode","type":"string"},{"internalType":"uint256[]","name":"shaderIds","type":"uint256[]"}],"internalType":"struct InNoiseWeTrust.NoiseProgram","name":"programData","type":"tuple"}],"name":"setNoiseProgram","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shaderId","type":"uint256"},{"components":[{"internalType":"string","name":"sourceCode","type":"string"},{"internalType":"string","name":"uniformTypes","type":"string"}],"internalType":"struct InNoiseWeTrust.NoiseShader","name":"shaderData","type":"tuple"}],"name":"setNoiseShader","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040523480156200001157600080fd5b50604051620042ac380380620042ac833981016040819052620000349162000256565b8151829082906200004d906000906020850190620000e3565b50805162000063906001906020840190620000e3565b505050620000806200007a6200008d60201b60201c565b62000091565b50506001600b55620002fd565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000f190620002c0565b90600052602060002090601f01602090048101928262000115576000855562000160565b82601f106200013057805160ff191683800117855562000160565b8280016001018555821562000160579182015b828111156200016057825182559160200191906001019062000143565b506200016e92915062000172565b5090565b5b808211156200016e576000815560010162000173565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001b157600080fd5b81516001600160401b0380821115620001ce57620001ce62000189565b604051601f8301601f19908116603f01168101908282118183101715620001f957620001f962000189565b816040528381526020925086838588010111156200021657600080fd5b600091505b838210156200023a57858201830151818301840152908201906200021b565b838211156200024c5760008385830101525b9695505050505050565b600080604083850312156200026a57600080fd5b82516001600160401b03808211156200028257600080fd5b62000290868387016200019f565b93506020850151915080821115620002a757600080fd5b50620002b6858286016200019f565b9150509250929050565b600181811c90821680620002d557607f821691505b60208210811415620002f757634e487b7160e01b600052602260045260246000fd5b50919050565b613f9f806200030d6000396000f3fe6080604052600436106101c55760003560e01c8063729cf32c116100f3578063729cf32c1461045857806386d48096146104855780638da5cb5b146104b257806395d89b41146104c75780639d3e6897146104dc578063a22cb465146104fc578063a6d26a3a1461051c578063b88d4fde1461053c578063c002d23d1461055c578063c87b56dd14610578578063e228472014610598578063e8529d6f146105ad578063e985e9c5146105db578063ef968ec4146105fb578063f2fde38b1461061b578063f79375ad1461063b578063f8e93ef914610663578063fd211b6414610676578063fe2988a21461069657600080fd5b806301ffc9a7146101ca57806306fdde03146101ff578063081812fc14610221578063095ea7b31461025957806318160ddd1461027b5780631a8969a81461029a5780631d537dee146102b057806323b872dd146102dd5780632d37e2ae146102fd5780632e1a7d4d146103505780632f745c591461036357806338739dad1461038357806342842e0e146103985780634b686e97146103b85780634f6ccce7146103cd57806362bc5f7b146103ed5780636352211e1461040357806370a0823114610423578063715018a614610443575b600080fd5b3480156101d657600080fd5b506101ea6101e5366004612b89565b6106b6565b60405190151581526020015b60405180910390f35b34801561020b57600080fd5b506102146106c7565b6040516101f69190612bfe565b34801561022d57600080fd5b5061024161023c366004612c11565b610759565b6040516001600160a01b0390911681526020016101f6565b34801561026557600080fd5b50610279610274366004612c3f565b6107e6565b005b34801561028757600080fd5b506008545b6040519081526020016101f6565b3480156102a657600080fd5b5061028c600c5481565b3480156102bc57600080fd5b506102d06102cb366004612c11565b6108f7565b6040516101f69190612c6b565b3480156102e957600080fd5b506102796102f8366004612cad565b610aad565b34801561030957600080fd5b5061031d610318366004612c11565b610ade565b6040516101f691908151815260208083015190820152604080830151908201526060918201519181019190915260800190565b61027961035e366004612c11565b610b76565b34801561036f57600080fd5b5061028c61037e366004612c3f565b610c26565b34801561038f57600080fd5b50610214610cbc565b3480156103a457600080fd5b506102796103b3366004612cad565b610cdb565b3480156103c457600080fd5b50610214610cf6565b3480156103d957600080fd5b5061028c6103e8366004612c11565b610d05565b3480156103f957600080fd5b5061028c61019481565b34801561040f57600080fd5b5061024161041e366004612c11565b610d98565b34801561042f57600080fd5b5061028c61043e366004612cee565b610e0f565b34801561044f57600080fd5b50610279610e96565b34801561046457600080fd5b50610478610473366004612d0b565b610ed1565b6040516101f69190612d7f565b34801561049157600080fd5b506104a56104a0366004612c11565b610f8f565b6040516101f69190612dc5565b3480156104be57600080fd5b5061024161110b565b3480156104d357600080fd5b5061021461111a565b3480156104e857600080fd5b506102796104f7366004612c11565b611129565b34801561050857600080fd5b50610279610517366004612e2d565b611207565b34801561052857600080fd5b50610279610537366004612e83565b611212565b34801561054857600080fd5b50610279610557366004612edf565b61129a565b34801561056857600080fd5b5061028c67059b4bdc0942000081565b34801561058457600080fd5b50610214610593366004612c11565b6112cc565b3480156105a457600080fd5b50610214611365565b3480156105b957600080fd5b506101ea6105c8366004612c11565b6000908152601160205260409020541590565b3480156105e757600080fd5b506101ea6105f6366004612fbe565b6113f3565b34801561060757600080fd5b50610279610616366004612e83565b611421565b34801561062757600080fd5b50610279610636366004612cee565b6114a3565b34801561064757600080fd5b5061024173f55dd62034b534e71cb17ef6e2bb112e93d6131a81565b610279610671366004612d0b565b611543565b34801561068257600080fd5b50610279610691366004612fec565b61193a565b3480156106a257600080fd5b506102146106b1366004612c11565b6119ae565b60006106c1826119de565b92915050565b6060600080546106d69061304b565b80601f01602080910402602001604051908101604052809291908181526020018280546107029061304b565b801561074f5780601f106107245761010080835404028352916020019161074f565b820191906000526020600020905b81548152906001019060200180831161073257829003601f168201915b5050505050905090565b600061076482611a03565b6107ca5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107f182610d98565b9050806001600160a01b0316836001600160a01b0316141561085f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107c1565b336001600160a01b038216148061087b575061087b81336113f3565b6108e85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016107c1565b6108f28383611a20565b505050565b60408051808201909152606080825260208201526000828152600e6020526040812080546109249061304b565b90501161096b5760405162461bcd60e51b815260206004820152601560248201527414da1859195c88191bd95cc81b9bdd08195e1a5cdd605a1b60448201526064016107c1565b6000828152600e60205260409081902081518083019092528054829082906109929061304b565b80601f01602080910402602001604051908101604052809291908181526020018280546109be9061304b565b8015610a0b5780601f106109e057610100808354040283529160200191610a0b565b820191906000526020600020905b8154815290600101906020018083116109ee57829003601f168201915b50505050508152602001600182018054610a249061304b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a509061304b565b8015610a9d5780601f10610a7257610100808354040283529160200191610a9d565b820191906000526020600020905b815481529060010190602001808311610a8057829003601f168201915b5050505050815250509050919050565b610ab73382611a8e565b610ad35760405162461bcd60e51b81526004016107c190613080565b6108f2838383611b58565b610b0c6040518060800160405280600080191681526020016000815260200160008152602001600081525090565b610b1582611a03565b610b315760405162461bcd60e51b81526004016107c1906130d1565b506000908152600d6020908152604091829020825160808101845281548152600182015492810192909252600281015492820192909252600390910154606082015290565b33610b7f61110b565b6001600160a01b031614610ba55760405162461bcd60e51b81526004016107c1906130ff565b47811115610bf55760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e742066756e647320746f207769746864726177000060448201526064016107c1565b604051339082156108fc029083906000818181858888f19350505050158015610c22573d6000803e3d6000fd5b5050565b6000610c3183610e0f565b8210610c935760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107c1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6040518061038001604052806103518152602001613c19610351913981565b6108f28383836040518060200160405280600081525061129a565b6060601080546106d69061304b565b6000610d1060085490565b8210610d735760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107c1565b60088281548110610d8657610d86613134565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806106c15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107c1565b60006001600160a01b038216610e7a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107c1565b506001600160a01b031660009081526003602052604090205490565b33610e9f61110b565b6001600160a01b031614610ec55760405162461bcd60e51b81526004016107c1906130ff565b610ecf6000611cff565b565b60606000826001600160401b03811115610eed57610eed612ec9565b604051908082528060200260200182016040528015610f16578160200160208202803683370190505b50905060005b83811015610f875760116000868684818110610f3a57610f3a613134565b90506020020135815260200190815260200160002054600014828281518110610f6557610f65613134565b9115156020928302919091019091015280610f7f81613160565b915050610f1c565b509392505050565b60408051808201909152606080825260208201526000828152600f602052604081208054610fbc9061304b565b9050116110045760405162461bcd60e51b8152602060048201526016602482015275141c9bd9dc985b48191bd95cc81b9bdd08195e1a5cdd60521b60448201526064016107c1565b6000828152600f602052604090819020815180830190925280548290829061102b9061304b565b80601f01602080910402602001604051908101604052809291908181526020018280546110579061304b565b80156110a45780601f10611079576101008083540402835291602001916110a4565b820191906000526020600020905b81548152906001019060200180831161108757829003601f168201915b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015610a9d57602002820191906000526020600020905b8154815260200190600101908083116110e8575050505050815250509050919050565b600a546001600160a01b031690565b6060600180546106d69061304b565b3361113261110b565b6001600160a01b0316146111585760405162461bcd60e51b81526004016107c1906130ff565b43610194600c54611169919061317b565b11806111755750600c54155b6111915760405162461bcd60e51b81526004016107c190613193565b804311156112025760405162461bcd60e51b815260206004820152603860248201527f4c46472073686f756c642062652067726561746572207468616e206f7220657160448201527775616c20746f207468652063757272656e7420626c6f636b60401b60648201526084016107c1565b600c55565b610c22338383611d51565b3361121b61110b565b6001600160a01b0316146112415760405162461bcd60e51b81526004016107c1906130ff565b43610194600c54611252919061317b565b118061125e5750600c54155b61127a5760405162461bcd60e51b81526004016107c190613193565b6000828152600e602052604090208190611294828261335b565b50505050565b6112a43383611a8e565b6112c05760405162461bcd60e51b81526004016107c190613080565b61129484848484611e1c565b60606112d782611a03565b61131a5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016107c1565b61132382611e4f565b61132c83611e74565b61133d61133885611e9c565b611eeb565b60405160200161134f93929190613453565b6040516020818303038152906040529050919050565b601080546113729061304b565b80601f016020809104026020016040519081016040528092919081815260200182805461139e9061304b565b80156113eb5780601f106113c0576101008083540402835291602001916113eb565b820191906000526020600020905b8154815290600101906020018083116113ce57829003601f168201915b505050505081565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3361142a61110b565b6001600160a01b0316146114505760405162461bcd60e51b81526004016107c1906130ff565b43610194600c54611461919061317b565b118061146d5750600c54155b6114895760405162461bcd60e51b81526004016107c190613193565b6000828152600f6020526040902081906112948282613619565b336114ac61110b565b6001600160a01b0316146114d25760405162461bcd60e51b81526004016107c1906130ff565b6001600160a01b0381166115375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c1565b61154081611cff565b50565b6002600b5414156115965760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107c1565b6002600b55600c5443108015906115ae5750600c5415155b6115f55760405162461bcd60e51b815260206004820152601860248201527714d85b19481a185cc81b9bdd081cdd185c9d1959081e595d60421b60448201526064016107c1565b610194600c54611605919061317b565b431061164c5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016107c1565b806116985760405162461bcd60e51b815260206004820152601c60248201527b4d696e74206174206c65617374203120494e5754206174206f6e636560201b60448201526064016107c1565b600a8111156116f35760405162461bcd60e51b815260206004820152602160248201527f596f752063616e206f6e6c79206d696e7420313020494e5754206174206f6e636044820152606560f81b60648201526084016107c1565b6117058167059b4bdc0942000061358c565b3410156117545760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e742066756e647320746f207075726368617365000060448201526064016107c1565b73f55dd62034b534e71cb17ef6e2bb112e93d6131a60005b8281101561192f57600084848381811061178857611788613134565b905060200201359050336001600160a01b0316836001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016117c991815260200190565b602060405180830381865afa1580156117e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180a91906136ef565b6001600160a01b03161461186a5760405162461bcd60e51b815260206004820152602160248201527f596f7520617265206e6f7420746865206f776e6572206f6620746869732048496044820152602760f91b60648201526084016107c1565b600081815260116020526040902054156118d95760405162461bcd60e51b815260206004820152602a60248201527f494e5754207769746820746869732048494e2068617320616c7265616479206260448201526919595b881b5a5b9d195960b21b60648201526084016107c1565b60006118e460085490565b90506118f0338261203e565b6118fb438383612058565b600082815260116020526040812080549161191583613160565b91905055505050808061192790613160565b91505061176c565b50506001600b555050565b3361194361110b565b6001600160a01b0316146119695760405162461bcd60e51b81526004016107c1906130ff565b43610194600c5461197a919061317b565b11806119865750600c54155b6119a25760405162461bcd60e51b81526004016107c190613193565b6108f260108383612ada565b60606119b982611a03565b6119d55760405162461bcd60e51b81526004016107c1906130d1565b6106c182611e9c565b60006001600160e01b0319821663780e9d6360e01b14806106c157506106c1826120e5565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a5582610d98565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a9982611a03565b611afa5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107c1565b6000611b0583610d98565b9050806001600160a01b0316846001600160a01b03161480611b405750836001600160a01b0316611b3584610759565b6001600160a01b0316145b80611b505750611b5081856113f3565b949350505050565b826001600160a01b0316611b6b82610d98565b6001600160a01b031614611bcf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107c1565b6001600160a01b038216611c315760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107c1565b611c3c838383612135565b611c47600082611a20565b6001600160a01b0383166000908152600360205260408120805460019290611c7090849061370c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c9e90849061317b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611daf5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016107c1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611e27848484611b58565b611e3384848484612140565b6112945760405162461bcd60e51b81526004016107c190613723565b6060611e64611e5f83600161317b565b61223e565b60405160200161134f9190613775565b6060611e7f8261223e565b611e8b611e5f60085490565b60405160200161134f9291906137a2565b6060611ea782611e4f565b611eb083611e74565b6010611ebb8561233b565b6040518061038001604052806103518152602001613c19610351913960405160200161134f959493929190613886565b6060815160001415611f0b57505060408051602081019091526000815290565b6000604051806060016040528060408152602001613bd96040913990506000600384516002611f3a919061317b565b611f449190613a37565b611f4f90600461358c565b6001600160401b03811115611f6657611f66612ec9565b6040519080825280601f01601f191660200182016040528015611f90576020820181803683370190505b509050600182016020820185865187015b80821015611ffc576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250611fa1565b5050600386510660018114612018576002811461202b57612033565b603d6001830353603d6002830353612033565b603d60018303535b509195945050505050565b610c2282826040518060200160405280600081525061253a565b6040805160808101825260a0810185905260c0810184905260e0808201849052825180830390910181526101008201909252815160209283012081529081016120a08361256d565b81526020808201949094526040908101949094526000918252600d83529083902081518155918101516001830155918201516002820155606090910151600390910155565b60006001600160e01b031982166380ac58cd60e01b148061211657506001600160e01b03198216635b5e139f60e01b145b806106c157506301ffc9a760e01b6001600160e01b03198316146106c1565b6108f28383836125b2565b60006001600160a01b0384163b1561223357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612184903390899088908890600401613a4b565b6020604051808303816000875af19250505080156121bf575060408051601f3d908101601f191682019092526121bc91810190613a88565b60015b612219573d8080156121ed576040519150601f19603f3d011682016040523d82523d6000602084013e6121f2565b606091505b5080516122115760405162461bcd60e51b81526004016107c190613723565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b50565b506001949350505050565b6060816122625750506040805180820190915260018152600360fc1b602082015290565b8160005b811561228c578061227681613160565b91506122859050600a83613a37565b9150612266565b6000816001600160401b038111156122a6576122a6612ec9565b6040519080825280601f01601f1916602001820160405280156122d0576020820181803683370190505b5090505b8415611b50576122e560018361370c565b91506122f2600a86613aa5565b6122fd90603061317b565b60f81b81838151811061231257612312613134565b60200101906001600160f81b031916908160001a905350612334600a86613a37565b94506122d4565b6000818152600d60209081526040808320600101548352600f90915280822081518083019092528054606093929190829082906123779061304b565b80601f01602080910402602001604051908101604052809291908181526020018280546123a39061304b565b80156123f05780601f106123c5576101008083540402835291602001916123f0565b820191906000526020600020905b8154815290600101906020018083116123d357829003601f168201915b505050505081526020016001820180548060200260200160405190810160405280929190818152602001828054801561244857602002820191906000526020600020905b815481526020019060010190808311612434575b5050505050815250509050600060405180602001604052806000815250905060005b8260200151518110156124ee5760008360200151828151811061248f5761248f613134565b60200260200101519050826124a38261223e565b6000838152600e602090815260409182902091516124c994939291600183019101613ab9565b60405160208183030381529060405292505080806124e690613160565b91505061246a565b5081516000858152600d6020908152604090912054839291612510919061266a565b60405160200161252293929190613b27565b60405160208183030381529060405292505050919050565b612544838361280c565b6125516000848484612140565b6108f25760405162461bcd60e51b81526004016107c190613723565b6000600c601161257e84600261358c565b61258990601361317b565b6125939190613aa5565b61259e600d85613aa5565b6125a8919061317b565b6106c19190613aa5565b6001600160a01b03831661260d5761260881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612630565b816001600160a01b0316836001600160a01b03161461263057612630838261294a565b6001600160a01b038216612647576108f2816129e7565b826001600160a01b0316826001600160a01b0316146108f2576108f28282612a96565b6060600061267983600261358c565b61268490600261317b565b6001600160401b0381111561269b5761269b612ec9565b6040519080825280601f01601f1916602001820160405280156126c5576020820181803683370190505b509050600360fc1b816000815181106126e0576126e0613134565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061270f5761270f613134565b60200101906001600160f81b031916908160001a905350600061273384600261358c565b61273e90600161317b565b90505b60018111156127b6576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061277257612772613134565b1a60f81b82828151811061278857612788613134565b60200101906001600160f81b031916908160001a90535060049490941c936127af81613bab565b9050612741565b5083156128055760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107c1565b9392505050565b6001600160a01b0382166128625760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107c1565b61286b81611a03565b156128b75760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016107c1565b6128c360008383612135565b6001600160a01b03821660009081526003602052604081208054600192906128ec90849061317b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161295784610e0f565b612961919061370c565b6000838152600760205260409020549091508082146129b4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906129f99060019061370c565b60008381526009602052604081205460088054939450909284908110612a2157612a21613134565b906000526020600020015490508060088381548110612a4257612a42613134565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612a7a57612a7a613bc2565b6001900381819060005260206000200160009055905550505050565b6000612aa183610e0f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612ae69061304b565b90600052602060002090601f016020900481019282612b085760008555612b4e565b82601f10612b215782800160ff19823516178555612b4e565b82800160010185558215612b4e579182015b82811115612b4e578235825591602001919060010190612b33565b50612b5a929150612b5e565b5090565b5b80821115612b5a5760008155600101612b5f565b6001600160e01b03198116811461154057600080fd5b600060208284031215612b9b57600080fd5b813561280581612b73565b60005b83811015612bc1578181015183820152602001612ba9565b838111156112945750506000910152565b60008151808452612bea816020860160208601612ba6565b601f01601f19169290920160200192915050565b6020815260006128056020830184612bd2565b600060208284031215612c2357600080fd5b5035919050565b6001600160a01b038116811461154057600080fd5b60008060408385031215612c5257600080fd5b8235612c5d81612c2a565b946020939093013593505050565b602081526000825160406020840152612c876060840182612bd2565b90506020840151601f19848303016040850152612ca48282612bd2565b95945050505050565b600080600060608486031215612cc257600080fd5b8335612ccd81612c2a565b92506020840135612cdd81612c2a565b929592945050506040919091013590565b600060208284031215612d0057600080fd5b813561280581612c2a565b60008060208385031215612d1e57600080fd5b82356001600160401b0380821115612d3557600080fd5b818501915085601f830112612d4957600080fd5b813581811115612d5857600080fd5b8660208260051b8501011115612d6d57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015612db9578351151583529284019291840191600101612d9b565b50909695505050505050565b600060208083528351604082850152612de16060850182612bd2565b85830151858203601f19016040870152805180835290840192506000918401905b80831015612e225783518252928401926001929092019190840190612e02565b509695505050505050565b60008060408385031215612e4057600080fd5b8235612e4b81612c2a565b915060208301358015158114612e6057600080fd5b809150509250929050565b600060408284031215612e7d57600080fd5b50919050565b60008060408385031215612e9657600080fd5b8235915060208301356001600160401b03811115612eb357600080fd5b612ebf85828601612e6b565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612ef557600080fd5b8435612f0081612c2a565b93506020850135612f1081612c2a565b92506040850135915060608501356001600160401b0380821115612f3357600080fd5b818701915087601f830112612f4757600080fd5b813581811115612f5957612f59612ec9565b604051601f8201601f19908116603f01168101908382118183101715612f8157612f81612ec9565b816040528281528a6020848701011115612f9a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612fd157600080fd5b8235612fdc81612c2a565b91506020830135612e6081612c2a565b60008060208385031215612fff57600080fd5b82356001600160401b038082111561301657600080fd5b818501915085601f83011261302a57600080fd5b81358181111561303957600080fd5b866020828501011115612d6d57600080fd5b600181811c9082168061305f57607f821691505b60208210811415612e7d57634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260149082015273139bda5cd948191bd95cc81b9bdd08195e1a5cdd60621b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156131745761317461314a565b5060010190565b6000821982111561318e5761318e61314a565b500190565b60208082526038908201527f436f6e74726163742069732073656c662d6c6f636b656420666f726576657220604082015277061667465722074686520636f6d6d756e6974792064726f760441b606082015260800190565b6000808335601e1984360301811261320257600080fd5b8301803591506001600160401b0382111561321c57600080fd5b60200191503681900382131561323157600080fd5b9250929050565b5b81811015610c225760008155600101613239565b601f8211156108f257806000526020600020601f840160051c810160208510156132745750805b613286601f850160051c830182613238565b5050505050565b600019600383901b1c191660019190911b1790565b6001600160401b038311156132b9576132b9612ec9565b6132cd836132c7835461304b565b8361324d565b6000601f8411600181146132fb57600085156132e95750838201355b6132f3868261328d565b845550613286565b600083815260209020601f19861690835b8281101561332c578685013582556020948501946001909201910161330c565b50868210156133495760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b61336582836131eb565b6001600160401b0381111561337c5761337c612ec9565b6133908161338a855461304b565b8561324d565b6000601f8211600181146133be57600083156133ac5750838201355b6133b6848261328d565b865550613418565b600085815260209020601f19841690835b828110156133ef57868501358255602094850194600190920191016133cf565b508482101561340c5760001960f88660031b161c19848701351681555b505060018360011b0185555b5050505061342960208301836131eb565b6112948183600186016132a2565b60008151613449818560208601612ba6565b9290920192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e2c7b226e616d65223a220081526000845161348b81601f850160208901612ba6565b701116113232b9b1b934b83a34b7b7111d1160791b601f9184019182015284516134bc816030840160208901612ba6565b7f222c22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d60309290910191820152681b0ed8985cd94d8d0b60ba1b6050820152835161350c816059840160208801612ba6565b7f222c226261636b67726f756e645f636f6c6f72223a22303030303030227d00006059929091019182015260770195945050505050565b6000808335601e1984360301811261355a57600080fd5b8301803591506001600160401b0382111561357457600080fd5b6020019150600581901b360382131561323157600080fd5b60008160001904831182151516156135a6576135a661314a565b500290565b600160401b8311156135bf576135bf612ec9565b8054838255808410156135e5578160005260206000206135e3828201868301613238565b505b50818160005260208060002060005b86811015613610578335825592820192600191820191016135f4565b50505050505050565b61362382836131eb565b6001600160401b0381111561363a5761363a612ec9565b6136488161338a855461304b565b6000601f82116001811461367657600083156136645750838201355b61366e848261328d565b8655506136d0565b600085815260209020601f19841690835b828110156136a75786850135825560209485019460019092019101613687565b50848210156136c45760001960f88660031b161c19848701351681555b505060018360011b0185555b505050506136e16020830183613543565b6112948183600186016135ab565b60006020828403121561370157600080fd5b815161280581612c2a565b60008282101561371e5761371e61314a565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b64024a72baa160dd1b815260008251613795816005850160208701612ba6565b9190910160050192915050565b6f494e4e4f49534557455452555354202360801b8152600083516137cd816010850160208801612ba6565b602f60f81b60109184019182015283516137ee816011840160208801612ba6565b6f17101a181a173d32b93796101918191960811b60119290910191820152602101949350505050565b600081546138248161304b565b6001828116801561383c576001811461384d5761387c565b60ff1984168752828701945061387c565b8560005260208060002060005b858110156138735781548a82015290840190820161385a565b50505082870194505b5050505092915050565b7f3c21444f43545950452068746d6c3e3c68746d6c3e3c686561643e3c7469746c815261329f60f11b6020820152600086516138c9816022850160208b01612ba6565b7f3c2f7469746c653e3c6d657461206e616d653d226465736372697074696f6e22602291840191820152691031b7b73a32b73a1e9160b11b6042820152865161391981604c840160208b01612ba6565b7f22202f3e3c7374796c653e626f64797b6261636b67726f756e643a233030303b604c92909101918201527f6d617267696e3a303b70616464696e673a303b6f766572666c6f773a68696464606c8201527f656e3b7d3c2f7374796c653e3c2f686561643e3c626f64793e3c736372697074608c8201527f20747970653d226170706c69636174696f6e2f6a617661736372697074223e0060ac820152613a15613a046139fe6139d56139cf60cb86018b613817565b89613437565b7f3c2f7363726970743e3c2f626f64793e3c2f68746d6c3e0a3c212d2d0a0000008152601d0190565b86613437565b640516969f0560d91b815260050190565b98975050505050505050565b634e487b7160e01b600052601260045260246000fd5b600082613a4657613a46613a21565b500490565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a7e90830184612bd2565b9695505050505050565b600060208284031215613a9a57600080fd5b815161280581612b73565b600082613ab457613ab4613a21565b500690565b60008551613acb818460208a01612ba6565b855190830190613adf818360208a01612ba6565b621d2d9160e91b9101908152613af86003820186613817565b6211161160e91b81529050613b106003820185613817565b6208974b60ea1b8152600301979650505050505050565b666e6f697365287b60c81b815260008451613b49816007850160208901612ba6565b611f4b60f21b6007918401918201528451613b6b816009840160208901612ba6565b61161160f11b600992909101918201528351613b8e81600b840160208801612ba6565b6222293b60e81b600b9290910191820152600e0195945050505050565b600081613bba57613bba61314a565b506000190190565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f414c4c20494e464f524d4154494f4e2045584953545320494e2054484520434f4445202d204e4f5448494e472049532048494444454e2e0a4f4e43452054484520434f4445204953204558454355544544202d2057452041524520554e41424c4520544f204348414e4745204954204f522053544f502049542e0a574520444f204e4f54204841564520465249454e444c592057484954454c49535453202d204e4f49534520495320544845204f4e4c592041434345535320544f20494e57543430342e0a0a5745204f4e4c592054414c4b20544f20544845204e4f49534546414d494c592e0a414e595448494e4720544841542043414e20424520534149442049532048494444454e20494e20544845204e4f4953452e0a45564552595448494e472057452057494c4c205341592049532048494444454e20494e20544845204e4f4953452e0a444f204e4f54204c4f4f4b20454c534557484552452e0a0a4e4f4953452057494c4c204245205245424f524e20415320454e444c4553534c5920415320414c4c204f544845525320494e205448495320574f524c442e0a494e2054484520454e442c20594f552043414e204252494e47204e4f5448494e472c0a42555420544845204e4f4953452057494c4c20414c5741595320464f4c4c4f5720594f552e0a444f204e4f54205245534953542e0a0a574520464f4c4c4f57204120504152414449474d204f46204e4f4953452e0a574520444f204e4f54204445414c20494e204f5448455220504f4c454d4943532c0a57452054414c4b204f4e4c59204f462054484520554e49464945442050455243455054494f4e204f462054484520574f524c442c0a455850524553534544205448524f554748205448452053494e474c45204d4154455249414c20415641494c41424c4520544f2055532c0a4e4f4953450a0a414e595448494e47204d4f5245205448414e205448415420495320414e204142554e44414e4345204f46204c494152532e0a414e595448494e47204c455353205448414e20544841542049532048554d414e20464541522e0a0a444f204e4f54205345454b20424541555459204f5554534944452e0a46494e4420544845204e4f49534520494e534944452e0a0a414d454e0a0a494e204e4f495345205745205452555354a264697066735822122031c51eac6865305ec2fa6c237aa25d0320312dffef030cea109926ceabcae16164736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000011494e204e4f4953452057452054525553540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004494e575400000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c55760003560e01c8063729cf32c116100f3578063729cf32c1461045857806386d48096146104855780638da5cb5b146104b257806395d89b41146104c75780639d3e6897146104dc578063a22cb465146104fc578063a6d26a3a1461051c578063b88d4fde1461053c578063c002d23d1461055c578063c87b56dd14610578578063e228472014610598578063e8529d6f146105ad578063e985e9c5146105db578063ef968ec4146105fb578063f2fde38b1461061b578063f79375ad1461063b578063f8e93ef914610663578063fd211b6414610676578063fe2988a21461069657600080fd5b806301ffc9a7146101ca57806306fdde03146101ff578063081812fc14610221578063095ea7b31461025957806318160ddd1461027b5780631a8969a81461029a5780631d537dee146102b057806323b872dd146102dd5780632d37e2ae146102fd5780632e1a7d4d146103505780632f745c591461036357806338739dad1461038357806342842e0e146103985780634b686e97146103b85780634f6ccce7146103cd57806362bc5f7b146103ed5780636352211e1461040357806370a0823114610423578063715018a614610443575b600080fd5b3480156101d657600080fd5b506101ea6101e5366004612b89565b6106b6565b60405190151581526020015b60405180910390f35b34801561020b57600080fd5b506102146106c7565b6040516101f69190612bfe565b34801561022d57600080fd5b5061024161023c366004612c11565b610759565b6040516001600160a01b0390911681526020016101f6565b34801561026557600080fd5b50610279610274366004612c3f565b6107e6565b005b34801561028757600080fd5b506008545b6040519081526020016101f6565b3480156102a657600080fd5b5061028c600c5481565b3480156102bc57600080fd5b506102d06102cb366004612c11565b6108f7565b6040516101f69190612c6b565b3480156102e957600080fd5b506102796102f8366004612cad565b610aad565b34801561030957600080fd5b5061031d610318366004612c11565b610ade565b6040516101f691908151815260208083015190820152604080830151908201526060918201519181019190915260800190565b61027961035e366004612c11565b610b76565b34801561036f57600080fd5b5061028c61037e366004612c3f565b610c26565b34801561038f57600080fd5b50610214610cbc565b3480156103a457600080fd5b506102796103b3366004612cad565b610cdb565b3480156103c457600080fd5b50610214610cf6565b3480156103d957600080fd5b5061028c6103e8366004612c11565b610d05565b3480156103f957600080fd5b5061028c61019481565b34801561040f57600080fd5b5061024161041e366004612c11565b610d98565b34801561042f57600080fd5b5061028c61043e366004612cee565b610e0f565b34801561044f57600080fd5b50610279610e96565b34801561046457600080fd5b50610478610473366004612d0b565b610ed1565b6040516101f69190612d7f565b34801561049157600080fd5b506104a56104a0366004612c11565b610f8f565b6040516101f69190612dc5565b3480156104be57600080fd5b5061024161110b565b3480156104d357600080fd5b5061021461111a565b3480156104e857600080fd5b506102796104f7366004612c11565b611129565b34801561050857600080fd5b50610279610517366004612e2d565b611207565b34801561052857600080fd5b50610279610537366004612e83565b611212565b34801561054857600080fd5b50610279610557366004612edf565b61129a565b34801561056857600080fd5b5061028c67059b4bdc0942000081565b34801561058457600080fd5b50610214610593366004612c11565b6112cc565b3480156105a457600080fd5b50610214611365565b3480156105b957600080fd5b506101ea6105c8366004612c11565b6000908152601160205260409020541590565b3480156105e757600080fd5b506101ea6105f6366004612fbe565b6113f3565b34801561060757600080fd5b50610279610616366004612e83565b611421565b34801561062757600080fd5b50610279610636366004612cee565b6114a3565b34801561064757600080fd5b5061024173f55dd62034b534e71cb17ef6e2bb112e93d6131a81565b610279610671366004612d0b565b611543565b34801561068257600080fd5b50610279610691366004612fec565b61193a565b3480156106a257600080fd5b506102146106b1366004612c11565b6119ae565b60006106c1826119de565b92915050565b6060600080546106d69061304b565b80601f01602080910402602001604051908101604052809291908181526020018280546107029061304b565b801561074f5780601f106107245761010080835404028352916020019161074f565b820191906000526020600020905b81548152906001019060200180831161073257829003601f168201915b5050505050905090565b600061076482611a03565b6107ca5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107f182610d98565b9050806001600160a01b0316836001600160a01b0316141561085f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107c1565b336001600160a01b038216148061087b575061087b81336113f3565b6108e85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016107c1565b6108f28383611a20565b505050565b60408051808201909152606080825260208201526000828152600e6020526040812080546109249061304b565b90501161096b5760405162461bcd60e51b815260206004820152601560248201527414da1859195c88191bd95cc81b9bdd08195e1a5cdd605a1b60448201526064016107c1565b6000828152600e60205260409081902081518083019092528054829082906109929061304b565b80601f01602080910402602001604051908101604052809291908181526020018280546109be9061304b565b8015610a0b5780601f106109e057610100808354040283529160200191610a0b565b820191906000526020600020905b8154815290600101906020018083116109ee57829003601f168201915b50505050508152602001600182018054610a249061304b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a509061304b565b8015610a9d5780601f10610a7257610100808354040283529160200191610a9d565b820191906000526020600020905b815481529060010190602001808311610a8057829003601f168201915b5050505050815250509050919050565b610ab73382611a8e565b610ad35760405162461bcd60e51b81526004016107c190613080565b6108f2838383611b58565b610b0c6040518060800160405280600080191681526020016000815260200160008152602001600081525090565b610b1582611a03565b610b315760405162461bcd60e51b81526004016107c1906130d1565b506000908152600d6020908152604091829020825160808101845281548152600182015492810192909252600281015492820192909252600390910154606082015290565b33610b7f61110b565b6001600160a01b031614610ba55760405162461bcd60e51b81526004016107c1906130ff565b47811115610bf55760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e742066756e647320746f207769746864726177000060448201526064016107c1565b604051339082156108fc029083906000818181858888f19350505050158015610c22573d6000803e3d6000fd5b5050565b6000610c3183610e0f565b8210610c935760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107c1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6040518061038001604052806103518152602001613c19610351913981565b6108f28383836040518060200160405280600081525061129a565b6060601080546106d69061304b565b6000610d1060085490565b8210610d735760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107c1565b60088281548110610d8657610d86613134565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806106c15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107c1565b60006001600160a01b038216610e7a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107c1565b506001600160a01b031660009081526003602052604090205490565b33610e9f61110b565b6001600160a01b031614610ec55760405162461bcd60e51b81526004016107c1906130ff565b610ecf6000611cff565b565b60606000826001600160401b03811115610eed57610eed612ec9565b604051908082528060200260200182016040528015610f16578160200160208202803683370190505b50905060005b83811015610f875760116000868684818110610f3a57610f3a613134565b90506020020135815260200190815260200160002054600014828281518110610f6557610f65613134565b9115156020928302919091019091015280610f7f81613160565b915050610f1c565b509392505050565b60408051808201909152606080825260208201526000828152600f602052604081208054610fbc9061304b565b9050116110045760405162461bcd60e51b8152602060048201526016602482015275141c9bd9dc985b48191bd95cc81b9bdd08195e1a5cdd60521b60448201526064016107c1565b6000828152600f602052604090819020815180830190925280548290829061102b9061304b565b80601f01602080910402602001604051908101604052809291908181526020018280546110579061304b565b80156110a45780601f10611079576101008083540402835291602001916110a4565b820191906000526020600020905b81548152906001019060200180831161108757829003601f168201915b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015610a9d57602002820191906000526020600020905b8154815260200190600101908083116110e8575050505050815250509050919050565b600a546001600160a01b031690565b6060600180546106d69061304b565b3361113261110b565b6001600160a01b0316146111585760405162461bcd60e51b81526004016107c1906130ff565b43610194600c54611169919061317b565b11806111755750600c54155b6111915760405162461bcd60e51b81526004016107c190613193565b804311156112025760405162461bcd60e51b815260206004820152603860248201527f4c46472073686f756c642062652067726561746572207468616e206f7220657160448201527775616c20746f207468652063757272656e7420626c6f636b60401b60648201526084016107c1565b600c55565b610c22338383611d51565b3361121b61110b565b6001600160a01b0316146112415760405162461bcd60e51b81526004016107c1906130ff565b43610194600c54611252919061317b565b118061125e5750600c54155b61127a5760405162461bcd60e51b81526004016107c190613193565b6000828152600e602052604090208190611294828261335b565b50505050565b6112a43383611a8e565b6112c05760405162461bcd60e51b81526004016107c190613080565b61129484848484611e1c565b60606112d782611a03565b61131a5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016107c1565b61132382611e4f565b61132c83611e74565b61133d61133885611e9c565b611eeb565b60405160200161134f93929190613453565b6040516020818303038152906040529050919050565b601080546113729061304b565b80601f016020809104026020016040519081016040528092919081815260200182805461139e9061304b565b80156113eb5780601f106113c0576101008083540402835291602001916113eb565b820191906000526020600020905b8154815290600101906020018083116113ce57829003601f168201915b505050505081565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3361142a61110b565b6001600160a01b0316146114505760405162461bcd60e51b81526004016107c1906130ff565b43610194600c54611461919061317b565b118061146d5750600c54155b6114895760405162461bcd60e51b81526004016107c190613193565b6000828152600f6020526040902081906112948282613619565b336114ac61110b565b6001600160a01b0316146114d25760405162461bcd60e51b81526004016107c1906130ff565b6001600160a01b0381166115375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c1565b61154081611cff565b50565b6002600b5414156115965760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107c1565b6002600b55600c5443108015906115ae5750600c5415155b6115f55760405162461bcd60e51b815260206004820152601860248201527714d85b19481a185cc81b9bdd081cdd185c9d1959081e595d60421b60448201526064016107c1565b610194600c54611605919061317b565b431061164c5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016107c1565b806116985760405162461bcd60e51b815260206004820152601c60248201527b4d696e74206174206c65617374203120494e5754206174206f6e636560201b60448201526064016107c1565b600a8111156116f35760405162461bcd60e51b815260206004820152602160248201527f596f752063616e206f6e6c79206d696e7420313020494e5754206174206f6e636044820152606560f81b60648201526084016107c1565b6117058167059b4bdc0942000061358c565b3410156117545760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e742066756e647320746f207075726368617365000060448201526064016107c1565b73f55dd62034b534e71cb17ef6e2bb112e93d6131a60005b8281101561192f57600084848381811061178857611788613134565b905060200201359050336001600160a01b0316836001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016117c991815260200190565b602060405180830381865afa1580156117e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180a91906136ef565b6001600160a01b03161461186a5760405162461bcd60e51b815260206004820152602160248201527f596f7520617265206e6f7420746865206f776e6572206f6620746869732048496044820152602760f91b60648201526084016107c1565b600081815260116020526040902054156118d95760405162461bcd60e51b815260206004820152602a60248201527f494e5754207769746820746869732048494e2068617320616c7265616479206260448201526919595b881b5a5b9d195960b21b60648201526084016107c1565b60006118e460085490565b90506118f0338261203e565b6118fb438383612058565b600082815260116020526040812080549161191583613160565b91905055505050808061192790613160565b91505061176c565b50506001600b555050565b3361194361110b565b6001600160a01b0316146119695760405162461bcd60e51b81526004016107c1906130ff565b43610194600c5461197a919061317b565b11806119865750600c54155b6119a25760405162461bcd60e51b81526004016107c190613193565b6108f260108383612ada565b60606119b982611a03565b6119d55760405162461bcd60e51b81526004016107c1906130d1565b6106c182611e9c565b60006001600160e01b0319821663780e9d6360e01b14806106c157506106c1826120e5565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a5582610d98565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a9982611a03565b611afa5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107c1565b6000611b0583610d98565b9050806001600160a01b0316846001600160a01b03161480611b405750836001600160a01b0316611b3584610759565b6001600160a01b0316145b80611b505750611b5081856113f3565b949350505050565b826001600160a01b0316611b6b82610d98565b6001600160a01b031614611bcf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107c1565b6001600160a01b038216611c315760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107c1565b611c3c838383612135565b611c47600082611a20565b6001600160a01b0383166000908152600360205260408120805460019290611c7090849061370c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c9e90849061317b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611daf5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016107c1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611e27848484611b58565b611e3384848484612140565b6112945760405162461bcd60e51b81526004016107c190613723565b6060611e64611e5f83600161317b565b61223e565b60405160200161134f9190613775565b6060611e7f8261223e565b611e8b611e5f60085490565b60405160200161134f9291906137a2565b6060611ea782611e4f565b611eb083611e74565b6010611ebb8561233b565b6040518061038001604052806103518152602001613c19610351913960405160200161134f959493929190613886565b6060815160001415611f0b57505060408051602081019091526000815290565b6000604051806060016040528060408152602001613bd96040913990506000600384516002611f3a919061317b565b611f449190613a37565b611f4f90600461358c565b6001600160401b03811115611f6657611f66612ec9565b6040519080825280601f01601f191660200182016040528015611f90576020820181803683370190505b509050600182016020820185865187015b80821015611ffc576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250611fa1565b5050600386510660018114612018576002811461202b57612033565b603d6001830353603d6002830353612033565b603d60018303535b509195945050505050565b610c2282826040518060200160405280600081525061253a565b6040805160808101825260a0810185905260c0810184905260e0808201849052825180830390910181526101008201909252815160209283012081529081016120a08361256d565b81526020808201949094526040908101949094526000918252600d83529083902081518155918101516001830155918201516002820155606090910151600390910155565b60006001600160e01b031982166380ac58cd60e01b148061211657506001600160e01b03198216635b5e139f60e01b145b806106c157506301ffc9a760e01b6001600160e01b03198316146106c1565b6108f28383836125b2565b60006001600160a01b0384163b1561223357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612184903390899088908890600401613a4b565b6020604051808303816000875af19250505080156121bf575060408051601f3d908101601f191682019092526121bc91810190613a88565b60015b612219573d8080156121ed576040519150601f19603f3d011682016040523d82523d6000602084013e6121f2565b606091505b5080516122115760405162461bcd60e51b81526004016107c190613723565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b50565b506001949350505050565b6060816122625750506040805180820190915260018152600360fc1b602082015290565b8160005b811561228c578061227681613160565b91506122859050600a83613a37565b9150612266565b6000816001600160401b038111156122a6576122a6612ec9565b6040519080825280601f01601f1916602001820160405280156122d0576020820181803683370190505b5090505b8415611b50576122e560018361370c565b91506122f2600a86613aa5565b6122fd90603061317b565b60f81b81838151811061231257612312613134565b60200101906001600160f81b031916908160001a905350612334600a86613a37565b94506122d4565b6000818152600d60209081526040808320600101548352600f90915280822081518083019092528054606093929190829082906123779061304b565b80601f01602080910402602001604051908101604052809291908181526020018280546123a39061304b565b80156123f05780601f106123c5576101008083540402835291602001916123f0565b820191906000526020600020905b8154815290600101906020018083116123d357829003601f168201915b505050505081526020016001820180548060200260200160405190810160405280929190818152602001828054801561244857602002820191906000526020600020905b815481526020019060010190808311612434575b5050505050815250509050600060405180602001604052806000815250905060005b8260200151518110156124ee5760008360200151828151811061248f5761248f613134565b60200260200101519050826124a38261223e565b6000838152600e602090815260409182902091516124c994939291600183019101613ab9565b60405160208183030381529060405292505080806124e690613160565b91505061246a565b5081516000858152600d6020908152604090912054839291612510919061266a565b60405160200161252293929190613b27565b60405160208183030381529060405292505050919050565b612544838361280c565b6125516000848484612140565b6108f25760405162461bcd60e51b81526004016107c190613723565b6000600c601161257e84600261358c565b61258990601361317b565b6125939190613aa5565b61259e600d85613aa5565b6125a8919061317b565b6106c19190613aa5565b6001600160a01b03831661260d5761260881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612630565b816001600160a01b0316836001600160a01b03161461263057612630838261294a565b6001600160a01b038216612647576108f2816129e7565b826001600160a01b0316826001600160a01b0316146108f2576108f28282612a96565b6060600061267983600261358c565b61268490600261317b565b6001600160401b0381111561269b5761269b612ec9565b6040519080825280601f01601f1916602001820160405280156126c5576020820181803683370190505b509050600360fc1b816000815181106126e0576126e0613134565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061270f5761270f613134565b60200101906001600160f81b031916908160001a905350600061273384600261358c565b61273e90600161317b565b90505b60018111156127b6576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061277257612772613134565b1a60f81b82828151811061278857612788613134565b60200101906001600160f81b031916908160001a90535060049490941c936127af81613bab565b9050612741565b5083156128055760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107c1565b9392505050565b6001600160a01b0382166128625760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107c1565b61286b81611a03565b156128b75760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016107c1565b6128c360008383612135565b6001600160a01b03821660009081526003602052604081208054600192906128ec90849061317b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161295784610e0f565b612961919061370c565b6000838152600760205260409020549091508082146129b4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906129f99060019061370c565b60008381526009602052604081205460088054939450909284908110612a2157612a21613134565b906000526020600020015490508060088381548110612a4257612a42613134565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612a7a57612a7a613bc2565b6001900381819060005260206000200160009055905550505050565b6000612aa183610e0f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612ae69061304b565b90600052602060002090601f016020900481019282612b085760008555612b4e565b82601f10612b215782800160ff19823516178555612b4e565b82800160010185558215612b4e579182015b82811115612b4e578235825591602001919060010190612b33565b50612b5a929150612b5e565b5090565b5b80821115612b5a5760008155600101612b5f565b6001600160e01b03198116811461154057600080fd5b600060208284031215612b9b57600080fd5b813561280581612b73565b60005b83811015612bc1578181015183820152602001612ba9565b838111156112945750506000910152565b60008151808452612bea816020860160208601612ba6565b601f01601f19169290920160200192915050565b6020815260006128056020830184612bd2565b600060208284031215612c2357600080fd5b5035919050565b6001600160a01b038116811461154057600080fd5b60008060408385031215612c5257600080fd5b8235612c5d81612c2a565b946020939093013593505050565b602081526000825160406020840152612c876060840182612bd2565b90506020840151601f19848303016040850152612ca48282612bd2565b95945050505050565b600080600060608486031215612cc257600080fd5b8335612ccd81612c2a565b92506020840135612cdd81612c2a565b929592945050506040919091013590565b600060208284031215612d0057600080fd5b813561280581612c2a565b60008060208385031215612d1e57600080fd5b82356001600160401b0380821115612d3557600080fd5b818501915085601f830112612d4957600080fd5b813581811115612d5857600080fd5b8660208260051b8501011115612d6d57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015612db9578351151583529284019291840191600101612d9b565b50909695505050505050565b600060208083528351604082850152612de16060850182612bd2565b85830151858203601f19016040870152805180835290840192506000918401905b80831015612e225783518252928401926001929092019190840190612e02565b509695505050505050565b60008060408385031215612e4057600080fd5b8235612e4b81612c2a565b915060208301358015158114612e6057600080fd5b809150509250929050565b600060408284031215612e7d57600080fd5b50919050565b60008060408385031215612e9657600080fd5b8235915060208301356001600160401b03811115612eb357600080fd5b612ebf85828601612e6b565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612ef557600080fd5b8435612f0081612c2a565b93506020850135612f1081612c2a565b92506040850135915060608501356001600160401b0380821115612f3357600080fd5b818701915087601f830112612f4757600080fd5b813581811115612f5957612f59612ec9565b604051601f8201601f19908116603f01168101908382118183101715612f8157612f81612ec9565b816040528281528a6020848701011115612f9a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612fd157600080fd5b8235612fdc81612c2a565b91506020830135612e6081612c2a565b60008060208385031215612fff57600080fd5b82356001600160401b038082111561301657600080fd5b818501915085601f83011261302a57600080fd5b81358181111561303957600080fd5b866020828501011115612d6d57600080fd5b600181811c9082168061305f57607f821691505b60208210811415612e7d57634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260149082015273139bda5cd948191bd95cc81b9bdd08195e1a5cdd60621b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156131745761317461314a565b5060010190565b6000821982111561318e5761318e61314a565b500190565b60208082526038908201527f436f6e74726163742069732073656c662d6c6f636b656420666f726576657220604082015277061667465722074686520636f6d6d756e6974792064726f760441b606082015260800190565b6000808335601e1984360301811261320257600080fd5b8301803591506001600160401b0382111561321c57600080fd5b60200191503681900382131561323157600080fd5b9250929050565b5b81811015610c225760008155600101613239565b601f8211156108f257806000526020600020601f840160051c810160208510156132745750805b613286601f850160051c830182613238565b5050505050565b600019600383901b1c191660019190911b1790565b6001600160401b038311156132b9576132b9612ec9565b6132cd836132c7835461304b565b8361324d565b6000601f8411600181146132fb57600085156132e95750838201355b6132f3868261328d565b845550613286565b600083815260209020601f19861690835b8281101561332c578685013582556020948501946001909201910161330c565b50868210156133495760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b61336582836131eb565b6001600160401b0381111561337c5761337c612ec9565b6133908161338a855461304b565b8561324d565b6000601f8211600181146133be57600083156133ac5750838201355b6133b6848261328d565b865550613418565b600085815260209020601f19841690835b828110156133ef57868501358255602094850194600190920191016133cf565b508482101561340c5760001960f88660031b161c19848701351681555b505060018360011b0185555b5050505061342960208301836131eb565b6112948183600186016132a2565b60008151613449818560208601612ba6565b9290920192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e2c7b226e616d65223a220081526000845161348b81601f850160208901612ba6565b701116113232b9b1b934b83a34b7b7111d1160791b601f9184019182015284516134bc816030840160208901612ba6565b7f222c22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d60309290910191820152681b0ed8985cd94d8d0b60ba1b6050820152835161350c816059840160208801612ba6565b7f222c226261636b67726f756e645f636f6c6f72223a22303030303030227d00006059929091019182015260770195945050505050565b6000808335601e1984360301811261355a57600080fd5b8301803591506001600160401b0382111561357457600080fd5b6020019150600581901b360382131561323157600080fd5b60008160001904831182151516156135a6576135a661314a565b500290565b600160401b8311156135bf576135bf612ec9565b8054838255808410156135e5578160005260206000206135e3828201868301613238565b505b50818160005260208060002060005b86811015613610578335825592820192600191820191016135f4565b50505050505050565b61362382836131eb565b6001600160401b0381111561363a5761363a612ec9565b6136488161338a855461304b565b6000601f82116001811461367657600083156136645750838201355b61366e848261328d565b8655506136d0565b600085815260209020601f19841690835b828110156136a75786850135825560209485019460019092019101613687565b50848210156136c45760001960f88660031b161c19848701351681555b505060018360011b0185555b505050506136e16020830183613543565b6112948183600186016135ab565b60006020828403121561370157600080fd5b815161280581612c2a565b60008282101561371e5761371e61314a565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b64024a72baa160dd1b815260008251613795816005850160208701612ba6565b9190910160050192915050565b6f494e4e4f49534557455452555354202360801b8152600083516137cd816010850160208801612ba6565b602f60f81b60109184019182015283516137ee816011840160208801612ba6565b6f17101a181a173d32b93796101918191960811b60119290910191820152602101949350505050565b600081546138248161304b565b6001828116801561383c576001811461384d5761387c565b60ff1984168752828701945061387c565b8560005260208060002060005b858110156138735781548a82015290840190820161385a565b50505082870194505b5050505092915050565b7f3c21444f43545950452068746d6c3e3c68746d6c3e3c686561643e3c7469746c815261329f60f11b6020820152600086516138c9816022850160208b01612ba6565b7f3c2f7469746c653e3c6d657461206e616d653d226465736372697074696f6e22602291840191820152691031b7b73a32b73a1e9160b11b6042820152865161391981604c840160208b01612ba6565b7f22202f3e3c7374796c653e626f64797b6261636b67726f756e643a233030303b604c92909101918201527f6d617267696e3a303b70616464696e673a303b6f766572666c6f773a68696464606c8201527f656e3b7d3c2f7374796c653e3c2f686561643e3c626f64793e3c736372697074608c8201527f20747970653d226170706c69636174696f6e2f6a617661736372697074223e0060ac820152613a15613a046139fe6139d56139cf60cb86018b613817565b89613437565b7f3c2f7363726970743e3c2f626f64793e3c2f68746d6c3e0a3c212d2d0a0000008152601d0190565b86613437565b640516969f0560d91b815260050190565b98975050505050505050565b634e487b7160e01b600052601260045260246000fd5b600082613a4657613a46613a21565b500490565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a7e90830184612bd2565b9695505050505050565b600060208284031215613a9a57600080fd5b815161280581612b73565b600082613ab457613ab4613a21565b500690565b60008551613acb818460208a01612ba6565b855190830190613adf818360208a01612ba6565b621d2d9160e91b9101908152613af86003820186613817565b6211161160e91b81529050613b106003820185613817565b6208974b60ea1b8152600301979650505050505050565b666e6f697365287b60c81b815260008451613b49816007850160208901612ba6565b611f4b60f21b6007918401918201528451613b6b816009840160208901612ba6565b61161160f11b600992909101918201528351613b8e81600b840160208801612ba6565b6222293b60e81b600b9290910191820152600e0195945050505050565b600081613bba57613bba61314a565b506000190190565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f414c4c20494e464f524d4154494f4e2045584953545320494e2054484520434f4445202d204e4f5448494e472049532048494444454e2e0a4f4e43452054484520434f4445204953204558454355544544202d2057452041524520554e41424c4520544f204348414e4745204954204f522053544f502049542e0a574520444f204e4f54204841564520465249454e444c592057484954454c49535453202d204e4f49534520495320544845204f4e4c592041434345535320544f20494e57543430342e0a0a5745204f4e4c592054414c4b20544f20544845204e4f49534546414d494c592e0a414e595448494e4720544841542043414e20424520534149442049532048494444454e20494e20544845204e4f4953452e0a45564552595448494e472057452057494c4c205341592049532048494444454e20494e20544845204e4f4953452e0a444f204e4f54204c4f4f4b20454c534557484552452e0a0a4e4f4953452057494c4c204245205245424f524e20415320454e444c4553534c5920415320414c4c204f544845525320494e205448495320574f524c442e0a494e2054484520454e442c20594f552043414e204252494e47204e4f5448494e472c0a42555420544845204e4f4953452057494c4c20414c5741595320464f4c4c4f5720594f552e0a444f204e4f54205245534953542e0a0a574520464f4c4c4f57204120504152414449474d204f46204e4f4953452e0a574520444f204e4f54204445414c20494e204f5448455220504f4c454d4943532c0a57452054414c4b204f4e4c59204f462054484520554e49464945442050455243455054494f4e204f462054484520574f524c442c0a455850524553534544205448524f554748205448452053494e474c45204d4154455249414c20415641494c41424c4520544f2055532c0a4e4f4953450a0a414e595448494e47204d4f5245205448414e205448415420495320414e204142554e44414e4345204f46204c494152532e0a414e595448494e47204c455353205448414e20544841542049532048554d414e20464541522e0a0a444f204e4f54205345454b20424541555459204f5554534944452e0a46494e4420544845204e4f49534520494e534944452e0a0a414d454e0a0a494e204e4f495345205745205452555354a264697066735822122031c51eac6865305ec2fa6c237aa25d0320312dffef030cea109926ceabcae16164736f6c634300080b0033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000011494e204e4f4953452057452054525553540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004494e575400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): IN NOISE WE TRUST
Arg [1] : symbol (string): INWT

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [3] : 494e204e4f495345205745205452555354000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 494e575400000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

INWT is the first, true on-chain real-time generative audio-visual digital art project.https://innoisewetrust.com/noiseALL INFORMATION EXISTS IN THE CODE – NOTHING IS HIDDEN.ONCE THE CODE IS EXECUTED - WE ARE UNABLE TO CHANGE IT OR STOP IT.WE DO NOT HAVE FRIENDLY WHITELIS...

Validator Index Block Amount
View All Withdrawals

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

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