ERC-1155
Overview
Max Total Supply
10,874
Holders
1,049
Total Transfers
-
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:
WAGMAM
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; //import "hardhat/console.sol"; contract WAGMAM is ERC1155, Ownable, ReentrancyGuard { /// @dev Stores the information about a token struct TokenInfo { uint256 tokenId; uint256 mintedAmount; uint256 maxSupply; string uri; } /// @dev The max supply allowed to be minted for the tokens. mapping(uint256 => TokenInfo) public tokenInfo; /// @dev Stores the minted amount for a given account, as team or public. mapping(address => mapping(uint256 => uint256)) public mintedAmount; /// @dev Stores the merkle root of each drop. mapping(uint256 => bytes32) public dropMerkleRoot; /// @dev Stores the url of the contract level metadata string _contractURI; constructor() ERC1155("") { } /// @dev Mint the amount of tokens to the recipient. `maxAmount` is the max amount for the account and is used for proof verification function mint(uint256 pDrop, uint256 pTokenId, address pRecipient, uint256 amount, bytes32[] memory pProof) external nonReentrant { TokenInfo storage token = tokenInfo[pTokenId]; require(token.maxSupply > 0, "not mintable or not set"); require(token.mintedAmount + amount <= token.maxSupply, "exceeds max supply"); require(mintedAmount[pRecipient][pTokenId] == 0, "already minted"); require(MerkleProof.verify(pProof, dropMerkleRoot[pDrop], keccak256(abi.encodePacked(pTokenId, pRecipient, amount))), "not allowed or invalid proof"); _mint(pRecipient, pTokenId, amount, ""); tokenInfo[pTokenId].mintedAmount += amount; mintedAmount[pRecipient][pTokenId] = amount; } /// @dev Set the maximum supply of a token for public and team distribution. function setMaxTokenSupply(uint256 tokenId, uint256 maxSupply) external onlyOwner nonReentrant { TokenInfo memory info = tokenInfo[tokenId]; info.maxSupply = maxSupply; tokenInfo[tokenId] = info; } /// @dev Set the URI of a token. function setTokenUri(uint256 tokenId, string memory tokenUri) external onlyOwner nonReentrant { tokenInfo[tokenId].uri = tokenUri; } /// @dev Return the URI of a token. function uri(uint256 tokenId) public view override returns (string memory) { return tokenInfo[tokenId].uri; } /// @dev Set the token info. function setTokenInfo(uint256 tokenId, uint256 maxSupply, string memory tokenUri) external onlyOwner nonReentrant { tokenInfo[tokenId].maxSupply = maxSupply; tokenInfo[tokenId].uri = tokenUri; } /// @dev Sets the merkle root for a specific token function setMerkleRoot(uint256 pDrop, bytes32 pRoot) external onlyOwner { dropMerkleRoot[pDrop] = pRoot; } /// @dev Gets the merkle root of the whitelist function getMerkleRoot(uint256 pDrop) external view returns(bytes32) { return dropMerkleRoot[pDrop]; } /// @dev Sets the contract level metadata function setContractURI(string memory pContractUri) external onlyOwner { _contractURI = pContractUri; } /// @dev Gets the contract metadata URI function contractURI() external view returns (string memory) { return _contractURI; } }
// 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/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, 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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _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); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @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); _afterTokenTransfer(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 {} /** * @dev Hook that is called after 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 _afterTokenTransfer( 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 (last updated v4.6.0) (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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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 Merkle 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 = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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/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 (last updated v4.5.0) (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. * * NOTE: 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. * * NOTE: 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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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; } }
// 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); }
{ "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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"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":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dropMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pDrop","type":"uint256"}],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pDrop","type":"uint256"},{"internalType":"uint256","name":"pTokenId","type":"uint256"},{"internalType":"address","name":"pRecipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"pProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"string","name":"pContractUri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pDrop","type":"uint256"},{"internalType":"bytes32","name":"pRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"}],"name":"setTokenInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"}],"name":"setTokenUri","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenInfo","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"mintedAmount","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060200160405280600081525062000033816200006260201b60201c565b5062000054620000486200007e60201b60201c565b6200008660201b60201c565b600160048190555062000261565b80600290805190602001906200007a9291906200014c565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200015a90620001fc565b90600052602060002090601f0160209004810192826200017e5760008555620001ca565b82601f106200019957805160ff1916838001178555620001ca565b82800160010185558215620001ca579182015b82811115620001c9578251825591602001919060010190620001ac565b5b509050620001d99190620001dd565b5090565b5b80821115620001f8576000816000905550600101620001de565b5090565b600060028204905060018216806200021557607f821691505b602082108114156200022c576200022b62000232565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61410880620002716000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c8063715018a6116100b8578063a22cb4651161007c578063a22cb46514610382578063cc33c8751461039e578063e8a3d485146103d1578063e985e9c5146103ef578063f242432a1461041f578063f2fde38b1461043b57610141565b8063715018a6146102f257806374578719146102fc5780637fccb3a31461032c5780638da5cb5b14610348578063938e3d7b1461036657610141565b80632d17c3f41161010a5780632d17c3f4146102225780632eb2c2d6146102525780633881f08f1461026e57806339fd5d701461028a5780634e1273f4146102a657806357f7789e146102d657610141565b8062fdd58e1461014657806301ffc9a7146101765780630aab8ba5146101a65780630e89341c146101d657806318712c2114610206575b600080fd5b610160600480360381019061015b9190612b41565b610457565b60405161016d9190613649565b60405180910390f35b610190600480360381019061018b9190612be9565b610520565b60405161019d91906133b1565b60405180910390f35b6101c060048036038101906101bb9190612c7c565b610602565b6040516101cd91906133cc565b60405180910390f35b6101f060048036038101906101eb9190612c7c565b61061f565b6040516101fd91906133e7565b60405180910390f35b610220600480360381019061021b9190612ca5565b6106c7565b005b61023c60048036038101906102379190612c7c565b61075f565b60405161024991906133cc565b60405180910390f35b61026c600480360381019061026791906129b7565b610777565b005b61028860048036038101906102839190612d35565b610818565b005b6102a4600480360381019061029f9190612d71565b610a1d565b005b6102c060048036038101906102bb9190612b7d565b610ce6565b6040516102cd9190613358565b60405180910390f35b6102f060048036038101906102eb9190612ce1565b610e97565b005b6102fa610f98565b005b61031660048036038101906103119190612b41565b611020565b6040516103239190613649565b60405180910390f35b61034660048036038101906103419190612e00565b611045565b005b610350611162565b60405161035d919061327b565b60405180910390f35b610380600480360381019061037b9190612c3b565b61118c565b005b61039c60048036038101906103979190612b05565b611222565b005b6103b860048036038101906103b39190612c7c565b611238565b6040516103c8949392919061368d565b60405180910390f35b6103d96112f0565b6040516103e691906133e7565b60405180910390f35b6104096004803603810190610404919061297b565b611382565b60405161041691906133b1565b60405180910390f35b61043960048036038101906104349190612a76565b611416565b005b61045560048036038101906104509190612952565b6114b7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bf90613449565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105eb57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105fb57506105fa826115af565b5b9050919050565b600060076000838152602001908152602001600020549050919050565b60606005600083815260200190815260200160002060030180546106429061396b565b80601f016020809104026020016040519081016040528092919081815260200182805461066e9061396b565b80156106bb5780601f10610690576101008083540402835291602001916106bb565b820191906000526020600020905b81548152906001019060200180831161069e57829003601f168201915b50505050509050919050565b6106cf611619565b73ffffffffffffffffffffffffffffffffffffffff166106ed611162565b73ffffffffffffffffffffffffffffffffffffffff1614610743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073a90613549565b60405180910390fd5b8060076000848152602001908152602001600020819055505050565b60076020528060005260406000206000915090505481565b61077f611619565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107c557506107c4856107bf611619565b611382565b5b610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb906134e9565b60405180910390fd5b6108118585858585611621565b5050505050565b610820611619565b73ffffffffffffffffffffffffffffffffffffffff1661083e611162565b73ffffffffffffffffffffffffffffffffffffffff1614610894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088b90613549565b60405180910390fd5b600260045414156108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190613609565b60405180910390fd5b60026004819055506000600560008481526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820180546109309061396b565b80601f016020809104026020016040519081016040528092919081815260200182805461095c9061396b565b80156109a95780601f1061097e576101008083540402835291602001916109a9565b820191906000526020600020905b81548152906001019060200180831161098c57829003601f168201915b50505050508152505090508181604001818152505080600560008581526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003019080519060200190610a0c92919061259f565b509050505060016004819055505050565b60026004541415610a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5a90613609565b60405180910390fd5b600260048190555060006005600086815260200190815260200160002090506000816002015411610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac0906135a9565b60405180910390fd5b8060020154838260010154610ade9190613855565b1115610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b16906134a9565b60405180910390fd5b6000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000205414610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba990613629565b60405180910390fd5b610bfa826007600089815260200190815260200160002054878787604051602001610bdf9392919061323e565b6040516020818303038152906040528051906020012061198f565b610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3090613509565b60405180910390fd5b610c54848685604051806020016040528060008152506119a6565b82600560008781526020019081526020016000206001016000828254610c7a9190613855565b9250508190555082600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000878152602001908152602001600020819055505060016004819055505050505050565b60608151835114610d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2390613589565b60405180910390fd5b6000835167ffffffffffffffff811115610d6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d9d5781602001602082028036833780820191505090505b50905060005b8451811015610e8c57610e36858281518110610de8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610e29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610457565b828281518110610e6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610e85906139ce565b9050610da3565b508091505092915050565b610e9f611619565b73ffffffffffffffffffffffffffffffffffffffff16610ebd611162565b73ffffffffffffffffffffffffffffffffffffffff1614610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613549565b60405180910390fd5b60026004541415610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5090613609565b60405180910390fd5b600260048190555080600560008481526020019081526020016000206003019080519060200190610f8b92919061259f565b5060016004819055505050565b610fa0611619565b73ffffffffffffffffffffffffffffffffffffffff16610fbe611162565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90613549565b60405180910390fd5b61101e6000611b57565b565b6006602052816000526040600020602052806000526040600020600091509150505481565b61104d611619565b73ffffffffffffffffffffffffffffffffffffffff1661106b611162565b73ffffffffffffffffffffffffffffffffffffffff16146110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890613549565b60405180910390fd5b60026004541415611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fe90613609565b60405180910390fd5b60026004819055508160056000858152602001908152602001600020600201819055508060056000858152602001908152602001600020600301908051906020019061115492919061259f565b506001600481905550505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611194611619565b73ffffffffffffffffffffffffffffffffffffffff166111b2611162565b73ffffffffffffffffffffffffffffffffffffffff1614611208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ff90613549565b60405180910390fd5b806008908051906020019061121e92919061259f565b5050565b61123461122d611619565b8383611c1d565b5050565b600560205280600052604060002060009150905080600001549080600101549080600201549080600301805461126d9061396b565b80601f01602080910402602001604051908101604052809291908181526020018280546112999061396b565b80156112e65780601f106112bb576101008083540402835291602001916112e6565b820191906000526020600020905b8154815290600101906020018083116112c957829003601f168201915b5050505050905084565b6060600880546112ff9061396b565b80601f016020809104026020016040519081016040528092919081815260200182805461132b9061396b565b80156113785780601f1061134d57610100808354040283529160200191611378565b820191906000526020600020905b81548152906001019060200180831161135b57829003601f168201915b5050505050905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61141e611619565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061146457506114638561145e611619565b611382565b5b6114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90613489565b60405180910390fd5b6114b08585858585611d8a565b5050505050565b6114bf611619565b73ffffffffffffffffffffffffffffffffffffffff166114dd611162565b73ffffffffffffffffffffffffffffffffffffffff1614611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613549565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a90613469565b60405180910390fd5b6115ac81611b57565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c906135c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc906134c9565b60405180910390fd5b60006116df611619565b90506116ef818787878787612026565b60005b84518110156118ec576000858281518110611736577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061177b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613529565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118d19190613855565b92505081905550505050806118e5906139ce565b90506116f2565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161196392919061337a565b60405180910390a461197981878787878761202e565b611987818787878787612036565b505050505050565b60008261199c858461221d565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d906135e9565b60405180910390fd5b6000611a20611619565b90506000611a2d856122b8565b90506000611a3a856122b8565b9050611a4b83600089858589612026565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aaa9190613855565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611b28929190613664565b60405180910390a4611b3f8360008985858961202e565b611b4e8360008989898961237e565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390613569565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d7d91906133b1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df1906134c9565b60405180910390fd5b6000611e04611619565b90506000611e11856122b8565b90506000611e1e856122b8565b9050611e2e838989858589612026565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90613529565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7a9190613855565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611ff7929190613664565b60405180910390a461200d848a8a86868a61202e565b61201b848a8a8a8a8a61237e565b505050505050505050565b505050505050565b505050505050565b6120558473ffffffffffffffffffffffffffffffffffffffff16612565565b15612215578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161209b959493929190613296565b602060405180830381600087803b1580156120b557600080fd5b505af19250505080156120e657506040513d601f19601f820116820180604052508101906120e39190612c12565b60015b61218c576120f2613ad2565b806308c379a0141561214f5750612107613fc9565b806121125750612151565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214691906133e7565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218390613409565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220a90613429565b60405180910390fd5b505b505050505050565b60008082905060005b84518110156122ad57600085828151811061226a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161228c576122858382612588565b9250612299565b6122968184612588565b92505b5080806122a5906139ce565b915050612226565b508091505092915050565b60606000600167ffffffffffffffff8111156122fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561232b5781602001602082028036833780820191505090505b5090508281600081518110612369577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61239d8473ffffffffffffffffffffffffffffffffffffffff16612565565b1561255d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123e39594939291906132fe565b602060405180830381600087803b1580156123fd57600080fd5b505af192505050801561242e57506040513d601f19601f8201168201806040525081019061242b9190612c12565b60015b6124d45761243a613ad2565b806308c379a01415612497575061244f613fc9565b8061245a5750612499565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248e91906133e7565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cb90613409565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461255b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255290613429565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b8280546125ab9061396b565b90600052602060002090601f0160209004810192826125cd5760008555612614565b82601f106125e657805160ff1916838001178555612614565b82800160010185558215612614579182015b828111156126135782518255916020019190600101906125f8565b5b5090506126219190612625565b5090565b5b8082111561263e576000816000905550600101612626565b5090565b6000612655612650846136fe565b6136d9565b9050808382526020820190508285602086028201111561267457600080fd5b60005b858110156126a4578161268a8882612802565b845260208401935060208301925050600181019050612677565b5050509392505050565b60006126c16126bc8461372a565b6136d9565b905080838252602082019050828560208602820111156126e057600080fd5b60005b8581101561271057816126f688826128aa565b8452602084019350602083019250506001810190506126e3565b5050509392505050565b600061272d61272884613756565b6136d9565b9050808382526020820190508285602086028201111561274c57600080fd5b60005b8581101561277c5781612762888261293d565b84526020840193506020830192505060018101905061274f565b5050509392505050565b600061279961279484613782565b6136d9565b9050828152602081018484840111156127b157600080fd5b6127bc848285613929565b509392505050565b60006127d76127d2846137b3565b6136d9565b9050828152602081018484840111156127ef57600080fd5b6127fa848285613929565b509392505050565b6000813590506128118161405f565b92915050565b600082601f83011261282857600080fd5b8135612838848260208601612642565b91505092915050565b600082601f83011261285257600080fd5b81356128628482602086016126ae565b91505092915050565b600082601f83011261287c57600080fd5b813561288c84826020860161271a565b91505092915050565b6000813590506128a481614076565b92915050565b6000813590506128b98161408d565b92915050565b6000813590506128ce816140a4565b92915050565b6000815190506128e3816140a4565b92915050565b600082601f8301126128fa57600080fd5b813561290a848260208601612786565b91505092915050565b600082601f83011261292457600080fd5b81356129348482602086016127c4565b91505092915050565b60008135905061294c816140bb565b92915050565b60006020828403121561296457600080fd5b600061297284828501612802565b91505092915050565b6000806040838503121561298e57600080fd5b600061299c85828601612802565b92505060206129ad85828601612802565b9150509250929050565b600080600080600060a086880312156129cf57600080fd5b60006129dd88828901612802565b95505060206129ee88828901612802565b945050604086013567ffffffffffffffff811115612a0b57600080fd5b612a178882890161286b565b935050606086013567ffffffffffffffff811115612a3457600080fd5b612a408882890161286b565b925050608086013567ffffffffffffffff811115612a5d57600080fd5b612a69888289016128e9565b9150509295509295909350565b600080600080600060a08688031215612a8e57600080fd5b6000612a9c88828901612802565b9550506020612aad88828901612802565b9450506040612abe8882890161293d565b9350506060612acf8882890161293d565b925050608086013567ffffffffffffffff811115612aec57600080fd5b612af8888289016128e9565b9150509295509295909350565b60008060408385031215612b1857600080fd5b6000612b2685828601612802565b9250506020612b3785828601612895565b9150509250929050565b60008060408385031215612b5457600080fd5b6000612b6285828601612802565b9250506020612b738582860161293d565b9150509250929050565b60008060408385031215612b9057600080fd5b600083013567ffffffffffffffff811115612baa57600080fd5b612bb685828601612817565b925050602083013567ffffffffffffffff811115612bd357600080fd5b612bdf8582860161286b565b9150509250929050565b600060208284031215612bfb57600080fd5b6000612c09848285016128bf565b91505092915050565b600060208284031215612c2457600080fd5b6000612c32848285016128d4565b91505092915050565b600060208284031215612c4d57600080fd5b600082013567ffffffffffffffff811115612c6757600080fd5b612c7384828501612913565b91505092915050565b600060208284031215612c8e57600080fd5b6000612c9c8482850161293d565b91505092915050565b60008060408385031215612cb857600080fd5b6000612cc68582860161293d565b9250506020612cd7858286016128aa565b9150509250929050565b60008060408385031215612cf457600080fd5b6000612d028582860161293d565b925050602083013567ffffffffffffffff811115612d1f57600080fd5b612d2b85828601612913565b9150509250929050565b60008060408385031215612d4857600080fd5b6000612d568582860161293d565b9250506020612d678582860161293d565b9150509250929050565b600080600080600060a08688031215612d8957600080fd5b6000612d978882890161293d565b9550506020612da88882890161293d565b9450506040612db988828901612802565b9350506060612dca8882890161293d565b925050608086013567ffffffffffffffff811115612de757600080fd5b612df388828901612841565b9150509295509295909350565b600080600060608486031215612e1557600080fd5b6000612e238682870161293d565b9350506020612e348682870161293d565b925050604084013567ffffffffffffffff811115612e5157600080fd5b612e5d86828701612913565b9150509250925092565b6000612e738383613209565b60208301905092915050565b612e88816138ab565b82525050565b612e9f612e9a826138ab565b613a17565b82525050565b6000612eb0826137f4565b612eba8185613822565b9350612ec5836137e4565b8060005b83811015612ef6578151612edd8882612e67565b9750612ee883613815565b925050600181019050612ec9565b5085935050505092915050565b612f0c816138bd565b82525050565b612f1b816138c9565b82525050565b6000612f2c826137ff565b612f368185613833565b9350612f46818560208601613938565b612f4f81613af4565b840191505092915050565b6000612f658261380a565b612f6f8185613844565b9350612f7f818560208601613938565b612f8881613af4565b840191505092915050565b6000612fa0603483613844565b9150612fab82613b1f565b604082019050919050565b6000612fc3602883613844565b9150612fce82613b6e565b604082019050919050565b6000612fe6602b83613844565b9150612ff182613bbd565b604082019050919050565b6000613009602683613844565b915061301482613c0c565b604082019050919050565b600061302c602983613844565b915061303782613c5b565b604082019050919050565b600061304f601283613844565b915061305a82613caa565b602082019050919050565b6000613072602583613844565b915061307d82613cd3565b604082019050919050565b6000613095603283613844565b91506130a082613d22565b604082019050919050565b60006130b8601c83613844565b91506130c382613d71565b602082019050919050565b60006130db602a83613844565b91506130e682613d9a565b604082019050919050565b60006130fe602083613844565b915061310982613de9565b602082019050919050565b6000613121602983613844565b915061312c82613e12565b604082019050919050565b6000613144602983613844565b915061314f82613e61565b604082019050919050565b6000613167601783613844565b915061317282613eb0565b602082019050919050565b600061318a602883613844565b915061319582613ed9565b604082019050919050565b60006131ad602183613844565b91506131b882613f28565b604082019050919050565b60006131d0601f83613844565b91506131db82613f77565b602082019050919050565b60006131f3600e83613844565b91506131fe82613fa0565b602082019050919050565b6132128161391f565b82525050565b6132218161391f565b82525050565b6132386132338261391f565b613a3b565b82525050565b600061324a8286613227565b60208201915061325a8285612e8e565b60148201915061326a8284613227565b602082019150819050949350505050565b60006020820190506132906000830184612e7f565b92915050565b600060a0820190506132ab6000830188612e7f565b6132b86020830187612e7f565b81810360408301526132ca8186612ea5565b905081810360608301526132de8185612ea5565b905081810360808301526132f28184612f21565b90509695505050505050565b600060a0820190506133136000830188612e7f565b6133206020830187612e7f565b61332d6040830186613218565b61333a6060830185613218565b818103608083015261334c8184612f21565b90509695505050505050565b600060208201905081810360008301526133728184612ea5565b905092915050565b600060408201905081810360008301526133948185612ea5565b905081810360208301526133a88184612ea5565b90509392505050565b60006020820190506133c66000830184612f03565b92915050565b60006020820190506133e16000830184612f12565b92915050565b600060208201905081810360008301526134018184612f5a565b905092915050565b6000602082019050818103600083015261342281612f93565b9050919050565b6000602082019050818103600083015261344281612fb6565b9050919050565b6000602082019050818103600083015261346281612fd9565b9050919050565b6000602082019050818103600083015261348281612ffc565b9050919050565b600060208201905081810360008301526134a28161301f565b9050919050565b600060208201905081810360008301526134c281613042565b9050919050565b600060208201905081810360008301526134e281613065565b9050919050565b6000602082019050818103600083015261350281613088565b9050919050565b60006020820190508181036000830152613522816130ab565b9050919050565b60006020820190508181036000830152613542816130ce565b9050919050565b60006020820190508181036000830152613562816130f1565b9050919050565b6000602082019050818103600083015261358281613114565b9050919050565b600060208201905081810360008301526135a281613137565b9050919050565b600060208201905081810360008301526135c28161315a565b9050919050565b600060208201905081810360008301526135e28161317d565b9050919050565b60006020820190508181036000830152613602816131a0565b9050919050565b60006020820190508181036000830152613622816131c3565b9050919050565b60006020820190508181036000830152613642816131e6565b9050919050565b600060208201905061365e6000830184613218565b92915050565b60006040820190506136796000830185613218565b6136866020830184613218565b9392505050565b60006080820190506136a26000830187613218565b6136af6020830186613218565b6136bc6040830185613218565b81810360608301526136ce8184612f5a565b905095945050505050565b60006136e36136f4565b90506136ef828261399d565b919050565b6000604051905090565b600067ffffffffffffffff82111561371957613718613aa3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561374557613744613aa3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561377157613770613aa3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561379d5761379c613aa3565b5b6137a682613af4565b9050602081019050919050565b600067ffffffffffffffff8211156137ce576137cd613aa3565b5b6137d782613af4565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006138608261391f565b915061386b8361391f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138a05761389f613a45565b5b828201905092915050565b60006138b6826138ff565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561395657808201518184015260208101905061393b565b83811115613965576000848401525b50505050565b6000600282049050600182168061398357607f821691505b6020821081141561399757613996613a74565b5b50919050565b6139a682613af4565b810181811067ffffffffffffffff821117156139c5576139c4613aa3565b5b80604052505050565b60006139d98261391f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a0c57613a0b613a45565b5b600182019050919050565b6000613a2282613a29565b9050919050565b6000613a3482613b05565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613af15760046000803e613aee600051613b12565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f65786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f6e6f7420616c6c6f776564206f7220696e76616c69642070726f6f6600000000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f6e6f74206d696e7461626c65206f72206e6f7420736574000000000000000000600082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f616c7265616479206d696e746564000000000000000000000000000000000000600082015250565b600060443d1015613fd95761405c565b613fe16136f4565b60043d036004823e80513d602482011167ffffffffffffffff8211171561400957505061405c565b808201805167ffffffffffffffff811115614027575050505061405c565b80602083010160043d03850181111561404457505050505061405c565b6140538260200185018661399d565b82955050505050505b90565b614068816138ab565b811461407357600080fd5b50565b61407f816138bd565b811461408a57600080fd5b50565b614096816138c9565b81146140a157600080fd5b50565b6140ad816138d3565b81146140b857600080fd5b50565b6140c48161391f565b81146140cf57600080fd5b5056fea2646970667358221220edb50394182f8c1163e3b900c6eb074ba331982cf0472477a6c55ed9b66e0f8464736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101415760003560e01c8063715018a6116100b8578063a22cb4651161007c578063a22cb46514610382578063cc33c8751461039e578063e8a3d485146103d1578063e985e9c5146103ef578063f242432a1461041f578063f2fde38b1461043b57610141565b8063715018a6146102f257806374578719146102fc5780637fccb3a31461032c5780638da5cb5b14610348578063938e3d7b1461036657610141565b80632d17c3f41161010a5780632d17c3f4146102225780632eb2c2d6146102525780633881f08f1461026e57806339fd5d701461028a5780634e1273f4146102a657806357f7789e146102d657610141565b8062fdd58e1461014657806301ffc9a7146101765780630aab8ba5146101a65780630e89341c146101d657806318712c2114610206575b600080fd5b610160600480360381019061015b9190612b41565b610457565b60405161016d9190613649565b60405180910390f35b610190600480360381019061018b9190612be9565b610520565b60405161019d91906133b1565b60405180910390f35b6101c060048036038101906101bb9190612c7c565b610602565b6040516101cd91906133cc565b60405180910390f35b6101f060048036038101906101eb9190612c7c565b61061f565b6040516101fd91906133e7565b60405180910390f35b610220600480360381019061021b9190612ca5565b6106c7565b005b61023c60048036038101906102379190612c7c565b61075f565b60405161024991906133cc565b60405180910390f35b61026c600480360381019061026791906129b7565b610777565b005b61028860048036038101906102839190612d35565b610818565b005b6102a4600480360381019061029f9190612d71565b610a1d565b005b6102c060048036038101906102bb9190612b7d565b610ce6565b6040516102cd9190613358565b60405180910390f35b6102f060048036038101906102eb9190612ce1565b610e97565b005b6102fa610f98565b005b61031660048036038101906103119190612b41565b611020565b6040516103239190613649565b60405180910390f35b61034660048036038101906103419190612e00565b611045565b005b610350611162565b60405161035d919061327b565b60405180910390f35b610380600480360381019061037b9190612c3b565b61118c565b005b61039c60048036038101906103979190612b05565b611222565b005b6103b860048036038101906103b39190612c7c565b611238565b6040516103c8949392919061368d565b60405180910390f35b6103d96112f0565b6040516103e691906133e7565b60405180910390f35b6104096004803603810190610404919061297b565b611382565b60405161041691906133b1565b60405180910390f35b61043960048036038101906104349190612a76565b611416565b005b61045560048036038101906104509190612952565b6114b7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bf90613449565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105eb57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105fb57506105fa826115af565b5b9050919050565b600060076000838152602001908152602001600020549050919050565b60606005600083815260200190815260200160002060030180546106429061396b565b80601f016020809104026020016040519081016040528092919081815260200182805461066e9061396b565b80156106bb5780601f10610690576101008083540402835291602001916106bb565b820191906000526020600020905b81548152906001019060200180831161069e57829003601f168201915b50505050509050919050565b6106cf611619565b73ffffffffffffffffffffffffffffffffffffffff166106ed611162565b73ffffffffffffffffffffffffffffffffffffffff1614610743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073a90613549565b60405180910390fd5b8060076000848152602001908152602001600020819055505050565b60076020528060005260406000206000915090505481565b61077f611619565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107c557506107c4856107bf611619565b611382565b5b610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb906134e9565b60405180910390fd5b6108118585858585611621565b5050505050565b610820611619565b73ffffffffffffffffffffffffffffffffffffffff1661083e611162565b73ffffffffffffffffffffffffffffffffffffffff1614610894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088b90613549565b60405180910390fd5b600260045414156108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190613609565b60405180910390fd5b60026004819055506000600560008481526020019081526020016000206040518060800160405290816000820154815260200160018201548152602001600282015481526020016003820180546109309061396b565b80601f016020809104026020016040519081016040528092919081815260200182805461095c9061396b565b80156109a95780601f1061097e576101008083540402835291602001916109a9565b820191906000526020600020905b81548152906001019060200180831161098c57829003601f168201915b50505050508152505090508181604001818152505080600560008581526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003019080519060200190610a0c92919061259f565b509050505060016004819055505050565b60026004541415610a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5a90613609565b60405180910390fd5b600260048190555060006005600086815260200190815260200160002090506000816002015411610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac0906135a9565b60405180910390fd5b8060020154838260010154610ade9190613855565b1115610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b16906134a9565b60405180910390fd5b6000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000205414610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba990613629565b60405180910390fd5b610bfa826007600089815260200190815260200160002054878787604051602001610bdf9392919061323e565b6040516020818303038152906040528051906020012061198f565b610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3090613509565b60405180910390fd5b610c54848685604051806020016040528060008152506119a6565b82600560008781526020019081526020016000206001016000828254610c7a9190613855565b9250508190555082600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000878152602001908152602001600020819055505060016004819055505050505050565b60608151835114610d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2390613589565b60405180910390fd5b6000835167ffffffffffffffff811115610d6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d9d5781602001602082028036833780820191505090505b50905060005b8451811015610e8c57610e36858281518110610de8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610e29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610457565b828281518110610e6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610e85906139ce565b9050610da3565b508091505092915050565b610e9f611619565b73ffffffffffffffffffffffffffffffffffffffff16610ebd611162565b73ffffffffffffffffffffffffffffffffffffffff1614610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613549565b60405180910390fd5b60026004541415610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5090613609565b60405180910390fd5b600260048190555080600560008481526020019081526020016000206003019080519060200190610f8b92919061259f565b5060016004819055505050565b610fa0611619565b73ffffffffffffffffffffffffffffffffffffffff16610fbe611162565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90613549565b60405180910390fd5b61101e6000611b57565b565b6006602052816000526040600020602052806000526040600020600091509150505481565b61104d611619565b73ffffffffffffffffffffffffffffffffffffffff1661106b611162565b73ffffffffffffffffffffffffffffffffffffffff16146110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890613549565b60405180910390fd5b60026004541415611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fe90613609565b60405180910390fd5b60026004819055508160056000858152602001908152602001600020600201819055508060056000858152602001908152602001600020600301908051906020019061115492919061259f565b506001600481905550505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611194611619565b73ffffffffffffffffffffffffffffffffffffffff166111b2611162565b73ffffffffffffffffffffffffffffffffffffffff1614611208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ff90613549565b60405180910390fd5b806008908051906020019061121e92919061259f565b5050565b61123461122d611619565b8383611c1d565b5050565b600560205280600052604060002060009150905080600001549080600101549080600201549080600301805461126d9061396b565b80601f01602080910402602001604051908101604052809291908181526020018280546112999061396b565b80156112e65780601f106112bb576101008083540402835291602001916112e6565b820191906000526020600020905b8154815290600101906020018083116112c957829003601f168201915b5050505050905084565b6060600880546112ff9061396b565b80601f016020809104026020016040519081016040528092919081815260200182805461132b9061396b565b80156113785780601f1061134d57610100808354040283529160200191611378565b820191906000526020600020905b81548152906001019060200180831161135b57829003601f168201915b5050505050905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61141e611619565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061146457506114638561145e611619565b611382565b5b6114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90613489565b60405180910390fd5b6114b08585858585611d8a565b5050505050565b6114bf611619565b73ffffffffffffffffffffffffffffffffffffffff166114dd611162565b73ffffffffffffffffffffffffffffffffffffffff1614611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613549565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a90613469565b60405180910390fd5b6115ac81611b57565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c906135c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc906134c9565b60405180910390fd5b60006116df611619565b90506116ef818787878787612026565b60005b84518110156118ec576000858281518110611736577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061177b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613529565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118d19190613855565b92505081905550505050806118e5906139ce565b90506116f2565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161196392919061337a565b60405180910390a461197981878787878761202e565b611987818787878787612036565b505050505050565b60008261199c858461221d565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d906135e9565b60405180910390fd5b6000611a20611619565b90506000611a2d856122b8565b90506000611a3a856122b8565b9050611a4b83600089858589612026565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aaa9190613855565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611b28929190613664565b60405180910390a4611b3f8360008985858961202e565b611b4e8360008989898961237e565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390613569565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d7d91906133b1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df1906134c9565b60405180910390fd5b6000611e04611619565b90506000611e11856122b8565b90506000611e1e856122b8565b9050611e2e838989858589612026565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90613529565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7a9190613855565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611ff7929190613664565b60405180910390a461200d848a8a86868a61202e565b61201b848a8a8a8a8a61237e565b505050505050505050565b505050505050565b505050505050565b6120558473ffffffffffffffffffffffffffffffffffffffff16612565565b15612215578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161209b959493929190613296565b602060405180830381600087803b1580156120b557600080fd5b505af19250505080156120e657506040513d601f19601f820116820180604052508101906120e39190612c12565b60015b61218c576120f2613ad2565b806308c379a0141561214f5750612107613fc9565b806121125750612151565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214691906133e7565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218390613409565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220a90613429565b60405180910390fd5b505b505050505050565b60008082905060005b84518110156122ad57600085828151811061226a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161228c576122858382612588565b9250612299565b6122968184612588565b92505b5080806122a5906139ce565b915050612226565b508091505092915050565b60606000600167ffffffffffffffff8111156122fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561232b5781602001602082028036833780820191505090505b5090508281600081518110612369577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61239d8473ffffffffffffffffffffffffffffffffffffffff16612565565b1561255d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123e39594939291906132fe565b602060405180830381600087803b1580156123fd57600080fd5b505af192505050801561242e57506040513d601f19601f8201168201806040525081019061242b9190612c12565b60015b6124d45761243a613ad2565b806308c379a01415612497575061244f613fc9565b8061245a5750612499565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248e91906133e7565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cb90613409565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461255b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255290613429565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b8280546125ab9061396b565b90600052602060002090601f0160209004810192826125cd5760008555612614565b82601f106125e657805160ff1916838001178555612614565b82800160010185558215612614579182015b828111156126135782518255916020019190600101906125f8565b5b5090506126219190612625565b5090565b5b8082111561263e576000816000905550600101612626565b5090565b6000612655612650846136fe565b6136d9565b9050808382526020820190508285602086028201111561267457600080fd5b60005b858110156126a4578161268a8882612802565b845260208401935060208301925050600181019050612677565b5050509392505050565b60006126c16126bc8461372a565b6136d9565b905080838252602082019050828560208602820111156126e057600080fd5b60005b8581101561271057816126f688826128aa565b8452602084019350602083019250506001810190506126e3565b5050509392505050565b600061272d61272884613756565b6136d9565b9050808382526020820190508285602086028201111561274c57600080fd5b60005b8581101561277c5781612762888261293d565b84526020840193506020830192505060018101905061274f565b5050509392505050565b600061279961279484613782565b6136d9565b9050828152602081018484840111156127b157600080fd5b6127bc848285613929565b509392505050565b60006127d76127d2846137b3565b6136d9565b9050828152602081018484840111156127ef57600080fd5b6127fa848285613929565b509392505050565b6000813590506128118161405f565b92915050565b600082601f83011261282857600080fd5b8135612838848260208601612642565b91505092915050565b600082601f83011261285257600080fd5b81356128628482602086016126ae565b91505092915050565b600082601f83011261287c57600080fd5b813561288c84826020860161271a565b91505092915050565b6000813590506128a481614076565b92915050565b6000813590506128b98161408d565b92915050565b6000813590506128ce816140a4565b92915050565b6000815190506128e3816140a4565b92915050565b600082601f8301126128fa57600080fd5b813561290a848260208601612786565b91505092915050565b600082601f83011261292457600080fd5b81356129348482602086016127c4565b91505092915050565b60008135905061294c816140bb565b92915050565b60006020828403121561296457600080fd5b600061297284828501612802565b91505092915050565b6000806040838503121561298e57600080fd5b600061299c85828601612802565b92505060206129ad85828601612802565b9150509250929050565b600080600080600060a086880312156129cf57600080fd5b60006129dd88828901612802565b95505060206129ee88828901612802565b945050604086013567ffffffffffffffff811115612a0b57600080fd5b612a178882890161286b565b935050606086013567ffffffffffffffff811115612a3457600080fd5b612a408882890161286b565b925050608086013567ffffffffffffffff811115612a5d57600080fd5b612a69888289016128e9565b9150509295509295909350565b600080600080600060a08688031215612a8e57600080fd5b6000612a9c88828901612802565b9550506020612aad88828901612802565b9450506040612abe8882890161293d565b9350506060612acf8882890161293d565b925050608086013567ffffffffffffffff811115612aec57600080fd5b612af8888289016128e9565b9150509295509295909350565b60008060408385031215612b1857600080fd5b6000612b2685828601612802565b9250506020612b3785828601612895565b9150509250929050565b60008060408385031215612b5457600080fd5b6000612b6285828601612802565b9250506020612b738582860161293d565b9150509250929050565b60008060408385031215612b9057600080fd5b600083013567ffffffffffffffff811115612baa57600080fd5b612bb685828601612817565b925050602083013567ffffffffffffffff811115612bd357600080fd5b612bdf8582860161286b565b9150509250929050565b600060208284031215612bfb57600080fd5b6000612c09848285016128bf565b91505092915050565b600060208284031215612c2457600080fd5b6000612c32848285016128d4565b91505092915050565b600060208284031215612c4d57600080fd5b600082013567ffffffffffffffff811115612c6757600080fd5b612c7384828501612913565b91505092915050565b600060208284031215612c8e57600080fd5b6000612c9c8482850161293d565b91505092915050565b60008060408385031215612cb857600080fd5b6000612cc68582860161293d565b9250506020612cd7858286016128aa565b9150509250929050565b60008060408385031215612cf457600080fd5b6000612d028582860161293d565b925050602083013567ffffffffffffffff811115612d1f57600080fd5b612d2b85828601612913565b9150509250929050565b60008060408385031215612d4857600080fd5b6000612d568582860161293d565b9250506020612d678582860161293d565b9150509250929050565b600080600080600060a08688031215612d8957600080fd5b6000612d978882890161293d565b9550506020612da88882890161293d565b9450506040612db988828901612802565b9350506060612dca8882890161293d565b925050608086013567ffffffffffffffff811115612de757600080fd5b612df388828901612841565b9150509295509295909350565b600080600060608486031215612e1557600080fd5b6000612e238682870161293d565b9350506020612e348682870161293d565b925050604084013567ffffffffffffffff811115612e5157600080fd5b612e5d86828701612913565b9150509250925092565b6000612e738383613209565b60208301905092915050565b612e88816138ab565b82525050565b612e9f612e9a826138ab565b613a17565b82525050565b6000612eb0826137f4565b612eba8185613822565b9350612ec5836137e4565b8060005b83811015612ef6578151612edd8882612e67565b9750612ee883613815565b925050600181019050612ec9565b5085935050505092915050565b612f0c816138bd565b82525050565b612f1b816138c9565b82525050565b6000612f2c826137ff565b612f368185613833565b9350612f46818560208601613938565b612f4f81613af4565b840191505092915050565b6000612f658261380a565b612f6f8185613844565b9350612f7f818560208601613938565b612f8881613af4565b840191505092915050565b6000612fa0603483613844565b9150612fab82613b1f565b604082019050919050565b6000612fc3602883613844565b9150612fce82613b6e565b604082019050919050565b6000612fe6602b83613844565b9150612ff182613bbd565b604082019050919050565b6000613009602683613844565b915061301482613c0c565b604082019050919050565b600061302c602983613844565b915061303782613c5b565b604082019050919050565b600061304f601283613844565b915061305a82613caa565b602082019050919050565b6000613072602583613844565b915061307d82613cd3565b604082019050919050565b6000613095603283613844565b91506130a082613d22565b604082019050919050565b60006130b8601c83613844565b91506130c382613d71565b602082019050919050565b60006130db602a83613844565b91506130e682613d9a565b604082019050919050565b60006130fe602083613844565b915061310982613de9565b602082019050919050565b6000613121602983613844565b915061312c82613e12565b604082019050919050565b6000613144602983613844565b915061314f82613e61565b604082019050919050565b6000613167601783613844565b915061317282613eb0565b602082019050919050565b600061318a602883613844565b915061319582613ed9565b604082019050919050565b60006131ad602183613844565b91506131b882613f28565b604082019050919050565b60006131d0601f83613844565b91506131db82613f77565b602082019050919050565b60006131f3600e83613844565b91506131fe82613fa0565b602082019050919050565b6132128161391f565b82525050565b6132218161391f565b82525050565b6132386132338261391f565b613a3b565b82525050565b600061324a8286613227565b60208201915061325a8285612e8e565b60148201915061326a8284613227565b602082019150819050949350505050565b60006020820190506132906000830184612e7f565b92915050565b600060a0820190506132ab6000830188612e7f565b6132b86020830187612e7f565b81810360408301526132ca8186612ea5565b905081810360608301526132de8185612ea5565b905081810360808301526132f28184612f21565b90509695505050505050565b600060a0820190506133136000830188612e7f565b6133206020830187612e7f565b61332d6040830186613218565b61333a6060830185613218565b818103608083015261334c8184612f21565b90509695505050505050565b600060208201905081810360008301526133728184612ea5565b905092915050565b600060408201905081810360008301526133948185612ea5565b905081810360208301526133a88184612ea5565b90509392505050565b60006020820190506133c66000830184612f03565b92915050565b60006020820190506133e16000830184612f12565b92915050565b600060208201905081810360008301526134018184612f5a565b905092915050565b6000602082019050818103600083015261342281612f93565b9050919050565b6000602082019050818103600083015261344281612fb6565b9050919050565b6000602082019050818103600083015261346281612fd9565b9050919050565b6000602082019050818103600083015261348281612ffc565b9050919050565b600060208201905081810360008301526134a28161301f565b9050919050565b600060208201905081810360008301526134c281613042565b9050919050565b600060208201905081810360008301526134e281613065565b9050919050565b6000602082019050818103600083015261350281613088565b9050919050565b60006020820190508181036000830152613522816130ab565b9050919050565b60006020820190508181036000830152613542816130ce565b9050919050565b60006020820190508181036000830152613562816130f1565b9050919050565b6000602082019050818103600083015261358281613114565b9050919050565b600060208201905081810360008301526135a281613137565b9050919050565b600060208201905081810360008301526135c28161315a565b9050919050565b600060208201905081810360008301526135e28161317d565b9050919050565b60006020820190508181036000830152613602816131a0565b9050919050565b60006020820190508181036000830152613622816131c3565b9050919050565b60006020820190508181036000830152613642816131e6565b9050919050565b600060208201905061365e6000830184613218565b92915050565b60006040820190506136796000830185613218565b6136866020830184613218565b9392505050565b60006080820190506136a26000830187613218565b6136af6020830186613218565b6136bc6040830185613218565b81810360608301526136ce8184612f5a565b905095945050505050565b60006136e36136f4565b90506136ef828261399d565b919050565b6000604051905090565b600067ffffffffffffffff82111561371957613718613aa3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561374557613744613aa3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561377157613770613aa3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561379d5761379c613aa3565b5b6137a682613af4565b9050602081019050919050565b600067ffffffffffffffff8211156137ce576137cd613aa3565b5b6137d782613af4565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006138608261391f565b915061386b8361391f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138a05761389f613a45565b5b828201905092915050565b60006138b6826138ff565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561395657808201518184015260208101905061393b565b83811115613965576000848401525b50505050565b6000600282049050600182168061398357607f821691505b6020821081141561399757613996613a74565b5b50919050565b6139a682613af4565b810181811067ffffffffffffffff821117156139c5576139c4613aa3565b5b80604052505050565b60006139d98261391f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a0c57613a0b613a45565b5b600182019050919050565b6000613a2282613a29565b9050919050565b6000613a3482613b05565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613af15760046000803e613aee600051613b12565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f65786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f6e6f7420616c6c6f776564206f7220696e76616c69642070726f6f6600000000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f6e6f74206d696e7461626c65206f72206e6f7420736574000000000000000000600082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f616c7265616479206d696e746564000000000000000000000000000000000000600082015250565b600060443d1015613fd95761405c565b613fe16136f4565b60043d036004823e80513d602482011167ffffffffffffffff8211171561400957505061405c565b808201805167ffffffffffffffff811115614027575050505061405c565b80602083010160043d03850181111561404457505050505061405c565b6140538260200185018661399d565b82955050505050505b90565b614068816138ab565b811461407357600080fd5b50565b61407f816138bd565b811461408a57600080fd5b50565b614096816138c9565b81146140a157600080fd5b50565b6140ad816138d3565b81146140b857600080fd5b50565b6140c48161391f565b81146140cf57600080fd5b5056fea2646970667358221220edb50394182f8c1163e3b900c6eb074ba331982cf0472477a6c55ed9b66e0f8464736f6c63430008040033
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.