ERC-1155
Overview
Max Total Supply
1,000 NB
Holders
359
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:
mintNFT1155
Compiler Version
v0.8.17+commit.8df45f5f
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.17; import {ERC1155} from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155URIStorage.sol"; import {ERC2981} from "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import {UpdatableOperatorFilterer} from "operator-filter-registry/src/UpdatableOperatorFilterer.sol"; import {RevokableDefaultOperatorFilterer} from "operator-filter-registry/src/RevokableDefaultOperatorFilterer.sol"; contract mintNFT1155 is RevokableDefaultOperatorFilterer, ERC1155URIStorage, Ownable, ERC2981 { //@notice name and symbol string public name; string public symbol; //@notice information by tokenId mapping(uint256 => InfoByTokenId) public dataByTokenId; //@notice struct of Information by tokenId struct InfoByTokenId { bool paused; uint256 totalSupply; uint256 maxSupply; uint256 cost; bytes32 merkleRoot; mapping(address => uint256) userMintedAmount; } // //CONSTRUCTOR // constructor() ERC1155("") { name = "NEO BABY PASS"; symbol = "NB"; dataByTokenId[1].paused = true; dataByTokenId[1].maxSupply = 5000; dataByTokenId[1].cost = 0; dataByTokenId[1] .merkleRoot = 0x0fcebe0479a246ed64747c7fedbe8bd76fd502fd36c0534395a96588af37babf; setDefaultRoyalty(0x8FD635F6397f11815f1C742909EdCDA596a0AbC9, 1000); } // //MINT // //@notice mint amount should be fixed one by frontend logic function mint( uint256 _tokenId, uint256 _mintAmount, uint256 _maxMintAmount, bytes32[] calldata _merkleProof ) public { //check bytes32 _leaf = keccak256(abi.encodePacked(msg.sender, _maxMintAmount)); require(!dataByTokenId[_tokenId].paused, "The tokenId is paused"); require( MerkleProof.verify( _merkleProof, dataByTokenId[_tokenId].merkleRoot, _leaf ), "You Not AL" ); require( _mintAmount + dataByTokenId[_tokenId].userMintedAmount[msg.sender] <= _maxMintAmount, "You already received" ); require( (dataByTokenId[_tokenId].totalSupply + _mintAmount) <= dataByTokenId[_tokenId].maxSupply, "Mint exceeded limit" ); //effect dataByTokenId[_tokenId].userMintedAmount[msg.sender] += _mintAmount; dataByTokenId[_tokenId].totalSupply += _mintAmount; //interaction _mint(msg.sender, _tokenId, _mintAmount, ""); } // //SET // //@notice set BaseURI function setBaseURI(string memory _newBaseURI) public onlyOwner { _setBaseURI(_newBaseURI); } //@notice set setURI function setURI(uint256 _tokenId, string memory _newTokenURI) public onlyOwner { _setURI(_tokenId, _newTokenURI); } //@notice set Royality function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) public onlyOwner { _setDefaultRoyalty(_receiver, _feeNumerator); } //@notice set tokenInfo function setTokenInfo( uint256 _tokenId, bool _newPause, uint256 _newMaxSupply, uint256 _newCost, bytes32 _newMerkleRoot ) external onlyOwner { dataByTokenId[_tokenId].paused = _newPause; dataByTokenId[_tokenId].maxSupply = _newMaxSupply; dataByTokenId[_tokenId].cost = _newCost; dataByTokenId[_tokenId].merkleRoot = _newMerkleRoot; } //@notice set Pause function setPaused(uint256 _tokenId,bool _newPause) external onlyOwner { dataByTokenId[_tokenId].paused = _newPause; } //@notice set maxMintedNum function setMaxSupply(uint256 _tokenId, uint256 _newNum) external onlyOwner { dataByTokenId[_tokenId].maxSupply = _newNum; } //@notice set cost function setCost(uint256 _tokenId, uint256 _newCost) external onlyOwner { dataByTokenId[_tokenId].cost = _newCost; } //@notice set merkleRoot function setMerkleRoot(uint256 _tokenId, bytes32 _newMerkleRoot) external onlyOwner { dataByTokenId[_tokenId].merkleRoot = _newMerkleRoot; } // //GET // function getPaused(uint256 _tokenId) public view returns (bool) { return dataByTokenId[_tokenId].paused; } function getTotalSupply(uint256 _tokenId) public view returns (uint256) { return dataByTokenId[_tokenId].totalSupply; } function getMaxSupply(uint256 _tokenId) public view returns (uint256) { return dataByTokenId[_tokenId].maxSupply; } function getCost(uint256 _tokenId) public view returns (uint256) { return dataByTokenId[_tokenId].cost; } function getMerkleRoot(uint256 _tokenId) public view returns (bytes32) { return dataByTokenId[_tokenId].merkleRoot; } function getUserMintedAmount(address _user, uint256 _tokenId) public view returns (uint256) { return dataByTokenId[_tokenId].userMintedAmount[_user]; } function getWhitelist( address _user, uint256 _tokenId, uint256 _maxMintAmount, bytes32[] calldata _merkleProof ) external view returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(_user, _maxMintAmount)); return MerkleProof.verify( _merkleProof, dataByTokenId[_tokenId].merkleRoot, _leaf ); } // //SBT // bool public isSBT = false; function owner() public view virtual override(Ownable, UpdatableOperatorFilterer) returns (address) { return Ownable.owner(); } function setIsSBT(bool _state) public onlyOwner { isSBT = _state; } function setApprovalForAll(address operator, bool approved) public virtual override onlyAllowedOperatorApproval(operator) { require( isSBT == false || approved == false, "setApprovalForAll is prohibited" ); super.setApprovalForAll(operator, approved); } function safeTransferFrom( address from, address to, uint256 tokenId, uint256 amount, bytes memory data ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, amount, data); } function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override onlyAllowedOperator(from) { super.safeBatchTransferFrom(from, to, ids, amounts, data); } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { require( isSBT == false || from == address(0) || to == address(0) || to == address(0x000000000000000000000000000000000000dEaD), "transfer is prohibited" ); super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } // //INTERFACE // function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {RevokableOperatorFilterer} from "./RevokableOperatorFilterer.sol"; import {CANONICAL_CORI_SUBSCRIPTION, CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol"; /** * @title RevokableDefaultOperatorFilterer * @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription. * Note that OpenSea will disable creator earnings enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableDefaultOperatorFilterer is RevokableOperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() RevokableOperatorFilterer(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS, CANONICAL_CORI_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title UpdatableOperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the * OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address, * which will bypass registry checks. * Note that OpenSea will still disable creator earnings enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract UpdatableOperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); /// @dev Emitted when someone other than the owner is trying to call an only owner function. error OnlyOwner(); event OperatorFilterRegistryAddressUpdated(address newRegistry); IOperatorFilterRegistry public operatorFilterRegistry; /// @dev The constructor that is called when the contract is being deployed. constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) { IOperatorFilterRegistry registry = IOperatorFilterRegistry(_registry); operatorFilterRegistry = registry; // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(registry).code.length > 0) { if (subscribe) { registry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { registry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { registry.register(address(this)); } } } } /** * @dev A helper function to check if the operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if the operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be bypassed. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public virtual { if (msg.sender != owner()) { revert OnlyOwner(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); emit OperatorFilterRegistryAddressUpdated(newRegistry); } /** * @dev Assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract. */ function owner() public view virtual returns (address); /** * @dev A helper function to check if the operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { IOperatorFilterRegistry registry = operatorFilterRegistry; // Check registry code length to facilitate testing in environments without a deployed registry. if (address(registry) != address(0) && address(registry).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!registry.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// 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 (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * 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. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155URIStorage.sol) pragma solidity ^0.8.0; import "../../../utils/Strings.sol"; import "../ERC1155.sol"; /** * @dev ERC1155 token with storage based token URI management. * Inspired by the ERC721URIStorage extension * * _Available since v4.6._ */ abstract contract ERC1155URIStorage is ERC1155 { using Strings for uint256; // Optional base URI string private _baseURI = ""; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the concatenation of the `_baseURI` * and the token-specific uri if the latter is set * * This enables the following behaviors: * * - if `_tokenURIs[tokenId]` is set, then the result is the concatenation * of `_baseURI` and `_tokenURIs[tokenId]` (keep in mind that `_baseURI` * is empty per default); * * - if `_tokenURIs[tokenId]` is NOT set then we fallback to `super.uri()` * which in most cases will contain `ERC1155._uri`; * * - if `_tokenURIs[tokenId]` is NOT set, and if the parents do not have a * uri value set, then the result is empty. */ function uri(uint256 tokenId) public view virtual override returns (string memory) { string memory tokenURI = _tokenURIs[tokenId]; // If token URI is set, concatenate base URI and tokenURI (via abi.encodePacked). return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId); } /** * @dev Sets `tokenURI` as the tokenURI of `tokenId`. */ function _setURI(uint256 tokenId, string memory tokenURI) internal virtual { _tokenURIs[tokenId] = tokenURI; emit URI(uri(tokenId), tokenId); } /** * @dev Sets `baseURI` as the `_baseURI` for all tokens */ function _setBaseURI(string memory baseURI) internal virtual { _baseURI = baseURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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: address zero is not a valid owner"); 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 token owner or 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: caller is not token owner or 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}. * * 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 _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` * * Emits a {TransferSingle} event. * * 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}. * * Emits a {TransferBatch} event. * * 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 an {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 `ids` and `amounts` 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 pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {UpdatableOperatorFilterer} from "./UpdatableOperatorFilterer.sol"; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title RevokableOperatorFilterer * @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The * Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at * any point. As implemented, this abstract contract allows the contract owner to permanently skip the * OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry * address cannot be further updated. * Note that OpenSea will still disable creator earnings enforcement if filtered operators begin fulfilling orders * on-chain, eg, if the registry is revoked or bypassed. */ abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer { /// @dev Emitted when the registry has already been revoked. error RegistryHasBeenRevoked(); /// @dev Emitted when the initial registry address is attempted to be set to the zero address. error InitialRegistryAddressCannotBeZeroAddress(); event OperatorFilterRegistryRevoked(); bool public isOperatorFilterRegistryRevoked; /// @dev The constructor that is called when the contract is being deployed. constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) UpdatableOperatorFilterer(_registry, subscriptionOrRegistrantToCopy, subscribe) { // don't allow creating a contract with a permanently revoked registry if (_registry == address(0)) { revert InitialRegistryAddressCannotBeZeroAddress(); } } /** * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero * address, checks will be permanently bypassed, and the address cannot be updated again. OnlyOwner. */ function updateOperatorFilterRegistryAddress(address newRegistry) public override { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } operatorFilterRegistry = IOperatorFilterRegistry(newRegistry); emit OperatorFilterRegistryAddressUpdated(newRegistry); } /** * @notice Revoke the OperatorFilterRegistry address, permanently bypassing checks. OnlyOwner. */ function revokeOperatorFilterRegistry() public { if (msg.sender != owner()) { revert OnlyOwner(); } // if registry has been revoked, do not allow further updates if (isOperatorFilterRegistryRevoked) { revert RegistryHasBeenRevoked(); } // set to zero address to bypass checks operatorFilterRegistry = IOperatorFilterRegistry(address(0)); isOperatorFilterRegistryRevoked = true; emit OperatorFilterRegistryRevoked(); } }
// 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 (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // 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 (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 (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) (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 (last updated v4.7.0) (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 have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InitialRegistryAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"RegistryHasBeenRevoked","type":"error"},{"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":false,"internalType":"address","name":"newRegistry","type":"address"}],"name":"OperatorFilterRegistryAddressUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"OperatorFilterRegistryRevoked","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dataByTokenId","outputs":[{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"cost","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getUserMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"getWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperatorFilterRegistryRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSBT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilterRegistry","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"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":[],"name":"revokeOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"tokenId","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setIsSBT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_newNum","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_newPause","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_newPause","type":"bool"},{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"},{"internalType":"uint256","name":"_newCost","type":"uint256"},{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setTokenInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newTokenURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateOperatorFilterRegistryAddress","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
6080604052604051806020016040528060008152506004908162000024919062000a84565b506000600c60006101000a81548160ff0219169083151502179055503480156200004d57600080fd5b50604051806020016040528060008152506daaeb6d7670e522a718067333cd4e733cc6cdda760b79bafa08df41ecfa224f810dceb660018282826000839050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008173ffffffffffffffffffffffffffffffffffffffff163b1115620002895781156200016b578073ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30856040518363ffffffff1660e01b81526004016200013192919062000bb0565b600060405180830381600087803b1580156200014c57600080fd5b505af115801562000161573d6000803e3d6000fd5b5050505062000288565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000217578073ffffffffffffffffffffffffffffffffffffffff1663a0af290330856040518363ffffffff1660e01b8152600401620001dd92919062000bb0565b600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b5050505062000287565b8073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000252919062000bdd565b600060405180830381600087803b1580156200026d57600080fd5b505af115801562000282573d6000803e3d6000fd5b505050505b5b5b50505050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620002f4576040517fc49d17ad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505062000308816200048f60201b60201c565b50620003296200031d620004a460201b60201c565b620004ac60201b60201c565b6040518060400160405280600d81526020017f4e454f2042414259205041535300000000000000000000000000000000000000815250600990816200036f919062000a84565b506040518060400160405280600281526020017f4e42000000000000000000000000000000000000000000000000000000000000815250600a9081620003b6919062000a84565b506001600b60006001815260200190815260200160002060000160006101000a81548160ff021916908315150217905550611388600b600060018152602001908152602001600020600201819055506000600b600060018152602001908152602001600020600301819055507f0fcebe0479a246ed64747c7fedbe8bd76fd502fd36c0534395a96588af37babf60001b600b6000600181526020019081526020016000206004018190555062000489738fd635f6397f11815f1c742909edcda596a0abc96103e86200057260201b60201c565b62000d87565b8060039081620004a0919062000a84565b5050565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000582620004a460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005a86200061760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000601576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005f89062000c5b565b60405180910390fd5b6200061382826200063360201b60201c565b5050565b60006200062e620007d660201b62001dbc1760201c565b905090565b620006436200080060201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620006a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200069b9062000cf3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000716576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200070d9062000d65565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612710905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200088c57607f821691505b602082108103620008a257620008a162000844565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200090c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620008cd565b620009188683620008cd565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620009656200095f620009598462000930565b6200093a565b62000930565b9050919050565b6000819050919050565b620009818362000944565b6200099962000990826200096c565b848454620008da565b825550505050565b600090565b620009b0620009a1565b620009bd81848462000976565b505050565b5b81811015620009e557620009d9600082620009a6565b600181019050620009c3565b5050565b601f82111562000a3457620009fe81620008a8565b62000a0984620008bd565b8101602085101562000a19578190505b62000a3162000a2885620008bd565b830182620009c2565b50505b505050565b600082821c905092915050565b600062000a596000198460080262000a39565b1980831691505092915050565b600062000a74838362000a46565b9150826002028217905092915050565b62000a8f826200080a565b67ffffffffffffffff81111562000aab5762000aaa62000815565b5b62000ab7825462000873565b62000ac4828285620009e9565b600060209050601f83116001811462000afc576000841562000ae7578287015190505b62000af3858262000a66565b86555062000b63565b601f19841662000b0c86620008a8565b60005b8281101562000b365784890151825560018201915060208501945060208101905062000b0f565b8683101562000b56578489015162000b52601f89168262000a46565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b988262000b6b565b9050919050565b62000baa8162000b8b565b82525050565b600060408201905062000bc7600083018562000b9f565b62000bd6602083018462000b9f565b9392505050565b600060208201905062000bf4600083018462000b9f565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000c4360208362000bfa565b915062000c508262000c0b565b602082019050919050565b6000602082019050818103600083015262000c768162000c34565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000cdb602a8362000bfa565b915062000ce88262000c7d565b604082019050919050565b6000602082019050818103600083015262000d0e8162000ccc565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000d4d60198362000bfa565b915062000d5a8262000d15565b602082019050919050565b6000602082019050818103600083015262000d808162000d3e565b9050919050565b6156f28062000d976000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a611610130578063a4722f10116100b8578063e985e9c51161007c578063e985e9c51461069a578063ecba222a146106ca578063f242432a146106e8578063f2fde38b14610704578063fcd1aac91461072057610226565b8063a4722f10146105f8578063b0ccc31e14610628578063b8d1e53214610646578063c0035b2a14610662578063daff97b51461067e57610226565b80638da5cb5b116100ff5780638da5cb5b1461054057806392ab723e1461055e57806395d89b411461058e5780639d7bd08e146105ac578063a22cb465146105dc57610226565b8063715018a6146104ca5780637696e088146104d4578063862440e2146104f057806388aa05971461050c57610226565b80632eb2c2d6116101b35780634e1273f4116101825780634e1273f41461041457806355f804b3146104445780635a4dd47d146104605780635e495d74146104905780635ef9432a146104c057610226565b80632eb2c2d61461038e57806337da577c146103aa5780633cf40df3146103c65780633ff3caab146103e457610226565b80630aab8ba5116101fa5780630aab8ba5146102c55780630e89341c146102f557806314ca5b241461032557806318712c21146103415780632a55205a1461035d57610226565b8062fdd58e1461022b57806301ffc9a71461025b57806304634d8d1461028b57806306fdde03146102a7575b600080fd5b61024560048036038101906102409190613561565b61073c565b60405161025291906135b0565b60405180910390f35b61027560048036038101906102709190613623565b610805565b604051610282919061366b565b60405180910390f35b6102a560048036038101906102a091906136ca565b610817565b005b6102af6108a1565b6040516102bc919061379a565b60405180910390f35b6102df60048036038101906102da91906137bc565b61092f565b6040516102ec9190613802565b60405180910390f35b61030f600480360381019061030a91906137bc565b61094f565b60405161031c919061379a565b60405180910390f35b61033f600480360381019061033a9190613875565b610a34565b005b61035b600480360381019061035691906138f0565b610b36565b005b61037760048036038101906103729190613930565b610bd1565b60405161038592919061397f565b60405180910390f35b6103a860048036038101906103a39190613ba5565b610dbb565b005b6103c460048036038101906103bf9190613930565b610e0e565b005b6103ce610ea9565b6040516103db919061366b565b60405180910390f35b6103fe60048036038101906103f99190613ccf565b610ebc565b60405161040b919061366b565b60405180910390f35b61042e60048036038101906104299190613e1a565b610f58565b60405161043b9190613f50565b60405180910390f35b61045e60048036038101906104599190614013565b611071565b005b61047a600480360381019061047591906137bc565b6110f9565b60405161048791906135b0565b60405180910390f35b6104aa60048036038101906104a591906137bc565b611119565b6040516104b791906135b0565b60405180910390f35b6104c8611139565b005b6104d2611276565b005b6104ee60048036038101906104e99190613930565b6112fe565b005b61050a6004803603810190610505919061405c565b611399565b005b610526600480360381019061052191906137bc565b611423565b6040516105379594939291906140b8565b60405180910390f35b610548611466565b604051610555919061410b565b60405180910390f35b610578600480360381019061057391906137bc565b611475565b60405161058591906135b0565b60405180910390f35b610596611495565b6040516105a3919061379a565b60405180910390f35b6105c660048036038101906105c191906137bc565b611523565b6040516105d3919061366b565b60405180910390f35b6105f660048036038101906105f19190614126565b611550565b005b610612600480360381019061060d9190613561565b6115ce565b60405161061f91906135b0565b60405180910390f35b61063061162c565b60405161063d91906141c5565b60405180910390f35b610660600480360381019061065b91906141e0565b611650565b005b61067c6004803603810190610677919061420d565b61177d565b005b61069860048036038101906106939190614295565b611a84565b005b6106b460048036038101906106af91906142d5565b611b32565b6040516106c1919061366b565b60405180910390f35b6106d2611bc6565b6040516106df919061366b565b60405180910390f35b61070260048036038101906106fd9190614315565b611bd9565b005b61071e600480360381019061071991906141e0565b611c2c565b005b61073a600480360381019061073591906143ac565b611d23565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a39061444b565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061081082611de6565b9050919050565b61081f611e60565b73ffffffffffffffffffffffffffffffffffffffff1661083d611466565b73ffffffffffffffffffffffffffffffffffffffff1614610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a906144b7565b60405180910390fd5b61089d8282611e68565b5050565b600980546108ae90614506565b80601f01602080910402602001604051908101604052809291908181526020018280546108da90614506565b80156109275780601f106108fc57610100808354040283529160200191610927565b820191906000526020600020905b81548152906001019060200180831161090a57829003601f168201915b505050505081565b6000600b6000838152602001908152602001600020600401549050919050565b6060600060056000848152602001908152602001600020805461097190614506565b80601f016020809104026020016040519081016040528092919081815260200182805461099d90614506565b80156109ea5780601f106109bf576101008083540402835291602001916109ea565b820191906000526020600020905b8154815290600101906020018083116109cd57829003601f168201915b505050505090506000815111610a0857610a0383611ffd565b610a2c565b600481604051602001610a1c92919061460b565b6040516020818303038152906040525b915050919050565b610a3c611e60565b73ffffffffffffffffffffffffffffffffffffffff16610a5a611466565b73ffffffffffffffffffffffffffffffffffffffff1614610ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa7906144b7565b60405180910390fd5b83600b600087815260200190815260200160002060000160006101000a81548160ff02191690831515021790555082600b60008781526020019081526020016000206002018190555081600b60008781526020019081526020016000206003018190555080600b6000878152602001908152602001600020600401819055505050505050565b610b3e611e60565b73ffffffffffffffffffffffffffffffffffffffff16610b5c611466565b73ffffffffffffffffffffffffffffffffffffffff1614610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba9906144b7565b60405180910390fd5b80600b6000848152602001908152602001600020600401819055505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610d665760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d70612091565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d9c919061465e565b610da691906146cf565b90508160000151819350935050509250929050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610df957610df83361209b565b5b610e0686868686866121dc565b505050505050565b610e16611e60565b73ffffffffffffffffffffffffffffffffffffffff16610e34611466565b73ffffffffffffffffffffffffffffffffffffffff1614610e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e81906144b7565b60405180910390fd5b80600b6000848152602001908152602001600020600201819055505050565b600c60009054906101000a900460ff1681565b6000808685604051602001610ed2929190614769565b604051602081830303815290604052805190602001209050610f4c848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b6000898152602001908152602001600020600401548361227d565b91505095945050505050565b60608151835114610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590614807565b60405180910390fd5b6000835167ffffffffffffffff811115610fbb57610fba6139ad565b5b604051908082528060200260200182016040528015610fe95781602001602082028036833780820191505090505b50905060005b84518110156110665761103685828151811061100e5761100d614827565b5b602002602001015185838151811061102957611028614827565b5b602002602001015161073c565b82828151811061104957611048614827565b5b6020026020010181815250508061105f90614856565b9050610fef565b508091505092915050565b611079611e60565b73ffffffffffffffffffffffffffffffffffffffff16611097611466565b73ffffffffffffffffffffffffffffffffffffffff16146110ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e4906144b7565b60405180910390fd5b6110f681612294565b50565b6000600b6000838152602001908152602001600020600301549050919050565b6000600b6000838152602001908152602001600020600201549050919050565b611141611466565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111a5576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff16156111ec576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083151502179055507f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1660405160405180910390a1565b61127e611e60565b73ffffffffffffffffffffffffffffffffffffffff1661129c611466565b73ffffffffffffffffffffffffffffffffffffffff16146112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e9906144b7565b60405180910390fd5b6112fc60006122a7565b565b611306611e60565b73ffffffffffffffffffffffffffffffffffffffff16611324611466565b73ffffffffffffffffffffffffffffffffffffffff161461137a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611371906144b7565b60405180910390fd5b80600b6000848152602001908152602001600020600301819055505050565b6113a1611e60565b73ffffffffffffffffffffffffffffffffffffffff166113bf611466565b73ffffffffffffffffffffffffffffffffffffffff1614611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c906144b7565b60405180910390fd5b61141f828261236d565b5050565b600b6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154905085565b6000611470611dbc565b905090565b6000600b6000838152602001908152602001600020600101549050919050565b600a80546114a290614506565b80601f01602080910402602001604051908101604052809291908181526020018280546114ce90614506565b801561151b5780601f106114f05761010080835404028352916020019161151b565b820191906000526020600020905b8154815290600101906020018083116114fe57829003601f168201915b505050505081565b6000600b600083815260200190815260200160002060000160009054906101000a900460ff169050919050565b8161155a8161209b565b60001515600c60009054906101000a900460ff1615151480611580575060001515821515145b6115bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b6906148ea565b60405180910390fd5b6115c983836123d2565b505050565b6000600b600083815260200190815260200160002060050160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611658611466565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116bc576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff1615611703576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de47681604051611772919061410b565b60405180910390a150565b60003384604051602001611792929190614769565b604051602081830303815290604052805190602001209050600b600087815260200190815260200160002060000160009054906101000a900460ff161561180e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180590614956565b60405180910390fd5b611870838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b6000898152602001908152602001600020600401548361227d565b6118af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a6906149c2565b60405180910390fd5b83600b600088815260200190815260200160002060050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548661190f91906149e2565b1115611950576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194790614a62565b60405180910390fd5b600b60008781526020019081526020016000206002015485600b60008981526020019081526020016000206001015461198991906149e2565b11156119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c190614ace565b60405180910390fd5b84600b600088815260200190815260200160002060050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a2d91906149e2565b9250508190555084600b60008881526020019081526020016000206001016000828254611a5a91906149e2565b92505081905550611a7c338787604051806020016040528060008152506123e8565b505050505050565b611a8c611e60565b73ffffffffffffffffffffffffffffffffffffffff16611aaa611466565b73ffffffffffffffffffffffffffffffffffffffff1614611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af7906144b7565b60405180910390fd5b80600b600084815260200190815260200160002060000160006101000a81548160ff0219169083151502179055505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060149054906101000a900460ff1681565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c1757611c163361209b565b5b611c248686868686612599565b505050505050565b611c34611e60565b73ffffffffffffffffffffffffffffffffffffffff16611c52611466565b73ffffffffffffffffffffffffffffffffffffffff1614611ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9f906144b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e90614b60565b60405180910390fd5b611d20816122a7565b50565b611d2b611e60565b73ffffffffffffffffffffffffffffffffffffffff16611d49611466565b73ffffffffffffffffffffffffffffffffffffffff1614611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d96906144b7565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e595750611e588261263a565b5b9050919050565b600033905090565b611e70612091565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590614bf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3490614c5e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60606003805461200c90614506565b80601f016020809104026020016040519081016040528092919081815260200182805461203890614506565b80156120855780601f1061205a57610100808354040283529160200191612085565b820191906000526020600020905b81548152906001019060200180831161206857829003601f168201915b50505050509050919050565b6000612710905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612115575060008173ffffffffffffffffffffffffffffffffffffffff163b115b156121d8578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b8152600401612155929190614c7e565b602060405180830381865afa158015612172573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121969190614cbc565b6121d757816040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121ce919061410b565b60405180910390fd5b5b5050565b6121e4611e60565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061222a575061222985612224611e60565b611b32565b5b612269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226090614d5b565b60405180910390fd5b612276858585858561271c565b5050505050565b60008261228a8584612a40565b1490509392505050565b80600490816122a39190614f08565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060056000848152602001908152602001600020908161238d9190614f08565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b6123b98461094f565b6040516123c6919061379a565b60405180910390a25050565b6123e46123dd611e60565b8383612a96565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244e9061504c565b60405180910390fd5b6000612461611e60565b9050600061246e85612c02565b9050600061247b85612c02565b905061248c83600089858589612c7c565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ec91906149e2565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161256a92919061506c565b60405180910390a461258183600089858589612d8e565b61259083600089898989612d96565b50505050505050565b6125a1611e60565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806125e757506125e6856125e1611e60565b611b32565b5b612626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261d90614d5b565b60405180910390fd5b6126338585858585612f6d565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061270557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061271557506127148261320b565b5b9050919050565b8151835114612760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275790615107565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c690615199565b60405180910390fd5b60006127d9611e60565b90506127e9818787878787612c7c565b60005b845181101561299d57600085828151811061280a57612809614827565b5b60200260200101519050600085838151811061282957612828614827565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156128cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c29061522b565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461298291906149e2565b925050819055505050508061299690614856565b90506127ec565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612a1492919061524b565b60405180910390a4612a2a818787878787612d8e565b612a38818787878787613275565b505050505050565b60008082905060005b8451811015612a8b57612a7682868381518110612a6957612a68614827565b5b602002602001015161344c565b91508080612a8390614856565b915050612a49565b508091505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afb906152f4565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612bf5919061366b565b60405180910390a3505050565b60606000600167ffffffffffffffff811115612c2157612c206139ad565b5b604051908082528060200260200182016040528015612c4f5781602001602082028036833780820191505090505b5090508281600081518110612c6757612c66614827565b5b60200260200101818152505080915050919050565b60001515600c60009054906101000a900460ff1615151480612cca5750600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b80612d015750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80612d39575061dead73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b612d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f90615360565b60405180910390fd5b612d86868686868686613477565b505050505050565b505050505050565b612db58473ffffffffffffffffffffffffffffffffffffffff1661347f565b15612f65578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612dfb9594939291906153d5565b6020604051808303816000875af1925050508015612e3757506040513d601f19601f82011682018060405250810190612e349190615444565b60015b612edc57612e4361547e565b806308c379a003612e9f5750612e576154a0565b80612e625750612ea1565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e96919061379a565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed3906155a2565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a90615634565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd390615199565b60405180910390fd5b6000612fe6611e60565b90506000612ff385612c02565b9050600061300085612c02565b9050613010838989858589612c7c565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156130a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309f9061522b565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461315f91906149e2565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516131dc92919061506c565b60405180910390a46131f2848a8a86868a612d8e565b613200848a8a8a8a8a612d96565b505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132948473ffffffffffffffffffffffffffffffffffffffff1661347f565b15613444578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016132da959493929190615654565b6020604051808303816000875af192505050801561331657506040513d601f19601f820116820180604052508101906133139190615444565b60015b6133bb5761332261547e565b806308c379a00361337e57506133366154a0565b806133415750613380565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613375919061379a565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b2906155a2565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343990615634565b60405180910390fd5b505b505050505050565b60008183106134645761345f82846134a2565b61346f565b61346e83836134a2565b5b905092915050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134f8826134cd565b9050919050565b613508816134ed565b811461351357600080fd5b50565b600081359050613525816134ff565b92915050565b6000819050919050565b61353e8161352b565b811461354957600080fd5b50565b60008135905061355b81613535565b92915050565b60008060408385031215613578576135776134c3565b5b600061358685828601613516565b92505060206135978582860161354c565b9150509250929050565b6135aa8161352b565b82525050565b60006020820190506135c560008301846135a1565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613600816135cb565b811461360b57600080fd5b50565b60008135905061361d816135f7565b92915050565b600060208284031215613639576136386134c3565b5b60006136478482850161360e565b91505092915050565b60008115159050919050565b61366581613650565b82525050565b6000602082019050613680600083018461365c565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6136a781613686565b81146136b257600080fd5b50565b6000813590506136c48161369e565b92915050565b600080604083850312156136e1576136e06134c3565b5b60006136ef85828601613516565b9250506020613700858286016136b5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613744578082015181840152602081019050613729565b60008484015250505050565b6000601f19601f8301169050919050565b600061376c8261370a565b6137768185613715565b9350613786818560208601613726565b61378f81613750565b840191505092915050565b600060208201905081810360008301526137b48184613761565b905092915050565b6000602082840312156137d2576137d16134c3565b5b60006137e08482850161354c565b91505092915050565b6000819050919050565b6137fc816137e9565b82525050565b600060208201905061381760008301846137f3565b92915050565b61382681613650565b811461383157600080fd5b50565b6000813590506138438161381d565b92915050565b613852816137e9565b811461385d57600080fd5b50565b60008135905061386f81613849565b92915050565b600080600080600060a08688031215613891576138906134c3565b5b600061389f8882890161354c565b95505060206138b088828901613834565b94505060406138c18882890161354c565b93505060606138d28882890161354c565b92505060806138e388828901613860565b9150509295509295909350565b60008060408385031215613907576139066134c3565b5b60006139158582860161354c565b925050602061392685828601613860565b9150509250929050565b60008060408385031215613947576139466134c3565b5b60006139558582860161354c565b92505060206139668582860161354c565b9150509250929050565b613979816134ed565b82525050565b60006040820190506139946000830185613970565b6139a160208301846135a1565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139e582613750565b810181811067ffffffffffffffff82111715613a0457613a036139ad565b5b80604052505050565b6000613a176134b9565b9050613a2382826139dc565b919050565b600067ffffffffffffffff821115613a4357613a426139ad565b5b602082029050602081019050919050565b600080fd5b6000613a6c613a6784613a28565b613a0d565b90508083825260208201905060208402830185811115613a8f57613a8e613a54565b5b835b81811015613ab85780613aa4888261354c565b845260208401935050602081019050613a91565b5050509392505050565b600082601f830112613ad757613ad66139a8565b5b8135613ae7848260208601613a59565b91505092915050565b600080fd5b600067ffffffffffffffff821115613b1057613b0f6139ad565b5b613b1982613750565b9050602081019050919050565b82818337600083830152505050565b6000613b48613b4384613af5565b613a0d565b905082815260208101848484011115613b6457613b63613af0565b5b613b6f848285613b26565b509392505050565b600082601f830112613b8c57613b8b6139a8565b5b8135613b9c848260208601613b35565b91505092915050565b600080600080600060a08688031215613bc157613bc06134c3565b5b6000613bcf88828901613516565b9550506020613be088828901613516565b945050604086013567ffffffffffffffff811115613c0157613c006134c8565b5b613c0d88828901613ac2565b935050606086013567ffffffffffffffff811115613c2e57613c2d6134c8565b5b613c3a88828901613ac2565b925050608086013567ffffffffffffffff811115613c5b57613c5a6134c8565b5b613c6788828901613b77565b9150509295509295909350565b600080fd5b60008083601f840112613c8f57613c8e6139a8565b5b8235905067ffffffffffffffff811115613cac57613cab613c74565b5b602083019150836020820283011115613cc857613cc7613a54565b5b9250929050565b600080600080600060808688031215613ceb57613cea6134c3565b5b6000613cf988828901613516565b9550506020613d0a8882890161354c565b9450506040613d1b8882890161354c565b935050606086013567ffffffffffffffff811115613d3c57613d3b6134c8565b5b613d4888828901613c79565b92509250509295509295909350565b600067ffffffffffffffff821115613d7257613d716139ad565b5b602082029050602081019050919050565b6000613d96613d9184613d57565b613a0d565b90508083825260208201905060208402830185811115613db957613db8613a54565b5b835b81811015613de25780613dce8882613516565b845260208401935050602081019050613dbb565b5050509392505050565b600082601f830112613e0157613e006139a8565b5b8135613e11848260208601613d83565b91505092915050565b60008060408385031215613e3157613e306134c3565b5b600083013567ffffffffffffffff811115613e4f57613e4e6134c8565b5b613e5b85828601613dec565b925050602083013567ffffffffffffffff811115613e7c57613e7b6134c8565b5b613e8885828601613ac2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ec78161352b565b82525050565b6000613ed98383613ebe565b60208301905092915050565b6000602082019050919050565b6000613efd82613e92565b613f078185613e9d565b9350613f1283613eae565b8060005b83811015613f43578151613f2a8882613ecd565b9750613f3583613ee5565b925050600181019050613f16565b5085935050505092915050565b60006020820190508181036000830152613f6a8184613ef2565b905092915050565b600067ffffffffffffffff821115613f8d57613f8c6139ad565b5b613f9682613750565b9050602081019050919050565b6000613fb6613fb184613f72565b613a0d565b905082815260208101848484011115613fd257613fd1613af0565b5b613fdd848285613b26565b509392505050565b600082601f830112613ffa57613ff96139a8565b5b813561400a848260208601613fa3565b91505092915050565b600060208284031215614029576140286134c3565b5b600082013567ffffffffffffffff811115614047576140466134c8565b5b61405384828501613fe5565b91505092915050565b60008060408385031215614073576140726134c3565b5b60006140818582860161354c565b925050602083013567ffffffffffffffff8111156140a2576140a16134c8565b5b6140ae85828601613fe5565b9150509250929050565b600060a0820190506140cd600083018861365c565b6140da60208301876135a1565b6140e760408301866135a1565b6140f460608301856135a1565b61410160808301846137f3565b9695505050505050565b60006020820190506141206000830184613970565b92915050565b6000806040838503121561413d5761413c6134c3565b5b600061414b85828601613516565b925050602061415c85828601613834565b9150509250929050565b6000819050919050565b600061418b614186614181846134cd565b614166565b6134cd565b9050919050565b600061419d82614170565b9050919050565b60006141af82614192565b9050919050565b6141bf816141a4565b82525050565b60006020820190506141da60008301846141b6565b92915050565b6000602082840312156141f6576141f56134c3565b5b600061420484828501613516565b91505092915050565b600080600080600060808688031215614229576142286134c3565b5b60006142378882890161354c565b95505060206142488882890161354c565b94505060406142598882890161354c565b935050606086013567ffffffffffffffff81111561427a576142796134c8565b5b61428688828901613c79565b92509250509295509295909350565b600080604083850312156142ac576142ab6134c3565b5b60006142ba8582860161354c565b92505060206142cb85828601613834565b9150509250929050565b600080604083850312156142ec576142eb6134c3565b5b60006142fa85828601613516565b925050602061430b85828601613516565b9150509250929050565b600080600080600060a08688031215614331576143306134c3565b5b600061433f88828901613516565b955050602061435088828901613516565b94505060406143618882890161354c565b93505060606143728882890161354c565b925050608086013567ffffffffffffffff811115614393576143926134c8565b5b61439f88828901613b77565b9150509295509295909350565b6000602082840312156143c2576143c16134c3565b5b60006143d084828501613834565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000614435602a83613715565b9150614440826143d9565b604082019050919050565b6000602082019050818103600083015261446481614428565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144a1602083613715565b91506144ac8261446b565b602082019050919050565b600060208201905081810360008301526144d081614494565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061451e57607f821691505b602082108103614531576145306144d7565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461456481614506565b61456e8186614537565b94506001821660008114614589576001811461459e576145d1565b60ff19831686528115158202860193506145d1565b6145a785614542565b60005b838110156145c9578154818901526001820191506020810190506145aa565b838801955050505b50505092915050565b60006145e58261370a565b6145ef8185614537565b93506145ff818560208601613726565b80840191505092915050565b60006146178285614557565b915061462382846145da565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146698261352b565b91506146748361352b565b92508282026146828161352b565b915082820484148315176146995761469861462f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146da8261352b565b91506146e58361352b565b9250826146f5576146f46146a0565b5b828204905092915050565b60008160601b9050919050565b600061471882614700565b9050919050565b600061472a8261470d565b9050919050565b61474261473d826134ed565b61471f565b82525050565b6000819050919050565b61476361475e8261352b565b614748565b82525050565b60006147758285614731565b6014820191506147858284614752565b6020820191508190509392505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006147f1602983613715565b91506147fc82614795565b604082019050919050565b60006020820190508181036000830152614820816147e4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006148618261352b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148935761489261462f565b5b600182019050919050565b7f736574417070726f76616c466f72416c6c2069732070726f6869626974656400600082015250565b60006148d4601f83613715565b91506148df8261489e565b602082019050919050565b60006020820190508181036000830152614903816148c7565b9050919050565b7f54686520746f6b656e4964206973207061757365640000000000000000000000600082015250565b6000614940601583613715565b915061494b8261490a565b602082019050919050565b6000602082019050818103600083015261496f81614933565b9050919050565b7f596f75204e6f7420414c00000000000000000000000000000000000000000000600082015250565b60006149ac600a83613715565b91506149b782614976565b602082019050919050565b600060208201905081810360008301526149db8161499f565b9050919050565b60006149ed8261352b565b91506149f88361352b565b9250828201905080821115614a1057614a0f61462f565b5b92915050565b7f596f7520616c7265616479207265636569766564000000000000000000000000600082015250565b6000614a4c601483613715565b9150614a5782614a16565b602082019050919050565b60006020820190508181036000830152614a7b81614a3f565b9050919050565b7f4d696e74206578636565646564206c696d697400000000000000000000000000600082015250565b6000614ab8601383613715565b9150614ac382614a82565b602082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b4a602683613715565b9150614b5582614aee565b604082019050919050565b60006020820190508181036000830152614b7981614b3d565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614bdc602a83613715565b9150614be782614b80565b604082019050919050565b60006020820190508181036000830152614c0b81614bcf565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614c48601983613715565b9150614c5382614c12565b602082019050919050565b60006020820190508181036000830152614c7781614c3b565b9050919050565b6000604082019050614c936000830185613970565b614ca06020830184613970565b9392505050565b600081519050614cb68161381d565b92915050565b600060208284031215614cd257614cd16134c3565b5b6000614ce084828501614ca7565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614d45602e83613715565b9150614d5082614ce9565b604082019050919050565b60006020820190508181036000830152614d7481614d38565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614dc87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614d8b565b614dd28683614d8b565b95508019841693508086168417925050509392505050565b6000614e05614e00614dfb8461352b565b614166565b61352b565b9050919050565b6000819050919050565b614e1f83614dea565b614e33614e2b82614e0c565b848454614d98565b825550505050565b600090565b614e48614e3b565b614e53818484614e16565b505050565b5b81811015614e7757614e6c600082614e40565b600181019050614e59565b5050565b601f821115614ebc57614e8d81614542565b614e9684614d7b565b81016020851015614ea5578190505b614eb9614eb185614d7b565b830182614e58565b50505b505050565b600082821c905092915050565b6000614edf60001984600802614ec1565b1980831691505092915050565b6000614ef88383614ece565b9150826002028217905092915050565b614f118261370a565b67ffffffffffffffff811115614f2a57614f296139ad565b5b614f348254614506565b614f3f828285614e7b565b600060209050601f831160018114614f725760008415614f60578287015190505b614f6a8582614eec565b865550614fd2565b601f198416614f8086614542565b60005b82811015614fa857848901518255600182019150602085019450602081019050614f83565b86831015614fc55784890151614fc1601f891682614ece565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615036602183613715565b915061504182614fda565b604082019050919050565b6000602082019050818103600083015261506581615029565b9050919050565b600060408201905061508160008301856135a1565b61508e60208301846135a1565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006150f1602883613715565b91506150fc82615095565b604082019050919050565b60006020820190508181036000830152615120816150e4565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615183602583613715565b915061518e82615127565b604082019050919050565b600060208201905081810360008301526151b281615176565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615215602a83613715565b9150615220826151b9565b604082019050919050565b6000602082019050818103600083015261524481615208565b9050919050565b600060408201905081810360008301526152658185613ef2565b905081810360208301526152798184613ef2565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006152de602983613715565b91506152e982615282565b604082019050919050565b6000602082019050818103600083015261530d816152d1565b9050919050565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b600061534a601683613715565b915061535582615314565b602082019050919050565b600060208201905081810360008301526153798161533d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006153a782615380565b6153b1818561538b565b93506153c1818560208601613726565b6153ca81613750565b840191505092915050565b600060a0820190506153ea6000830188613970565b6153f76020830187613970565b61540460408301866135a1565b61541160608301856135a1565b8181036080830152615423818461539c565b90509695505050505050565b60008151905061543e816135f7565b92915050565b60006020828403121561545a576154596134c3565b5b60006154688482850161542f565b91505092915050565b60008160e01c9050919050565b600060033d111561549d5760046000803e61549a600051615471565b90505b90565b600060443d1061552d576154b26134b9565b60043d036004823e80513d602482011167ffffffffffffffff821117156154da57505061552d565b808201805167ffffffffffffffff8111156154f8575050505061552d565b80602083010160043d03850181111561551557505050505061552d565b615524826020018501866139dc565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061558c603483613715565b915061559782615530565b604082019050919050565b600060208201905081810360008301526155bb8161557f565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061561e602883613715565b9150615629826155c2565b604082019050919050565b6000602082019050818103600083015261564d81615611565b9050919050565b600060a0820190506156696000830188613970565b6156766020830187613970565b81810360408301526156888186613ef2565b9050818103606083015261569c8185613ef2565b905081810360808301526156b0818461539c565b9050969550505050505056fea2646970667358221220a7b539502d42b1ccae8968b487f45187d89a8c08a932c0f7a84c74f6adaa1d7f64736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a611610130578063a4722f10116100b8578063e985e9c51161007c578063e985e9c51461069a578063ecba222a146106ca578063f242432a146106e8578063f2fde38b14610704578063fcd1aac91461072057610226565b8063a4722f10146105f8578063b0ccc31e14610628578063b8d1e53214610646578063c0035b2a14610662578063daff97b51461067e57610226565b80638da5cb5b116100ff5780638da5cb5b1461054057806392ab723e1461055e57806395d89b411461058e5780639d7bd08e146105ac578063a22cb465146105dc57610226565b8063715018a6146104ca5780637696e088146104d4578063862440e2146104f057806388aa05971461050c57610226565b80632eb2c2d6116101b35780634e1273f4116101825780634e1273f41461041457806355f804b3146104445780635a4dd47d146104605780635e495d74146104905780635ef9432a146104c057610226565b80632eb2c2d61461038e57806337da577c146103aa5780633cf40df3146103c65780633ff3caab146103e457610226565b80630aab8ba5116101fa5780630aab8ba5146102c55780630e89341c146102f557806314ca5b241461032557806318712c21146103415780632a55205a1461035d57610226565b8062fdd58e1461022b57806301ffc9a71461025b57806304634d8d1461028b57806306fdde03146102a7575b600080fd5b61024560048036038101906102409190613561565b61073c565b60405161025291906135b0565b60405180910390f35b61027560048036038101906102709190613623565b610805565b604051610282919061366b565b60405180910390f35b6102a560048036038101906102a091906136ca565b610817565b005b6102af6108a1565b6040516102bc919061379a565b60405180910390f35b6102df60048036038101906102da91906137bc565b61092f565b6040516102ec9190613802565b60405180910390f35b61030f600480360381019061030a91906137bc565b61094f565b60405161031c919061379a565b60405180910390f35b61033f600480360381019061033a9190613875565b610a34565b005b61035b600480360381019061035691906138f0565b610b36565b005b61037760048036038101906103729190613930565b610bd1565b60405161038592919061397f565b60405180910390f35b6103a860048036038101906103a39190613ba5565b610dbb565b005b6103c460048036038101906103bf9190613930565b610e0e565b005b6103ce610ea9565b6040516103db919061366b565b60405180910390f35b6103fe60048036038101906103f99190613ccf565b610ebc565b60405161040b919061366b565b60405180910390f35b61042e60048036038101906104299190613e1a565b610f58565b60405161043b9190613f50565b60405180910390f35b61045e60048036038101906104599190614013565b611071565b005b61047a600480360381019061047591906137bc565b6110f9565b60405161048791906135b0565b60405180910390f35b6104aa60048036038101906104a591906137bc565b611119565b6040516104b791906135b0565b60405180910390f35b6104c8611139565b005b6104d2611276565b005b6104ee60048036038101906104e99190613930565b6112fe565b005b61050a6004803603810190610505919061405c565b611399565b005b610526600480360381019061052191906137bc565b611423565b6040516105379594939291906140b8565b60405180910390f35b610548611466565b604051610555919061410b565b60405180910390f35b610578600480360381019061057391906137bc565b611475565b60405161058591906135b0565b60405180910390f35b610596611495565b6040516105a3919061379a565b60405180910390f35b6105c660048036038101906105c191906137bc565b611523565b6040516105d3919061366b565b60405180910390f35b6105f660048036038101906105f19190614126565b611550565b005b610612600480360381019061060d9190613561565b6115ce565b60405161061f91906135b0565b60405180910390f35b61063061162c565b60405161063d91906141c5565b60405180910390f35b610660600480360381019061065b91906141e0565b611650565b005b61067c6004803603810190610677919061420d565b61177d565b005b61069860048036038101906106939190614295565b611a84565b005b6106b460048036038101906106af91906142d5565b611b32565b6040516106c1919061366b565b60405180910390f35b6106d2611bc6565b6040516106df919061366b565b60405180910390f35b61070260048036038101906106fd9190614315565b611bd9565b005b61071e600480360381019061071991906141e0565b611c2c565b005b61073a600480360381019061073591906143ac565b611d23565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a39061444b565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061081082611de6565b9050919050565b61081f611e60565b73ffffffffffffffffffffffffffffffffffffffff1661083d611466565b73ffffffffffffffffffffffffffffffffffffffff1614610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a906144b7565b60405180910390fd5b61089d8282611e68565b5050565b600980546108ae90614506565b80601f01602080910402602001604051908101604052809291908181526020018280546108da90614506565b80156109275780601f106108fc57610100808354040283529160200191610927565b820191906000526020600020905b81548152906001019060200180831161090a57829003601f168201915b505050505081565b6000600b6000838152602001908152602001600020600401549050919050565b6060600060056000848152602001908152602001600020805461097190614506565b80601f016020809104026020016040519081016040528092919081815260200182805461099d90614506565b80156109ea5780601f106109bf576101008083540402835291602001916109ea565b820191906000526020600020905b8154815290600101906020018083116109cd57829003601f168201915b505050505090506000815111610a0857610a0383611ffd565b610a2c565b600481604051602001610a1c92919061460b565b6040516020818303038152906040525b915050919050565b610a3c611e60565b73ffffffffffffffffffffffffffffffffffffffff16610a5a611466565b73ffffffffffffffffffffffffffffffffffffffff1614610ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa7906144b7565b60405180910390fd5b83600b600087815260200190815260200160002060000160006101000a81548160ff02191690831515021790555082600b60008781526020019081526020016000206002018190555081600b60008781526020019081526020016000206003018190555080600b6000878152602001908152602001600020600401819055505050505050565b610b3e611e60565b73ffffffffffffffffffffffffffffffffffffffff16610b5c611466565b73ffffffffffffffffffffffffffffffffffffffff1614610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba9906144b7565b60405180910390fd5b80600b6000848152602001908152602001600020600401819055505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610d665760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d70612091565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d9c919061465e565b610da691906146cf565b90508160000151819350935050509250929050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610df957610df83361209b565b5b610e0686868686866121dc565b505050505050565b610e16611e60565b73ffffffffffffffffffffffffffffffffffffffff16610e34611466565b73ffffffffffffffffffffffffffffffffffffffff1614610e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e81906144b7565b60405180910390fd5b80600b6000848152602001908152602001600020600201819055505050565b600c60009054906101000a900460ff1681565b6000808685604051602001610ed2929190614769565b604051602081830303815290604052805190602001209050610f4c848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b6000898152602001908152602001600020600401548361227d565b91505095945050505050565b60608151835114610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590614807565b60405180910390fd5b6000835167ffffffffffffffff811115610fbb57610fba6139ad565b5b604051908082528060200260200182016040528015610fe95781602001602082028036833780820191505090505b50905060005b84518110156110665761103685828151811061100e5761100d614827565b5b602002602001015185838151811061102957611028614827565b5b602002602001015161073c565b82828151811061104957611048614827565b5b6020026020010181815250508061105f90614856565b9050610fef565b508091505092915050565b611079611e60565b73ffffffffffffffffffffffffffffffffffffffff16611097611466565b73ffffffffffffffffffffffffffffffffffffffff16146110ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e4906144b7565b60405180910390fd5b6110f681612294565b50565b6000600b6000838152602001908152602001600020600301549050919050565b6000600b6000838152602001908152602001600020600201549050919050565b611141611466565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111a5576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff16156111ec576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083151502179055507f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1660405160405180910390a1565b61127e611e60565b73ffffffffffffffffffffffffffffffffffffffff1661129c611466565b73ffffffffffffffffffffffffffffffffffffffff16146112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e9906144b7565b60405180910390fd5b6112fc60006122a7565b565b611306611e60565b73ffffffffffffffffffffffffffffffffffffffff16611324611466565b73ffffffffffffffffffffffffffffffffffffffff161461137a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611371906144b7565b60405180910390fd5b80600b6000848152602001908152602001600020600301819055505050565b6113a1611e60565b73ffffffffffffffffffffffffffffffffffffffff166113bf611466565b73ffffffffffffffffffffffffffffffffffffffff1614611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c906144b7565b60405180910390fd5b61141f828261236d565b5050565b600b6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154905085565b6000611470611dbc565b905090565b6000600b6000838152602001908152602001600020600101549050919050565b600a80546114a290614506565b80601f01602080910402602001604051908101604052809291908181526020018280546114ce90614506565b801561151b5780601f106114f05761010080835404028352916020019161151b565b820191906000526020600020905b8154815290600101906020018083116114fe57829003601f168201915b505050505081565b6000600b600083815260200190815260200160002060000160009054906101000a900460ff169050919050565b8161155a8161209b565b60001515600c60009054906101000a900460ff1615151480611580575060001515821515145b6115bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b6906148ea565b60405180910390fd5b6115c983836123d2565b505050565b6000600b600083815260200190815260200160002060050160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611658611466565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116bc576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff1615611703576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de47681604051611772919061410b565b60405180910390a150565b60003384604051602001611792929190614769565b604051602081830303815290604052805190602001209050600b600087815260200190815260200160002060000160009054906101000a900460ff161561180e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180590614956565b60405180910390fd5b611870838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b6000898152602001908152602001600020600401548361227d565b6118af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a6906149c2565b60405180910390fd5b83600b600088815260200190815260200160002060050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548661190f91906149e2565b1115611950576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194790614a62565b60405180910390fd5b600b60008781526020019081526020016000206002015485600b60008981526020019081526020016000206001015461198991906149e2565b11156119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c190614ace565b60405180910390fd5b84600b600088815260200190815260200160002060050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a2d91906149e2565b9250508190555084600b60008881526020019081526020016000206001016000828254611a5a91906149e2565b92505081905550611a7c338787604051806020016040528060008152506123e8565b505050505050565b611a8c611e60565b73ffffffffffffffffffffffffffffffffffffffff16611aaa611466565b73ffffffffffffffffffffffffffffffffffffffff1614611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af7906144b7565b60405180910390fd5b80600b600084815260200190815260200160002060000160006101000a81548160ff0219169083151502179055505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060149054906101000a900460ff1681565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c1757611c163361209b565b5b611c248686868686612599565b505050505050565b611c34611e60565b73ffffffffffffffffffffffffffffffffffffffff16611c52611466565b73ffffffffffffffffffffffffffffffffffffffff1614611ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9f906144b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e90614b60565b60405180910390fd5b611d20816122a7565b50565b611d2b611e60565b73ffffffffffffffffffffffffffffffffffffffff16611d49611466565b73ffffffffffffffffffffffffffffffffffffffff1614611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d96906144b7565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e595750611e588261263a565b5b9050919050565b600033905090565b611e70612091565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590614bf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3490614c5e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60606003805461200c90614506565b80601f016020809104026020016040519081016040528092919081815260200182805461203890614506565b80156120855780601f1061205a57610100808354040283529160200191612085565b820191906000526020600020905b81548152906001019060200180831161206857829003601f168201915b50505050509050919050565b6000612710905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612115575060008173ffffffffffffffffffffffffffffffffffffffff163b115b156121d8578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b8152600401612155929190614c7e565b602060405180830381865afa158015612172573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121969190614cbc565b6121d757816040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121ce919061410b565b60405180910390fd5b5b5050565b6121e4611e60565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061222a575061222985612224611e60565b611b32565b5b612269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226090614d5b565b60405180910390fd5b612276858585858561271c565b5050505050565b60008261228a8584612a40565b1490509392505050565b80600490816122a39190614f08565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060056000848152602001908152602001600020908161238d9190614f08565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b6123b98461094f565b6040516123c6919061379a565b60405180910390a25050565b6123e46123dd611e60565b8383612a96565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244e9061504c565b60405180910390fd5b6000612461611e60565b9050600061246e85612c02565b9050600061247b85612c02565b905061248c83600089858589612c7c565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ec91906149e2565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161256a92919061506c565b60405180910390a461258183600089858589612d8e565b61259083600089898989612d96565b50505050505050565b6125a1611e60565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806125e757506125e6856125e1611e60565b611b32565b5b612626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261d90614d5b565b60405180910390fd5b6126338585858585612f6d565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061270557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061271557506127148261320b565b5b9050919050565b8151835114612760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275790615107565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c690615199565b60405180910390fd5b60006127d9611e60565b90506127e9818787878787612c7c565b60005b845181101561299d57600085828151811061280a57612809614827565b5b60200260200101519050600085838151811061282957612828614827565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156128cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c29061522b565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461298291906149e2565b925050819055505050508061299690614856565b90506127ec565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612a1492919061524b565b60405180910390a4612a2a818787878787612d8e565b612a38818787878787613275565b505050505050565b60008082905060005b8451811015612a8b57612a7682868381518110612a6957612a68614827565b5b602002602001015161344c565b91508080612a8390614856565b915050612a49565b508091505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afb906152f4565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612bf5919061366b565b60405180910390a3505050565b60606000600167ffffffffffffffff811115612c2157612c206139ad565b5b604051908082528060200260200182016040528015612c4f5781602001602082028036833780820191505090505b5090508281600081518110612c6757612c66614827565b5b60200260200101818152505080915050919050565b60001515600c60009054906101000a900460ff1615151480612cca5750600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b80612d015750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80612d39575061dead73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b612d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f90615360565b60405180910390fd5b612d86868686868686613477565b505050505050565b505050505050565b612db58473ffffffffffffffffffffffffffffffffffffffff1661347f565b15612f65578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612dfb9594939291906153d5565b6020604051808303816000875af1925050508015612e3757506040513d601f19601f82011682018060405250810190612e349190615444565b60015b612edc57612e4361547e565b806308c379a003612e9f5750612e576154a0565b80612e625750612ea1565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e96919061379a565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed3906155a2565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a90615634565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd390615199565b60405180910390fd5b6000612fe6611e60565b90506000612ff385612c02565b9050600061300085612c02565b9050613010838989858589612c7c565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156130a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309f9061522b565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461315f91906149e2565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516131dc92919061506c565b60405180910390a46131f2848a8a86868a612d8e565b613200848a8a8a8a8a612d96565b505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132948473ffffffffffffffffffffffffffffffffffffffff1661347f565b15613444578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016132da959493929190615654565b6020604051808303816000875af192505050801561331657506040513d601f19601f820116820180604052508101906133139190615444565b60015b6133bb5761332261547e565b806308c379a00361337e57506133366154a0565b806133415750613380565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613375919061379a565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b2906155a2565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343990615634565b60405180910390fd5b505b505050505050565b60008183106134645761345f82846134a2565b61346f565b61346e83836134a2565b5b905092915050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134f8826134cd565b9050919050565b613508816134ed565b811461351357600080fd5b50565b600081359050613525816134ff565b92915050565b6000819050919050565b61353e8161352b565b811461354957600080fd5b50565b60008135905061355b81613535565b92915050565b60008060408385031215613578576135776134c3565b5b600061358685828601613516565b92505060206135978582860161354c565b9150509250929050565b6135aa8161352b565b82525050565b60006020820190506135c560008301846135a1565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613600816135cb565b811461360b57600080fd5b50565b60008135905061361d816135f7565b92915050565b600060208284031215613639576136386134c3565b5b60006136478482850161360e565b91505092915050565b60008115159050919050565b61366581613650565b82525050565b6000602082019050613680600083018461365c565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6136a781613686565b81146136b257600080fd5b50565b6000813590506136c48161369e565b92915050565b600080604083850312156136e1576136e06134c3565b5b60006136ef85828601613516565b9250506020613700858286016136b5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613744578082015181840152602081019050613729565b60008484015250505050565b6000601f19601f8301169050919050565b600061376c8261370a565b6137768185613715565b9350613786818560208601613726565b61378f81613750565b840191505092915050565b600060208201905081810360008301526137b48184613761565b905092915050565b6000602082840312156137d2576137d16134c3565b5b60006137e08482850161354c565b91505092915050565b6000819050919050565b6137fc816137e9565b82525050565b600060208201905061381760008301846137f3565b92915050565b61382681613650565b811461383157600080fd5b50565b6000813590506138438161381d565b92915050565b613852816137e9565b811461385d57600080fd5b50565b60008135905061386f81613849565b92915050565b600080600080600060a08688031215613891576138906134c3565b5b600061389f8882890161354c565b95505060206138b088828901613834565b94505060406138c18882890161354c565b93505060606138d28882890161354c565b92505060806138e388828901613860565b9150509295509295909350565b60008060408385031215613907576139066134c3565b5b60006139158582860161354c565b925050602061392685828601613860565b9150509250929050565b60008060408385031215613947576139466134c3565b5b60006139558582860161354c565b92505060206139668582860161354c565b9150509250929050565b613979816134ed565b82525050565b60006040820190506139946000830185613970565b6139a160208301846135a1565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139e582613750565b810181811067ffffffffffffffff82111715613a0457613a036139ad565b5b80604052505050565b6000613a176134b9565b9050613a2382826139dc565b919050565b600067ffffffffffffffff821115613a4357613a426139ad565b5b602082029050602081019050919050565b600080fd5b6000613a6c613a6784613a28565b613a0d565b90508083825260208201905060208402830185811115613a8f57613a8e613a54565b5b835b81811015613ab85780613aa4888261354c565b845260208401935050602081019050613a91565b5050509392505050565b600082601f830112613ad757613ad66139a8565b5b8135613ae7848260208601613a59565b91505092915050565b600080fd5b600067ffffffffffffffff821115613b1057613b0f6139ad565b5b613b1982613750565b9050602081019050919050565b82818337600083830152505050565b6000613b48613b4384613af5565b613a0d565b905082815260208101848484011115613b6457613b63613af0565b5b613b6f848285613b26565b509392505050565b600082601f830112613b8c57613b8b6139a8565b5b8135613b9c848260208601613b35565b91505092915050565b600080600080600060a08688031215613bc157613bc06134c3565b5b6000613bcf88828901613516565b9550506020613be088828901613516565b945050604086013567ffffffffffffffff811115613c0157613c006134c8565b5b613c0d88828901613ac2565b935050606086013567ffffffffffffffff811115613c2e57613c2d6134c8565b5b613c3a88828901613ac2565b925050608086013567ffffffffffffffff811115613c5b57613c5a6134c8565b5b613c6788828901613b77565b9150509295509295909350565b600080fd5b60008083601f840112613c8f57613c8e6139a8565b5b8235905067ffffffffffffffff811115613cac57613cab613c74565b5b602083019150836020820283011115613cc857613cc7613a54565b5b9250929050565b600080600080600060808688031215613ceb57613cea6134c3565b5b6000613cf988828901613516565b9550506020613d0a8882890161354c565b9450506040613d1b8882890161354c565b935050606086013567ffffffffffffffff811115613d3c57613d3b6134c8565b5b613d4888828901613c79565b92509250509295509295909350565b600067ffffffffffffffff821115613d7257613d716139ad565b5b602082029050602081019050919050565b6000613d96613d9184613d57565b613a0d565b90508083825260208201905060208402830185811115613db957613db8613a54565b5b835b81811015613de25780613dce8882613516565b845260208401935050602081019050613dbb565b5050509392505050565b600082601f830112613e0157613e006139a8565b5b8135613e11848260208601613d83565b91505092915050565b60008060408385031215613e3157613e306134c3565b5b600083013567ffffffffffffffff811115613e4f57613e4e6134c8565b5b613e5b85828601613dec565b925050602083013567ffffffffffffffff811115613e7c57613e7b6134c8565b5b613e8885828601613ac2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ec78161352b565b82525050565b6000613ed98383613ebe565b60208301905092915050565b6000602082019050919050565b6000613efd82613e92565b613f078185613e9d565b9350613f1283613eae565b8060005b83811015613f43578151613f2a8882613ecd565b9750613f3583613ee5565b925050600181019050613f16565b5085935050505092915050565b60006020820190508181036000830152613f6a8184613ef2565b905092915050565b600067ffffffffffffffff821115613f8d57613f8c6139ad565b5b613f9682613750565b9050602081019050919050565b6000613fb6613fb184613f72565b613a0d565b905082815260208101848484011115613fd257613fd1613af0565b5b613fdd848285613b26565b509392505050565b600082601f830112613ffa57613ff96139a8565b5b813561400a848260208601613fa3565b91505092915050565b600060208284031215614029576140286134c3565b5b600082013567ffffffffffffffff811115614047576140466134c8565b5b61405384828501613fe5565b91505092915050565b60008060408385031215614073576140726134c3565b5b60006140818582860161354c565b925050602083013567ffffffffffffffff8111156140a2576140a16134c8565b5b6140ae85828601613fe5565b9150509250929050565b600060a0820190506140cd600083018861365c565b6140da60208301876135a1565b6140e760408301866135a1565b6140f460608301856135a1565b61410160808301846137f3565b9695505050505050565b60006020820190506141206000830184613970565b92915050565b6000806040838503121561413d5761413c6134c3565b5b600061414b85828601613516565b925050602061415c85828601613834565b9150509250929050565b6000819050919050565b600061418b614186614181846134cd565b614166565b6134cd565b9050919050565b600061419d82614170565b9050919050565b60006141af82614192565b9050919050565b6141bf816141a4565b82525050565b60006020820190506141da60008301846141b6565b92915050565b6000602082840312156141f6576141f56134c3565b5b600061420484828501613516565b91505092915050565b600080600080600060808688031215614229576142286134c3565b5b60006142378882890161354c565b95505060206142488882890161354c565b94505060406142598882890161354c565b935050606086013567ffffffffffffffff81111561427a576142796134c8565b5b61428688828901613c79565b92509250509295509295909350565b600080604083850312156142ac576142ab6134c3565b5b60006142ba8582860161354c565b92505060206142cb85828601613834565b9150509250929050565b600080604083850312156142ec576142eb6134c3565b5b60006142fa85828601613516565b925050602061430b85828601613516565b9150509250929050565b600080600080600060a08688031215614331576143306134c3565b5b600061433f88828901613516565b955050602061435088828901613516565b94505060406143618882890161354c565b93505060606143728882890161354c565b925050608086013567ffffffffffffffff811115614393576143926134c8565b5b61439f88828901613b77565b9150509295509295909350565b6000602082840312156143c2576143c16134c3565b5b60006143d084828501613834565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000614435602a83613715565b9150614440826143d9565b604082019050919050565b6000602082019050818103600083015261446481614428565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144a1602083613715565b91506144ac8261446b565b602082019050919050565b600060208201905081810360008301526144d081614494565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061451e57607f821691505b602082108103614531576145306144d7565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461456481614506565b61456e8186614537565b94506001821660008114614589576001811461459e576145d1565b60ff19831686528115158202860193506145d1565b6145a785614542565b60005b838110156145c9578154818901526001820191506020810190506145aa565b838801955050505b50505092915050565b60006145e58261370a565b6145ef8185614537565b93506145ff818560208601613726565b80840191505092915050565b60006146178285614557565b915061462382846145da565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146698261352b565b91506146748361352b565b92508282026146828161352b565b915082820484148315176146995761469861462f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146da8261352b565b91506146e58361352b565b9250826146f5576146f46146a0565b5b828204905092915050565b60008160601b9050919050565b600061471882614700565b9050919050565b600061472a8261470d565b9050919050565b61474261473d826134ed565b61471f565b82525050565b6000819050919050565b61476361475e8261352b565b614748565b82525050565b60006147758285614731565b6014820191506147858284614752565b6020820191508190509392505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006147f1602983613715565b91506147fc82614795565b604082019050919050565b60006020820190508181036000830152614820816147e4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006148618261352b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148935761489261462f565b5b600182019050919050565b7f736574417070726f76616c466f72416c6c2069732070726f6869626974656400600082015250565b60006148d4601f83613715565b91506148df8261489e565b602082019050919050565b60006020820190508181036000830152614903816148c7565b9050919050565b7f54686520746f6b656e4964206973207061757365640000000000000000000000600082015250565b6000614940601583613715565b915061494b8261490a565b602082019050919050565b6000602082019050818103600083015261496f81614933565b9050919050565b7f596f75204e6f7420414c00000000000000000000000000000000000000000000600082015250565b60006149ac600a83613715565b91506149b782614976565b602082019050919050565b600060208201905081810360008301526149db8161499f565b9050919050565b60006149ed8261352b565b91506149f88361352b565b9250828201905080821115614a1057614a0f61462f565b5b92915050565b7f596f7520616c7265616479207265636569766564000000000000000000000000600082015250565b6000614a4c601483613715565b9150614a5782614a16565b602082019050919050565b60006020820190508181036000830152614a7b81614a3f565b9050919050565b7f4d696e74206578636565646564206c696d697400000000000000000000000000600082015250565b6000614ab8601383613715565b9150614ac382614a82565b602082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b4a602683613715565b9150614b5582614aee565b604082019050919050565b60006020820190508181036000830152614b7981614b3d565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614bdc602a83613715565b9150614be782614b80565b604082019050919050565b60006020820190508181036000830152614c0b81614bcf565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614c48601983613715565b9150614c5382614c12565b602082019050919050565b60006020820190508181036000830152614c7781614c3b565b9050919050565b6000604082019050614c936000830185613970565b614ca06020830184613970565b9392505050565b600081519050614cb68161381d565b92915050565b600060208284031215614cd257614cd16134c3565b5b6000614ce084828501614ca7565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614d45602e83613715565b9150614d5082614ce9565b604082019050919050565b60006020820190508181036000830152614d7481614d38565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614dc87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614d8b565b614dd28683614d8b565b95508019841693508086168417925050509392505050565b6000614e05614e00614dfb8461352b565b614166565b61352b565b9050919050565b6000819050919050565b614e1f83614dea565b614e33614e2b82614e0c565b848454614d98565b825550505050565b600090565b614e48614e3b565b614e53818484614e16565b505050565b5b81811015614e7757614e6c600082614e40565b600181019050614e59565b5050565b601f821115614ebc57614e8d81614542565b614e9684614d7b565b81016020851015614ea5578190505b614eb9614eb185614d7b565b830182614e58565b50505b505050565b600082821c905092915050565b6000614edf60001984600802614ec1565b1980831691505092915050565b6000614ef88383614ece565b9150826002028217905092915050565b614f118261370a565b67ffffffffffffffff811115614f2a57614f296139ad565b5b614f348254614506565b614f3f828285614e7b565b600060209050601f831160018114614f725760008415614f60578287015190505b614f6a8582614eec565b865550614fd2565b601f198416614f8086614542565b60005b82811015614fa857848901518255600182019150602085019450602081019050614f83565b86831015614fc55784890151614fc1601f891682614ece565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615036602183613715565b915061504182614fda565b604082019050919050565b6000602082019050818103600083015261506581615029565b9050919050565b600060408201905061508160008301856135a1565b61508e60208301846135a1565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006150f1602883613715565b91506150fc82615095565b604082019050919050565b60006020820190508181036000830152615120816150e4565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615183602583613715565b915061518e82615127565b604082019050919050565b600060208201905081810360008301526151b281615176565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615215602a83613715565b9150615220826151b9565b604082019050919050565b6000602082019050818103600083015261524481615208565b9050919050565b600060408201905081810360008301526152658185613ef2565b905081810360208301526152798184613ef2565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006152de602983613715565b91506152e982615282565b604082019050919050565b6000602082019050818103600083015261530d816152d1565b9050919050565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b600061534a601683613715565b915061535582615314565b602082019050919050565b600060208201905081810360008301526153798161533d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006153a782615380565b6153b1818561538b565b93506153c1818560208601613726565b6153ca81613750565b840191505092915050565b600060a0820190506153ea6000830188613970565b6153f76020830187613970565b61540460408301866135a1565b61541160608301856135a1565b8181036080830152615423818461539c565b90509695505050505050565b60008151905061543e816135f7565b92915050565b60006020828403121561545a576154596134c3565b5b60006154688482850161542f565b91505092915050565b60008160e01c9050919050565b600060033d111561549d5760046000803e61549a600051615471565b90505b90565b600060443d1061552d576154b26134b9565b60043d036004823e80513d602482011167ffffffffffffffff821117156154da57505061552d565b808201805167ffffffffffffffff8111156154f8575050505061552d565b80602083010160043d03850181111561551557505050505061552d565b615524826020018501866139dc565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061558c603483613715565b915061559782615530565b604082019050919050565b600060208201905081810360008301526155bb8161557f565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061561e602883613715565b9150615629826155c2565b604082019050919050565b6000602082019050818103600083015261564d81615611565b9050919050565b600060a0820190506156696000830188613970565b6156766020830187613970565b81810360408301526156888186613ef2565b9050818103606083015261569c8185613ef2565b905081810360808301526156b0818461539c565b9050969550505050505056fea2646970667358221220a7b539502d42b1ccae8968b487f45187d89a8c08a932c0f7a84c74f6adaa1d7f64736f6c63430008110033
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.