ETH Price: $3,271.47 (+0.19%)
Gas: 38 Gwei

Token

Safe Passage (SP)
 

Overview

Max Total Supply

368 SP

Holders

126

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
ganj.eth
Balance
1 SP
0xd7c9084990E3F840EB4cE837cA97A44250299510
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SafePassage

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : SafePassage.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
  Safe Passage NFTs
  by nftboi and tr666
 */

contract SafePassage is ERC721Enumerable, Ownable {
  string BASE_URI;
  uint256 PRICE = 0.06 ether;
  uint256 MAX_SUPPLY = 11111;
  uint256 public START_TIME = 1632322800;
  address public DONATION_WALLET;

  constructor(string memory baseUri, address donationWallet)
    ERC721("Safe Passage", "SP")
  {
    BASE_URI = baseUri;
    DONATION_WALLET = donationWallet;
  }

  uint256 globalId;

  mapping(uint256 => uint256) tokenIdToSeed;

  function getSeedFromTokenId(uint256 tokenId) public view returns (uint256) {
    require(_exists(tokenId), "SP: 6");
    return tokenIdToSeed[tokenId];
  }

  function updateStartTime(uint256 startTime) public onlyOwner {
    START_TIME = startTime;
  }

  function updateDonationWallet(address donationWallet) public onlyOwner {
    DONATION_WALLET = donationWallet;
  }

  function updatePrice(uint256 price) public onlyOwner {
    PRICE = price;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    override
    returns (string memory)
  {
    require(_exists(tokenId), "SP: 6");
    string[3] memory parts;
    parts[
      0
    ] = "<script>({PI,cos:c,sin:s,round:x}=Math),l=2147483647,r=(r=>(n=0,i=1)=>(r=16807*r%l,n+(i-n)*r/l))(Number(";

    parts[1] = uintToStr(getSeedFromTokenId(tokenId));

    parts[
      2
    ] = ')),m=.05,v=r(.01,.04),z=.5-m-v,u=r(5,25),b=r(5,25),y=x(r(10,60)),n=r(0,.15)*m,_=`stroke-width=${.002} stroke-dasharray="${`${r(.01,.1)} ${r(0,.1)}`}" stroke="#000" fill="none"/>`,$="<circle cx=0.5 cy=0.5 r=",q=\'<polyline points="\',document.write(`<svg width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="xMidYMid meet"><defs><clipPath id="c">${$}${.5-m-v} /></clipPath></defs><rect x="0" y="0" width="1" height="1" fill="white" />${q}${new Array(361).fill(0).map((_,j)=>(o=j/180*PI,g=.5-m+s(o*y)*n,`${.5+g*s(o)} ${.5+g*c(o)}`)).join(",")}" ${_}${$}${.5-m-v} ${_}${q}${new Array(2e3).fill(0).map((_,n)=>`${c(n/u)*z+.5} ${c(n/b)*z+.5}`).join(",")}" clip-path="url(#c)" ${_}</svg>`)</script>';

    string memory html;
    for (uint256 i = 0; i < parts.length; i++) {
      html = string(abi.encodePacked(html, parts[i]));
    }

    string memory id = uintToStr(tokenId);

    string memory json = Base64.encode(
      bytes(
        string(
          abi.encodePacked(
            '{"name": "Safe Passage #',
            id,
            '", "description": "On-chain generative artworks commemorating donations supporting the evacuation of thousands of vulnerable people from Afghanistan", "image": "',
            _baseURI(),
            id,
            '", "on_chain_image": "data:text/html;base64,',
            Base64.encode(bytes(html)),
            '"}'
          )
        )
      )
    );
    return string(abi.encodePacked("data:application/json;base64,", json));
  }

  event Donation(uint256 amount);
  event Minted(uint256 tokenId, uint256 seed);

  function mint(uint256 amount) public payable {
    require(block.timestamp >= START_TIME, "SP: 1");
    require(globalId < MAX_SUPPLY, "SP: 2");
    require(msg.value == amount * PRICE, "SP: 3");
    require(globalId + amount <= MAX_SUPPLY, "SP: 4");
    require(amount > 0 && amount <= 20, "SP: 5");
    payable(DONATION_WALLET).transfer(msg.value);
    for (uint256 i = 0; i < amount; i++) {
      uint256 tokenId = ++globalId;
      tokenIdToSeed[tokenId] = uint256(
        keccak256(
          abi.encodePacked(
            tokenId,
            block.number,
            blockhash(block.number - 1),
            msg.sender
          )
        )
      );
      _safeMint(msg.sender, tokenId);
      emit Minted(tokenId, tokenIdToSeed[tokenId]);
    }
  }

  function setBaseUri(string memory baseUri) public onlyOwner {
    BASE_URI = baseUri;
  }

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

  function uintToStr(uint256 _i)
    internal
    pure
    returns (string memory _uintAsString)
  {
    if (_i == 0) {
      return "0";
    }
    uint256 j = _i;
    uint256 len;
    while (j != 0) {
      len++;
      j /= 10;
    }
    bytes memory bstr = new bytes(len);
    uint256 k = len;
    while (_i != 0) {
      k = k - 1;
      uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
      bytes1 b1 = bytes1(temp);
      bstr[k] = b1;
      _i /= 10;
    }
    return string(bstr);
  }

  function bytes32ToString(bytes32 x) internal pure returns (string memory) {
    bytes memory bytesString = new bytes(32);
    uint256 charCount = 0;
    for (uint256 j = 0; j < 32; j++) {
      bytes1 char = bytes1(bytes32(uint256(x) * 2**(8 * j)));
      if (char != 0) {
        bytesString[charCount] = char;
        charCount++;
      }
    }
    bytes memory bytesStringTrimmed = new bytes(charCount);
    for (uint256 j = 0; j < charCount; j++) {
      bytesStringTrimmed[j] = bytesString[j];
    }
    return string(bytesStringTrimmed);
  }

  /**
    Error codes
    1: Sale not started
    2: All minted 
    3: Incorrect value sent
    4: Cannot mint amount specified
    5: Max 20 mints per transaction
    6: Token ID does not exist
   */
}

library Base64 {
  bytes internal constant TABLE =
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

  /// @notice Encodes some bytes to the base64 representation
  function encode(bytes memory data) internal pure returns (string memory) {
    uint256 len = data.length;
    if (len == 0) return "";

    // multiply by 4/3 rounded up
    uint256 encodedLen = 4 * ((len + 2) / 3);

    // Add some extra buffer at the end
    bytes memory result = new bytes(encodedLen + 32);

    bytes memory table = TABLE;

    assembly {
      let tablePtr := add(table, 1)
      let resultPtr := add(result, 32)

      for {
        let i := 0
      } lt(i, len) {

      } {
        i := add(i, 3)
        let input := and(mload(add(data, i)), 0xffffff)

        let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
        out := shl(8, out)
        out := add(
          out,
          and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
        )
        out := shl(8, out)
        out := add(
          out,
          and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
        )
        out := shl(8, out)
        out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
        out := shl(224, out)

        mstore(resultPtr, out)

        resultPtr := add(resultPtr, 4)
      }

      switch mod(len, 3)
      case 1 {
        mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
      }
      case 2 {
        mstore(sub(resultPtr, 1), shl(248, 0x3d))
      }

      mstore(result, encodedLen)
    }

    return string(result);
  }
}

File 2 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 3 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 6 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 11 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 13 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseUri","type":"string"},{"internalType":"address","name":"donationWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Donation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seed","type":"uint256"}],"name":"Minted","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":"DONATION_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeedFromTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"address","name":"donationWallet","type":"address"}],"name":"updateDonationWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"updateStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266d529ae9e860000600c55612b67600d5563614b44f0600e553480156200002a57600080fd5b5060405162002dc838038062002dc88339810160408190526200004d9162000224565b604080518082018252600c81526b53616665205061737361676560a01b602080830191825283518085019094526002845261053560f41b9084015281519192916200009b9160009162000161565b508051620000b190600190602084019062000161565b505050620000ce620000c86200010b60201b60201c565b6200010f565b8151620000e390600b90602085019062000161565b50600f80546001600160a01b0319166001600160a01b0392909216919091179055506200035b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016f9062000308565b90600052602060002090601f016020900481019282620001935760008555620001de565b82601f10620001ae57805160ff1916838001178555620001de565b82800160010185558215620001de579182015b82811115620001de578251825591602001919060010190620001c1565b50620001ec929150620001f0565b5090565b5b80821115620001ec5760008155600101620001f1565b80516001600160a01b03811681146200021f57600080fd5b919050565b6000806040838503121562000237578182fd5b82516001600160401b03808211156200024e578384fd5b818501915085601f83011262000262578384fd5b81518181111562000277576200027762000345565b6040516020601f8301601f19168201810184811183821017156200029f576200029f62000345565b6040528282528483018101891015620002b6578687fd5b8693505b82841015620002d95784840181015182850182015292830192620002ba565b82841115620002ea57868184840101525b819650620002fa81890162000207565b955050505050509250929050565b6002810460018216806200031d57607f821691505b602082108114156200033f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612a5d806200036b6000396000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610471578063ddaa26ad14610491578063e985e9c5146104a6578063f2fde38b146104c65761019c565b8063a22cb46514610411578063a4ff575114610431578063b88d4fde146104515761019c565b80638da5cb5b116100c65780638da5cb5b146103b457806395d89b41146103c9578063a0712d68146103de578063a0bcfc7f146103f15761019c565b806370a082311461035f578063715018a61461037f5780638d6cc56d146103945761019c565b806318160ddd116101595780632f745c59116101335780632f745c59146102df57806342842e0e146102ff5780634f6ccce71461031f5780636352211e1461033f5761019c565b806318160ddd1461027d57806323b872dd1461029f5780632a088da6146102bf5761019c565b806301ffc9a7146101a157806306bcf02f146101d757806306fdde03146101f9578063081812fc1461021b578063092f9d7914610248578063095ea7b31461025d575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611c58565b6104e6565b6040516101ce9190611fcd565b60405180910390f35b3480156101e357600080fd5b506101f76101f2366004611cd6565b610513565b005b34801561020557600080fd5b5061020e610560565b6040516101ce9190611fd8565b34801561022757600080fd5b5061023b610236366004611cd6565b6105f2565b6040516101ce9190611f7c565b34801561025457600080fd5b5061023b610635565b34801561026957600080fd5b506101f7610278366004611c2f565b610644565b34801561028957600080fd5b506102926106dc565b6040516101ce9190612553565b3480156102ab57600080fd5b506101f76102ba366004611b41565b6106e2565b3480156102cb57600080fd5b506101f76102da366004611aee565b61071a565b3480156102eb57600080fd5b506102926102fa366004611c2f565b61077b565b34801561030b57600080fd5b506101f761031a366004611b41565b6107cd565b34801561032b57600080fd5b5061029261033a366004611cd6565b6107e8565b34801561034b57600080fd5b5061023b61035a366004611cd6565b610843565b34801561036b57600080fd5b5061029261037a366004611aee565b610878565b34801561038b57600080fd5b506101f76108bc565b3480156103a057600080fd5b506101f76103af366004611cd6565b610907565b3480156103c057600080fd5b5061023b61094b565b3480156103d557600080fd5b5061020e61095a565b6101f76103ec366004611cd6565b610969565b3480156103fd57600080fd5b506101f761040c366004611c90565b610b43565b34801561041d57600080fd5b506101f761042c366004611bf5565b610b95565b34801561043d57600080fd5b5061029261044c366004611cd6565b610c63565b34801561045d57600080fd5b506101f761046c366004611b7c565b610c9d565b34801561047d57600080fd5b5061020e61048c366004611cd6565b610cdc565b34801561049d57600080fd5b50610292610e46565b3480156104b257600080fd5b506101c16104c1366004611b0f565b610e4c565b3480156104d257600080fd5b506101f76104e1366004611aee565b610e7a565b60006001600160e01b0319821663780e9d6360e01b148061050b575061050b82610eeb565b90505b919050565b61051b610f2b565b6001600160a01b031661052c61094b565b6001600160a01b03161461055b5760405162461bcd60e51b81526004016105529061239a565b60405180910390fd5b600e55565b60606000805461056f90612629565b80601f016020809104026020016040519081016040528092919081815260200182805461059b90612629565b80156105e85780601f106105bd576101008083540402835291602001916105e8565b820191906000526020600020905b8154815290600101906020018083116105cb57829003601f168201915b5050505050905090565b60006105fd82610f2f565b6106195760405162461bcd60e51b81526004016105529061234e565b506000908152600460205260409020546001600160a01b031690565b600f546001600160a01b031681565b600061064f82610843565b9050806001600160a01b0316836001600160a01b031614156106835760405162461bcd60e51b815260040161055290612456565b806001600160a01b0316610695610f2b565b6001600160a01b031614806106b157506106b1816104c1610f2b565b6106cd5760405162461bcd60e51b815260040161055290612229565b6106d78383610f4c565b505050565b60085490565b6106f36106ed610f2b565b82610fba565b61070f5760405162461bcd60e51b815260040161055290612497565b6106d783838361103f565b610722610f2b565b6001600160a01b031661073361094b565b6001600160a01b0316146107595760405162461bcd60e51b81526004016105529061239a565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b600061078683610878565b82106107a45760405162461bcd60e51b815260040161055290611feb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6106d783838360405180602001604052806000815250610c9d565b60006107f26106dc565b82106108105760405162461bcd60e51b8152600401610552906124e8565b6008828154811061083157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061050b5760405162461bcd60e51b8152600401610552906122d0565b60006001600160a01b0382166108a05760405162461bcd60e51b815260040161055290612286565b506001600160a01b031660009081526003602052604090205490565b6108c4610f2b565b6001600160a01b03166108d561094b565b6001600160a01b0316146108fb5760405162461bcd60e51b81526004016105529061239a565b610905600061116c565b565b61090f610f2b565b6001600160a01b031661092061094b565b6001600160a01b0316146109465760405162461bcd60e51b81526004016105529061239a565b600c55565b600a546001600160a01b031690565b60606001805461056f90612629565b600e5442101561098b5760405162461bcd60e51b8152600401610552906121eb565b600d54601054106109ae5760405162461bcd60e51b815260040161055290612534565b600c546109bb90826125c7565b34146109d95760405162461bcd60e51b815260040161055290612105565b600d54816010546109ea919061256a565b1115610a085760405162461bcd60e51b81526004016105529061220a565b600081118015610a19575060148111155b610a355760405162461bcd60e51b815260040161055290612437565b600f546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610a6e573d6000803e3d6000fd5b5060005b81811015610b3f576000601060008154610a8b90612664565b918290555090508043610a9f6001826125e6565b4033604051602001610ab49493929190611f4e565b60408051601f19818403018152918152815160209283012060008481526011909352912055610ae333826111be565b600081815260116020526040908190205490517f8a9dcf4e150b1153011b29fec302d5be0c13e84fa8f56ab78587f778a32a90dd91610b249184919061255c565b60405180910390a15080610b3781612664565b915050610a72565b5050565b610b4b610f2b565b6001600160a01b0316610b5c61094b565b6001600160a01b031614610b825760405162461bcd60e51b81526004016105529061239a565b8051610b3f90600b9060208401906119a7565b610b9d610f2b565b6001600160a01b0316826001600160a01b03161415610bce5760405162461bcd60e51b815260040161055290612168565b8060056000610bdb610f2b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610c1f610f2b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c579190611fcd565b60405180910390a35050565b6000610c6e82610f2f565b610c8a5760405162461bcd60e51b815260040161055290612418565b5060009081526011602052604090205490565b610cae610ca8610f2b565b83610fba565b610cca5760405162461bcd60e51b815260040161055290612497565b610cd6848484846111d8565b50505050565b6060610ce782610f2f565b610d035760405162461bcd60e51b815260040161055290612418565b610d0b611a2b565b6040518060a00160405280606881526020016126c2606891398152610d37610d3284610c63565b61120b565b8160016020020181905250604051806102e001604052806102be815260200161272a6102be91396040820152606060005b6003811015610dcc5781838260038110610d9257634e487b7160e01b600052603260045260246000fd5b6020020151604051602001610da8929190611d82565b60405160208183030381529060405291508080610dc490612664565b915050610d68565b506000610dd88561120b565b90506000610e1982610de8611351565b84610df287611360565b604051602001610e059493929190611db1565b604051602081830303815290604052611360565b905080604051602001610e2c9190611f09565b604051602081830303815290604052945050505050919050565b600e5481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610e82610f2b565b6001600160a01b0316610e9361094b565b6001600160a01b031614610eb95760405162461bcd60e51b81526004016105529061239a565b6001600160a01b038116610edf5760405162461bcd60e51b815260040161055290612088565b610ee88161116c565b50565b60006001600160e01b031982166380ac58cd60e01b1480610f1c57506001600160e01b03198216635b5e139f60e01b145b8061050b575061050b826114d4565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f8182610843565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610fc582610f2f565b610fe15760405162461bcd60e51b81526004016105529061219f565b6000610fec83610843565b9050806001600160a01b0316846001600160a01b031614806110275750836001600160a01b031661101c846105f2565b6001600160a01b0316145b8061103757506110378185610e4c565b949350505050565b826001600160a01b031661105282610843565b6001600160a01b0316146110785760405162461bcd60e51b8152600401610552906123cf565b6001600160a01b03821661109e5760405162461bcd60e51b815260040161055290612124565b6110a98383836114ed565b6110b4600082610f4c565b6001600160a01b03831660009081526003602052604081208054600192906110dd9084906125e6565b90915550506001600160a01b038216600090815260036020526040812080546001929061110b90849061256a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b3f828260405180602001604052806000815250611576565b6111e384848461103f565b6111ef848484846115a9565b610cd65760405162461bcd60e51b815260040161055290612036565b60608161123057506040805180820190915260018152600360fc1b602082015261050e565b8160005b811561125a578061124481612664565b91506112539050600a836125a7565b9150611234565b60008167ffffffffffffffff81111561128357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112ad576020820181803683370190505b509050815b8515611348576112c36001826125e6565b905060006112d2600a886125a7565b6112dd90600a6125c7565b6112e790886125e6565b6112f2906030612582565b905060008160f81b90508084848151811061131d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061133f600a896125a7565b975050506112b2565b50949350505050565b6060600b805461056f90612629565b80516060908061138057505060408051602081019091526000815261050e565b6000600361138f83600261256a565b61139991906125a7565b6113a49060046125c7565b905060006113b382602061256a565b67ffffffffffffffff8111156113d957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611403576020820181803683370190505b50905060006040518060600160405280604081526020016129e8604091399050600181016020830160005b8681101561148f576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161142e565b5060038606600181146114a957600281146114ba576114c6565b613d3d60f01b6001198301526114c6565b603d60f81b6000198301525b505050918152949350505050565b6001600160e01b031981166301ffc9a760e01b14919050565b6114f88383836106d7565b6001600160a01b0383166115145761150f816116c4565b611537565b816001600160a01b0316836001600160a01b031614611537576115378382611708565b6001600160a01b0382166115535761154e816117a5565b6106d7565b826001600160a01b0316826001600160a01b0316146106d7576106d7828261187e565b61158083836118c2565b61158d60008484846115a9565b6106d75760405162461bcd60e51b815260040161055290612036565b60006115bd846001600160a01b03166119a1565b156116b957836001600160a01b031663150b7a026115d9610f2b565b8786866040518563ffffffff1660e01b81526004016115fb9493929190611f90565b602060405180830381600087803b15801561161557600080fd5b505af1925050508015611645575060408051601f3d908101601f1916820190925261164291810190611c74565b60015b61169f573d808015611673576040519150601f19603f3d011682016040523d82523d6000602084013e611678565b606091505b5080516116975760405162461bcd60e51b815260040161055290612036565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611037565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161171584610878565b61171f91906125e6565b600083815260076020526040902054909150808214611772576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906117b7906001906125e6565b600083815260096020526040812054600880549394509092849081106117ed57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061181c57634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061186257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061188983610878565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166118e85760405162461bcd60e51b815260040161055290612319565b6118f181610f2f565b1561190e5760405162461bcd60e51b8152600401610552906120ce565b61191a600083836114ed565b6001600160a01b038216600090815260036020526040812080546001929061194390849061256a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546119b390612629565b90600052602060002090601f0160209004810192826119d55760008555611a1b565b82601f106119ee57805160ff1916838001178555611a1b565b82800160010185558215611a1b579182015b82811115611a1b578251825591602001919060010190611a00565b50611a27929150611a52565b5090565b60405180606001604052806003905b6060815260200190600190039081611a3a5790505090565b5b80821115611a275760008155600101611a53565b600067ffffffffffffffff80841115611a8257611a82612695565b604051601f8501601f191681016020018281118282101715611aa657611aa6612695565b604052848152915081838501861015611abe57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461050e57600080fd5b600060208284031215611aff578081fd5b611b0882611ad7565b9392505050565b60008060408385031215611b21578081fd5b611b2a83611ad7565b9150611b3860208401611ad7565b90509250929050565b600080600060608486031215611b55578081fd5b611b5e84611ad7565b9250611b6c60208501611ad7565b9150604084013590509250925092565b60008060008060808587031215611b91578081fd5b611b9a85611ad7565b9350611ba860208601611ad7565b925060408501359150606085013567ffffffffffffffff811115611bca578182fd5b8501601f81018713611bda578182fd5b611be987823560208401611a67565b91505092959194509250565b60008060408385031215611c07578182fd5b611c1083611ad7565b915060208301358015158114611c24578182fd5b809150509250929050565b60008060408385031215611c41578182fd5b611c4a83611ad7565b946020939093013593505050565b600060208284031215611c69578081fd5b8135611b08816126ab565b600060208284031215611c85578081fd5b8151611b08816126ab565b600060208284031215611ca1578081fd5b813567ffffffffffffffff811115611cb7578182fd5b8201601f81018413611cc7578182fd5b61103784823560208401611a67565b600060208284031215611ce7578081fd5b5035919050565b60008151808452611d068160208601602086016125fd565b601f01601f19169290920160200192915050565b60008151611d2c8185602086016125fd565b9290920192915050565b7f222c20226f6e5f636861696e5f696d616765223a2022646174613a746578742f81526b1a1d1b5b0ed8985cd94d8d0b60a21b6020820152602c0190565b61227d60f01b815260020190565b60008351611d948184602088016125fd565b835190830190611da88183602088016125fd565b01949350505050565b60007f7b226e616d65223a20225361666520506173736167652023000000000000000082528551611de9816018850160208a016125fd565b7f222c20226465736372697074696f6e223a20224f6e2d636861696e2067656e656018918401918201527f72617469766520617274776f726b7320636f6d6d656d6f726174696e6720646f60388201527f6e6174696f6e7320737570706f7274696e67207468652065766163756174696f60588201527f6e206f662074686f7573616e6473206f662076756c6e657261626c652070656f60788201527f706c652066726f6d2041666768616e697374616e222c2022696d616765223a206098820152601160f91b60b88201528551611ec88160b9840160208a016125fd565b8551910190611ede8160b98401602089016125fd565b611efd611ef8611ef260b984860101611d36565b87611d1a565b611d74565b98975050505050505050565b60007f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000082528251611f4181601d8501602087016125fd565b91909101601d0192915050565b93845260208401929092526040830152606090811b6bffffffffffffffffffffffff19169082015260740190565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fc390830184611cee565b9695505050505050565b901515815260200190565b600060208252611b086020830184611cee565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526005908201526453503a203360d81b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526005908201526453503a203160d81b604082015260600190565b60208082526005908201526414d40e880d60da1b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526005908201526429a81d101b60d91b604082015260600190565b60208082526005908201526453503a203560d81b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526005908201526429a81d101960d91b604082015260600190565b90815260200190565b918252602082015260400190565b6000821982111561257d5761257d61267f565b500190565b600060ff821660ff84168060ff0382111561259f5761259f61267f565b019392505050565b6000826125c257634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156125e1576125e161267f565b500290565b6000828210156125f8576125f861267f565b500390565b60005b83811015612618578181015183820152602001612600565b83811115610cd65750506000910152565b60028104600182168061263d57607f821691505b6020821081141561265e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126785761267861267f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ee857600080fdfe3c7363726970743e287b50492c636f733a632c73696e3a732c726f756e643a787d3d4d617468292c6c3d323134373438333634372c723d28723d3e286e3d302c693d31293d3e28723d31363830372a72256c2c6e2b28692d6e292a722f6c2929284e756d6265722829292c6d3d2e30352c763d72282e30312c2e3034292c7a3d2e352d6d2d762c753d7228352c3235292c623d7228352c3235292c793d7828722831302c363029292c6e3d7228302c2e3135292a6d2c5f3d607374726f6b652d77696474683d247b2e3030327d207374726f6b652d6461736861727261793d22247b60247b72282e30312c2e31297d20247b7228302c2e31297d607d22207374726f6b653d2223303030222066696c6c3d226e6f6e65222f3e602c243d223c636972636c652063783d302e352063793d302e3520723d222c713d273c706f6c796c696e6520706f696e74733d22272c646f63756d656e742e777269746528603c7376672077696474683d223130302522206865696768743d2231303025222076696577426f783d223020302031203122207072657365727665417370656374526174696f3d22784d6964594d6964206d656574223e3c646566733e3c636c6970506174682069643d2263223e247b247d247b2e352d6d2d767d202f3e3c2f636c6970506174683e3c2f646566733e3c7265637420783d22302220793d2230222077696474683d223122206865696768743d2231222066696c6c3d22776869746522202f3e247b717d247b6e657720417272617928333631292e66696c6c2830292e6d617028285f2c6a293d3e286f3d6a2f3138302a50492c673d2e352d6d2b73286f2a79292a6e2c60247b2e352b672a73286f297d20247b2e352b672a63286f297d6029292e6a6f696e28222c22297d2220247b5f7d247b247d247b2e352d6d2d767d20247b5f7d247b717d247b6e657720417272617928326533292e66696c6c2830292e6d617028285f2c6e293d3e60247b63286e2f75292a7a2b2e357d20247b63286e2f62292a7a2b2e357d60292e6a6f696e28222c22297d2220636c69702d706174683d2275726c282363292220247b5f7d3c2f7376673e60293c2f7363726970743e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122029274e0f89540c406a99e9949f81d2cca94bd5f01d093a31d523f233ce0b267f64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000bcc64ba46d0f74d1894a896fcda575fe8a42a8bb000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f7078672d70726f642e6865726f6b756170702e636f6d2f73616665706173736167652f696d6167652f000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610471578063ddaa26ad14610491578063e985e9c5146104a6578063f2fde38b146104c65761019c565b8063a22cb46514610411578063a4ff575114610431578063b88d4fde146104515761019c565b80638da5cb5b116100c65780638da5cb5b146103b457806395d89b41146103c9578063a0712d68146103de578063a0bcfc7f146103f15761019c565b806370a082311461035f578063715018a61461037f5780638d6cc56d146103945761019c565b806318160ddd116101595780632f745c59116101335780632f745c59146102df57806342842e0e146102ff5780634f6ccce71461031f5780636352211e1461033f5761019c565b806318160ddd1461027d57806323b872dd1461029f5780632a088da6146102bf5761019c565b806301ffc9a7146101a157806306bcf02f146101d757806306fdde03146101f9578063081812fc1461021b578063092f9d7914610248578063095ea7b31461025d575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611c58565b6104e6565b6040516101ce9190611fcd565b60405180910390f35b3480156101e357600080fd5b506101f76101f2366004611cd6565b610513565b005b34801561020557600080fd5b5061020e610560565b6040516101ce9190611fd8565b34801561022757600080fd5b5061023b610236366004611cd6565b6105f2565b6040516101ce9190611f7c565b34801561025457600080fd5b5061023b610635565b34801561026957600080fd5b506101f7610278366004611c2f565b610644565b34801561028957600080fd5b506102926106dc565b6040516101ce9190612553565b3480156102ab57600080fd5b506101f76102ba366004611b41565b6106e2565b3480156102cb57600080fd5b506101f76102da366004611aee565b61071a565b3480156102eb57600080fd5b506102926102fa366004611c2f565b61077b565b34801561030b57600080fd5b506101f761031a366004611b41565b6107cd565b34801561032b57600080fd5b5061029261033a366004611cd6565b6107e8565b34801561034b57600080fd5b5061023b61035a366004611cd6565b610843565b34801561036b57600080fd5b5061029261037a366004611aee565b610878565b34801561038b57600080fd5b506101f76108bc565b3480156103a057600080fd5b506101f76103af366004611cd6565b610907565b3480156103c057600080fd5b5061023b61094b565b3480156103d557600080fd5b5061020e61095a565b6101f76103ec366004611cd6565b610969565b3480156103fd57600080fd5b506101f761040c366004611c90565b610b43565b34801561041d57600080fd5b506101f761042c366004611bf5565b610b95565b34801561043d57600080fd5b5061029261044c366004611cd6565b610c63565b34801561045d57600080fd5b506101f761046c366004611b7c565b610c9d565b34801561047d57600080fd5b5061020e61048c366004611cd6565b610cdc565b34801561049d57600080fd5b50610292610e46565b3480156104b257600080fd5b506101c16104c1366004611b0f565b610e4c565b3480156104d257600080fd5b506101f76104e1366004611aee565b610e7a565b60006001600160e01b0319821663780e9d6360e01b148061050b575061050b82610eeb565b90505b919050565b61051b610f2b565b6001600160a01b031661052c61094b565b6001600160a01b03161461055b5760405162461bcd60e51b81526004016105529061239a565b60405180910390fd5b600e55565b60606000805461056f90612629565b80601f016020809104026020016040519081016040528092919081815260200182805461059b90612629565b80156105e85780601f106105bd576101008083540402835291602001916105e8565b820191906000526020600020905b8154815290600101906020018083116105cb57829003601f168201915b5050505050905090565b60006105fd82610f2f565b6106195760405162461bcd60e51b81526004016105529061234e565b506000908152600460205260409020546001600160a01b031690565b600f546001600160a01b031681565b600061064f82610843565b9050806001600160a01b0316836001600160a01b031614156106835760405162461bcd60e51b815260040161055290612456565b806001600160a01b0316610695610f2b565b6001600160a01b031614806106b157506106b1816104c1610f2b565b6106cd5760405162461bcd60e51b815260040161055290612229565b6106d78383610f4c565b505050565b60085490565b6106f36106ed610f2b565b82610fba565b61070f5760405162461bcd60e51b815260040161055290612497565b6106d783838361103f565b610722610f2b565b6001600160a01b031661073361094b565b6001600160a01b0316146107595760405162461bcd60e51b81526004016105529061239a565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b600061078683610878565b82106107a45760405162461bcd60e51b815260040161055290611feb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6106d783838360405180602001604052806000815250610c9d565b60006107f26106dc565b82106108105760405162461bcd60e51b8152600401610552906124e8565b6008828154811061083157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061050b5760405162461bcd60e51b8152600401610552906122d0565b60006001600160a01b0382166108a05760405162461bcd60e51b815260040161055290612286565b506001600160a01b031660009081526003602052604090205490565b6108c4610f2b565b6001600160a01b03166108d561094b565b6001600160a01b0316146108fb5760405162461bcd60e51b81526004016105529061239a565b610905600061116c565b565b61090f610f2b565b6001600160a01b031661092061094b565b6001600160a01b0316146109465760405162461bcd60e51b81526004016105529061239a565b600c55565b600a546001600160a01b031690565b60606001805461056f90612629565b600e5442101561098b5760405162461bcd60e51b8152600401610552906121eb565b600d54601054106109ae5760405162461bcd60e51b815260040161055290612534565b600c546109bb90826125c7565b34146109d95760405162461bcd60e51b815260040161055290612105565b600d54816010546109ea919061256a565b1115610a085760405162461bcd60e51b81526004016105529061220a565b600081118015610a19575060148111155b610a355760405162461bcd60e51b815260040161055290612437565b600f546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610a6e573d6000803e3d6000fd5b5060005b81811015610b3f576000601060008154610a8b90612664565b918290555090508043610a9f6001826125e6565b4033604051602001610ab49493929190611f4e565b60408051601f19818403018152918152815160209283012060008481526011909352912055610ae333826111be565b600081815260116020526040908190205490517f8a9dcf4e150b1153011b29fec302d5be0c13e84fa8f56ab78587f778a32a90dd91610b249184919061255c565b60405180910390a15080610b3781612664565b915050610a72565b5050565b610b4b610f2b565b6001600160a01b0316610b5c61094b565b6001600160a01b031614610b825760405162461bcd60e51b81526004016105529061239a565b8051610b3f90600b9060208401906119a7565b610b9d610f2b565b6001600160a01b0316826001600160a01b03161415610bce5760405162461bcd60e51b815260040161055290612168565b8060056000610bdb610f2b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610c1f610f2b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c579190611fcd565b60405180910390a35050565b6000610c6e82610f2f565b610c8a5760405162461bcd60e51b815260040161055290612418565b5060009081526011602052604090205490565b610cae610ca8610f2b565b83610fba565b610cca5760405162461bcd60e51b815260040161055290612497565b610cd6848484846111d8565b50505050565b6060610ce782610f2f565b610d035760405162461bcd60e51b815260040161055290612418565b610d0b611a2b565b6040518060a00160405280606881526020016126c2606891398152610d37610d3284610c63565b61120b565b8160016020020181905250604051806102e001604052806102be815260200161272a6102be91396040820152606060005b6003811015610dcc5781838260038110610d9257634e487b7160e01b600052603260045260246000fd5b6020020151604051602001610da8929190611d82565b60405160208183030381529060405291508080610dc490612664565b915050610d68565b506000610dd88561120b565b90506000610e1982610de8611351565b84610df287611360565b604051602001610e059493929190611db1565b604051602081830303815290604052611360565b905080604051602001610e2c9190611f09565b604051602081830303815290604052945050505050919050565b600e5481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610e82610f2b565b6001600160a01b0316610e9361094b565b6001600160a01b031614610eb95760405162461bcd60e51b81526004016105529061239a565b6001600160a01b038116610edf5760405162461bcd60e51b815260040161055290612088565b610ee88161116c565b50565b60006001600160e01b031982166380ac58cd60e01b1480610f1c57506001600160e01b03198216635b5e139f60e01b145b8061050b575061050b826114d4565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f8182610843565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610fc582610f2f565b610fe15760405162461bcd60e51b81526004016105529061219f565b6000610fec83610843565b9050806001600160a01b0316846001600160a01b031614806110275750836001600160a01b031661101c846105f2565b6001600160a01b0316145b8061103757506110378185610e4c565b949350505050565b826001600160a01b031661105282610843565b6001600160a01b0316146110785760405162461bcd60e51b8152600401610552906123cf565b6001600160a01b03821661109e5760405162461bcd60e51b815260040161055290612124565b6110a98383836114ed565b6110b4600082610f4c565b6001600160a01b03831660009081526003602052604081208054600192906110dd9084906125e6565b90915550506001600160a01b038216600090815260036020526040812080546001929061110b90849061256a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b3f828260405180602001604052806000815250611576565b6111e384848461103f565b6111ef848484846115a9565b610cd65760405162461bcd60e51b815260040161055290612036565b60608161123057506040805180820190915260018152600360fc1b602082015261050e565b8160005b811561125a578061124481612664565b91506112539050600a836125a7565b9150611234565b60008167ffffffffffffffff81111561128357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112ad576020820181803683370190505b509050815b8515611348576112c36001826125e6565b905060006112d2600a886125a7565b6112dd90600a6125c7565b6112e790886125e6565b6112f2906030612582565b905060008160f81b90508084848151811061131d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061133f600a896125a7565b975050506112b2565b50949350505050565b6060600b805461056f90612629565b80516060908061138057505060408051602081019091526000815261050e565b6000600361138f83600261256a565b61139991906125a7565b6113a49060046125c7565b905060006113b382602061256a565b67ffffffffffffffff8111156113d957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611403576020820181803683370190505b50905060006040518060600160405280604081526020016129e8604091399050600181016020830160005b8681101561148f576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161142e565b5060038606600181146114a957600281146114ba576114c6565b613d3d60f01b6001198301526114c6565b603d60f81b6000198301525b505050918152949350505050565b6001600160e01b031981166301ffc9a760e01b14919050565b6114f88383836106d7565b6001600160a01b0383166115145761150f816116c4565b611537565b816001600160a01b0316836001600160a01b031614611537576115378382611708565b6001600160a01b0382166115535761154e816117a5565b6106d7565b826001600160a01b0316826001600160a01b0316146106d7576106d7828261187e565b61158083836118c2565b61158d60008484846115a9565b6106d75760405162461bcd60e51b815260040161055290612036565b60006115bd846001600160a01b03166119a1565b156116b957836001600160a01b031663150b7a026115d9610f2b565b8786866040518563ffffffff1660e01b81526004016115fb9493929190611f90565b602060405180830381600087803b15801561161557600080fd5b505af1925050508015611645575060408051601f3d908101601f1916820190925261164291810190611c74565b60015b61169f573d808015611673576040519150601f19603f3d011682016040523d82523d6000602084013e611678565b606091505b5080516116975760405162461bcd60e51b815260040161055290612036565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611037565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161171584610878565b61171f91906125e6565b600083815260076020526040902054909150808214611772576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906117b7906001906125e6565b600083815260096020526040812054600880549394509092849081106117ed57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061181c57634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061186257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061188983610878565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166118e85760405162461bcd60e51b815260040161055290612319565b6118f181610f2f565b1561190e5760405162461bcd60e51b8152600401610552906120ce565b61191a600083836114ed565b6001600160a01b038216600090815260036020526040812080546001929061194390849061256a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546119b390612629565b90600052602060002090601f0160209004810192826119d55760008555611a1b565b82601f106119ee57805160ff1916838001178555611a1b565b82800160010185558215611a1b579182015b82811115611a1b578251825591602001919060010190611a00565b50611a27929150611a52565b5090565b60405180606001604052806003905b6060815260200190600190039081611a3a5790505090565b5b80821115611a275760008155600101611a53565b600067ffffffffffffffff80841115611a8257611a82612695565b604051601f8501601f191681016020018281118282101715611aa657611aa6612695565b604052848152915081838501861015611abe57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461050e57600080fd5b600060208284031215611aff578081fd5b611b0882611ad7565b9392505050565b60008060408385031215611b21578081fd5b611b2a83611ad7565b9150611b3860208401611ad7565b90509250929050565b600080600060608486031215611b55578081fd5b611b5e84611ad7565b9250611b6c60208501611ad7565b9150604084013590509250925092565b60008060008060808587031215611b91578081fd5b611b9a85611ad7565b9350611ba860208601611ad7565b925060408501359150606085013567ffffffffffffffff811115611bca578182fd5b8501601f81018713611bda578182fd5b611be987823560208401611a67565b91505092959194509250565b60008060408385031215611c07578182fd5b611c1083611ad7565b915060208301358015158114611c24578182fd5b809150509250929050565b60008060408385031215611c41578182fd5b611c4a83611ad7565b946020939093013593505050565b600060208284031215611c69578081fd5b8135611b08816126ab565b600060208284031215611c85578081fd5b8151611b08816126ab565b600060208284031215611ca1578081fd5b813567ffffffffffffffff811115611cb7578182fd5b8201601f81018413611cc7578182fd5b61103784823560208401611a67565b600060208284031215611ce7578081fd5b5035919050565b60008151808452611d068160208601602086016125fd565b601f01601f19169290920160200192915050565b60008151611d2c8185602086016125fd565b9290920192915050565b7f222c20226f6e5f636861696e5f696d616765223a2022646174613a746578742f81526b1a1d1b5b0ed8985cd94d8d0b60a21b6020820152602c0190565b61227d60f01b815260020190565b60008351611d948184602088016125fd565b835190830190611da88183602088016125fd565b01949350505050565b60007f7b226e616d65223a20225361666520506173736167652023000000000000000082528551611de9816018850160208a016125fd565b7f222c20226465736372697074696f6e223a20224f6e2d636861696e2067656e656018918401918201527f72617469766520617274776f726b7320636f6d6d656d6f726174696e6720646f60388201527f6e6174696f6e7320737570706f7274696e67207468652065766163756174696f60588201527f6e206f662074686f7573616e6473206f662076756c6e657261626c652070656f60788201527f706c652066726f6d2041666768616e697374616e222c2022696d616765223a206098820152601160f91b60b88201528551611ec88160b9840160208a016125fd565b8551910190611ede8160b98401602089016125fd565b611efd611ef8611ef260b984860101611d36565b87611d1a565b611d74565b98975050505050505050565b60007f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000082528251611f4181601d8501602087016125fd565b91909101601d0192915050565b93845260208401929092526040830152606090811b6bffffffffffffffffffffffff19169082015260740190565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fc390830184611cee565b9695505050505050565b901515815260200190565b600060208252611b086020830184611cee565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526005908201526453503a203360d81b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526005908201526453503a203160d81b604082015260600190565b60208082526005908201526414d40e880d60da1b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526005908201526429a81d101b60d91b604082015260600190565b60208082526005908201526453503a203560d81b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526005908201526429a81d101960d91b604082015260600190565b90815260200190565b918252602082015260400190565b6000821982111561257d5761257d61267f565b500190565b600060ff821660ff84168060ff0382111561259f5761259f61267f565b019392505050565b6000826125c257634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156125e1576125e161267f565b500290565b6000828210156125f8576125f861267f565b500390565b60005b83811015612618578181015183820152602001612600565b83811115610cd65750506000910152565b60028104600182168061263d57607f821691505b6020821081141561265e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126785761267861267f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ee857600080fdfe3c7363726970743e287b50492c636f733a632c73696e3a732c726f756e643a787d3d4d617468292c6c3d323134373438333634372c723d28723d3e286e3d302c693d31293d3e28723d31363830372a72256c2c6e2b28692d6e292a722f6c2929284e756d6265722829292c6d3d2e30352c763d72282e30312c2e3034292c7a3d2e352d6d2d762c753d7228352c3235292c623d7228352c3235292c793d7828722831302c363029292c6e3d7228302c2e3135292a6d2c5f3d607374726f6b652d77696474683d247b2e3030327d207374726f6b652d6461736861727261793d22247b60247b72282e30312c2e31297d20247b7228302c2e31297d607d22207374726f6b653d2223303030222066696c6c3d226e6f6e65222f3e602c243d223c636972636c652063783d302e352063793d302e3520723d222c713d273c706f6c796c696e6520706f696e74733d22272c646f63756d656e742e777269746528603c7376672077696474683d223130302522206865696768743d2231303025222076696577426f783d223020302031203122207072657365727665417370656374526174696f3d22784d6964594d6964206d656574223e3c646566733e3c636c6970506174682069643d2263223e247b247d247b2e352d6d2d767d202f3e3c2f636c6970506174683e3c2f646566733e3c7265637420783d22302220793d2230222077696474683d223122206865696768743d2231222066696c6c3d22776869746522202f3e247b717d247b6e657720417272617928333631292e66696c6c2830292e6d617028285f2c6a293d3e286f3d6a2f3138302a50492c673d2e352d6d2b73286f2a79292a6e2c60247b2e352b672a73286f297d20247b2e352b672a63286f297d6029292e6a6f696e28222c22297d2220247b5f7d247b247d247b2e352d6d2d767d20247b5f7d247b717d247b6e657720417272617928326533292e66696c6c2830292e6d617028285f2c6e293d3e60247b63286e2f75292a7a2b2e357d20247b63286e2f62292a7a2b2e357d60292e6a6f696e28222c22297d2220636c69702d706174683d2275726c282363292220247b5f7d3c2f7376673e60293c2f7363726970743e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122029274e0f89540c406a99e9949f81d2cca94bd5f01d093a31d523f233ce0b267f64736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000bcc64ba46d0f74d1894a896fcda575fe8a42a8bb000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f7078672d70726f642e6865726f6b756170702e636f6d2f73616665706173736167652f696d6167652f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseUri (string): https://pxg-prod.herokuapp.com/safepassage/image/
Arg [1] : donationWallet (address): 0xbCc64bA46D0F74d1894a896FcDA575Fe8a42a8bB

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000bcc64ba46d0f74d1894a896fcda575fe8a42a8bb
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000031
Arg [3] : 68747470733a2f2f7078672d70726f642e6865726f6b756170702e636f6d2f73
Arg [4] : 616665706173736167652f696d6167652f000000000000000000000000000000


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

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