Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
77 ORIGINSV1
Holders
77
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:
OriginsV1
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import './AbstractOriginsV1.sol'; /* * @title ERC1155 token for Zero to One Origins: Cover Art */ contract OriginsV1 is AbstractOriginsV1 { using Strings for uint256; uint256 public immutable MAX_SUPPLY; bytes32 public merkleRoot; mapping(address => bool) private wasClaimed; using Counters for Counters.Counter; Counters.Counter public totalMinted; event Withdraw(uint256 amount); constructor(string memory _uri, bytes32 _merkleRoot) ERC1155(_uri) { contractName = "Zero to One Origins: Cover Art"; contractSymbol = "ORIGINSV1"; merkleRoot = _merkleRoot; MAX_SUPPLY = 99; } /** * @notice edit merkle root * @param newMerkleRoot the new merkle root */ function setMerkleRoot(bytes32 newMerkleRoot) external onlyOwner { merkleRoot = newMerkleRoot; } /** * @notice claim your origins token * @param proof check you have purchased the nft */ function claim(bytes32[] calldata proof) external payable whenNotPaused { require(totalMinted.current() + 1 <= MAX_SUPPLY, "all tokens claimed"); require(MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "acct not permitted to claim"); require(!wasClaimed[msg.sender], "token already claimed"); wasClaimed[msg.sender] = true; totalMinted.increment(); _mint(msg.sender, 0, 1, ""); } /** * @notice see if a token was claimed * @param account to be checked */ function peekClaimed(address account) external view returns (bool){ return wasClaimed[account]; } /** * @notice returns the metadata uri * @param _id for this contract will always be 0 */ function uri(uint256 _id) public view override returns (string memory) { require(exists(_id), "URI: nonexistent token"); return string(abi.encodePacked(super.uri(_id), Strings.toString(_id))); } function withdraw() external payable onlyOwner { uint256 bal = address(this).balance; address overagebounce = payable(0x429c71D391dB10a0cEaDE2CB2DE8C8c9AF4133c1); emit Withdraw(bal); (bool success, ) = overagebounce.call{value: bal}(""); require(success, "txn failed"); } }
// 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/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 (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 (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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol'; import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol'; abstract contract AbstractOriginsV1 is Pausable, ERC1155Supply, ERC1155Burnable, Ownable { string contractName; string contractSymbol; function setPaused(bool state) external onlyOwner() { state ? _pause() : _unpause(); } function setURI(string memory baseURI) external onlyOwner { _setURI(baseURI); } function name() public view returns (string memory) { return contractName; } function symbol() public view returns (string memory) { return contractSymbol; } function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual override(ERC1155, ERC1155Supply) { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } }
// 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 (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 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } }
// 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 (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 (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/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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"payable","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":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"peekClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","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":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162005302380380620053028339818101604052810190620000379190620004aa565b8160008060006101000a81548160ff02191690831515021790555062000063816200013860201b60201c565b5062000084620000786200015460201b60201c565b6200015c60201b60201c565b6040518060400160405280601e81526020017f5a65726f20746f204f6e65204f726967696e733a20436f76657220417274000081525060069080519060200190620000d192919062000222565b506040518060400160405280600981526020017f4f524947494e5356310000000000000000000000000000000000000000000000815250600790805190602001906200011f92919062000222565b5080600881905550606360808181525050505062000575565b80600390805190602001906200015092919062000222565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000230906200053f565b90600052602060002090601f016020900481019282620002545760008555620002a0565b82601f106200026f57805160ff1916838001178555620002a0565b82800160010185558215620002a0579182015b828111156200029f57825182559160200191906001019062000282565b5b509050620002af9190620002b3565b5090565b5b80821115620002ce576000816000905550600101620002b4565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200033b82620002f0565b810181811067ffffffffffffffff821117156200035d576200035c62000301565b5b80604052505050565b600062000372620002d2565b905062000380828262000330565b919050565b600067ffffffffffffffff821115620003a357620003a262000301565b5b620003ae82620002f0565b9050602081019050919050565b60005b83811015620003db578082015181840152602081019050620003be565b83811115620003eb576000848401525b50505050565b600062000408620004028462000385565b62000366565b905082815260208101848484011115620004275762000426620002eb565b5b62000434848285620003bb565b509392505050565b600082601f830112620004545762000453620002e6565b5b815162000466848260208601620003f1565b91505092915050565b6000819050919050565b62000484816200046f565b81146200049057600080fd5b50565b600081519050620004a48162000479565b92915050565b60008060408385031215620004c457620004c3620002dc565b5b600083015167ffffffffffffffff811115620004e557620004e4620002e1565b5b620004f3858286016200043c565b9250506020620005068582860162000493565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200055857607f821691505b602082108114156200056f576200056e62000510565b5b50919050565b608051614d6a6200059860003960008181610aef01526110a90152614d6a6000f3fe60806040526004361061019b5760003560e01c80636b20c454116100ec578063b391c5081161008a578063eec871eb11610064578063eec871eb146105ab578063f242432a146105e8578063f2fde38b14610611578063f5298aca1461063a5761019b565b8063b391c50814610515578063bd85b03914610531578063e985e9c51461056e5761019b565b80638da5cb5b116100c65780638da5cb5b1461046b57806395d89b4114610496578063a22cb465146104c1578063a2309ff8146104ea5761019b565b80636b20c45414610402578063715018a61461042b5780637cb64759146104425761019b565b80632eb2c2d6116101595780633ccfd60b116101335780633ccfd60b146103535780634e1273f41461035d5780634f558e791461039a5780635c975abb146103d75761019b565b80632eb2c2d6146102d45780632eb4a7ab146102fd57806332cb6b0c146103285761019b565b8062fdd58e146101a057806301ffc9a7146101dd57806302fe53051461021a57806306fdde03146102435780630e89341c1461026e57806316c38b3c146102ab575b600080fd5b3480156101ac57600080fd5b506101c760048036038101906101c29190613029565b610663565b6040516101d49190613078565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff91906130eb565b61072d565b6040516102119190613133565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190613294565b61080f565b005b34801561024f57600080fd5b50610258610897565b6040516102659190613365565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190613387565b610929565b6040516102a29190613365565b60405180910390f35b3480156102b757600080fd5b506102d260048036038101906102cd91906133e0565b6109ac565b005b3480156102e057600080fd5b506102fb60048036038101906102f69190613576565b610a46565b005b34801561030957600080fd5b50610312610ae7565b60405161031f919061365e565b60405180910390f35b34801561033457600080fd5b5061033d610aed565b60405161034a9190613078565b60405180910390f35b61035b610b11565b005b34801561036957600080fd5b50610384600480360381019061037f919061373c565b610c93565b6040516103919190613872565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc9190613387565b610dac565b6040516103ce9190613133565b60405180910390f35b3480156103e357600080fd5b506103ec610dc0565b6040516103f99190613133565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190613894565b610dd6565b005b34801561043757600080fd5b50610440610e73565b005b34801561044e57600080fd5b506104696004803603810190610464919061394b565b610efb565b005b34801561047757600080fd5b50610480610f81565b60405161048d9190613987565b60405180910390f35b3480156104a257600080fd5b506104ab610fab565b6040516104b89190613365565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e391906139a2565b61103d565b005b3480156104f657600080fd5b506104ff611053565b60405161050c9190613078565b60405180910390f35b61052f600480360381019061052a9190613a3d565b61105f565b005b34801561053d57600080fd5b5061055860048036038101906105539190613387565b6112e2565b6040516105659190613078565b60405180910390f35b34801561057a57600080fd5b5061059560048036038101906105909190613a8a565b6112ff565b6040516105a29190613133565b60405180910390f35b3480156105b757600080fd5b506105d260048036038101906105cd9190613aca565b611393565b6040516105df9190613133565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a9190613af7565b6113e9565b005b34801561061d57600080fd5b5061063860048036038101906106339190613aca565b61148a565b005b34801561064657600080fd5b50610661600480360381019061065c9190613b8e565b611582565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cb90613c53565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061080857506108078261161f565b5b9050919050565b610817611689565b73ffffffffffffffffffffffffffffffffffffffff16610835610f81565b73ffffffffffffffffffffffffffffffffffffffff161461088b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088290613cbf565b60405180910390fd5b61089481611691565b50565b6060600680546108a690613d0e565b80601f01602080910402602001604051908101604052809291908181526020018280546108d290613d0e565b801561091f5780601f106108f45761010080835404028352916020019161091f565b820191906000526020600020905b81548152906001019060200180831161090257829003601f168201915b5050505050905090565b606061093482610dac565b610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096a90613d8c565b60405180910390fd5b61097c826116ab565b6109858361173f565b604051602001610996929190613de8565b6040516020818303038152906040529050919050565b6109b4611689565b73ffffffffffffffffffffffffffffffffffffffff166109d2610f81565b73ffffffffffffffffffffffffffffffffffffffff1614610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f90613cbf565b60405180910390fd5b80610a3a57610a356118a0565b610a43565b610a42611941565b5b50565b610a4e611689565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a945750610a9385610a8e611689565b6112ff565b5b610ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aca90613e7e565b60405180910390fd5b610ae085858585856119e3565b5050505050565b60085481565b7f000000000000000000000000000000000000000000000000000000000000000081565b610b19611689565b73ffffffffffffffffffffffffffffffffffffffff16610b37610f81565b73ffffffffffffffffffffffffffffffffffffffff1614610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8490613cbf565b60405180910390fd5b6000479050600073429c71d391db10a0ceade2cb2de8c8c9af4133c190507f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d82604051610bda9190613078565b60405180910390a160008173ffffffffffffffffffffffffffffffffffffffff1683604051610c0890613ecf565b60006040518083038185875af1925050503d8060008114610c45576040519150601f19603f3d011682016040523d82523d6000602084013e610c4a565b606091505b5050905080610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8590613f30565b60405180910390fd5b505050565b60608151835114610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd090613fc2565b60405180910390fd5b6000835167ffffffffffffffff811115610cf657610cf5613169565b5b604051908082528060200260200182016040528015610d245781602001602082028036833780820191505090505b50905060005b8451811015610da157610d71858281518110610d4957610d48613fe2565b5b6020026020010151858381518110610d6457610d63613fe2565b5b6020026020010151610663565b828281518110610d8457610d83613fe2565b5b60200260200101818152505080610d9a90614040565b9050610d2a565b508091505092915050565b600080610db8836112e2565b119050919050565b60008060009054906101000a900460ff16905090565b610dde611689565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610e245750610e2383610e1e611689565b6112ff565b5b610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a906140fb565b60405180910390fd5b610e6e838383611cfa565b505050565b610e7b611689565b73ffffffffffffffffffffffffffffffffffffffff16610e99610f81565b73ffffffffffffffffffffffffffffffffffffffff1614610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee690613cbf565b60405180910390fd5b610ef96000611fad565b565b610f03611689565b73ffffffffffffffffffffffffffffffffffffffff16610f21610f81565b73ffffffffffffffffffffffffffffffffffffffff1614610f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6e90613cbf565b60405180910390fd5b8060088190555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054610fba90613d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe690613d0e565b80156110335780601f1061100857610100808354040283529160200191611033565b820191906000526020600020905b81548152906001019060200180831161101657829003601f168201915b5050505050905090565b61104f611048611689565b8383612073565b5050565b600a8060000154905081565b611067610dc0565b156110a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109e90614167565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000060016110d4600a6121e0565b6110de9190614187565b111561111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690614229565b60405180910390fd5b611193828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600854336040516020016111789190614291565b604051602081830303815290604052805190602001206121ee565b6111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906142f8565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561125f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125690614364565b60405180910390fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506112c1600a612205565b6112de33600060016040518060200160405280600081525061221b565b5050565b600060046000838152602001908152602001600020549050919050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6113f1611689565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611437575061143685611431611689565b6112ff565b5b611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d906140fb565b60405180910390fd5b61148385858585856123b2565b5050505050565b611492611689565b73ffffffffffffffffffffffffffffffffffffffff166114b0610f81565b73ffffffffffffffffffffffffffffffffffffffff1614611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd90613cbf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d906143f6565b60405180910390fd5b61157f81611fad565b50565b61158a611689565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806115d057506115cf836115ca611689565b6112ff565b5b61160f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611606906140fb565b60405180910390fd5b61161a838383612637565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b80600390805190602001906116a7929190612ede565b5050565b6060600380546116ba90613d0e565b80601f01602080910402602001604051908101604052809291908181526020018280546116e690613d0e565b80156117335780601f1061170857610100808354040283529160200191611733565b820191906000526020600020905b81548152906001019060200180831161171657829003601f168201915b50505050509050919050565b60606000821415611787576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061189b565b600082905060005b600082146117b95780806117a290614040565b915050600a826117b29190614445565b915061178f565b60008167ffffffffffffffff8111156117d5576117d4613169565b5b6040519080825280601f01601f1916602001820160405280156118075781602001600182028036833780820191505090505b5090505b60008514611894576001826118209190614476565b9150600a8561182f91906144aa565b603061183b9190614187565b60f81b81838151811061185157611850613fe2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561188d9190614445565b945061180b565b8093505050505b919050565b6118a8610dc0565b6118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de90614527565b60405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61192a611689565b6040516119379190613987565b60405180910390a1565b611949610dc0565b15611989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198090614167565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119cc611689565b6040516119d99190613987565b60405180910390a1565b8151835114611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e906145b9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e9061464b565b60405180910390fd5b6000611aa1611689565b9050611ab1818787878787612856565b60005b8451811015611c65576000858281518110611ad257611ad1613fe2565b5b602002602001015190506000858381518110611af157611af0613fe2565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8a906146dd565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c4a9190614187565b9250508190555050505080611c5e90614040565b9050611ab4565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611cdc9291906146fd565b60405180910390a4611cf281878787878761286c565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d61906147a6565b60405180910390fd5b8051825114611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da5906145b9565b60405180910390fd5b6000611db8611689565b9050611dd881856000868660405180602001604052806000815250612856565b60005b8351811015611f27576000848281518110611df957611df8613fe2565b5b602002602001015190506000848381518110611e1857611e17613fe2565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb190614838565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611f1f90614040565b915050611ddb565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611f9f9291906146fd565b60405180910390a450505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d9906148ca565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121d39190613133565b60405180910390a3505050565b600081600001549050919050565b6000826121fb8584612a44565b1490509392505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561228b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122829061495c565b60405180910390fd5b6000612295611689565b90506122b6816000876122a788612af7565b6122b088612af7565b87612856565b826001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123169190614187565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161239492919061497c565b60405180910390a46123ab81600087878787612b71565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612422576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124199061464b565b60405180910390fd5b600061242c611689565b905061244c81878761243d88612af7565b61244688612af7565b87612856565b60006001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156124e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124db906146dd565b60405180910390fd5b8381036001600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259b9190614187565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161261892919061497c565b60405180910390a461262e828888888888612b71565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e906147a6565b60405180910390fd5b60006126b1611689565b90506126e1818560006126c387612af7565b6126cc87612af7565b60405180602001604052806000815250612856565b60006001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277090614838565b60405180910390fd5b8281036001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161284792919061497c565b60405180910390a45050505050565b612864868686868686612d49565b505050505050565b61288b8473ffffffffffffffffffffffffffffffffffffffff16612ec3565b15612a3c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016128d19594939291906149fa565b6020604051808303816000875af192505050801561290d57506040513d601f19601f8201168201806040525081019061290a9190614a77565b60015b6129b357612919614ab1565b806308c379a01415612976575061292e614ad3565b806129395750612978565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296d9190613365565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129aa90614bdb565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3190614c6d565b60405180910390fd5b505b505050505050565b60008082905060005b8451811015612aec576000858281518110612a6b57612a6a613fe2565b5b60200260200101519050808311612aac578281604051602001612a8f929190614cae565b604051602081830303815290604052805190602001209250612ad8565b8083604051602001612abf929190614cae565b6040516020818303038152906040528051906020012092505b508080612ae490614040565b915050612a4d565b508091505092915050565b60606000600167ffffffffffffffff811115612b1657612b15613169565b5b604051908082528060200260200182016040528015612b445781602001602082028036833780820191505090505b5090508281600081518110612b5c57612b5b613fe2565b5b60200260200101818152505080915050919050565b612b908473ffffffffffffffffffffffffffffffffffffffff16612ec3565b15612d41578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612bd6959493929190614cda565b6020604051808303816000875af1925050508015612c1257506040513d601f19601f82011682018060405250810190612c0f9190614a77565b60015b612cb857612c1e614ab1565b806308c379a01415612c7b5750612c33614ad3565b80612c3e5750612c7d565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c729190613365565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612caf90614bdb565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3690614c6d565b60405180910390fd5b505b505050505050565b612d57868686868686612ed6565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612e095760005b8351811015612e0757828181518110612dab57612daa613fe2565b5b602002602001015160046000868481518110612dca57612dc9613fe2565b5b602002602001015181526020019081526020016000206000828254612def9190614187565b9250508190555080612e0090614040565b9050612d8f565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ebb5760005b8351811015612eb957828181518110612e5d57612e5c613fe2565b5b602002602001015160046000868481518110612e7c57612e7b613fe2565b5b602002602001015181526020019081526020016000206000828254612ea19190614476565b9250508190555080612eb290614040565b9050612e41565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b828054612eea90613d0e565b90600052602060002090601f016020900481019282612f0c5760008555612f53565b82601f10612f2557805160ff1916838001178555612f53565b82800160010185558215612f53579182015b82811115612f52578251825591602001919060010190612f37565b5b509050612f609190612f64565b5090565b5b80821115612f7d576000816000905550600101612f65565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fc082612f95565b9050919050565b612fd081612fb5565b8114612fdb57600080fd5b50565b600081359050612fed81612fc7565b92915050565b6000819050919050565b61300681612ff3565b811461301157600080fd5b50565b60008135905061302381612ffd565b92915050565b600080604083850312156130405761303f612f8b565b5b600061304e85828601612fde565b925050602061305f85828601613014565b9150509250929050565b61307281612ff3565b82525050565b600060208201905061308d6000830184613069565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130c881613093565b81146130d357600080fd5b50565b6000813590506130e5816130bf565b92915050565b60006020828403121561310157613100612f8b565b5b600061310f848285016130d6565b91505092915050565b60008115159050919050565b61312d81613118565b82525050565b60006020820190506131486000830184613124565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131a182613158565b810181811067ffffffffffffffff821117156131c0576131bf613169565b5b80604052505050565b60006131d3612f81565b90506131df8282613198565b919050565b600067ffffffffffffffff8211156131ff576131fe613169565b5b61320882613158565b9050602081019050919050565b82818337600083830152505050565b6000613237613232846131e4565b6131c9565b90508281526020810184848401111561325357613252613153565b5b61325e848285613215565b509392505050565b600082601f83011261327b5761327a61314e565b5b813561328b848260208601613224565b91505092915050565b6000602082840312156132aa576132a9612f8b565b5b600082013567ffffffffffffffff8111156132c8576132c7612f90565b5b6132d484828501613266565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133175780820151818401526020810190506132fc565b83811115613326576000848401525b50505050565b6000613337826132dd565b61334181856132e8565b93506133518185602086016132f9565b61335a81613158565b840191505092915050565b6000602082019050818103600083015261337f818461332c565b905092915050565b60006020828403121561339d5761339c612f8b565b5b60006133ab84828501613014565b91505092915050565b6133bd81613118565b81146133c857600080fd5b50565b6000813590506133da816133b4565b92915050565b6000602082840312156133f6576133f5612f8b565b5b6000613404848285016133cb565b91505092915050565b600067ffffffffffffffff82111561342857613427613169565b5b602082029050602081019050919050565b600080fd5b600061345161344c8461340d565b6131c9565b9050808382526020820190506020840283018581111561347457613473613439565b5b835b8181101561349d57806134898882613014565b845260208401935050602081019050613476565b5050509392505050565b600082601f8301126134bc576134bb61314e565b5b81356134cc84826020860161343e565b91505092915050565b600067ffffffffffffffff8211156134f0576134ef613169565b5b6134f982613158565b9050602081019050919050565b6000613519613514846134d5565b6131c9565b90508281526020810184848401111561353557613534613153565b5b613540848285613215565b509392505050565b600082601f83011261355d5761355c61314e565b5b813561356d848260208601613506565b91505092915050565b600080600080600060a0868803121561359257613591612f8b565b5b60006135a088828901612fde565b95505060206135b188828901612fde565b945050604086013567ffffffffffffffff8111156135d2576135d1612f90565b5b6135de888289016134a7565b935050606086013567ffffffffffffffff8111156135ff576135fe612f90565b5b61360b888289016134a7565b925050608086013567ffffffffffffffff81111561362c5761362b612f90565b5b61363888828901613548565b9150509295509295909350565b6000819050919050565b61365881613645565b82525050565b6000602082019050613673600083018461364f565b92915050565b600067ffffffffffffffff82111561369457613693613169565b5b602082029050602081019050919050565b60006136b86136b384613679565b6131c9565b905080838252602082019050602084028301858111156136db576136da613439565b5b835b8181101561370457806136f08882612fde565b8452602084019350506020810190506136dd565b5050509392505050565b600082601f8301126137235761372261314e565b5b81356137338482602086016136a5565b91505092915050565b6000806040838503121561375357613752612f8b565b5b600083013567ffffffffffffffff81111561377157613770612f90565b5b61377d8582860161370e565b925050602083013567ffffffffffffffff81111561379e5761379d612f90565b5b6137aa858286016134a7565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6137e981612ff3565b82525050565b60006137fb83836137e0565b60208301905092915050565b6000602082019050919050565b600061381f826137b4565b61382981856137bf565b9350613834836137d0565b8060005b8381101561386557815161384c88826137ef565b975061385783613807565b925050600181019050613838565b5085935050505092915050565b6000602082019050818103600083015261388c8184613814565b905092915050565b6000806000606084860312156138ad576138ac612f8b565b5b60006138bb86828701612fde565b935050602084013567ffffffffffffffff8111156138dc576138db612f90565b5b6138e8868287016134a7565b925050604084013567ffffffffffffffff81111561390957613908612f90565b5b613915868287016134a7565b9150509250925092565b61392881613645565b811461393357600080fd5b50565b6000813590506139458161391f565b92915050565b60006020828403121561396157613960612f8b565b5b600061396f84828501613936565b91505092915050565b61398181612fb5565b82525050565b600060208201905061399c6000830184613978565b92915050565b600080604083850312156139b9576139b8612f8b565b5b60006139c785828601612fde565b92505060206139d8858286016133cb565b9150509250929050565b600080fd5b60008083601f8401126139fd576139fc61314e565b5b8235905067ffffffffffffffff811115613a1a57613a196139e2565b5b602083019150836020820283011115613a3657613a35613439565b5b9250929050565b60008060208385031215613a5457613a53612f8b565b5b600083013567ffffffffffffffff811115613a7257613a71612f90565b5b613a7e858286016139e7565b92509250509250929050565b60008060408385031215613aa157613aa0612f8b565b5b6000613aaf85828601612fde565b9250506020613ac085828601612fde565b9150509250929050565b600060208284031215613ae057613adf612f8b565b5b6000613aee84828501612fde565b91505092915050565b600080600080600060a08688031215613b1357613b12612f8b565b5b6000613b2188828901612fde565b9550506020613b3288828901612fde565b9450506040613b4388828901613014565b9350506060613b5488828901613014565b925050608086013567ffffffffffffffff811115613b7557613b74612f90565b5b613b8188828901613548565b9150509295509295909350565b600080600060608486031215613ba757613ba6612f8b565b5b6000613bb586828701612fde565b9350506020613bc686828701613014565b9250506040613bd786828701613014565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613c3d602b836132e8565b9150613c4882613be1565b604082019050919050565b60006020820190508181036000830152613c6c81613c30565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ca96020836132e8565b9150613cb482613c73565b602082019050919050565b60006020820190508181036000830152613cd881613c9c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d2657607f821691505b60208210811415613d3a57613d39613cdf565b5b50919050565b7f5552493a206e6f6e6578697374656e7420746f6b656e00000000000000000000600082015250565b6000613d766016836132e8565b9150613d8182613d40565b602082019050919050565b60006020820190508181036000830152613da581613d69565b9050919050565b600081905092915050565b6000613dc2826132dd565b613dcc8185613dac565b9350613ddc8185602086016132f9565b80840191505092915050565b6000613df48285613db7565b9150613e008284613db7565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613e686032836132e8565b9150613e7382613e0c565b604082019050919050565b60006020820190508181036000830152613e9781613e5b565b9050919050565b600081905092915050565b50565b6000613eb9600083613e9e565b9150613ec482613ea9565b600082019050919050565b6000613eda82613eac565b9150819050919050565b7f74786e206661696c656400000000000000000000000000000000000000000000600082015250565b6000613f1a600a836132e8565b9150613f2582613ee4565b602082019050919050565b60006020820190508181036000830152613f4981613f0d565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613fac6029836132e8565b9150613fb782613f50565b604082019050919050565b60006020820190508181036000830152613fdb81613f9f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061404b82612ff3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561407e5761407d614011565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006140e56029836132e8565b91506140f082614089565b604082019050919050565b60006020820190508181036000830152614114816140d8565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006141516010836132e8565b915061415c8261411b565b602082019050919050565b6000602082019050818103600083015261418081614144565b9050919050565b600061419282612ff3565b915061419d83612ff3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141d2576141d1614011565b5b828201905092915050565b7f616c6c20746f6b656e7320636c61696d65640000000000000000000000000000600082015250565b60006142136012836132e8565b915061421e826141dd565b602082019050919050565b6000602082019050818103600083015261424281614206565b9050919050565b60008160601b9050919050565b600061426182614249565b9050919050565b600061427382614256565b9050919050565b61428b61428682612fb5565b614268565b82525050565b600061429d828461427a565b60148201915081905092915050565b7f61636374206e6f74207065726d697474656420746f20636c61696d0000000000600082015250565b60006142e2601b836132e8565b91506142ed826142ac565b602082019050919050565b60006020820190508181036000830152614311816142d5565b9050919050565b7f746f6b656e20616c726561647920636c61696d65640000000000000000000000600082015250565b600061434e6015836132e8565b915061435982614318565b602082019050919050565b6000602082019050818103600083015261437d81614341565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143e06026836132e8565b91506143eb82614384565b604082019050919050565b6000602082019050818103600083015261440f816143d3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061445082612ff3565b915061445b83612ff3565b92508261446b5761446a614416565b5b828204905092915050565b600061448182612ff3565b915061448c83612ff3565b92508282101561449f5761449e614011565b5b828203905092915050565b60006144b582612ff3565b91506144c083612ff3565b9250826144d0576144cf614416565b5b828206905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006145116014836132e8565b915061451c826144db565b602082019050919050565b6000602082019050818103600083015261454081614504565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006145a36028836132e8565b91506145ae82614547565b604082019050919050565b600060208201905081810360008301526145d281614596565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006146356025836132e8565b9150614640826145d9565b604082019050919050565b6000602082019050818103600083015261466481614628565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006146c7602a836132e8565b91506146d28261466b565b604082019050919050565b600060208201905081810360008301526146f6816146ba565b9050919050565b600060408201905081810360008301526147178185613814565b9050818103602083015261472b8184613814565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006147906023836132e8565b915061479b82614734565b604082019050919050565b600060208201905081810360008301526147bf81614783565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006148226024836132e8565b915061482d826147c6565b604082019050919050565b6000602082019050818103600083015261485181614815565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006148b46029836132e8565b91506148bf82614858565b604082019050919050565b600060208201905081810360008301526148e3816148a7565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006149466021836132e8565b9150614951826148ea565b604082019050919050565b6000602082019050818103600083015261497581614939565b9050919050565b60006040820190506149916000830185613069565b61499e6020830184613069565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006149cc826149a5565b6149d681856149b0565b93506149e68185602086016132f9565b6149ef81613158565b840191505092915050565b600060a082019050614a0f6000830188613978565b614a1c6020830187613978565b8181036040830152614a2e8186613814565b90508181036060830152614a428185613814565b90508181036080830152614a5681846149c1565b90509695505050505050565b600081519050614a71816130bf565b92915050565b600060208284031215614a8d57614a8c612f8b565b5b6000614a9b84828501614a62565b91505092915050565b60008160e01c9050919050565b600060033d1115614ad05760046000803e614acd600051614aa4565b90505b90565b600060443d1015614ae357614b66565b614aeb612f81565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b13575050614b66565b808201805167ffffffffffffffff811115614b315750505050614b66565b80602083010160043d038501811115614b4e575050505050614b66565b614b5d82602001850186613198565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614bc56034836132e8565b9150614bd082614b69565b604082019050919050565b60006020820190508181036000830152614bf481614bb8565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614c576028836132e8565b9150614c6282614bfb565b604082019050919050565b60006020820190508181036000830152614c8681614c4a565b9050919050565b6000819050919050565b614ca8614ca382613645565b614c8d565b82525050565b6000614cba8285614c97565b602082019150614cca8284614c97565b6020820191508190509392505050565b600060a082019050614cef6000830188613978565b614cfc6020830187613978565b614d096040830186613069565b614d166060830185613069565b8181036080830152614d2881846149c1565b9050969550505050505056fea2646970667358221220f286eb2e9423f3617d7463ba58fb8063fe96192b571e76372ce81f510120a9da64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000406e32ae1b2dfeb40f30c920899e8cb915c496d21d6a48206d0a1886bb279068dd0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d614c543256697a3169516370507050357a63444a5850725731336d694e4e51423779663450767133313846702f00000000000000000000
Deployed Bytecode
0x60806040526004361061019b5760003560e01c80636b20c454116100ec578063b391c5081161008a578063eec871eb11610064578063eec871eb146105ab578063f242432a146105e8578063f2fde38b14610611578063f5298aca1461063a5761019b565b8063b391c50814610515578063bd85b03914610531578063e985e9c51461056e5761019b565b80638da5cb5b116100c65780638da5cb5b1461046b57806395d89b4114610496578063a22cb465146104c1578063a2309ff8146104ea5761019b565b80636b20c45414610402578063715018a61461042b5780637cb64759146104425761019b565b80632eb2c2d6116101595780633ccfd60b116101335780633ccfd60b146103535780634e1273f41461035d5780634f558e791461039a5780635c975abb146103d75761019b565b80632eb2c2d6146102d45780632eb4a7ab146102fd57806332cb6b0c146103285761019b565b8062fdd58e146101a057806301ffc9a7146101dd57806302fe53051461021a57806306fdde03146102435780630e89341c1461026e57806316c38b3c146102ab575b600080fd5b3480156101ac57600080fd5b506101c760048036038101906101c29190613029565b610663565b6040516101d49190613078565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff91906130eb565b61072d565b6040516102119190613133565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190613294565b61080f565b005b34801561024f57600080fd5b50610258610897565b6040516102659190613365565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190613387565b610929565b6040516102a29190613365565b60405180910390f35b3480156102b757600080fd5b506102d260048036038101906102cd91906133e0565b6109ac565b005b3480156102e057600080fd5b506102fb60048036038101906102f69190613576565b610a46565b005b34801561030957600080fd5b50610312610ae7565b60405161031f919061365e565b60405180910390f35b34801561033457600080fd5b5061033d610aed565b60405161034a9190613078565b60405180910390f35b61035b610b11565b005b34801561036957600080fd5b50610384600480360381019061037f919061373c565b610c93565b6040516103919190613872565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc9190613387565b610dac565b6040516103ce9190613133565b60405180910390f35b3480156103e357600080fd5b506103ec610dc0565b6040516103f99190613133565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190613894565b610dd6565b005b34801561043757600080fd5b50610440610e73565b005b34801561044e57600080fd5b506104696004803603810190610464919061394b565b610efb565b005b34801561047757600080fd5b50610480610f81565b60405161048d9190613987565b60405180910390f35b3480156104a257600080fd5b506104ab610fab565b6040516104b89190613365565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e391906139a2565b61103d565b005b3480156104f657600080fd5b506104ff611053565b60405161050c9190613078565b60405180910390f35b61052f600480360381019061052a9190613a3d565b61105f565b005b34801561053d57600080fd5b5061055860048036038101906105539190613387565b6112e2565b6040516105659190613078565b60405180910390f35b34801561057a57600080fd5b5061059560048036038101906105909190613a8a565b6112ff565b6040516105a29190613133565b60405180910390f35b3480156105b757600080fd5b506105d260048036038101906105cd9190613aca565b611393565b6040516105df9190613133565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a9190613af7565b6113e9565b005b34801561061d57600080fd5b5061063860048036038101906106339190613aca565b61148a565b005b34801561064657600080fd5b50610661600480360381019061065c9190613b8e565b611582565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cb90613c53565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061080857506108078261161f565b5b9050919050565b610817611689565b73ffffffffffffffffffffffffffffffffffffffff16610835610f81565b73ffffffffffffffffffffffffffffffffffffffff161461088b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088290613cbf565b60405180910390fd5b61089481611691565b50565b6060600680546108a690613d0e565b80601f01602080910402602001604051908101604052809291908181526020018280546108d290613d0e565b801561091f5780601f106108f45761010080835404028352916020019161091f565b820191906000526020600020905b81548152906001019060200180831161090257829003601f168201915b5050505050905090565b606061093482610dac565b610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096a90613d8c565b60405180910390fd5b61097c826116ab565b6109858361173f565b604051602001610996929190613de8565b6040516020818303038152906040529050919050565b6109b4611689565b73ffffffffffffffffffffffffffffffffffffffff166109d2610f81565b73ffffffffffffffffffffffffffffffffffffffff1614610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f90613cbf565b60405180910390fd5b80610a3a57610a356118a0565b610a43565b610a42611941565b5b50565b610a4e611689565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a945750610a9385610a8e611689565b6112ff565b5b610ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aca90613e7e565b60405180910390fd5b610ae085858585856119e3565b5050505050565b60085481565b7f000000000000000000000000000000000000000000000000000000000000006381565b610b19611689565b73ffffffffffffffffffffffffffffffffffffffff16610b37610f81565b73ffffffffffffffffffffffffffffffffffffffff1614610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8490613cbf565b60405180910390fd5b6000479050600073429c71d391db10a0ceade2cb2de8c8c9af4133c190507f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d82604051610bda9190613078565b60405180910390a160008173ffffffffffffffffffffffffffffffffffffffff1683604051610c0890613ecf565b60006040518083038185875af1925050503d8060008114610c45576040519150601f19603f3d011682016040523d82523d6000602084013e610c4a565b606091505b5050905080610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8590613f30565b60405180910390fd5b505050565b60608151835114610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd090613fc2565b60405180910390fd5b6000835167ffffffffffffffff811115610cf657610cf5613169565b5b604051908082528060200260200182016040528015610d245781602001602082028036833780820191505090505b50905060005b8451811015610da157610d71858281518110610d4957610d48613fe2565b5b6020026020010151858381518110610d6457610d63613fe2565b5b6020026020010151610663565b828281518110610d8457610d83613fe2565b5b60200260200101818152505080610d9a90614040565b9050610d2a565b508091505092915050565b600080610db8836112e2565b119050919050565b60008060009054906101000a900460ff16905090565b610dde611689565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610e245750610e2383610e1e611689565b6112ff565b5b610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a906140fb565b60405180910390fd5b610e6e838383611cfa565b505050565b610e7b611689565b73ffffffffffffffffffffffffffffffffffffffff16610e99610f81565b73ffffffffffffffffffffffffffffffffffffffff1614610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee690613cbf565b60405180910390fd5b610ef96000611fad565b565b610f03611689565b73ffffffffffffffffffffffffffffffffffffffff16610f21610f81565b73ffffffffffffffffffffffffffffffffffffffff1614610f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6e90613cbf565b60405180910390fd5b8060088190555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054610fba90613d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe690613d0e565b80156110335780601f1061100857610100808354040283529160200191611033565b820191906000526020600020905b81548152906001019060200180831161101657829003601f168201915b5050505050905090565b61104f611048611689565b8383612073565b5050565b600a8060000154905081565b611067610dc0565b156110a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109e90614167565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000006360016110d4600a6121e0565b6110de9190614187565b111561111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690614229565b60405180910390fd5b611193828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600854336040516020016111789190614291565b604051602081830303815290604052805190602001206121ee565b6111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906142f8565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561125f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125690614364565b60405180910390fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506112c1600a612205565b6112de33600060016040518060200160405280600081525061221b565b5050565b600060046000838152602001908152602001600020549050919050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6113f1611689565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611437575061143685611431611689565b6112ff565b5b611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d906140fb565b60405180910390fd5b61148385858585856123b2565b5050505050565b611492611689565b73ffffffffffffffffffffffffffffffffffffffff166114b0610f81565b73ffffffffffffffffffffffffffffffffffffffff1614611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd90613cbf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d906143f6565b60405180910390fd5b61157f81611fad565b50565b61158a611689565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806115d057506115cf836115ca611689565b6112ff565b5b61160f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611606906140fb565b60405180910390fd5b61161a838383612637565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b80600390805190602001906116a7929190612ede565b5050565b6060600380546116ba90613d0e565b80601f01602080910402602001604051908101604052809291908181526020018280546116e690613d0e565b80156117335780601f1061170857610100808354040283529160200191611733565b820191906000526020600020905b81548152906001019060200180831161171657829003601f168201915b50505050509050919050565b60606000821415611787576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061189b565b600082905060005b600082146117b95780806117a290614040565b915050600a826117b29190614445565b915061178f565b60008167ffffffffffffffff8111156117d5576117d4613169565b5b6040519080825280601f01601f1916602001820160405280156118075781602001600182028036833780820191505090505b5090505b60008514611894576001826118209190614476565b9150600a8561182f91906144aa565b603061183b9190614187565b60f81b81838151811061185157611850613fe2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561188d9190614445565b945061180b565b8093505050505b919050565b6118a8610dc0565b6118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de90614527565b60405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61192a611689565b6040516119379190613987565b60405180910390a1565b611949610dc0565b15611989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198090614167565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119cc611689565b6040516119d99190613987565b60405180910390a1565b8151835114611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e906145b9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e9061464b565b60405180910390fd5b6000611aa1611689565b9050611ab1818787878787612856565b60005b8451811015611c65576000858281518110611ad257611ad1613fe2565b5b602002602001015190506000858381518110611af157611af0613fe2565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8a906146dd565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c4a9190614187565b9250508190555050505080611c5e90614040565b9050611ab4565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611cdc9291906146fd565b60405180910390a4611cf281878787878761286c565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d61906147a6565b60405180910390fd5b8051825114611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da5906145b9565b60405180910390fd5b6000611db8611689565b9050611dd881856000868660405180602001604052806000815250612856565b60005b8351811015611f27576000848281518110611df957611df8613fe2565b5b602002602001015190506000848381518110611e1857611e17613fe2565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb190614838565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611f1f90614040565b915050611ddb565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611f9f9291906146fd565b60405180910390a450505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d9906148ca565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121d39190613133565b60405180910390a3505050565b600081600001549050919050565b6000826121fb8584612a44565b1490509392505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561228b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122829061495c565b60405180910390fd5b6000612295611689565b90506122b6816000876122a788612af7565b6122b088612af7565b87612856565b826001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123169190614187565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161239492919061497c565b60405180910390a46123ab81600087878787612b71565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612422576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124199061464b565b60405180910390fd5b600061242c611689565b905061244c81878761243d88612af7565b61244688612af7565b87612856565b60006001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156124e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124db906146dd565b60405180910390fd5b8381036001600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259b9190614187565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161261892919061497c565b60405180910390a461262e828888888888612b71565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e906147a6565b60405180910390fd5b60006126b1611689565b90506126e1818560006126c387612af7565b6126cc87612af7565b60405180602001604052806000815250612856565b60006001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277090614838565b60405180910390fd5b8281036001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161284792919061497c565b60405180910390a45050505050565b612864868686868686612d49565b505050505050565b61288b8473ffffffffffffffffffffffffffffffffffffffff16612ec3565b15612a3c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016128d19594939291906149fa565b6020604051808303816000875af192505050801561290d57506040513d601f19601f8201168201806040525081019061290a9190614a77565b60015b6129b357612919614ab1565b806308c379a01415612976575061292e614ad3565b806129395750612978565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296d9190613365565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129aa90614bdb565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3190614c6d565b60405180910390fd5b505b505050505050565b60008082905060005b8451811015612aec576000858281518110612a6b57612a6a613fe2565b5b60200260200101519050808311612aac578281604051602001612a8f929190614cae565b604051602081830303815290604052805190602001209250612ad8565b8083604051602001612abf929190614cae565b6040516020818303038152906040528051906020012092505b508080612ae490614040565b915050612a4d565b508091505092915050565b60606000600167ffffffffffffffff811115612b1657612b15613169565b5b604051908082528060200260200182016040528015612b445781602001602082028036833780820191505090505b5090508281600081518110612b5c57612b5b613fe2565b5b60200260200101818152505080915050919050565b612b908473ffffffffffffffffffffffffffffffffffffffff16612ec3565b15612d41578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612bd6959493929190614cda565b6020604051808303816000875af1925050508015612c1257506040513d601f19601f82011682018060405250810190612c0f9190614a77565b60015b612cb857612c1e614ab1565b806308c379a01415612c7b5750612c33614ad3565b80612c3e5750612c7d565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c729190613365565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612caf90614bdb565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3690614c6d565b60405180910390fd5b505b505050505050565b612d57868686868686612ed6565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612e095760005b8351811015612e0757828181518110612dab57612daa613fe2565b5b602002602001015160046000868481518110612dca57612dc9613fe2565b5b602002602001015181526020019081526020016000206000828254612def9190614187565b9250508190555080612e0090614040565b9050612d8f565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ebb5760005b8351811015612eb957828181518110612e5d57612e5c613fe2565b5b602002602001015160046000868481518110612e7c57612e7b613fe2565b5b602002602001015181526020019081526020016000206000828254612ea19190614476565b9250508190555080612eb290614040565b9050612e41565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b828054612eea90613d0e565b90600052602060002090601f016020900481019282612f0c5760008555612f53565b82601f10612f2557805160ff1916838001178555612f53565b82800160010185558215612f53579182015b82811115612f52578251825591602001919060010190612f37565b5b509050612f609190612f64565b5090565b5b80821115612f7d576000816000905550600101612f65565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fc082612f95565b9050919050565b612fd081612fb5565b8114612fdb57600080fd5b50565b600081359050612fed81612fc7565b92915050565b6000819050919050565b61300681612ff3565b811461301157600080fd5b50565b60008135905061302381612ffd565b92915050565b600080604083850312156130405761303f612f8b565b5b600061304e85828601612fde565b925050602061305f85828601613014565b9150509250929050565b61307281612ff3565b82525050565b600060208201905061308d6000830184613069565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130c881613093565b81146130d357600080fd5b50565b6000813590506130e5816130bf565b92915050565b60006020828403121561310157613100612f8b565b5b600061310f848285016130d6565b91505092915050565b60008115159050919050565b61312d81613118565b82525050565b60006020820190506131486000830184613124565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131a182613158565b810181811067ffffffffffffffff821117156131c0576131bf613169565b5b80604052505050565b60006131d3612f81565b90506131df8282613198565b919050565b600067ffffffffffffffff8211156131ff576131fe613169565b5b61320882613158565b9050602081019050919050565b82818337600083830152505050565b6000613237613232846131e4565b6131c9565b90508281526020810184848401111561325357613252613153565b5b61325e848285613215565b509392505050565b600082601f83011261327b5761327a61314e565b5b813561328b848260208601613224565b91505092915050565b6000602082840312156132aa576132a9612f8b565b5b600082013567ffffffffffffffff8111156132c8576132c7612f90565b5b6132d484828501613266565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133175780820151818401526020810190506132fc565b83811115613326576000848401525b50505050565b6000613337826132dd565b61334181856132e8565b93506133518185602086016132f9565b61335a81613158565b840191505092915050565b6000602082019050818103600083015261337f818461332c565b905092915050565b60006020828403121561339d5761339c612f8b565b5b60006133ab84828501613014565b91505092915050565b6133bd81613118565b81146133c857600080fd5b50565b6000813590506133da816133b4565b92915050565b6000602082840312156133f6576133f5612f8b565b5b6000613404848285016133cb565b91505092915050565b600067ffffffffffffffff82111561342857613427613169565b5b602082029050602081019050919050565b600080fd5b600061345161344c8461340d565b6131c9565b9050808382526020820190506020840283018581111561347457613473613439565b5b835b8181101561349d57806134898882613014565b845260208401935050602081019050613476565b5050509392505050565b600082601f8301126134bc576134bb61314e565b5b81356134cc84826020860161343e565b91505092915050565b600067ffffffffffffffff8211156134f0576134ef613169565b5b6134f982613158565b9050602081019050919050565b6000613519613514846134d5565b6131c9565b90508281526020810184848401111561353557613534613153565b5b613540848285613215565b509392505050565b600082601f83011261355d5761355c61314e565b5b813561356d848260208601613506565b91505092915050565b600080600080600060a0868803121561359257613591612f8b565b5b60006135a088828901612fde565b95505060206135b188828901612fde565b945050604086013567ffffffffffffffff8111156135d2576135d1612f90565b5b6135de888289016134a7565b935050606086013567ffffffffffffffff8111156135ff576135fe612f90565b5b61360b888289016134a7565b925050608086013567ffffffffffffffff81111561362c5761362b612f90565b5b61363888828901613548565b9150509295509295909350565b6000819050919050565b61365881613645565b82525050565b6000602082019050613673600083018461364f565b92915050565b600067ffffffffffffffff82111561369457613693613169565b5b602082029050602081019050919050565b60006136b86136b384613679565b6131c9565b905080838252602082019050602084028301858111156136db576136da613439565b5b835b8181101561370457806136f08882612fde565b8452602084019350506020810190506136dd565b5050509392505050565b600082601f8301126137235761372261314e565b5b81356137338482602086016136a5565b91505092915050565b6000806040838503121561375357613752612f8b565b5b600083013567ffffffffffffffff81111561377157613770612f90565b5b61377d8582860161370e565b925050602083013567ffffffffffffffff81111561379e5761379d612f90565b5b6137aa858286016134a7565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6137e981612ff3565b82525050565b60006137fb83836137e0565b60208301905092915050565b6000602082019050919050565b600061381f826137b4565b61382981856137bf565b9350613834836137d0565b8060005b8381101561386557815161384c88826137ef565b975061385783613807565b925050600181019050613838565b5085935050505092915050565b6000602082019050818103600083015261388c8184613814565b905092915050565b6000806000606084860312156138ad576138ac612f8b565b5b60006138bb86828701612fde565b935050602084013567ffffffffffffffff8111156138dc576138db612f90565b5b6138e8868287016134a7565b925050604084013567ffffffffffffffff81111561390957613908612f90565b5b613915868287016134a7565b9150509250925092565b61392881613645565b811461393357600080fd5b50565b6000813590506139458161391f565b92915050565b60006020828403121561396157613960612f8b565b5b600061396f84828501613936565b91505092915050565b61398181612fb5565b82525050565b600060208201905061399c6000830184613978565b92915050565b600080604083850312156139b9576139b8612f8b565b5b60006139c785828601612fde565b92505060206139d8858286016133cb565b9150509250929050565b600080fd5b60008083601f8401126139fd576139fc61314e565b5b8235905067ffffffffffffffff811115613a1a57613a196139e2565b5b602083019150836020820283011115613a3657613a35613439565b5b9250929050565b60008060208385031215613a5457613a53612f8b565b5b600083013567ffffffffffffffff811115613a7257613a71612f90565b5b613a7e858286016139e7565b92509250509250929050565b60008060408385031215613aa157613aa0612f8b565b5b6000613aaf85828601612fde565b9250506020613ac085828601612fde565b9150509250929050565b600060208284031215613ae057613adf612f8b565b5b6000613aee84828501612fde565b91505092915050565b600080600080600060a08688031215613b1357613b12612f8b565b5b6000613b2188828901612fde565b9550506020613b3288828901612fde565b9450506040613b4388828901613014565b9350506060613b5488828901613014565b925050608086013567ffffffffffffffff811115613b7557613b74612f90565b5b613b8188828901613548565b9150509295509295909350565b600080600060608486031215613ba757613ba6612f8b565b5b6000613bb586828701612fde565b9350506020613bc686828701613014565b9250506040613bd786828701613014565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613c3d602b836132e8565b9150613c4882613be1565b604082019050919050565b60006020820190508181036000830152613c6c81613c30565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ca96020836132e8565b9150613cb482613c73565b602082019050919050565b60006020820190508181036000830152613cd881613c9c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d2657607f821691505b60208210811415613d3a57613d39613cdf565b5b50919050565b7f5552493a206e6f6e6578697374656e7420746f6b656e00000000000000000000600082015250565b6000613d766016836132e8565b9150613d8182613d40565b602082019050919050565b60006020820190508181036000830152613da581613d69565b9050919050565b600081905092915050565b6000613dc2826132dd565b613dcc8185613dac565b9350613ddc8185602086016132f9565b80840191505092915050565b6000613df48285613db7565b9150613e008284613db7565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613e686032836132e8565b9150613e7382613e0c565b604082019050919050565b60006020820190508181036000830152613e9781613e5b565b9050919050565b600081905092915050565b50565b6000613eb9600083613e9e565b9150613ec482613ea9565b600082019050919050565b6000613eda82613eac565b9150819050919050565b7f74786e206661696c656400000000000000000000000000000000000000000000600082015250565b6000613f1a600a836132e8565b9150613f2582613ee4565b602082019050919050565b60006020820190508181036000830152613f4981613f0d565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613fac6029836132e8565b9150613fb782613f50565b604082019050919050565b60006020820190508181036000830152613fdb81613f9f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061404b82612ff3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561407e5761407d614011565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006140e56029836132e8565b91506140f082614089565b604082019050919050565b60006020820190508181036000830152614114816140d8565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006141516010836132e8565b915061415c8261411b565b602082019050919050565b6000602082019050818103600083015261418081614144565b9050919050565b600061419282612ff3565b915061419d83612ff3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141d2576141d1614011565b5b828201905092915050565b7f616c6c20746f6b656e7320636c61696d65640000000000000000000000000000600082015250565b60006142136012836132e8565b915061421e826141dd565b602082019050919050565b6000602082019050818103600083015261424281614206565b9050919050565b60008160601b9050919050565b600061426182614249565b9050919050565b600061427382614256565b9050919050565b61428b61428682612fb5565b614268565b82525050565b600061429d828461427a565b60148201915081905092915050565b7f61636374206e6f74207065726d697474656420746f20636c61696d0000000000600082015250565b60006142e2601b836132e8565b91506142ed826142ac565b602082019050919050565b60006020820190508181036000830152614311816142d5565b9050919050565b7f746f6b656e20616c726561647920636c61696d65640000000000000000000000600082015250565b600061434e6015836132e8565b915061435982614318565b602082019050919050565b6000602082019050818103600083015261437d81614341565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143e06026836132e8565b91506143eb82614384565b604082019050919050565b6000602082019050818103600083015261440f816143d3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061445082612ff3565b915061445b83612ff3565b92508261446b5761446a614416565b5b828204905092915050565b600061448182612ff3565b915061448c83612ff3565b92508282101561449f5761449e614011565b5b828203905092915050565b60006144b582612ff3565b91506144c083612ff3565b9250826144d0576144cf614416565b5b828206905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006145116014836132e8565b915061451c826144db565b602082019050919050565b6000602082019050818103600083015261454081614504565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006145a36028836132e8565b91506145ae82614547565b604082019050919050565b600060208201905081810360008301526145d281614596565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006146356025836132e8565b9150614640826145d9565b604082019050919050565b6000602082019050818103600083015261466481614628565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006146c7602a836132e8565b91506146d28261466b565b604082019050919050565b600060208201905081810360008301526146f6816146ba565b9050919050565b600060408201905081810360008301526147178185613814565b9050818103602083015261472b8184613814565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006147906023836132e8565b915061479b82614734565b604082019050919050565b600060208201905081810360008301526147bf81614783565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006148226024836132e8565b915061482d826147c6565b604082019050919050565b6000602082019050818103600083015261485181614815565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006148b46029836132e8565b91506148bf82614858565b604082019050919050565b600060208201905081810360008301526148e3816148a7565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006149466021836132e8565b9150614951826148ea565b604082019050919050565b6000602082019050818103600083015261497581614939565b9050919050565b60006040820190506149916000830185613069565b61499e6020830184613069565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006149cc826149a5565b6149d681856149b0565b93506149e68185602086016132f9565b6149ef81613158565b840191505092915050565b600060a082019050614a0f6000830188613978565b614a1c6020830187613978565b8181036040830152614a2e8186613814565b90508181036060830152614a428185613814565b90508181036080830152614a5681846149c1565b90509695505050505050565b600081519050614a71816130bf565b92915050565b600060208284031215614a8d57614a8c612f8b565b5b6000614a9b84828501614a62565b91505092915050565b60008160e01c9050919050565b600060033d1115614ad05760046000803e614acd600051614aa4565b90505b90565b600060443d1015614ae357614b66565b614aeb612f81565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b13575050614b66565b808201805167ffffffffffffffff811115614b315750505050614b66565b80602083010160043d038501811115614b4e575050505050614b66565b614b5d82602001850186613198565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614bc56034836132e8565b9150614bd082614b69565b604082019050919050565b60006020820190508181036000830152614bf481614bb8565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614c576028836132e8565b9150614c6282614bfb565b604082019050919050565b60006020820190508181036000830152614c8681614c4a565b9050919050565b6000819050919050565b614ca8614ca382613645565b614c8d565b82525050565b6000614cba8285614c97565b602082019150614cca8284614c97565b6020820191508190509392505050565b600060a082019050614cef6000830188613978565b614cfc6020830187613978565b614d096040830186613069565b614d166060830185613069565b8181036080830152614d2881846149c1565b9050969550505050505056fea2646970667358221220f286eb2e9423f3617d7463ba58fb8063fe96192b571e76372ce81f510120a9da64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000406e32ae1b2dfeb40f30c920899e8cb915c496d21d6a48206d0a1886bb279068dd0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d614c543256697a3169516370507050357a63444a5850725731336d694e4e51423779663450767133313846702f00000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmaLT2Viz1iQcpPpP5zcDJXPrW13miNNQB7yf4Pvq318Fp/
Arg [1] : _merkleRoot (bytes32): 0x6e32ae1b2dfeb40f30c920899e8cb915c496d21d6a48206d0a1886bb279068dd
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 6e32ae1b2dfeb40f30c920899e8cb915c496d21d6a48206d0a1886bb279068dd
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d614c543256697a3169516370507050357a63444a585072
Arg [4] : 5731336d694e4e51423779663450767133313846702f00000000000000000000
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.