ERC-721
NFT
Overview
Max Total Supply
939 GTAP2
Holders
452
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 GTAP2Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AnimalColoringBook
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface IDescriptors { function tokenURI(uint256 tokenId, AnimalColoringBook animalColoringBook) external view returns(string memory); } interface IMintableBurnable { function mint(address mintTo) external; function burn(uint256 tokenId) external; } interface IGTAP1 { function copyOf(uint256 tokenId) external returns(uint256); } struct Animal { uint8 animalType; uint8 mood; } // types = cat = 1, bunny = 2, mouse = 3, skull = 4, unicorn = 5, creator = 6 contract AnimalColoringBook is ERC721Enumerable, Ownable { IDescriptors public immutable descriptors; address public immutable gtap1Contract; address public immutable wrappedGtap1Contract; address public eraserContract; uint256 public immutable publicMintintingOpenBlock; uint256 public immutable mintFeeWei = 2e17; uint256 public immutable eraserMintFeeWei = 1e17; uint256 public immutable maxNonOGCount = 936; bytes32 public immutable merkleRoot; uint256 private _nonce; mapping(uint256 => Animal) public animalInfo; mapping(uint256 => address[]) private _transferHistory; // Can mint 1 per GTAP1 OG mapping(uint256 => uint256) public ogMintCount; // each GTAP1 holder can mint 2 mapping(address => uint256) public gtapHolderMintCount; constructor(address _owner, bytes32 _merkleRoot, IDescriptors _descriptors, address _gtap1Contract, address _wrappedGtap1Contract) ERC721("Animal Coloring Book", "GTAP2") { transferOwnership(_owner); descriptors = _descriptors; publicMintintingOpenBlock = block.number + 12300; // ~48 hrs merkleRoot = _merkleRoot; gtap1Contract = _gtap1Contract; wrappedGtap1Contract = _wrappedGtap1Contract; } function transferHistory(uint256 tokenId) external view returns (address[] memory){ return _transferHistory[tokenId]; } function mint(address mintTo, bool mintEraser) payable external { uint256 mintFee = mintEraser ? mintFeeWei + eraserMintFeeWei : mintFeeWei; require(msg.value >= mintFee, "AnimalColoringBook: fee too low"); require(block.number >= publicMintintingOpenBlock, 'AnimalColoringBook: public minting not open yet'); require(_nonce < maxNonOGCount, 'AnimalColoringBook: minting closed'); _mint(mintTo, mintEraser); } function gtap1HolderMint(address mintTo, bool mintEraser, bytes32[] calldata merkleProof) payable external { uint256 mintFee = mintEraser ? mintFeeWei + eraserMintFeeWei : mintFeeWei; require(msg.value >= mintFee, "AnimalColoringBook: fee too low"); bytes32 node = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(merkleProof, merkleRoot, node), 'AnimalColoringBook: invalid proof'); require(gtapHolderMintCount[msg.sender] < 2, 'AnimalColoringBook: reached max mint'); require(_nonce < maxNonOGCount, 'AnimalColoringBook: minting closed'); _mint(mintTo, mintEraser); gtapHolderMintCount[msg.sender]++; } function gtap1OGHolderMint(address mintTo, uint256 gtap1TokenId) external { require(ogMintCount[gtap1TokenId] == 0, 'AnimalColoringBook: reached max mint'); require(_isOgHolder(gtap1TokenId), 'AnimalColoringBook: must be gtap1 original owner'); _mint(mintTo, true); ogMintCount[gtap1TokenId]++; } function _isOgHolder(uint256 gtap1TokenId) private returns(bool){ if(IERC721(gtap1Contract).ownerOf(gtap1TokenId) == msg.sender && IGTAP1(gtap1Contract).copyOf(gtap1TokenId) == 0 ){ return true; } return IERC721(wrappedGtap1Contract).ownerOf(gtap1TokenId) == msg.sender; } function _mint(address mintTo, bool mintEraser) private { require(_nonce < 1000, 'AnimalColoringBook: reached max mint'); _safeMint(mintTo, ++_nonce, ""); uint256 randomNumber = _randomishIntLessThan("animal", 101); uint8 animalType = ( (randomNumber < 31 ? 1 : (randomNumber < 56 ? 2 : (randomNumber < 76 ? 3 : (randomNumber < 91 ? 4 : (randomNumber < 99 ? 5 : 6)))))); animalInfo[_nonce].animalType = animalType; if(mintEraser){ IMintableBurnable(eraserContract).mint(mintTo); } } function erase(uint256 tokenId, uint256 eraserTokenId) external { IMintableBurnable(eraserContract).burn(eraserTokenId); address[] memory fresh; _transferHistory[tokenId] = fresh; animalInfo[tokenId].mood = 0; } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { super.transferFrom(from, to, tokenId); if(_transferHistory[tokenId].length < 4) { _transferHistory[tokenId].push(to); if(_transferHistory[tokenId].length == 4){ uint8 random = _randomishIntLessThan("mood", 10) + 1; animalInfo[tokenId].mood = random > 6 ? 1 : random; } } } function tokenURI(uint256 tokenId) public override view returns(string memory) { return descriptors.tokenURI(tokenId, this); } function setEraser(address _eraserContract) external { require(address(eraserContract) == address(0), 'set'); eraserContract = _eraserContract; } function _randomishIntLessThan(bytes32 salt, uint8 n) private view returns (uint8) { if (n == 0) return 0; return uint8(keccak256(abi.encodePacked(block.timestamp, _nonce, msg.sender, salt))[0]) % n; } function payOwner(address to, uint256 amount) public onlyOwner() { require(amount <= address(this).balance, "amount too high"); payable(to).transfer(amount); } }
// 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(); } }
// 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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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; }
// 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); }
// 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); }
// 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); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"contract IDescriptors","name":"_descriptors","type":"address"},{"internalType":"address","name":"_gtap1Contract","type":"address"},{"internalType":"address","name":"_wrappedGtap1Contract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"animalInfo","outputs":[{"internalType":"uint8","name":"animalType","type":"uint8"},{"internalType":"uint8","name":"mood","type":"uint8"}],"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":[],"name":"descriptors","outputs":[{"internalType":"contract IDescriptors","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"eraserTokenId","type":"uint256"}],"name":"erase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eraserContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eraserMintFeeWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gtap1Contract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"mintTo","type":"address"},{"internalType":"bool","name":"mintEraser","type":"bool"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"gtap1HolderMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"mintTo","type":"address"},{"internalType":"uint256","name":"gtap1TokenId","type":"uint256"}],"name":"gtap1OGHolderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"gtapHolderMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNonOGCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"mintTo","type":"address"},{"internalType":"bool","name":"mintEraser","type":"bool"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFeeWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ogMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"payOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicMintintingOpenBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"_eraserContract","type":"address"}],"name":"setEraser","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":"uint256","name":"tokenId","type":"uint256"}],"name":"transferHistory","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wrappedGtap1Contract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101806040526702c68af0bb1400006101009081525067016345785d8a0000610120908152506103a8610140908152503480156200003c57600080fd5b50604051620059f4380380620059f4833981810160405281019062000062919062000506565b6040518060400160405280601481526020017f416e696d616c20436f6c6f72696e6720426f6f6b0000000000000000000000008152506040518060400160405280600581526020017f47544150320000000000000000000000000000000000000000000000000000008152508160009080519060200190620000e692919062000411565b508060019080519060200190620000ff92919062000411565b50505062000122620001166200020360201b60201c565b6200020b60201b60201c565b6200013385620002d160201b60201c565b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505061300c436200017a919062000631565b60e081815250508361016081815250508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505050505062000849565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002e16200020360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000307620003e760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000360576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035790620005fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620003d3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ca90620005dc565b60405180910390fd5b620003e4816200020b60201b60201c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200041f90620006ea565b90600052602060002090601f0160209004810192826200044357600085556200048f565b82601f106200045e57805160ff19168380011785556200048f565b828001600101855582156200048f579182015b828111156200048e57825182559160200191906001019062000471565b5b5090506200049e9190620004a2565b5090565b5b80821115620004bd576000816000905550600101620004a3565b5090565b600081519050620004d281620007fb565b92915050565b600081519050620004e98162000815565b92915050565b60008151905062000500816200082f565b92915050565b600080600080600060a086880312156200052557620005246200077e565b5b60006200053588828901620004c1565b95505060206200054888828901620004d8565b94505060406200055b88828901620004ef565b93505060606200056e88828901620004c1565b92505060806200058188828901620004c1565b9150509295509295909350565b60006200059d60268362000620565b9150620005aa8262000783565b604082019050919050565b6000620005c460208362000620565b9150620005d182620007d2565b602082019050919050565b60006020820190508181036000830152620005f7816200058e565b9050919050565b600060208201905081810360008301526200061981620005b5565b9050919050565b600082825260208201905092915050565b60006200063e82620006e0565b91506200064b83620006e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000683576200068262000720565b5b828201905092915050565b60006200069b82620006c0565b9050919050565b6000819050919050565b6000620006b9826200068e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200070357607f821691505b602082108114156200071a57620007196200074f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b62000806816200068e565b81146200081257600080fd5b50565b6200082081620006a2565b81146200082c57600080fd5b50565b6200083a81620006ac565b81146200084657600080fd5b50565b60805160601c60a05160601c60c05160601c60e051610100516101205161014051610160516150da6200091a60003960008181610ffe0152611aca015260008181610d5b01528181611bb20152611d98015260008181610c660152818161128601526119c801526000818161099b01528181610c4001528181610c87015281816119a201526119e9015260008181610cf80152611721015260008181611f4801526125ef0152600081816110c701528181612454015261251d01526000818161157f0152611ce101526150da6000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a11d389e116100ab578063d43d84831161006f578063d43d848314610838578063e985e9c514610863578063f2fde38b146108a0578063fdd73bd5146108c9578063fedd4267146108f457610225565b8063a11d389e14610764578063a22cb4651461078d578063ad2b0a34146107b6578063b88d4fde146107d2578063c87b56dd146107fb57610225565b80638da5cb5b116100f25780638da5cb5b1461068f5780638f228ff1146106ba5780639392e5b5146106e557806395d89b411461070e578063a06fa7ef1461073957610225565b806370a08231146105c1578063715018a6146105fe578063816c99de146106155780638730b5bc1461065257610225565b806325576cc4116101b15780633959327c116101755780633959327c146104ca57806342842e0e146104f35780634f6ccce71461051c57806359576bb8146105595780636352211e1461058457610225565b806325576cc4146103d15780632dd8b490146103fa5780632eb4a7ab146104375780632f745c5914610462578063313604971461049f57610225565b8063095ea7b3116101f8578063095ea7b3146102fa5780630c3300fe1461032357806318160ddd146103615780632097d3fb1461038c57806323b872dd146103a857610225565b806301ffc9a71461022a578063062205341461026757806306fdde0314610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906138f7565b61091f565b60405161025e9190614062565b60405180910390f35b34801561027357600080fd5b5061027c610999565b60405161028991906143f5565b60405180910390f35b34801561029e57600080fd5b506102a76109bd565b6040516102b491906140b3565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df919061399a565b610a4f565b6040516102f19190613fd9565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c91906138b7565b610ad4565b005b34801561032f57600080fd5b5061034a6004803603810190610345919061399a565b610bec565b604051610358929190614439565b60405180910390f35b34801561036d57600080fd5b50610376610c2a565b60405161038391906143f5565b60405180910390f35b6103a660048036038101906103a19190613803565b610c37565b005b3480156103b457600080fd5b506103cf60048036038101906103ca919061372d565b610dcc565b005b3480156103dd57600080fd5b506103f860048036038101906103f391906138b7565b610f0e565b005b34801561040657600080fd5b50610421600480360381019061041c919061399a565b610fe4565b60405161042e91906143f5565b60405180910390f35b34801561044357600080fd5b5061044c610ffc565b604051610459919061407d565b60405180910390f35b34801561046e57600080fd5b50610489600480360381019061048491906138b7565b611020565b60405161049691906143f5565b60405180910390f35b3480156104ab57600080fd5b506104b46110c5565b6040516104c19190613fd9565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec91906138b7565b6110e9565b005b3480156104ff57600080fd5b5061051a6004803603810190610515919061372d565b6111f3565b005b34801561052857600080fd5b50610543600480360381019061053e919061399a565b611213565b60405161055091906143f5565b60405180910390f35b34801561056557600080fd5b5061056e611284565b60405161057b91906143f5565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a6919061399a565b6112a8565b6040516105b89190613fd9565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190613693565b61135a565b6040516105f591906143f5565b60405180910390f35b34801561060a57600080fd5b50610613611412565b005b34801561062157600080fd5b5061063c6004803603810190610637919061399a565b61149a565b6040516106499190614040565b60405180910390f35b34801561065e57600080fd5b5061067960048036038101906106749190613693565b61153b565b60405161068691906143f5565b60405180910390f35b34801561069b57600080fd5b506106a4611553565b6040516106b19190613fd9565b60405180910390f35b3480156106c657600080fd5b506106cf61157d565b6040516106dc9190614098565b60405180910390f35b3480156106f157600080fd5b5061070c600480360381019061070791906139f4565b6115a1565b005b34801561071a57600080fd5b5061072361168d565b60405161073091906140b3565b60405180910390f35b34801561074557600080fd5b5061074e61171f565b60405161075b91906143f5565b60405180910390f35b34801561077057600080fd5b5061078b60048036038101906107869190613693565b611743565b005b34801561079957600080fd5b506107b460048036038101906107af9190613803565b611818565b005b6107d060048036038101906107cb9190613843565b611999565b005b3480156107de57600080fd5b506107f960048036038101906107f49190613780565b611c7b565b005b34801561080757600080fd5b50610822600480360381019061081d919061399a565b611cdd565b60405161082f91906140b3565b60405180910390f35b34801561084457600080fd5b5061084d611d96565b60405161085a91906143f5565b60405180910390f35b34801561086f57600080fd5b5061088a600480360381019061088591906136ed565b611dba565b6040516108979190614062565b60405180910390f35b3480156108ac57600080fd5b506108c760048036038101906108c29190613693565b611e4e565b005b3480156108d557600080fd5b506108de611f46565b6040516108eb9190613fd9565b60405180910390f35b34801561090057600080fd5b50610909611f6a565b6040516109169190613fd9565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610992575061099182611f90565b5b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060600080546109cc90614730565b80601f01602080910402602001604051908101604052809291908181526020018280546109f890614730565b8015610a455780601f10610a1a57610100808354040283529160200191610a45565b820191906000526020600020905b815481529060010190602001808311610a2857829003601f168201915b5050505050905090565b6000610a5a82612072565b610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9090614295565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610adf826112a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4790614355565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6f6120de565b73ffffffffffffffffffffffffffffffffffffffff161480610b9e5750610b9d81610b986120de565b611dba565b5b610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490614215565b60405180910390fd5b610be783836120e6565b505050565b600d6020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16905082565b6000600880549050905090565b600081610c64577f0000000000000000000000000000000000000000000000000000000000000000610cb1565b7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610cb0919061455a565b5b905080341015610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced906142b5565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000431015610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5090614175565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600c5410610dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db4906140d5565b60405180910390fd5b610dc7838361219f565b505050565b610dd7838383612366565b6004600e6000838152602001908152602001600020805490501015610f0957600e6000828152602001908152602001600020829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600e6000838152602001908152602001600020805490501415610f085760006001610eb87f6d6f6f6400000000000000000000000000000000000000000000000000000000600a6123c6565b610ec291906145b0565b905060068160ff1611610ed55780610ed8565b60015b600d600084815260200190815260200160002060000160016101000a81548160ff021916908360ff160217905550505b5b505050565b6000600f60008381526020019081526020016000205414610f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5b906141d5565b60405180910390fd5b610f6d81612439565b610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa390614375565b60405180910390fd5b610fb782600161219f565b600f60008281526020019081526020016000206000815480929190610fdb90614793565b91905055505050565b600f6020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061102b8361135a565b821061106c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611063906140f5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6110f16120de565b73ffffffffffffffffffffffffffffffffffffffff1661110f611553565b73ffffffffffffffffffffffffffffffffffffffff1614611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c906142d5565b60405180910390fd5b478111156111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f906142f5565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111ee573d6000803e3d6000fd5b505050565b61120e83838360405180602001604052806000815250611c7b565b505050565b600061121d610c2a565b821061125e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611255906143b5565b60405180910390fd5b6008828154811061127257611271614901565b5b90600052602060002001549050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134890614255565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c290614235565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61141a6120de565b73ffffffffffffffffffffffffffffffffffffffff16611438611553565b73ffffffffffffffffffffffffffffffffffffffff161461148e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611485906142d5565b60405180910390fd5b61149860006126b5565b565b6060600e600083815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561152f57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116114e5575b50505050509050919050565b60106020528060005260406000206000915090505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b81526004016115fc91906143f5565b600060405180830381600087803b15801561161657600080fd5b505af115801561162a573d6000803e3d6000fd5b50505050606080600e60008581526020019081526020016000209080519060200190611657929190613423565b506000600d600085815260200190815260200160002060000160016101000a81548160ff021916908360ff160217905550505050565b60606001805461169c90614730565b80601f01602080910402602001604051908101604052809291908181526020018280546116c890614730565b80156117155780601f106116ea57610100808354040283529160200191611715565b820191906000526020600020905b8154815290600101906020018083116116f857829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cb906143d5565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6118206120de565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561188e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611885906141b5565b60405180910390fd5b806005600061189b6120de565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119486120de565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161198d9190614062565b60405180910390a35050565b6000836119c6577f0000000000000000000000000000000000000000000000000000000000000000611a13565b7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611a12919061455a565b5b905080341015611a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4f906142b5565b60405180910390fd5b600033604051602001611a6b9190613f44565b604051602081830303815290604052805190602001209050611aef848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f00000000000000000000000000000000000000000000000000000000000000008361277b565b611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590614335565b60405180910390fd5b6002601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba7906141d5565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600c5410611c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0b906140d5565b60405180910390fd5b611c1e868661219f565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611c6e90614793565b9190505550505050505050565b611c8c611c866120de565b83612831565b611ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc290614395565b60405180910390fd5b611cd78484848461290f565b50505050565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16638c4c1b2f83306040518363ffffffff1660e01b8152600401611d3a929190614410565b60006040518083038186803b158015611d5257600080fd5b505afa158015611d66573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d8f9190613951565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e566120de565b73ffffffffffffffffffffffffffffffffffffffff16611e74611553565b73ffffffffffffffffffffffffffffffffffffffff1614611eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec1906142d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3190614135565b60405180910390fd5b611f43816126b5565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061205b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061206b575061206a8261296b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612159836112a8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6103e8600c54106121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc906141d5565b60405180910390fd5b61221382600c600081546121f890614793565b919050819055604051806020016040528060008152506129d5565b60006122407f616e696d616c000000000000000000000000000000000000000000000000000060656123c6565b60ff1690506000601f8210612296576038821061228e57604c821061228657605b821061227e5760638210612276576006612279565b60055b612281565b60045b612289565b60035b612291565b60025b612299565b60015b905080600d6000600c54815260200190815260200160002060000160006101000a81548160ff021916908360ff160217905550821561236057600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842856040518263ffffffff1660e01b815260040161232d9190613fd9565b600060405180830381600087803b15801561234757600080fd5b505af115801561235b573d6000803e3d6000fd5b505050505b50505050565b6123776123716120de565b82612831565b6123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ad90614395565b60405180910390fd5b6123c1838383612a30565b505050565b6000808260ff1614156123dc5760009050612433565b8142600c5433866040516020016123f69493929190613f8b565b6040516020818303038152906040528051906020012060006020811061241f5761241e614901565b5b1a60f81b60f81c6124309190614814565b90505b92915050565b60003373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016124ab91906143f5565b60206040518083038186803b1580156124c357600080fd5b505afa1580156124d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124fb91906136c0565b73ffffffffffffffffffffffffffffffffffffffff161480156125c8575060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630e0c2e9e846040518263ffffffff1660e01b815260040161257491906143f5565b602060405180830381600087803b15801561258e57600080fd5b505af11580156125a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c691906139c7565b145b156125d657600190506126b0565b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161264691906143f5565b60206040518083038186803b15801561265e57600080fd5b505afa158015612672573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269691906136c0565b73ffffffffffffffffffffffffffffffffffffffff161490505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b85518110156128235760008682815181106127a2576127a1614901565b5b602002602001015190508083116127e35782816040516020016127c6929190613f5f565b60405160208183030381529060405280519060200120925061280f565b80836040516020016127f6929190613f5f565b6040516020818303038152906040528051906020012092505b50808061281b90614793565b915050612784565b508381149150509392505050565b600061283c82612072565b61287b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612872906141f5565b60405180910390fd5b6000612886836112a8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128f557508373ffffffffffffffffffffffffffffffffffffffff166128dd84610a4f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061290657506129058185611dba565b5b91505092915050565b61291a848484612a30565b61292684848484612c8c565b612965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295c90614115565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6129df8383612e23565b6129ec6000848484612c8c565b612a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2290614115565b60405180910390fd5b505050565b8273ffffffffffffffffffffffffffffffffffffffff16612a50826112a8565b73ffffffffffffffffffffffffffffffffffffffff1614612aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9d90614315565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d90614195565b60405180910390fd5b612b21838383612ff1565b612b2c6000826120e6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b7c91906145e7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bd3919061455a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612cad8473ffffffffffffffffffffffffffffffffffffffff16613105565b15612e16578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cd66120de565b8786866040518563ffffffff1660e01b8152600401612cf89493929190613ff4565b602060405180830381600087803b158015612d1257600080fd5b505af1925050508015612d4357506040513d601f19601f82011682018060405250810190612d409190613924565b60015b612dc6573d8060008114612d73576040519150601f19603f3d011682016040523d82523d6000602084013e612d78565b606091505b50600081511415612dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db590614115565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e1b565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8a90614275565b60405180910390fd5b612e9c81612072565b15612edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed390614155565b60405180910390fd5b612ee860008383612ff1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f38919061455a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612ffc838383613118565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561303f5761303a8161311d565b61307e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461307d5761307c8382613166565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130c1576130bc816132d3565b613100565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130ff576130fe82826133a4565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131738461135a565b61317d91906145e7565b9050600060076000848152602001908152602001600020549050818114613262576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132e791906145e7565b905060006009600084815260200190815260200160002054905060006008838154811061331757613316614901565b5b90600052602060002001549050806008838154811061333957613338614901565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613388576133876148d2565b5b6001900381819060005260206000200160009055905550505050565b60006133af8361135a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805482825590600052602060002090810192821561349c579160200282015b8281111561349b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613443565b5b5090506134a991906134ad565b5090565b5b808211156134c65760008160009055506001016134ae565b5090565b60006134dd6134d884614487565b614462565b9050828152602081018484840111156134f9576134f861496e565b5b6135048482856146ee565b509392505050565b600061351f61351a846144b8565b614462565b90508281526020810184848401111561353b5761353a61496e565b5b6135468482856146fd565b509392505050565b60008135905061355d81615048565b92915050565b60008151905061357281615048565b92915050565b60008083601f84011261358e5761358d614964565b5b8235905067ffffffffffffffff8111156135ab576135aa61495f565b5b6020830191508360208202830111156135c7576135c6614969565b5b9250929050565b6000813590506135dd8161505f565b92915050565b6000813590506135f281615076565b92915050565b60008151905061360781615076565b92915050565b600082601f83011261362257613621614964565b5b81356136328482602086016134ca565b91505092915050565b600082601f8301126136505761364f614964565b5b815161366084826020860161350c565b91505092915050565b6000813590506136788161508d565b92915050565b60008151905061368d8161508d565b92915050565b6000602082840312156136a9576136a8614978565b5b60006136b78482850161354e565b91505092915050565b6000602082840312156136d6576136d5614978565b5b60006136e484828501613563565b91505092915050565b6000806040838503121561370457613703614978565b5b60006137128582860161354e565b92505060206137238582860161354e565b9150509250929050565b60008060006060848603121561374657613745614978565b5b60006137548682870161354e565b93505060206137658682870161354e565b925050604061377686828701613669565b9150509250925092565b6000806000806080858703121561379a57613799614978565b5b60006137a88782880161354e565b94505060206137b98782880161354e565b93505060406137ca87828801613669565b925050606085013567ffffffffffffffff8111156137eb576137ea614973565b5b6137f78782880161360d565b91505092959194509250565b6000806040838503121561381a57613819614978565b5b60006138288582860161354e565b9250506020613839858286016135ce565b9150509250929050565b6000806000806060858703121561385d5761385c614978565b5b600061386b8782880161354e565b945050602061387c878288016135ce565b935050604085013567ffffffffffffffff81111561389d5761389c614973565b5b6138a987828801613578565b925092505092959194509250565b600080604083850312156138ce576138cd614978565b5b60006138dc8582860161354e565b92505060206138ed85828601613669565b9150509250929050565b60006020828403121561390d5761390c614978565b5b600061391b848285016135e3565b91505092915050565b60006020828403121561393a57613939614978565b5b6000613948848285016135f8565b91505092915050565b60006020828403121561396757613966614978565b5b600082015167ffffffffffffffff81111561398557613984614973565b5b6139918482850161363b565b91505092915050565b6000602082840312156139b0576139af614978565b5b60006139be84828501613669565b91505092915050565b6000602082840312156139dd576139dc614978565b5b60006139eb8482850161367e565b91505092915050565b60008060408385031215613a0b57613a0a614978565b5b6000613a1985828601613669565b9250506020613a2a85828601613669565b9150509250929050565b6000613a408383613a4c565b60208301905092915050565b613a558161461b565b82525050565b613a648161461b565b82525050565b613a7b613a768261461b565b6147dc565b82525050565b6000613a8c826144f9565b613a968185614527565b9350613aa1836144e9565b8060005b83811015613ad2578151613ab98882613a34565b9750613ac48361451a565b925050600181019050613aa5565b5085935050505092915050565b613ae88161462d565b82525050565b613af781614639565b82525050565b613b0e613b0982614639565b6147ee565b82525050565b6000613b1f82614504565b613b298185614538565b9350613b398185602086016146fd565b613b428161497d565b840191505092915050565b613b56816146a6565b82525050565b613b65816146ca565b82525050565b6000613b768261450f565b613b808185614549565b9350613b908185602086016146fd565b613b998161497d565b840191505092915050565b6000613bb1602283614549565b9150613bbc8261499b565b604082019050919050565b6000613bd4602b83614549565b9150613bdf826149ea565b604082019050919050565b6000613bf7603283614549565b9150613c0282614a39565b604082019050919050565b6000613c1a602683614549565b9150613c2582614a88565b604082019050919050565b6000613c3d601c83614549565b9150613c4882614ad7565b602082019050919050565b6000613c60602f83614549565b9150613c6b82614b00565b604082019050919050565b6000613c83602483614549565b9150613c8e82614b4f565b604082019050919050565b6000613ca6601983614549565b9150613cb182614b9e565b602082019050919050565b6000613cc9602483614549565b9150613cd482614bc7565b604082019050919050565b6000613cec602c83614549565b9150613cf782614c16565b604082019050919050565b6000613d0f603883614549565b9150613d1a82614c65565b604082019050919050565b6000613d32602a83614549565b9150613d3d82614cb4565b604082019050919050565b6000613d55602983614549565b9150613d6082614d03565b604082019050919050565b6000613d78602083614549565b9150613d8382614d52565b602082019050919050565b6000613d9b602c83614549565b9150613da682614d7b565b604082019050919050565b6000613dbe601f83614549565b9150613dc982614dca565b602082019050919050565b6000613de1602083614549565b9150613dec82614df3565b602082019050919050565b6000613e04600f83614549565b9150613e0f82614e1c565b602082019050919050565b6000613e27602983614549565b9150613e3282614e45565b604082019050919050565b6000613e4a602183614549565b9150613e5582614e94565b604082019050919050565b6000613e6d602183614549565b9150613e7882614ee3565b604082019050919050565b6000613e90603083614549565b9150613e9b82614f32565b604082019050919050565b6000613eb3603183614549565b9150613ebe82614f81565b604082019050919050565b6000613ed6602c83614549565b9150613ee182614fd0565b604082019050919050565b6000613ef9600383614549565b9150613f048261501f565b602082019050919050565b613f188161468f565b82525050565b613f2f613f2a8261468f565b61480a565b82525050565b613f3e81614699565b82525050565b6000613f508284613a6a565b60148201915081905092915050565b6000613f6b8285613afd565b602082019150613f7b8284613afd565b6020820191508190509392505050565b6000613f978287613f1e565b602082019150613fa78286613f1e565b602082019150613fb78285613a6a565b601482019150613fc78284613afd565b60208201915081905095945050505050565b6000602082019050613fee6000830184613a5b565b92915050565b60006080820190506140096000830187613a5b565b6140166020830186613a5b565b6140236040830185613f0f565b81810360608301526140358184613b14565b905095945050505050565b6000602082019050818103600083015261405a8184613a81565b905092915050565b60006020820190506140776000830184613adf565b92915050565b60006020820190506140926000830184613aee565b92915050565b60006020820190506140ad6000830184613b5c565b92915050565b600060208201905081810360008301526140cd8184613b6b565b905092915050565b600060208201905081810360008301526140ee81613ba4565b9050919050565b6000602082019050818103600083015261410e81613bc7565b9050919050565b6000602082019050818103600083015261412e81613bea565b9050919050565b6000602082019050818103600083015261414e81613c0d565b9050919050565b6000602082019050818103600083015261416e81613c30565b9050919050565b6000602082019050818103600083015261418e81613c53565b9050919050565b600060208201905081810360008301526141ae81613c76565b9050919050565b600060208201905081810360008301526141ce81613c99565b9050919050565b600060208201905081810360008301526141ee81613cbc565b9050919050565b6000602082019050818103600083015261420e81613cdf565b9050919050565b6000602082019050818103600083015261422e81613d02565b9050919050565b6000602082019050818103600083015261424e81613d25565b9050919050565b6000602082019050818103600083015261426e81613d48565b9050919050565b6000602082019050818103600083015261428e81613d6b565b9050919050565b600060208201905081810360008301526142ae81613d8e565b9050919050565b600060208201905081810360008301526142ce81613db1565b9050919050565b600060208201905081810360008301526142ee81613dd4565b9050919050565b6000602082019050818103600083015261430e81613df7565b9050919050565b6000602082019050818103600083015261432e81613e1a565b9050919050565b6000602082019050818103600083015261434e81613e3d565b9050919050565b6000602082019050818103600083015261436e81613e60565b9050919050565b6000602082019050818103600083015261438e81613e83565b9050919050565b600060208201905081810360008301526143ae81613ea6565b9050919050565b600060208201905081810360008301526143ce81613ec9565b9050919050565b600060208201905081810360008301526143ee81613eec565b9050919050565b600060208201905061440a6000830184613f0f565b92915050565b60006040820190506144256000830185613f0f565b6144326020830184613b4d565b9392505050565b600060408201905061444e6000830185613f35565b61445b6020830184613f35565b9392505050565b600061446c61447d565b90506144788282614762565b919050565b6000604051905090565b600067ffffffffffffffff8211156144a2576144a1614930565b5b6144ab8261497d565b9050602081019050919050565b600067ffffffffffffffff8211156144d3576144d2614930565b5b6144dc8261497d565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006145658261468f565b91506145708361468f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145a5576145a4614845565b5b828201905092915050565b60006145bb82614699565b91506145c683614699565b92508260ff038211156145dc576145db614845565b5b828201905092915050565b60006145f28261468f565b91506145fd8361468f565b9250828210156146105761460f614845565b5b828203905092915050565b60006146268261466f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006146b1826146b8565b9050919050565b60006146c38261466f565b9050919050565b60006146d5826146dc565b9050919050565b60006146e78261466f565b9050919050565b82818337600083830152505050565b60005b8381101561471b578082015181840152602081019050614700565b8381111561472a576000848401525b50505050565b6000600282049050600182168061474857607f821691505b6020821081141561475c5761475b6148a3565b5b50919050565b61476b8261497d565b810181811067ffffffffffffffff8211171561478a57614789614930565b5b80604052505050565b600061479e8261468f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147d1576147d0614845565b5b600182019050919050565b60006147e7826147f8565b9050919050565b6000819050919050565b60006148038261498e565b9050919050565b6000819050919050565b600061481f82614699565b915061482a83614699565b92508261483a57614839614874565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f416e696d616c436f6c6f72696e67426f6f6b3a206d696e74696e6720636c6f7360008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a207075626c6963206d696e746960008201527f6e67206e6f74206f70656e207965740000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a2072656163686564206d61782060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a2066656520746f6f206c6f7700600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f616d6f756e7420746f6f20686967680000000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a20696e76616c69642070726f6f60008201527f6600000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a206d757374206265206774617060008201527f31206f726967696e616c206f776e657200000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f7365740000000000000000000000000000000000000000000000000000000000600082015250565b6150518161461b565b811461505c57600080fd5b50565b6150688161462d565b811461507357600080fd5b50565b61507f81614643565b811461508a57600080fd5b50565b6150968161468f565b81146150a157600080fd5b5056fea2646970667358221220ba3b981d1a02f982338a6095736dd76915ba2586667df4bd3e559bdfb8cd4de664736f6c63430008060033000000000000000000000000bc3ed6b537f2980e66f396fe14210a56ba3f72c4366b330a63dcb8948a0297bd5b9df3e0b4a273058855eb08b46efbfbd3500e5e000000000000000000000000827ce01c422ae5ce5f59cab553f6db2a28d486020000000000000000000000005d99371a4297dfd301a1f22eff22a7e0ed9b4482000000000000000000000000e796ebacf88d4785bbc64cabc828f81fb8f7a9b7
Deployed Bytecode
0x6080604052600436106102255760003560e01c806370a0823111610123578063a11d389e116100ab578063d43d84831161006f578063d43d848314610838578063e985e9c514610863578063f2fde38b146108a0578063fdd73bd5146108c9578063fedd4267146108f457610225565b8063a11d389e14610764578063a22cb4651461078d578063ad2b0a34146107b6578063b88d4fde146107d2578063c87b56dd146107fb57610225565b80638da5cb5b116100f25780638da5cb5b1461068f5780638f228ff1146106ba5780639392e5b5146106e557806395d89b411461070e578063a06fa7ef1461073957610225565b806370a08231146105c1578063715018a6146105fe578063816c99de146106155780638730b5bc1461065257610225565b806325576cc4116101b15780633959327c116101755780633959327c146104ca57806342842e0e146104f35780634f6ccce71461051c57806359576bb8146105595780636352211e1461058457610225565b806325576cc4146103d15780632dd8b490146103fa5780632eb4a7ab146104375780632f745c5914610462578063313604971461049f57610225565b8063095ea7b3116101f8578063095ea7b3146102fa5780630c3300fe1461032357806318160ddd146103615780632097d3fb1461038c57806323b872dd146103a857610225565b806301ffc9a71461022a578063062205341461026757806306fdde0314610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906138f7565b61091f565b60405161025e9190614062565b60405180910390f35b34801561027357600080fd5b5061027c610999565b60405161028991906143f5565b60405180910390f35b34801561029e57600080fd5b506102a76109bd565b6040516102b491906140b3565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df919061399a565b610a4f565b6040516102f19190613fd9565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c91906138b7565b610ad4565b005b34801561032f57600080fd5b5061034a6004803603810190610345919061399a565b610bec565b604051610358929190614439565b60405180910390f35b34801561036d57600080fd5b50610376610c2a565b60405161038391906143f5565b60405180910390f35b6103a660048036038101906103a19190613803565b610c37565b005b3480156103b457600080fd5b506103cf60048036038101906103ca919061372d565b610dcc565b005b3480156103dd57600080fd5b506103f860048036038101906103f391906138b7565b610f0e565b005b34801561040657600080fd5b50610421600480360381019061041c919061399a565b610fe4565b60405161042e91906143f5565b60405180910390f35b34801561044357600080fd5b5061044c610ffc565b604051610459919061407d565b60405180910390f35b34801561046e57600080fd5b50610489600480360381019061048491906138b7565b611020565b60405161049691906143f5565b60405180910390f35b3480156104ab57600080fd5b506104b46110c5565b6040516104c19190613fd9565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec91906138b7565b6110e9565b005b3480156104ff57600080fd5b5061051a6004803603810190610515919061372d565b6111f3565b005b34801561052857600080fd5b50610543600480360381019061053e919061399a565b611213565b60405161055091906143f5565b60405180910390f35b34801561056557600080fd5b5061056e611284565b60405161057b91906143f5565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a6919061399a565b6112a8565b6040516105b89190613fd9565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190613693565b61135a565b6040516105f591906143f5565b60405180910390f35b34801561060a57600080fd5b50610613611412565b005b34801561062157600080fd5b5061063c6004803603810190610637919061399a565b61149a565b6040516106499190614040565b60405180910390f35b34801561065e57600080fd5b5061067960048036038101906106749190613693565b61153b565b60405161068691906143f5565b60405180910390f35b34801561069b57600080fd5b506106a4611553565b6040516106b19190613fd9565b60405180910390f35b3480156106c657600080fd5b506106cf61157d565b6040516106dc9190614098565b60405180910390f35b3480156106f157600080fd5b5061070c600480360381019061070791906139f4565b6115a1565b005b34801561071a57600080fd5b5061072361168d565b60405161073091906140b3565b60405180910390f35b34801561074557600080fd5b5061074e61171f565b60405161075b91906143f5565b60405180910390f35b34801561077057600080fd5b5061078b60048036038101906107869190613693565b611743565b005b34801561079957600080fd5b506107b460048036038101906107af9190613803565b611818565b005b6107d060048036038101906107cb9190613843565b611999565b005b3480156107de57600080fd5b506107f960048036038101906107f49190613780565b611c7b565b005b34801561080757600080fd5b50610822600480360381019061081d919061399a565b611cdd565b60405161082f91906140b3565b60405180910390f35b34801561084457600080fd5b5061084d611d96565b60405161085a91906143f5565b60405180910390f35b34801561086f57600080fd5b5061088a600480360381019061088591906136ed565b611dba565b6040516108979190614062565b60405180910390f35b3480156108ac57600080fd5b506108c760048036038101906108c29190613693565b611e4e565b005b3480156108d557600080fd5b506108de611f46565b6040516108eb9190613fd9565b60405180910390f35b34801561090057600080fd5b50610909611f6a565b6040516109169190613fd9565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610992575061099182611f90565b5b9050919050565b7f00000000000000000000000000000000000000000000000002c68af0bb14000081565b6060600080546109cc90614730565b80601f01602080910402602001604051908101604052809291908181526020018280546109f890614730565b8015610a455780601f10610a1a57610100808354040283529160200191610a45565b820191906000526020600020905b815481529060010190602001808311610a2857829003601f168201915b5050505050905090565b6000610a5a82612072565b610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9090614295565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610adf826112a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4790614355565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6f6120de565b73ffffffffffffffffffffffffffffffffffffffff161480610b9e5750610b9d81610b986120de565b611dba565b5b610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490614215565b60405180910390fd5b610be783836120e6565b505050565b600d6020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16905082565b6000600880549050905090565b600081610c64577f00000000000000000000000000000000000000000000000002c68af0bb140000610cb1565b7f000000000000000000000000000000000000000000000000016345785d8a00007f00000000000000000000000000000000000000000000000002c68af0bb140000610cb0919061455a565b5b905080341015610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced906142b5565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000c88c3f431015610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5090614175565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000003a8600c5410610dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db4906140d5565b60405180910390fd5b610dc7838361219f565b505050565b610dd7838383612366565b6004600e6000838152602001908152602001600020805490501015610f0957600e6000828152602001908152602001600020829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600e6000838152602001908152602001600020805490501415610f085760006001610eb87f6d6f6f6400000000000000000000000000000000000000000000000000000000600a6123c6565b610ec291906145b0565b905060068160ff1611610ed55780610ed8565b60015b600d600084815260200190815260200160002060000160016101000a81548160ff021916908360ff160217905550505b5b505050565b6000600f60008381526020019081526020016000205414610f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5b906141d5565b60405180910390fd5b610f6d81612439565b610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa390614375565b60405180910390fd5b610fb782600161219f565b600f60008281526020019081526020016000206000815480929190610fdb90614793565b91905055505050565b600f6020528060005260406000206000915090505481565b7f366b330a63dcb8948a0297bd5b9df3e0b4a273058855eb08b46efbfbd3500e5e81565b600061102b8361135a565b821061106c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611063906140f5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b7f0000000000000000000000005d99371a4297dfd301a1f22eff22a7e0ed9b448281565b6110f16120de565b73ffffffffffffffffffffffffffffffffffffffff1661110f611553565b73ffffffffffffffffffffffffffffffffffffffff1614611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c906142d5565b60405180910390fd5b478111156111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f906142f5565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111ee573d6000803e3d6000fd5b505050565b61120e83838360405180602001604052806000815250611c7b565b505050565b600061121d610c2a565b821061125e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611255906143b5565b60405180910390fd5b6008828154811061127257611271614901565b5b90600052602060002001549050919050565b7f000000000000000000000000000000000000000000000000016345785d8a000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134890614255565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c290614235565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61141a6120de565b73ffffffffffffffffffffffffffffffffffffffff16611438611553565b73ffffffffffffffffffffffffffffffffffffffff161461148e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611485906142d5565b60405180910390fd5b61149860006126b5565b565b6060600e600083815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561152f57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116114e5575b50505050509050919050565b60106020528060005260406000206000915090505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000827ce01c422ae5ce5f59cab553f6db2a28d4860281565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b81526004016115fc91906143f5565b600060405180830381600087803b15801561161657600080fd5b505af115801561162a573d6000803e3d6000fd5b50505050606080600e60008581526020019081526020016000209080519060200190611657929190613423565b506000600d600085815260200190815260200160002060000160016101000a81548160ff021916908360ff160217905550505050565b60606001805461169c90614730565b80601f01602080910402602001604051908101604052809291908181526020018280546116c890614730565b80156117155780601f106116ea57610100808354040283529160200191611715565b820191906000526020600020905b8154815290600101906020018083116116f857829003601f168201915b5050505050905090565b7f0000000000000000000000000000000000000000000000000000000000c88c3f81565b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cb906143d5565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6118206120de565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561188e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611885906141b5565b60405180910390fd5b806005600061189b6120de565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119486120de565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161198d9190614062565b60405180910390a35050565b6000836119c6577f00000000000000000000000000000000000000000000000002c68af0bb140000611a13565b7f000000000000000000000000000000000000000000000000016345785d8a00007f00000000000000000000000000000000000000000000000002c68af0bb140000611a12919061455a565b5b905080341015611a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4f906142b5565b60405180910390fd5b600033604051602001611a6b9190613f44565b604051602081830303815290604052805190602001209050611aef848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f366b330a63dcb8948a0297bd5b9df3e0b4a273058855eb08b46efbfbd3500e5e8361277b565b611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590614335565b60405180910390fd5b6002601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba7906141d5565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000003a8600c5410611c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0b906140d5565b60405180910390fd5b611c1e868661219f565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611c6e90614793565b9190505550505050505050565b611c8c611c866120de565b83612831565b611ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc290614395565b60405180910390fd5b611cd78484848461290f565b50505050565b60607f000000000000000000000000827ce01c422ae5ce5f59cab553f6db2a28d4860273ffffffffffffffffffffffffffffffffffffffff16638c4c1b2f83306040518363ffffffff1660e01b8152600401611d3a929190614410565b60006040518083038186803b158015611d5257600080fd5b505afa158015611d66573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d8f9190613951565b9050919050565b7f00000000000000000000000000000000000000000000000000000000000003a881565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e566120de565b73ffffffffffffffffffffffffffffffffffffffff16611e74611553565b73ffffffffffffffffffffffffffffffffffffffff1614611eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec1906142d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3190614135565b60405180910390fd5b611f43816126b5565b50565b7f000000000000000000000000e796ebacf88d4785bbc64cabc828f81fb8f7a9b781565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061205b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061206b575061206a8261296b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612159836112a8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6103e8600c54106121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc906141d5565b60405180910390fd5b61221382600c600081546121f890614793565b919050819055604051806020016040528060008152506129d5565b60006122407f616e696d616c000000000000000000000000000000000000000000000000000060656123c6565b60ff1690506000601f8210612296576038821061228e57604c821061228657605b821061227e5760638210612276576006612279565b60055b612281565b60045b612289565b60035b612291565b60025b612299565b60015b905080600d6000600c54815260200190815260200160002060000160006101000a81548160ff021916908360ff160217905550821561236057600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842856040518263ffffffff1660e01b815260040161232d9190613fd9565b600060405180830381600087803b15801561234757600080fd5b505af115801561235b573d6000803e3d6000fd5b505050505b50505050565b6123776123716120de565b82612831565b6123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ad90614395565b60405180910390fd5b6123c1838383612a30565b505050565b6000808260ff1614156123dc5760009050612433565b8142600c5433866040516020016123f69493929190613f8b565b6040516020818303038152906040528051906020012060006020811061241f5761241e614901565b5b1a60f81b60f81c6124309190614814565b90505b92915050565b60003373ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000005d99371a4297dfd301a1f22eff22a7e0ed9b448273ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016124ab91906143f5565b60206040518083038186803b1580156124c357600080fd5b505afa1580156124d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124fb91906136c0565b73ffffffffffffffffffffffffffffffffffffffff161480156125c8575060007f0000000000000000000000005d99371a4297dfd301a1f22eff22a7e0ed9b448273ffffffffffffffffffffffffffffffffffffffff16630e0c2e9e846040518263ffffffff1660e01b815260040161257491906143f5565b602060405180830381600087803b15801561258e57600080fd5b505af11580156125a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c691906139c7565b145b156125d657600190506126b0565b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000e796ebacf88d4785bbc64cabc828f81fb8f7a9b773ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161264691906143f5565b60206040518083038186803b15801561265e57600080fd5b505afa158015612672573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269691906136c0565b73ffffffffffffffffffffffffffffffffffffffff161490505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b85518110156128235760008682815181106127a2576127a1614901565b5b602002602001015190508083116127e35782816040516020016127c6929190613f5f565b60405160208183030381529060405280519060200120925061280f565b80836040516020016127f6929190613f5f565b6040516020818303038152906040528051906020012092505b50808061281b90614793565b915050612784565b508381149150509392505050565b600061283c82612072565b61287b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612872906141f5565b60405180910390fd5b6000612886836112a8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128f557508373ffffffffffffffffffffffffffffffffffffffff166128dd84610a4f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061290657506129058185611dba565b5b91505092915050565b61291a848484612a30565b61292684848484612c8c565b612965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295c90614115565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6129df8383612e23565b6129ec6000848484612c8c565b612a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2290614115565b60405180910390fd5b505050565b8273ffffffffffffffffffffffffffffffffffffffff16612a50826112a8565b73ffffffffffffffffffffffffffffffffffffffff1614612aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9d90614315565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d90614195565b60405180910390fd5b612b21838383612ff1565b612b2c6000826120e6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b7c91906145e7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bd3919061455a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612cad8473ffffffffffffffffffffffffffffffffffffffff16613105565b15612e16578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cd66120de565b8786866040518563ffffffff1660e01b8152600401612cf89493929190613ff4565b602060405180830381600087803b158015612d1257600080fd5b505af1925050508015612d4357506040513d601f19601f82011682018060405250810190612d409190613924565b60015b612dc6573d8060008114612d73576040519150601f19603f3d011682016040523d82523d6000602084013e612d78565b606091505b50600081511415612dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db590614115565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e1b565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8a90614275565b60405180910390fd5b612e9c81612072565b15612edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed390614155565b60405180910390fd5b612ee860008383612ff1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f38919061455a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612ffc838383613118565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561303f5761303a8161311d565b61307e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461307d5761307c8382613166565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130c1576130bc816132d3565b613100565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130ff576130fe82826133a4565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131738461135a565b61317d91906145e7565b9050600060076000848152602001908152602001600020549050818114613262576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132e791906145e7565b905060006009600084815260200190815260200160002054905060006008838154811061331757613316614901565b5b90600052602060002001549050806008838154811061333957613338614901565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613388576133876148d2565b5b6001900381819060005260206000200160009055905550505050565b60006133af8361135a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805482825590600052602060002090810192821561349c579160200282015b8281111561349b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613443565b5b5090506134a991906134ad565b5090565b5b808211156134c65760008160009055506001016134ae565b5090565b60006134dd6134d884614487565b614462565b9050828152602081018484840111156134f9576134f861496e565b5b6135048482856146ee565b509392505050565b600061351f61351a846144b8565b614462565b90508281526020810184848401111561353b5761353a61496e565b5b6135468482856146fd565b509392505050565b60008135905061355d81615048565b92915050565b60008151905061357281615048565b92915050565b60008083601f84011261358e5761358d614964565b5b8235905067ffffffffffffffff8111156135ab576135aa61495f565b5b6020830191508360208202830111156135c7576135c6614969565b5b9250929050565b6000813590506135dd8161505f565b92915050565b6000813590506135f281615076565b92915050565b60008151905061360781615076565b92915050565b600082601f83011261362257613621614964565b5b81356136328482602086016134ca565b91505092915050565b600082601f8301126136505761364f614964565b5b815161366084826020860161350c565b91505092915050565b6000813590506136788161508d565b92915050565b60008151905061368d8161508d565b92915050565b6000602082840312156136a9576136a8614978565b5b60006136b78482850161354e565b91505092915050565b6000602082840312156136d6576136d5614978565b5b60006136e484828501613563565b91505092915050565b6000806040838503121561370457613703614978565b5b60006137128582860161354e565b92505060206137238582860161354e565b9150509250929050565b60008060006060848603121561374657613745614978565b5b60006137548682870161354e565b93505060206137658682870161354e565b925050604061377686828701613669565b9150509250925092565b6000806000806080858703121561379a57613799614978565b5b60006137a88782880161354e565b94505060206137b98782880161354e565b93505060406137ca87828801613669565b925050606085013567ffffffffffffffff8111156137eb576137ea614973565b5b6137f78782880161360d565b91505092959194509250565b6000806040838503121561381a57613819614978565b5b60006138288582860161354e565b9250506020613839858286016135ce565b9150509250929050565b6000806000806060858703121561385d5761385c614978565b5b600061386b8782880161354e565b945050602061387c878288016135ce565b935050604085013567ffffffffffffffff81111561389d5761389c614973565b5b6138a987828801613578565b925092505092959194509250565b600080604083850312156138ce576138cd614978565b5b60006138dc8582860161354e565b92505060206138ed85828601613669565b9150509250929050565b60006020828403121561390d5761390c614978565b5b600061391b848285016135e3565b91505092915050565b60006020828403121561393a57613939614978565b5b6000613948848285016135f8565b91505092915050565b60006020828403121561396757613966614978565b5b600082015167ffffffffffffffff81111561398557613984614973565b5b6139918482850161363b565b91505092915050565b6000602082840312156139b0576139af614978565b5b60006139be84828501613669565b91505092915050565b6000602082840312156139dd576139dc614978565b5b60006139eb8482850161367e565b91505092915050565b60008060408385031215613a0b57613a0a614978565b5b6000613a1985828601613669565b9250506020613a2a85828601613669565b9150509250929050565b6000613a408383613a4c565b60208301905092915050565b613a558161461b565b82525050565b613a648161461b565b82525050565b613a7b613a768261461b565b6147dc565b82525050565b6000613a8c826144f9565b613a968185614527565b9350613aa1836144e9565b8060005b83811015613ad2578151613ab98882613a34565b9750613ac48361451a565b925050600181019050613aa5565b5085935050505092915050565b613ae88161462d565b82525050565b613af781614639565b82525050565b613b0e613b0982614639565b6147ee565b82525050565b6000613b1f82614504565b613b298185614538565b9350613b398185602086016146fd565b613b428161497d565b840191505092915050565b613b56816146a6565b82525050565b613b65816146ca565b82525050565b6000613b768261450f565b613b808185614549565b9350613b908185602086016146fd565b613b998161497d565b840191505092915050565b6000613bb1602283614549565b9150613bbc8261499b565b604082019050919050565b6000613bd4602b83614549565b9150613bdf826149ea565b604082019050919050565b6000613bf7603283614549565b9150613c0282614a39565b604082019050919050565b6000613c1a602683614549565b9150613c2582614a88565b604082019050919050565b6000613c3d601c83614549565b9150613c4882614ad7565b602082019050919050565b6000613c60602f83614549565b9150613c6b82614b00565b604082019050919050565b6000613c83602483614549565b9150613c8e82614b4f565b604082019050919050565b6000613ca6601983614549565b9150613cb182614b9e565b602082019050919050565b6000613cc9602483614549565b9150613cd482614bc7565b604082019050919050565b6000613cec602c83614549565b9150613cf782614c16565b604082019050919050565b6000613d0f603883614549565b9150613d1a82614c65565b604082019050919050565b6000613d32602a83614549565b9150613d3d82614cb4565b604082019050919050565b6000613d55602983614549565b9150613d6082614d03565b604082019050919050565b6000613d78602083614549565b9150613d8382614d52565b602082019050919050565b6000613d9b602c83614549565b9150613da682614d7b565b604082019050919050565b6000613dbe601f83614549565b9150613dc982614dca565b602082019050919050565b6000613de1602083614549565b9150613dec82614df3565b602082019050919050565b6000613e04600f83614549565b9150613e0f82614e1c565b602082019050919050565b6000613e27602983614549565b9150613e3282614e45565b604082019050919050565b6000613e4a602183614549565b9150613e5582614e94565b604082019050919050565b6000613e6d602183614549565b9150613e7882614ee3565b604082019050919050565b6000613e90603083614549565b9150613e9b82614f32565b604082019050919050565b6000613eb3603183614549565b9150613ebe82614f81565b604082019050919050565b6000613ed6602c83614549565b9150613ee182614fd0565b604082019050919050565b6000613ef9600383614549565b9150613f048261501f565b602082019050919050565b613f188161468f565b82525050565b613f2f613f2a8261468f565b61480a565b82525050565b613f3e81614699565b82525050565b6000613f508284613a6a565b60148201915081905092915050565b6000613f6b8285613afd565b602082019150613f7b8284613afd565b6020820191508190509392505050565b6000613f978287613f1e565b602082019150613fa78286613f1e565b602082019150613fb78285613a6a565b601482019150613fc78284613afd565b60208201915081905095945050505050565b6000602082019050613fee6000830184613a5b565b92915050565b60006080820190506140096000830187613a5b565b6140166020830186613a5b565b6140236040830185613f0f565b81810360608301526140358184613b14565b905095945050505050565b6000602082019050818103600083015261405a8184613a81565b905092915050565b60006020820190506140776000830184613adf565b92915050565b60006020820190506140926000830184613aee565b92915050565b60006020820190506140ad6000830184613b5c565b92915050565b600060208201905081810360008301526140cd8184613b6b565b905092915050565b600060208201905081810360008301526140ee81613ba4565b9050919050565b6000602082019050818103600083015261410e81613bc7565b9050919050565b6000602082019050818103600083015261412e81613bea565b9050919050565b6000602082019050818103600083015261414e81613c0d565b9050919050565b6000602082019050818103600083015261416e81613c30565b9050919050565b6000602082019050818103600083015261418e81613c53565b9050919050565b600060208201905081810360008301526141ae81613c76565b9050919050565b600060208201905081810360008301526141ce81613c99565b9050919050565b600060208201905081810360008301526141ee81613cbc565b9050919050565b6000602082019050818103600083015261420e81613cdf565b9050919050565b6000602082019050818103600083015261422e81613d02565b9050919050565b6000602082019050818103600083015261424e81613d25565b9050919050565b6000602082019050818103600083015261426e81613d48565b9050919050565b6000602082019050818103600083015261428e81613d6b565b9050919050565b600060208201905081810360008301526142ae81613d8e565b9050919050565b600060208201905081810360008301526142ce81613db1565b9050919050565b600060208201905081810360008301526142ee81613dd4565b9050919050565b6000602082019050818103600083015261430e81613df7565b9050919050565b6000602082019050818103600083015261432e81613e1a565b9050919050565b6000602082019050818103600083015261434e81613e3d565b9050919050565b6000602082019050818103600083015261436e81613e60565b9050919050565b6000602082019050818103600083015261438e81613e83565b9050919050565b600060208201905081810360008301526143ae81613ea6565b9050919050565b600060208201905081810360008301526143ce81613ec9565b9050919050565b600060208201905081810360008301526143ee81613eec565b9050919050565b600060208201905061440a6000830184613f0f565b92915050565b60006040820190506144256000830185613f0f565b6144326020830184613b4d565b9392505050565b600060408201905061444e6000830185613f35565b61445b6020830184613f35565b9392505050565b600061446c61447d565b90506144788282614762565b919050565b6000604051905090565b600067ffffffffffffffff8211156144a2576144a1614930565b5b6144ab8261497d565b9050602081019050919050565b600067ffffffffffffffff8211156144d3576144d2614930565b5b6144dc8261497d565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006145658261468f565b91506145708361468f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145a5576145a4614845565b5b828201905092915050565b60006145bb82614699565b91506145c683614699565b92508260ff038211156145dc576145db614845565b5b828201905092915050565b60006145f28261468f565b91506145fd8361468f565b9250828210156146105761460f614845565b5b828203905092915050565b60006146268261466f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006146b1826146b8565b9050919050565b60006146c38261466f565b9050919050565b60006146d5826146dc565b9050919050565b60006146e78261466f565b9050919050565b82818337600083830152505050565b60005b8381101561471b578082015181840152602081019050614700565b8381111561472a576000848401525b50505050565b6000600282049050600182168061474857607f821691505b6020821081141561475c5761475b6148a3565b5b50919050565b61476b8261497d565b810181811067ffffffffffffffff8211171561478a57614789614930565b5b80604052505050565b600061479e8261468f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147d1576147d0614845565b5b600182019050919050565b60006147e7826147f8565b9050919050565b6000819050919050565b60006148038261498e565b9050919050565b6000819050919050565b600061481f82614699565b915061482a83614699565b92508261483a57614839614874565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f416e696d616c436f6c6f72696e67426f6f6b3a206d696e74696e6720636c6f7360008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a207075626c6963206d696e746960008201527f6e67206e6f74206f70656e207965740000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a2072656163686564206d61782060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a2066656520746f6f206c6f7700600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f616d6f756e7420746f6f20686967680000000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a20696e76616c69642070726f6f60008201527f6600000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f416e696d616c436f6c6f72696e67426f6f6b3a206d757374206265206774617060008201527f31206f726967696e616c206f776e657200000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f7365740000000000000000000000000000000000000000000000000000000000600082015250565b6150518161461b565b811461505c57600080fd5b50565b6150688161462d565b811461507357600080fd5b50565b61507f81614643565b811461508a57600080fd5b50565b6150968161468f565b81146150a157600080fd5b5056fea2646970667358221220ba3b981d1a02f982338a6095736dd76915ba2586667df4bd3e559bdfb8cd4de664736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bc3ed6b537f2980e66f396fe14210a56ba3f72c4366b330a63dcb8948a0297bd5b9df3e0b4a273058855eb08b46efbfbd3500e5e000000000000000000000000827ce01c422ae5ce5f59cab553f6db2a28d486020000000000000000000000005d99371a4297dfd301a1f22eff22a7e0ed9b4482000000000000000000000000e796ebacf88d4785bbc64cabc828f81fb8f7a9b7
-----Decoded View---------------
Arg [0] : _owner (address): 0xbc3ed6B537f2980e66f396Fe14210A56ba3f72C4
Arg [1] : _merkleRoot (bytes32): 0x366b330a63dcb8948a0297bd5b9df3e0b4a273058855eb08b46efbfbd3500e5e
Arg [2] : _descriptors (address): 0x827ce01C422Ae5ce5f59cab553F6DB2a28d48602
Arg [3] : _gtap1Contract (address): 0x5d99371A4297DFD301a1F22EfF22A7e0ED9B4482
Arg [4] : _wrappedGtap1Contract (address): 0xE796EbaCf88d4785bBc64cabc828f81FB8f7A9b7
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000bc3ed6b537f2980e66f396fe14210a56ba3f72c4
Arg [1] : 366b330a63dcb8948a0297bd5b9df3e0b4a273058855eb08b46efbfbd3500e5e
Arg [2] : 000000000000000000000000827ce01c422ae5ce5f59cab553f6db2a28d48602
Arg [3] : 0000000000000000000000005d99371a4297dfd301a1f22eff22a7e0ed9b4482
Arg [4] : 000000000000000000000000e796ebacf88d4785bbc64cabc828f81fb8f7a9b7
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.