ERC-1155
Overview
Max Total Supply
151
Holders
128
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CritterPasses
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 12000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import '@openzeppelin/contracts/token/ERC1155/ERC1155.sol'; import "@openzeppelin/contracts/access/Ownable.sol"; /* * @title ERC1155 token for Cranky Critter Passes */ interface CritterERC721Contract { function ownerOf(uint256 id) external view returns (address); function balanceOf(address account) external view returns (uint256); } contract CritterPasses is ERC1155, Ownable { using Counters for Counters.Counter; Counters.Counter private counter; mapping(uint256 => bool) private isClaimClosed; mapping(uint256 => Pass) public passes; struct Pass { uint256 maxSupply; uint256 totalSupply; string ipfsMetadataHash; address burnContract; address claimContract; bytes32 merkleRoot; mapping(address => bool) addressClaimed; mapping(uint256 => bool) tokenClaimed; } constructor() ERC1155("ipfs://") { } /** * @notice adds a new pass * * @param _merkleRoot the merkle root to verify eligible claims * @param _maxSupply maximum total supply (if mintable in future) * @param _ipfsMetadataHash the ipfs hash for metadata * @param _burnContract the contract that will burn the pass * @param _claimContract the contract with tokens that will claim the pass */ function addpass( bytes32 _merkleRoot, uint256 _maxSupply, string memory _ipfsMetadataHash, address _burnContract, address _claimContract ) public onlyOwner { Pass storage p = passes[counter.current()]; p.merkleRoot = _merkleRoot; p.maxSupply = _maxSupply; p.ipfsMetadataHash = _ipfsMetadataHash; p.burnContract = _burnContract; p.claimContract = _claimContract; counter.increment(); } /** * @notice edit an existing pass * @param _merkleRoot the merkle root to verify eligile claims * @param _ipfsMetadataHash the ipfs hash for pass metadata * @param _burnContract the contract that will burn the pass * @param _passIndex the pass id to change */ function editpass( bytes32 _merkleRoot, string memory _ipfsMetadataHash, address _burnContract, address _claimContract, uint256 _passIndex ) external onlyOwner { require(exists(_passIndex), "Editpass: pass does not exist"); passes[_passIndex].merkleRoot = _merkleRoot; passes[_passIndex].ipfsMetadataHash = _ipfsMetadataHash; passes[_passIndex].burnContract = _burnContract; passes[_passIndex].claimContract = _claimContract; } /** * @notice owner mint pass tokens for airdrops * @param passID the pass id to mint * @param amount the amount of tokens to mint */ function mint(uint256 passID, uint256 amount, address to) external onlyOwner { require(exists(passID), "pass does not exist"); require(passes[passID].totalSupply + amount <= passes[passID].maxSupply, "Max supply reached"); _mint(to, passID, amount, ""); passes[passID].totalSupply += amount; } /** * @notice close claiming passes for MHs hold * * @param passId the pass ids to close claiming for */ function closeClaim(uint256 passId) external onlyOwner { isClaimClosed[passId] = true; } /** * @param passId the id of the pass to claim for * @param merkleProof the valid merkle proof of sender for given pass id */ function claim( uint256 passId, bytes32[] calldata merkleProof ) external { require(!isClaimClosed[passId], "Claim: is closed"); require(passes[passId].totalSupply < passes[passId].maxSupply, "Would go over max supply"); bytes32 node = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(merkleProof, passes[passId].merkleRoot, node), "Invalid proof." ); require(!passes[passId].addressClaimed[msg.sender], "This address has already claimed"); passes[passId].addressClaimed[msg.sender] = true; passes[passId].totalSupply++; _mint(msg.sender, passId, 1, ""); } function setIsFullyClaimable(uint256[] calldata ids, uint256 passId) public view returns(bool){ for (uint256 i = 0; i < ids.length; i++) { if (passes[passId].tokenClaimed[ids[i]]) { return false; } } return true; } function setIsFullyOwned(address account, uint256[] calldata ids, uint256 passId) internal view returns (bool) { CritterERC721Contract claimTokens = CritterERC721Contract(passes[passId].claimContract); for (uint256 i = 0; i < ids.length; i++) { if (claimTokens.ownerOf(ids[i]) != account) { return false; } } return true; } /** * @param passId the id of the pass to claim for * @param ids the tokens to claim for */ function claimForTokens( uint256 passId, uint256[] calldata ids ) external { require(!isClaimClosed[passId], "Claim: is closed"); require(passes[passId].claimContract != address(0), "No token set for claim"); require(passes[passId].totalSupply + ids.length <= passes[passId].maxSupply, "Would go over max supply"); require(setIsFullyClaimable(ids, passId), "Some are already claimed"); require(setIsFullyOwned(msg.sender, ids, passId), "Some are not owned by sender"); for (uint256 i; i < ids.length; i++) { passes[passId].tokenClaimed[ids[i]] = true; } passes[passId].totalSupply += ids.length; _mint(msg.sender, passId, ids.length, ""); } function burnToClaim( address account, uint256 index, uint256 amount ) external { require(passes[index].burnContract == msg.sender, "Only allow from specified contract"); _burn(account, index, amount); } /** * @notice return total supply for all existing passes */ function totalSupplyAll() external view returns (uint[] memory) { uint[] memory result = new uint[](counter.current()); for(uint256 i; i < counter.current(); i++) { result[i] = passes[i].totalSupply; } return result; } /** * @notice indicates weither any token exist with a given id, or not */ function exists(uint256 id) public view returns (bool) { return passes[id].maxSupply > 0; } /** * @notice returns the metadata uri for a given id * * @param _id the pass id to return metadata for */ function uri(uint256 _id) public view override returns (string memory) { require(exists(_id), "URI: nonexistent token"); return string(abi.encodePacked(super.uri(_id), passes[_id].ipfsMetadataHash)); } function whatTokensHaveClaimed(uint256[] calldata tokens, uint256 passId) public view returns (uint256[] memory){ uint256[] memory haveClaimed = new uint256[](tokens.length); uint256 addedCounter; for (uint256 index = 0; index < tokens.length; index++) { if (passes[passId].tokenClaimed[tokens[index]]) { haveClaimed[addedCounter] = tokens[index]; addedCounter++; } } return haveClaimed; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
{ "optimizer": { "enabled": true, "runs": 12000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"string","name":"_ipfsMetadataHash","type":"string"},{"internalType":"address","name":"_burnContract","type":"address"},{"internalType":"address","name":"_claimContract","type":"address"}],"name":"addpass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnToClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"claimForTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"}],"name":"closeClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"_ipfsMetadataHash","type":"string"},{"internalType":"address","name":"_burnContract","type":"address"},{"internalType":"address","name":"_claimContract","type":"address"},{"internalType":"uint256","name":"_passIndex","type":"uint256"}],"name":"editpass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"passID","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"passes","outputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"string","name":"ipfsMetadataHash","type":"string"},{"internalType":"address","name":"burnContract","type":"address"},{"internalType":"address","name":"claimContract","type":"address"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256","name":"passId","type":"uint256"}],"name":"setIsFullyClaimable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyAll","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"},{"internalType":"uint256","name":"passId","type":"uint256"}],"name":"whatTokensHaveClaimed","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082019091526007815266697066733a2f2f60c81b60208201526200003b816200004d565b50620000473362000066565b6200019b565b805162000062906002906020840190620000b8565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000c6906200015e565b90600052602060002090601f016020900481019282620000ea576000855562000135565b82601f106200010557805160ff191683800117855562000135565b8280016001018555821562000135579182015b828111156200013557825182559160200191906001019062000118565b506200014392915062000147565b5090565b5b8082111562000143576000815560010162000148565b600181811c908216806200017357607f821691505b602082108114156200019557634e487b7160e01b600052602260045260246000fd5b50919050565b6134f780620001ab6000396000f3fe608060405234801561001057600080fd5b506004361061018c5760003560e01c80638da5cb5b116100e3578063c3e4d6721161008c578063e985e9c511610066578063e985e9c51461036c578063f242432a146103b5578063f2fde38b146103c857600080fd5b8063c3e4d67214610333578063e2d4eb8a14610346578063e7d3fe6b1461035957600080fd5b8063b42394f1116100bd578063b42394f114610305578063b560a40d1461030d578063b8f3e79e1461032057600080fd5b80638da5cb5b146102b757806396cb36a5146102df578063a22cb465146102f257600080fd5b80632f52ebb7116101455780636c1a34dc1161011f5780636c1a34dc146102775780636e321ce41461028a578063715018a6146102af57600080fd5b80632f52ebb7146102225780634e1273f4146102355780634f558e791461025557600080fd5b80630c28db90116101765780630c28db90146101da5780630e89341c146101ed5780632eb2c2d61461020d57600080fd5b8062fdd58e1461019157806301ffc9a7146101b7575b600080fd5b6101a461019f366004612c8e565b6103db565b6040519081526020015b60405180910390f35b6101ca6101c5366004612eec565b61049e565b60405190151581526020016101ae565b6101ca6101e8366004612dba565b610583565b6102006101fb366004612f24565b61060c565b6040516101ae919061320b565b61022061021b366004612b4c565b6106ac565b005b610220610230366004612f3c565b61075b565b610248610243366004612ced565b6109f2565b6040516101ae91906131ca565b6101ca610263366004612f24565b600090815260066020526040902054151590565b610220610285366004612f3c565b610b68565b61029d610298366004612f24565b610e24565b6040516101ae9695949392919061321e565b610220610efb565b60035460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101ae565b6102206102ed366004612e04565b610f6e565b610220610300366004612c5d565b6110c5565b6102486110d4565b61022061031b366004612cb9565b611197565b61022061032e366004612e76565b61123e565b610220610341366004612f24565b611356565b610248610354366004612dba565b6113f6565b610220610367366004612f86565b61152a565b6101ca61037a366004612b14565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b6102206103c3366004612bf6565b6116a1565b6102206103d6366004612adc565b611749565b600073ffffffffffffffffffffffffffffffffffffffff831661046b5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526020818152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061053157507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061057d57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000805b838110156105ff576000838152600660205260408120600701908686848181106105c157634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508101919091526040016000205460ff16156105ed576000915050610605565b806105f781613357565b915050610587565b50600190505b9392505050565b60008181526006602052604090205460609061066a5760405162461bcd60e51b815260206004820152601660248201527f5552493a206e6f6e6578697374656e7420746f6b656e000000000000000000006044820152606401610462565b61067382611845565b600083815260066020908152604091829020915161069693926002019101613042565b6040516020818303038152906040529050919050565b73ffffffffffffffffffffffffffffffffffffffff85163314806106d557506106d5853361037a565b6107475760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610462565b61075485858585856118d9565b5050505050565b60008381526005602052604090205460ff16156107ba5760405162461bcd60e51b815260206004820152601060248201527f436c61696d3a20697320636c6f736564000000000000000000000000000000006044820152606401610462565b600083815260066020526040902080546001909101541061081d5760405162461bcd60e51b815260206004820152601860248201527f576f756c6420676f206f766572206d617820737570706c7900000000000000006044820152606401610462565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526000906034016040516020818303038152906040528051906020012090506108b78383808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250898152600660205260409020600501549250859150611bd99050565b6109035760405162461bcd60e51b815260206004820152600e60248201527f496e76616c69642070726f6f662e0000000000000000000000000000000000006044820152606401610462565b6000848152600660208181526040808420338552909201905290205460ff161561096f5760405162461bcd60e51b815260206004820181905260248201527f5468697320616464726573732068617320616c726561647920636c61696d65646044820152606401610462565b6000848152600660208181526040808420338552808401835290842080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600190811790915588855292909152018054916109cb83613357565b91905055506109ec3385600160405180602001604052806000815250611bef565b50505050565b60608151835114610a6b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610462565b6000835167ffffffffffffffff811115610a9557634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610abe578160200160208202803683370190505b50905060005b8451811015610b6057610b25858281518110610af057634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610b1857634e487b7160e01b600052603260045260246000fd5b60200260200101516103db565b828281518110610b4557634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610b5981613357565b9050610ac4565b509392505050565b60008381526005602052604090205460ff1615610bc75760405162461bcd60e51b815260206004820152601060248201527f436c61696d3a20697320636c6f736564000000000000000000000000000000006044820152606401610462565b60008381526006602052604090206004015473ffffffffffffffffffffffffffffffffffffffff16610c3b5760405162461bcd60e51b815260206004820152601660248201527f4e6f20746f6b656e2073657420666f7220636c61696d000000000000000000006044820152606401610462565b60008381526006602052604090208054600190910154610c5c908390613293565b1115610caa5760405162461bcd60e51b815260206004820152601860248201527f576f756c6420676f206f766572206d617820737570706c7900000000000000006044820152606401610462565b610cb5828285610583565b610d015760405162461bcd60e51b815260206004820152601860248201527f536f6d652061726520616c726561647920636c61696d656400000000000000006044820152606401610462565b610d0d33838386611d3c565b610d595760405162461bcd60e51b815260206004820152601c60248201527f536f6d6520617265206e6f74206f776e65642062792073656e646572000000006044820152606401610462565b60005b81811015610dda576000848152600660205260408120600191600790910190858585818110610d9b57634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610dd290613357565b915050610d5c565b5060008381526006602052604081206001018054839290610dfc908490613293565b9091555050604080516020810190915260008152610e1f90339085908490611bef565b505050565b60066020526000908152604090208054600182015460028301805492939192610e4c906132d7565b80601f0160208091040260200160405190810160405280929190818152602001828054610e78906132d7565b8015610ec55780601f10610e9a57610100808354040283529160200191610ec5565b820191906000526020600020905b815481529060010190602001808311610ea857829003601f168201915b5050505060038301546004840154600590940154929373ffffffffffffffffffffffffffffffffffffffff918216939116915086565b60035473ffffffffffffffffffffffffffffffffffffffff163314610f625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b610f6c6000611e7d565b565b60035473ffffffffffffffffffffffffffffffffffffffff163314610fd55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6000818152600660205260409020546110305760405162461bcd60e51b815260206004820152601d60248201527f45646974706173733a207061737320646f6573206e6f742065786973740000006044820152606401610462565b600081815260066020908152604090912060058101879055855161105c926002909201918701906128f8565b50600090815260066020526040902060038101805473ffffffffffffffffffffffffffffffffffffffff9485167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155600490910180549290931691161790555050565b6110d0338383611ef4565b5050565b606060006110e160045490565b67ffffffffffffffff81111561110757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611130578160200160208202803683370190505b50905060005b60045481101561119157600081815260066020526040902060010154825183908390811061117457634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061118981613357565b915050611136565b50919050565b60008281526006602052604090206003015473ffffffffffffffffffffffffffffffffffffffff1633146112335760405162461bcd60e51b815260206004820152602260248201527f4f6e6c7920616c6c6f772066726f6d2073706563696669656420636f6e74726160448201527f63740000000000000000000000000000000000000000000000000000000000006064820152608401610462565b610e1f83838361202e565b60035473ffffffffffffffffffffffffffffffffffffffff1633146112a55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6000600660006112b460045490565b81526020808201929092526040016000206005810188905586815585519092506112e6916002840191908701906128f8565b5060038101805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff000000000000000000000000000000000000000092831617909255600480840180549386169390921692909217905561134e9080546001019055565b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633146113bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b606060008367ffffffffffffffff81111561142157634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561144a578160200160208202803683370190505b5090506000805b8581101561151f5760008581526006602052604081206007019088888481811061148b57634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508101919091526040016000205460ff161561150d578686828181106114cd57634e487b7160e01b600052603260045260246000fd5b905060200201358383815181106114f457634e487b7160e01b600052603260045260246000fd5b60209081029190910101528161150981613357565b9250505b8061151781613357565b915050611451565b509095945050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633146115915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6000838152600660205260409020546115ec5760405162461bcd60e51b815260206004820152601360248201527f7061737320646f6573206e6f74206578697374000000000000000000000000006044820152606401610462565b6000838152600660205260409020805460019091015461160d908490613293565b111561165b5760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610462565b61167681848460405180602001604052806000815250611bef565b60008381526006602052604081206001018054849290611697908490613293565b9091555050505050565b73ffffffffffffffffffffffffffffffffffffffff85163314806116ca57506116ca853361037a565b61173c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610462565b6107548585858585612202565b60035473ffffffffffffffffffffffffffffffffffffffff1633146117b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b73ffffffffffffffffffffffffffffffffffffffff81166118395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610462565b61184281611e7d565b50565b606060028054611854906132d7565b80601f0160208091040260200160405190810160405280929190818152602001828054611880906132d7565b80156118cd5780601f106118a2576101008083540402835291602001916118cd565b820191906000526020600020905b8154815290600101906020018083116118b057829003601f168201915b50505050509050919050565b81518351146119505760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610462565b73ffffffffffffffffffffffffffffffffffffffff84166119d95760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610462565b3360005b8451811015611b4c576000858281518110611a0857634e487b7160e01b600052603260045260246000fd5b602002602001015190506000858381518110611a3457634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015611ae75760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610462565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611b31908490613293565b9250508190555050505080611b4590613357565b90506119dd565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611bc39291906131dd565b60405180910390a461134e8187878787876123ff565b600082611be6858461264b565b14949350505050565b73ffffffffffffffffffffffffffffffffffffffff8416611c785760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610462565b33611c9281600087611c89886126fd565b610754886126fd565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8916845290915281208054859290611ccf908490613293565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461075481600087878787612756565b60008181526006602052604081206004015473ffffffffffffffffffffffffffffffffffffffff16815b84811015611e6e578673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e888885818110611dc157634e487b7160e01b600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401611de691815260200190565b60206040518083038186803b158015611dfe57600080fd5b505afa158015611e12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e369190612af8565b73ffffffffffffffffffffffffffffffffffffffff1614611e5c57600092505050611e75565b80611e6681613357565b915050611d66565b5060019150505b949350505050565b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f965760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610462565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166120b75760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610462565b336120e7818560006120c8876126fd565b6120d1876126fd565b5050604080516020810190915260009052505050565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff881684529091529020548281101561218a5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610462565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b73ffffffffffffffffffffffffffffffffffffffff841661228b5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610462565b3361229b818787611c89886126fd565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a1684529091529020548381101561233f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610462565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8b8116855292528083208785039055908816825281208054869290612389908490613293565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46123f6828888888888612756565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff84163b1561134e576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190612476908990899088908890889060040161310f565b602060405180830381600087803b15801561249057600080fd5b505af19250505080156124de575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526124db91810190612f08565b60015b612594576124ea6133bc565b806308c379a0141561252457506124ff6133d4565b8061250a5750612526565b8060405162461bcd60e51b8152600401610462919061320b565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610462565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146123f65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610462565b600081815b8451811015610b6057600085828151811061267b57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116126bd5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506126ea565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806126f581613357565b915050612650565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061274557634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b1561134e576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e61906127cd908990899088908890889060040161317a565b602060405180830381600087803b1580156127e757600080fd5b505af1925050508015612835575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261283291810190612f08565b60015b612841576124ea6133bc565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146123f65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610462565b828054612904906132d7565b90600052602060002090601f016020900481019282612926576000855561296c565b82601f1061293f57805160ff191683800117855561296c565b8280016001018555821561296c579182015b8281111561296c578251825591602001919060010190612951565b5061297892915061297c565b5090565b5b80821115612978576000815560010161297d565b60008083601f8401126129a2578182fd5b50813567ffffffffffffffff8111156129b9578182fd5b6020830191508360208260051b85010111156129d457600080fd5b9250929050565b600082601f8301126129eb578081fd5b813560206129f88261326f565b604051612a05828261330c565b8381528281019150858301600585901b87018401881015612a24578586fd5b855b85811015612a4257813584529284019290840190600101612a26565b5090979650505050505050565b600082601f830112612a5f578081fd5b813567ffffffffffffffff811115612a7957612a796133a6565b604051612aae60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f850116018261330c565b818152846020838601011115612ac2578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612aed578081fd5b813561060581613471565b600060208284031215612b09578081fd5b815161060581613471565b60008060408385031215612b26578081fd5b8235612b3181613471565b91506020830135612b4181613471565b809150509250929050565b600080600080600060a08688031215612b63578081fd5b8535612b6e81613471565b94506020860135612b7e81613471565b9350604086013567ffffffffffffffff80821115612b9a578283fd5b612ba689838a016129db565b94506060880135915080821115612bbb578283fd5b612bc789838a016129db565b93506080880135915080821115612bdc578283fd5b50612be988828901612a4f565b9150509295509295909350565b600080600080600060a08688031215612c0d578081fd5b8535612c1881613471565b94506020860135612c2881613471565b93506040860135925060608601359150608086013567ffffffffffffffff811115612c51578182fd5b612be988828901612a4f565b60008060408385031215612c6f578182fd5b8235612c7a81613471565b915060208301358015158114612b41578182fd5b60008060408385031215612ca0578182fd5b8235612cab81613471565b946020939093013593505050565b600080600060608486031215612ccd578081fd5b8335612cd881613471565b95602085013595506040909401359392505050565b60008060408385031215612cff578182fd5b823567ffffffffffffffff80821115612d16578384fd5b818501915085601f830112612d29578384fd5b81356020612d368261326f565b604051612d43828261330c565b8381528281019150858301600585901b870184018b1015612d62578889fd5b8896505b84871015612d8d578035612d7981613471565b835260019690960195918301918301612d66565b5096505086013592505080821115612da3578283fd5b50612db0858286016129db565b9150509250929050565b600080600060408486031215612dce578081fd5b833567ffffffffffffffff811115612de4578182fd5b612df086828701612991565b909790965060209590950135949350505050565b600080600080600060a08688031215612e1b578283fd5b85359450602086013567ffffffffffffffff811115612e38578384fd5b612e4488828901612a4f565b9450506040860135612e5581613471565b92506060860135612e6581613471565b949793965091946080013592915050565b600080600080600060a08688031215612e8d578283fd5b8535945060208601359350604086013567ffffffffffffffff811115612eb1578384fd5b612ebd88828901612a4f565b9350506060860135612ece81613471565b91506080860135612ede81613471565b809150509295509295909350565b600060208284031215612efd578081fd5b813561060581613493565b600060208284031215612f19578081fd5b815161060581613493565b600060208284031215612f35578081fd5b5035919050565b600080600060408486031215612f50578081fd5b83359250602084013567ffffffffffffffff811115612f6d578182fd5b612f7986828701612991565b9497909650939450505050565b600080600060608486031215612f9a578081fd5b83359250602084013591506040840135612fb381613471565b809150509250925092565b6000815180845260208085019450808401835b83811015612fed57815187529582019590820190600101612fd1565b509495945050505050565b600081518084526130108160208601602086016132ab565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351602061305582858389016132ab565b8454918401918390600181811c908083168061307257607f831692505b85831081141561309057634e487b7160e01b88526022600452602488fd5b8080156130a457600181146130d3576130ff565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516885283880195506130ff565b60008b815260209020895b858110156130f75781548a8201529084019088016130de565b505083880195505b50939a9950505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a0604083015261314860a0830186612fbe565b828103606084015261315a8186612fbe565b9050828103608084015261316e8185612ff8565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a060808301526131bf60a0830184612ff8565b979650505050505050565b6020815260006106056020830184612fbe565b6040815260006131f06040830185612fbe565b82810360208401526132028185612fbe565b95945050505050565b6020815260006106056020830184612ff8565b86815285602082015260c06040820152600061323d60c0830187612ff8565b73ffffffffffffffffffffffffffffffffffffffff958616606084015293909416608082015260a00152949350505050565b600067ffffffffffffffff821115613289576132896133a6565b5060051b60200190565b600082198211156132a6576132a6613390565b500190565b60005b838110156132c65781810151838201526020016132ae565b838111156109ec5750506000910152565b600181811c908216806132eb57607f821691505b6020821081141561119157634e487b7160e01b600052602260045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715613350576133506133a6565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561338957613389613390565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156133d157600481823e5160e01c5b90565b600060443d10156133e25790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff816024840111818411171561343057505050505090565b82850191508151818111156134485750505050505090565b843d87010160208285010111156134625750505050505090565b61151f6020828601018761330c565b73ffffffffffffffffffffffffffffffffffffffff8116811461184257600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461184257600080fdfea264697066735822122096850c6bea0e3d373377042874be5856fbc2dcd862e192b47d0b28e250837aa064736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018c5760003560e01c80638da5cb5b116100e3578063c3e4d6721161008c578063e985e9c511610066578063e985e9c51461036c578063f242432a146103b5578063f2fde38b146103c857600080fd5b8063c3e4d67214610333578063e2d4eb8a14610346578063e7d3fe6b1461035957600080fd5b8063b42394f1116100bd578063b42394f114610305578063b560a40d1461030d578063b8f3e79e1461032057600080fd5b80638da5cb5b146102b757806396cb36a5146102df578063a22cb465146102f257600080fd5b80632f52ebb7116101455780636c1a34dc1161011f5780636c1a34dc146102775780636e321ce41461028a578063715018a6146102af57600080fd5b80632f52ebb7146102225780634e1273f4146102355780634f558e791461025557600080fd5b80630c28db90116101765780630c28db90146101da5780630e89341c146101ed5780632eb2c2d61461020d57600080fd5b8062fdd58e1461019157806301ffc9a7146101b7575b600080fd5b6101a461019f366004612c8e565b6103db565b6040519081526020015b60405180910390f35b6101ca6101c5366004612eec565b61049e565b60405190151581526020016101ae565b6101ca6101e8366004612dba565b610583565b6102006101fb366004612f24565b61060c565b6040516101ae919061320b565b61022061021b366004612b4c565b6106ac565b005b610220610230366004612f3c565b61075b565b610248610243366004612ced565b6109f2565b6040516101ae91906131ca565b6101ca610263366004612f24565b600090815260066020526040902054151590565b610220610285366004612f3c565b610b68565b61029d610298366004612f24565b610e24565b6040516101ae9695949392919061321e565b610220610efb565b60035460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101ae565b6102206102ed366004612e04565b610f6e565b610220610300366004612c5d565b6110c5565b6102486110d4565b61022061031b366004612cb9565b611197565b61022061032e366004612e76565b61123e565b610220610341366004612f24565b611356565b610248610354366004612dba565b6113f6565b610220610367366004612f86565b61152a565b6101ca61037a366004612b14565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b6102206103c3366004612bf6565b6116a1565b6102206103d6366004612adc565b611749565b600073ffffffffffffffffffffffffffffffffffffffff831661046b5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526020818152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061053157507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061057d57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000805b838110156105ff576000838152600660205260408120600701908686848181106105c157634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508101919091526040016000205460ff16156105ed576000915050610605565b806105f781613357565b915050610587565b50600190505b9392505050565b60008181526006602052604090205460609061066a5760405162461bcd60e51b815260206004820152601660248201527f5552493a206e6f6e6578697374656e7420746f6b656e000000000000000000006044820152606401610462565b61067382611845565b600083815260066020908152604091829020915161069693926002019101613042565b6040516020818303038152906040529050919050565b73ffffffffffffffffffffffffffffffffffffffff85163314806106d557506106d5853361037a565b6107475760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610462565b61075485858585856118d9565b5050505050565b60008381526005602052604090205460ff16156107ba5760405162461bcd60e51b815260206004820152601060248201527f436c61696d3a20697320636c6f736564000000000000000000000000000000006044820152606401610462565b600083815260066020526040902080546001909101541061081d5760405162461bcd60e51b815260206004820152601860248201527f576f756c6420676f206f766572206d617820737570706c7900000000000000006044820152606401610462565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526000906034016040516020818303038152906040528051906020012090506108b78383808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250898152600660205260409020600501549250859150611bd99050565b6109035760405162461bcd60e51b815260206004820152600e60248201527f496e76616c69642070726f6f662e0000000000000000000000000000000000006044820152606401610462565b6000848152600660208181526040808420338552909201905290205460ff161561096f5760405162461bcd60e51b815260206004820181905260248201527f5468697320616464726573732068617320616c726561647920636c61696d65646044820152606401610462565b6000848152600660208181526040808420338552808401835290842080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600190811790915588855292909152018054916109cb83613357565b91905055506109ec3385600160405180602001604052806000815250611bef565b50505050565b60608151835114610a6b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610462565b6000835167ffffffffffffffff811115610a9557634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610abe578160200160208202803683370190505b50905060005b8451811015610b6057610b25858281518110610af057634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610b1857634e487b7160e01b600052603260045260246000fd5b60200260200101516103db565b828281518110610b4557634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610b5981613357565b9050610ac4565b509392505050565b60008381526005602052604090205460ff1615610bc75760405162461bcd60e51b815260206004820152601060248201527f436c61696d3a20697320636c6f736564000000000000000000000000000000006044820152606401610462565b60008381526006602052604090206004015473ffffffffffffffffffffffffffffffffffffffff16610c3b5760405162461bcd60e51b815260206004820152601660248201527f4e6f20746f6b656e2073657420666f7220636c61696d000000000000000000006044820152606401610462565b60008381526006602052604090208054600190910154610c5c908390613293565b1115610caa5760405162461bcd60e51b815260206004820152601860248201527f576f756c6420676f206f766572206d617820737570706c7900000000000000006044820152606401610462565b610cb5828285610583565b610d015760405162461bcd60e51b815260206004820152601860248201527f536f6d652061726520616c726561647920636c61696d656400000000000000006044820152606401610462565b610d0d33838386611d3c565b610d595760405162461bcd60e51b815260206004820152601c60248201527f536f6d6520617265206e6f74206f776e65642062792073656e646572000000006044820152606401610462565b60005b81811015610dda576000848152600660205260408120600191600790910190858585818110610d9b57634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610dd290613357565b915050610d5c565b5060008381526006602052604081206001018054839290610dfc908490613293565b9091555050604080516020810190915260008152610e1f90339085908490611bef565b505050565b60066020526000908152604090208054600182015460028301805492939192610e4c906132d7565b80601f0160208091040260200160405190810160405280929190818152602001828054610e78906132d7565b8015610ec55780601f10610e9a57610100808354040283529160200191610ec5565b820191906000526020600020905b815481529060010190602001808311610ea857829003601f168201915b5050505060038301546004840154600590940154929373ffffffffffffffffffffffffffffffffffffffff918216939116915086565b60035473ffffffffffffffffffffffffffffffffffffffff163314610f625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b610f6c6000611e7d565b565b60035473ffffffffffffffffffffffffffffffffffffffff163314610fd55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6000818152600660205260409020546110305760405162461bcd60e51b815260206004820152601d60248201527f45646974706173733a207061737320646f6573206e6f742065786973740000006044820152606401610462565b600081815260066020908152604090912060058101879055855161105c926002909201918701906128f8565b50600090815260066020526040902060038101805473ffffffffffffffffffffffffffffffffffffffff9485167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155600490910180549290931691161790555050565b6110d0338383611ef4565b5050565b606060006110e160045490565b67ffffffffffffffff81111561110757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611130578160200160208202803683370190505b50905060005b60045481101561119157600081815260066020526040902060010154825183908390811061117457634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061118981613357565b915050611136565b50919050565b60008281526006602052604090206003015473ffffffffffffffffffffffffffffffffffffffff1633146112335760405162461bcd60e51b815260206004820152602260248201527f4f6e6c7920616c6c6f772066726f6d2073706563696669656420636f6e74726160448201527f63740000000000000000000000000000000000000000000000000000000000006064820152608401610462565b610e1f83838361202e565b60035473ffffffffffffffffffffffffffffffffffffffff1633146112a55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6000600660006112b460045490565b81526020808201929092526040016000206005810188905586815585519092506112e6916002840191908701906128f8565b5060038101805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff000000000000000000000000000000000000000092831617909255600480840180549386169390921692909217905561134e9080546001019055565b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633146113bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b606060008367ffffffffffffffff81111561142157634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561144a578160200160208202803683370190505b5090506000805b8581101561151f5760008581526006602052604081206007019088888481811061148b57634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508101919091526040016000205460ff161561150d578686828181106114cd57634e487b7160e01b600052603260045260246000fd5b905060200201358383815181106114f457634e487b7160e01b600052603260045260246000fd5b60209081029190910101528161150981613357565b9250505b8061151781613357565b915050611451565b509095945050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633146115915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6000838152600660205260409020546115ec5760405162461bcd60e51b815260206004820152601360248201527f7061737320646f6573206e6f74206578697374000000000000000000000000006044820152606401610462565b6000838152600660205260409020805460019091015461160d908490613293565b111561165b5760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610462565b61167681848460405180602001604052806000815250611bef565b60008381526006602052604081206001018054849290611697908490613293565b9091555050505050565b73ffffffffffffffffffffffffffffffffffffffff85163314806116ca57506116ca853361037a565b61173c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610462565b6107548585858585612202565b60035473ffffffffffffffffffffffffffffffffffffffff1633146117b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b73ffffffffffffffffffffffffffffffffffffffff81166118395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610462565b61184281611e7d565b50565b606060028054611854906132d7565b80601f0160208091040260200160405190810160405280929190818152602001828054611880906132d7565b80156118cd5780601f106118a2576101008083540402835291602001916118cd565b820191906000526020600020905b8154815290600101906020018083116118b057829003601f168201915b50505050509050919050565b81518351146119505760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610462565b73ffffffffffffffffffffffffffffffffffffffff84166119d95760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610462565b3360005b8451811015611b4c576000858281518110611a0857634e487b7160e01b600052603260045260246000fd5b602002602001015190506000858381518110611a3457634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015611ae75760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610462565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611b31908490613293565b9250508190555050505080611b4590613357565b90506119dd565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611bc39291906131dd565b60405180910390a461134e8187878787876123ff565b600082611be6858461264b565b14949350505050565b73ffffffffffffffffffffffffffffffffffffffff8416611c785760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610462565b33611c9281600087611c89886126fd565b610754886126fd565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8916845290915281208054859290611ccf908490613293565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461075481600087878787612756565b60008181526006602052604081206004015473ffffffffffffffffffffffffffffffffffffffff16815b84811015611e6e578673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e888885818110611dc157634e487b7160e01b600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401611de691815260200190565b60206040518083038186803b158015611dfe57600080fd5b505afa158015611e12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e369190612af8565b73ffffffffffffffffffffffffffffffffffffffff1614611e5c57600092505050611e75565b80611e6681613357565b915050611d66565b5060019150505b949350505050565b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f965760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610462565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166120b75760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610462565b336120e7818560006120c8876126fd565b6120d1876126fd565b5050604080516020810190915260009052505050565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff881684529091529020548281101561218a5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610462565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b73ffffffffffffffffffffffffffffffffffffffff841661228b5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610462565b3361229b818787611c89886126fd565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a1684529091529020548381101561233f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610462565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8b8116855292528083208785039055908816825281208054869290612389908490613293565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46123f6828888888888612756565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff84163b1561134e576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190612476908990899088908890889060040161310f565b602060405180830381600087803b15801561249057600080fd5b505af19250505080156124de575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526124db91810190612f08565b60015b612594576124ea6133bc565b806308c379a0141561252457506124ff6133d4565b8061250a5750612526565b8060405162461bcd60e51b8152600401610462919061320b565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610462565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146123f65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610462565b600081815b8451811015610b6057600085828151811061267b57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116126bd5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506126ea565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806126f581613357565b915050612650565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061274557634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b1561134e576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e61906127cd908990899088908890889060040161317a565b602060405180830381600087803b1580156127e757600080fd5b505af1925050508015612835575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261283291810190612f08565b60015b612841576124ea6133bc565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146123f65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610462565b828054612904906132d7565b90600052602060002090601f016020900481019282612926576000855561296c565b82601f1061293f57805160ff191683800117855561296c565b8280016001018555821561296c579182015b8281111561296c578251825591602001919060010190612951565b5061297892915061297c565b5090565b5b80821115612978576000815560010161297d565b60008083601f8401126129a2578182fd5b50813567ffffffffffffffff8111156129b9578182fd5b6020830191508360208260051b85010111156129d457600080fd5b9250929050565b600082601f8301126129eb578081fd5b813560206129f88261326f565b604051612a05828261330c565b8381528281019150858301600585901b87018401881015612a24578586fd5b855b85811015612a4257813584529284019290840190600101612a26565b5090979650505050505050565b600082601f830112612a5f578081fd5b813567ffffffffffffffff811115612a7957612a796133a6565b604051612aae60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f850116018261330c565b818152846020838601011115612ac2578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612aed578081fd5b813561060581613471565b600060208284031215612b09578081fd5b815161060581613471565b60008060408385031215612b26578081fd5b8235612b3181613471565b91506020830135612b4181613471565b809150509250929050565b600080600080600060a08688031215612b63578081fd5b8535612b6e81613471565b94506020860135612b7e81613471565b9350604086013567ffffffffffffffff80821115612b9a578283fd5b612ba689838a016129db565b94506060880135915080821115612bbb578283fd5b612bc789838a016129db565b93506080880135915080821115612bdc578283fd5b50612be988828901612a4f565b9150509295509295909350565b600080600080600060a08688031215612c0d578081fd5b8535612c1881613471565b94506020860135612c2881613471565b93506040860135925060608601359150608086013567ffffffffffffffff811115612c51578182fd5b612be988828901612a4f565b60008060408385031215612c6f578182fd5b8235612c7a81613471565b915060208301358015158114612b41578182fd5b60008060408385031215612ca0578182fd5b8235612cab81613471565b946020939093013593505050565b600080600060608486031215612ccd578081fd5b8335612cd881613471565b95602085013595506040909401359392505050565b60008060408385031215612cff578182fd5b823567ffffffffffffffff80821115612d16578384fd5b818501915085601f830112612d29578384fd5b81356020612d368261326f565b604051612d43828261330c565b8381528281019150858301600585901b870184018b1015612d62578889fd5b8896505b84871015612d8d578035612d7981613471565b835260019690960195918301918301612d66565b5096505086013592505080821115612da3578283fd5b50612db0858286016129db565b9150509250929050565b600080600060408486031215612dce578081fd5b833567ffffffffffffffff811115612de4578182fd5b612df086828701612991565b909790965060209590950135949350505050565b600080600080600060a08688031215612e1b578283fd5b85359450602086013567ffffffffffffffff811115612e38578384fd5b612e4488828901612a4f565b9450506040860135612e5581613471565b92506060860135612e6581613471565b949793965091946080013592915050565b600080600080600060a08688031215612e8d578283fd5b8535945060208601359350604086013567ffffffffffffffff811115612eb1578384fd5b612ebd88828901612a4f565b9350506060860135612ece81613471565b91506080860135612ede81613471565b809150509295509295909350565b600060208284031215612efd578081fd5b813561060581613493565b600060208284031215612f19578081fd5b815161060581613493565b600060208284031215612f35578081fd5b5035919050565b600080600060408486031215612f50578081fd5b83359250602084013567ffffffffffffffff811115612f6d578182fd5b612f7986828701612991565b9497909650939450505050565b600080600060608486031215612f9a578081fd5b83359250602084013591506040840135612fb381613471565b809150509250925092565b6000815180845260208085019450808401835b83811015612fed57815187529582019590820190600101612fd1565b509495945050505050565b600081518084526130108160208601602086016132ab565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351602061305582858389016132ab565b8454918401918390600181811c908083168061307257607f831692505b85831081141561309057634e487b7160e01b88526022600452602488fd5b8080156130a457600181146130d3576130ff565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516885283880195506130ff565b60008b815260209020895b858110156130f75781548a8201529084019088016130de565b505083880195505b50939a9950505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a0604083015261314860a0830186612fbe565b828103606084015261315a8186612fbe565b9050828103608084015261316e8185612ff8565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a060808301526131bf60a0830184612ff8565b979650505050505050565b6020815260006106056020830184612fbe565b6040815260006131f06040830185612fbe565b82810360208401526132028185612fbe565b95945050505050565b6020815260006106056020830184612ff8565b86815285602082015260c06040820152600061323d60c0830187612ff8565b73ffffffffffffffffffffffffffffffffffffffff958616606084015293909416608082015260a00152949350505050565b600067ffffffffffffffff821115613289576132896133a6565b5060051b60200190565b600082198211156132a6576132a6613390565b500190565b60005b838110156132c65781810151838201526020016132ae565b838111156109ec5750506000910152565b600181811c908216806132eb57607f821691505b6020821081141561119157634e487b7160e01b600052602260045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715613350576133506133a6565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561338957613389613390565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156133d157600481823e5160e01c5b90565b600060443d10156133e25790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff816024840111818411171561343057505050505090565b82850191508151818111156134485750505050505090565b843d87010160208285010111156134625750505050505090565b61151f6020828601018761330c565b73ffffffffffffffffffffffffffffffffffffffff8116811461184257600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461184257600080fdfea264697066735822122096850c6bea0e3d373377042874be5856fbc2dcd862e192b47d0b28e250837aa064736f6c63430008040033
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.