Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
1
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
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 = "KOJIPRO Music Video NFTs"; symbol = "KMVN"; dataByTokenId[1].paused = true; dataByTokenId[1].maxSupply = 6000; dataByTokenId[1].cost = 0; dataByTokenId[1] .merkleRoot = 0x69e06ea7bb1c9324cce486ed497d01584cc3548e9442174d535c07eb3b163d8a; setDefaultRoyalty(0x67582F38b7FE150D8530491Ee96945691f7793eC, 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, ""); } function ownerMint(uint256 _tokenId,uint256 _mintAmount, address _receiver) public onlyOwner { //check require( (dataByTokenId[_tokenId].totalSupply + _mintAmount) <= dataByTokenId[_tokenId].maxSupply, "Mint exceeded limit" ); //effect dataByTokenId[_tokenId].totalSupply += _mintAmount; //interaction _mint(_receiver, _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 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 getTotalSupply(uint256 _tokenId) public view returns (uint256) { return dataByTokenId[_tokenId].totalSupply; } 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":"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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","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
6080604052604051806020016040528060008152506004908162000024919062000a84565b506000600c60006101000a81548160ff0219169083151502179055503480156200004d57600080fd5b50604051806020016040528060008152506daaeb6d7670e522a718067333cd4e733cc6cdda760b79bafa08df41ecfa224f810dceb660018282826000839050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008173ffffffffffffffffffffffffffffffffffffffff163b1115620002895781156200016b578073ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30856040518363ffffffff1660e01b81526004016200013192919062000bb0565b600060405180830381600087803b1580156200014c57600080fd5b505af115801562000161573d6000803e3d6000fd5b5050505062000288565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000217578073ffffffffffffffffffffffffffffffffffffffff1663a0af290330856040518363ffffffff1660e01b8152600401620001dd92919062000bb0565b600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b5050505062000287565b8073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000252919062000bdd565b600060405180830381600087803b1580156200026d57600080fd5b505af115801562000282573d6000803e3d6000fd5b505050505b5b5b50505050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620002f4576040517fc49d17ad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505062000308816200048f60201b60201c565b50620003296200031d620004a460201b60201c565b620004ac60201b60201c565b6040518060400160405280601881526020017f4b4f4a4950524f204d7573696320566964656f204e4654730000000000000000815250600990816200036f919062000a84565b506040518060400160405280600481526020017f4b4d564e00000000000000000000000000000000000000000000000000000000815250600a9081620003b6919062000a84565b506001600b60006001815260200190815260200160002060000160006101000a81548160ff021916908315150217905550611770600b600060018152602001908152602001600020600201819055506000600b600060018152602001908152602001600020600301819055507f69e06ea7bb1c9324cce486ed497d01584cc3548e9442174d535c07eb3b163d8a60001b600b60006001815260200190815260200160002060040181905550620004897367582f38b7fe150d8530491ee96945691f7793ec6103e86200057260201b60201c565b62000d87565b8060039081620004a0919062000a84565b5050565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000582620004a460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005a86200061760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000601576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005f89062000c5b565b60405180910390fd5b6200061382826200063360201b60201c565b5050565b60006200062e620007d660201b62001ebe1760201c565b905090565b620006436200080060201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620006a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200069b9062000cf3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000716576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200070d9062000d65565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612710905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200088c57607f821691505b602082108103620008a257620008a162000844565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200090c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620008cd565b620009188683620008cd565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620009656200095f620009598462000930565b6200093a565b62000930565b9050919050565b6000819050919050565b620009818362000944565b6200099962000990826200096c565b848454620008da565b825550505050565b600090565b620009b0620009a1565b620009bd81848462000976565b505050565b5b81811015620009e557620009d9600082620009a6565b600181019050620009c3565b5050565b601f82111562000a3457620009fe81620008a8565b62000a0984620008bd565b8101602085101562000a19578190505b62000a3162000a2885620008bd565b830182620009c2565b50505b505050565b600082821c905092915050565b600062000a596000198460080262000a39565b1980831691505092915050565b600062000a74838362000a46565b9150826002028217905092915050565b62000a8f826200080a565b67ffffffffffffffff81111562000aab5762000aaa62000815565b5b62000ab7825462000873565b62000ac4828285620009e9565b600060209050601f83116001811462000afc576000841562000ae7578287015190505b62000af3858262000a66565b86555062000b63565b601f19841662000b0c86620008a8565b60005b8281101562000b365784890151825560018201915060208501945060208101905062000b0f565b8683101562000b56578489015162000b52601f89168262000a46565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b988262000b6b565b9050919050565b62000baa8162000b8b565b82525050565b600060408201905062000bc7600083018562000b9f565b62000bd6602083018462000b9f565b9392505050565b600060208201905062000bf4600083018462000b9f565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000c4360208362000bfa565b915062000c508262000c0b565b602082019050919050565b6000602082019050818103600083015262000c768162000c34565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000cdb602a8362000bfa565b915062000ce88262000c7d565b604082019050919050565b6000602082019050818103600083015262000d0e8162000ccc565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000d4d60198362000bfa565b915062000d5a8262000d15565b602082019050919050565b6000602082019050818103600083015262000d808162000d3e565b9050919050565b6158478062000d976000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c80635ef9432a11610130578063a4722f10116100b8578063e985e9c51161007c578063e985e9c514610686578063ecba222a146106b6578063f242432a146106d4578063f2fde38b146106f0578063fcd1aac91461070c57610226565b8063a4722f10146105e4578063b0ccc31e14610614578063b8d1e53214610632578063c0035b2a1461064e578063daff97b51461066a57610226565b806388aa0597116100ff57806388aa0597146105285780638da5cb5b1461055c57806392ab723e1461057a57806395d89b41146105aa578063a22cb465146105c857610226565b80635ef9432a146104dc578063715018a6146104e65780637696e088146104f0578063862440e21461050c57610226565b80632eb2c2d6116101b35780634d588a91116101825780634d588a91146104145780634e1273f41461043057806355f804b3146104605780635a4dd47d1461047c5780635e495d74146104ac57610226565b80632eb2c2d61461038e57806337da577c146103aa5780633cf40df3146103c65780633ff3caab146103e457610226565b80630aab8ba5116101fa5780630aab8ba5146102c55780630e89341c146102f557806314ca5b241461032557806318712c21146103415780632a55205a1461035d57610226565b8062fdd58e1461022b57806301ffc9a71461025b57806304634d8d1461028b57806306fdde03146102a7575b600080fd5b61024560048036038101906102409190613663565b610728565b60405161025291906136b2565b60405180910390f35b61027560048036038101906102709190613725565b6107f1565b604051610282919061376d565b60405180910390f35b6102a560048036038101906102a091906137cc565b610803565b005b6102af61088d565b6040516102bc919061389c565b60405180910390f35b6102df60048036038101906102da91906138be565b61091b565b6040516102ec9190613904565b60405180910390f35b61030f600480360381019061030a91906138be565b61093b565b60405161031c919061389c565b60405180910390f35b61033f600480360381019061033a9190613977565b610a20565b005b61035b600480360381019061035691906139f2565b610b22565b005b61037760048036038101906103729190613a32565b610bbd565b604051610385929190613a81565b60405180910390f35b6103a860048036038101906103a39190613ca7565b610da7565b005b6103c460048036038101906103bf9190613a32565b610dfa565b005b6103ce610e95565b6040516103db919061376d565b60405180910390f35b6103fe60048036038101906103f99190613dd1565b610ea8565b60405161040b919061376d565b60405180910390f35b61042e60048036038101906104299190613e59565b610f44565b005b61044a60048036038101906104459190613f6f565b611087565b60405161045791906140a5565b60405180910390f35b61047a60048036038101906104759190614168565b6111a0565b005b610496600480360381019061049191906138be565b611228565b6040516104a391906136b2565b60405180910390f35b6104c660048036038101906104c191906138be565b611248565b6040516104d391906136b2565b60405180910390f35b6104e4611268565b005b6104ee6113a5565b005b61050a60048036038101906105059190613a32565b61142d565b005b610526600480360381019061052191906141b1565b6114c8565b005b610542600480360381019061053d91906138be565b611552565b60405161055395949392919061420d565b60405180910390f35b610564611595565b6040516105719190614260565b60405180910390f35b610594600480360381019061058f91906138be565b6115a4565b6040516105a191906136b2565b60405180910390f35b6105b26115c4565b6040516105bf919061389c565b60405180910390f35b6105e260048036038101906105dd919061427b565b611652565b005b6105fe60048036038101906105f99190613663565b6116d0565b60405161060b91906136b2565b60405180910390f35b61061c61172e565b604051610629919061431a565b60405180910390f35b61064c60048036038101906106479190614335565b611752565b005b61066860048036038101906106639190614362565b61187f565b005b610684600480360381019061067f91906143ea565b611b86565b005b6106a0600480360381019061069b919061442a565b611c34565b6040516106ad919061376d565b60405180910390f35b6106be611cc8565b6040516106cb919061376d565b60405180910390f35b6106ee60048036038101906106e9919061446a565b611cdb565b005b61070a60048036038101906107059190614335565b611d2e565b005b61072660048036038101906107219190614501565b611e25565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078f906145a0565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107fc82611ee8565b9050919050565b61080b611f62565b73ffffffffffffffffffffffffffffffffffffffff16610829611595565b73ffffffffffffffffffffffffffffffffffffffff161461087f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108769061460c565b60405180910390fd5b6108898282611f6a565b5050565b6009805461089a9061465b565b80601f01602080910402602001604051908101604052809291908181526020018280546108c69061465b565b80156109135780601f106108e857610100808354040283529160200191610913565b820191906000526020600020905b8154815290600101906020018083116108f657829003601f168201915b505050505081565b6000600b6000838152602001908152602001600020600401549050919050565b6060600060056000848152602001908152602001600020805461095d9061465b565b80601f01602080910402602001604051908101604052809291908181526020018280546109899061465b565b80156109d65780601f106109ab576101008083540402835291602001916109d6565b820191906000526020600020905b8154815290600101906020018083116109b957829003601f168201915b5050505050905060008151116109f4576109ef836120ff565b610a18565b600481604051602001610a08929190614760565b6040516020818303038152906040525b915050919050565b610a28611f62565b73ffffffffffffffffffffffffffffffffffffffff16610a46611595565b73ffffffffffffffffffffffffffffffffffffffff1614610a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a939061460c565b60405180910390fd5b83600b600087815260200190815260200160002060000160006101000a81548160ff02191690831515021790555082600b60008781526020019081526020016000206002018190555081600b60008781526020019081526020016000206003018190555080600b6000878152602001908152602001600020600401819055505050505050565b610b2a611f62565b73ffffffffffffffffffffffffffffffffffffffff16610b48611595565b73ffffffffffffffffffffffffffffffffffffffff1614610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b959061460c565b60405180910390fd5b80600b6000848152602001908152602001600020600401819055505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610d525760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d5c612193565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d8891906147b3565b610d929190614824565b90508160000151819350935050509250929050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610de557610de43361219d565b5b610df286868686866122de565b505050505050565b610e02611f62565b73ffffffffffffffffffffffffffffffffffffffff16610e20611595565b73ffffffffffffffffffffffffffffffffffffffff1614610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d9061460c565b60405180910390fd5b80600b6000848152602001908152602001600020600201819055505050565b600c60009054906101000a900460ff1681565b6000808685604051602001610ebe9291906148be565b604051602081830303815290604052805190602001209050610f38848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b6000898152602001908152602001600020600401548361237f565b91505095945050505050565b610f4c611f62565b73ffffffffffffffffffffffffffffffffffffffff16610f6a611595565b73ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb79061460c565b60405180910390fd5b600b60008481526020019081526020016000206002015482600b600086815260200190815260200160002060010154610ff991906148ea565b111561103a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110319061496a565b60405180910390fd5b81600b6000858152602001908152602001600020600101600082825461106091906148ea565b9250508190555061108281848460405180602001604052806000815250612396565b505050565b606081518351146110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c4906149fc565b60405180910390fd5b6000835167ffffffffffffffff8111156110ea576110e9613aaf565b5b6040519080825280602002602001820160405280156111185781602001602082028036833780820191505090505b50905060005b84518110156111955761116585828151811061113d5761113c614a1c565b5b602002602001015185838151811061115857611157614a1c565b5b6020026020010151610728565b82828151811061117857611177614a1c565b5b6020026020010181815250508061118e90614a4b565b905061111e565b508091505092915050565b6111a8611f62565b73ffffffffffffffffffffffffffffffffffffffff166111c6611595565b73ffffffffffffffffffffffffffffffffffffffff161461121c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112139061460c565b60405180910390fd5b61122581612547565b50565b6000600b6000838152602001908152602001600020600301549050919050565b6000600b6000838152602001908152602001600020600201549050919050565b611270611595565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112d4576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff161561131b576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083151502179055507f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1660405160405180910390a1565b6113ad611f62565b73ffffffffffffffffffffffffffffffffffffffff166113cb611595565b73ffffffffffffffffffffffffffffffffffffffff1614611421576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114189061460c565b60405180910390fd5b61142b600061255a565b565b611435611f62565b73ffffffffffffffffffffffffffffffffffffffff16611453611595565b73ffffffffffffffffffffffffffffffffffffffff16146114a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a09061460c565b60405180910390fd5b80600b6000848152602001908152602001600020600301819055505050565b6114d0611f62565b73ffffffffffffffffffffffffffffffffffffffff166114ee611595565b73ffffffffffffffffffffffffffffffffffffffff1614611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b9061460c565b60405180910390fd5b61154e8282612620565b5050565b600b6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154905085565b600061159f611ebe565b905090565b6000600b6000838152602001908152602001600020600101549050919050565b600a80546115d19061465b565b80601f01602080910402602001604051908101604052809291908181526020018280546115fd9061465b565b801561164a5780601f1061161f5761010080835404028352916020019161164a565b820191906000526020600020905b81548152906001019060200180831161162d57829003601f168201915b505050505081565b8161165c8161219d565b60001515600c60009054906101000a900460ff1615151480611682575060001515821515145b6116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b890614adf565b60405180910390fd5b6116cb8383612685565b505050565b6000600b600083815260200190815260200160002060050160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61175a611595565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117be576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff1615611805576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de476816040516118749190614260565b60405180910390a150565b600033846040516020016118949291906148be565b604051602081830303815290604052805190602001209050600b600087815260200190815260200160002060000160009054906101000a900460ff1615611910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190790614b4b565b60405180910390fd5b611972838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b6000898152602001908152602001600020600401548361237f565b6119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a890614bb7565b60405180910390fd5b83600b600088815260200190815260200160002060050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205486611a1191906148ea565b1115611a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4990614c23565b60405180910390fd5b600b60008781526020019081526020016000206002015485600b600089815260200190815260200160002060010154611a8b91906148ea565b1115611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac39061496a565b60405180910390fd5b84600b600088815260200190815260200160002060050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b2f91906148ea565b9250508190555084600b60008881526020019081526020016000206001016000828254611b5c91906148ea565b92505081905550611b7e33878760405180602001604052806000815250612396565b505050505050565b611b8e611f62565b73ffffffffffffffffffffffffffffffffffffffff16611bac611595565b73ffffffffffffffffffffffffffffffffffffffff1614611c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf99061460c565b60405180910390fd5b80600b600084815260200190815260200160002060000160006101000a81548160ff0219169083151502179055505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060149054906101000a900460ff1681565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d1957611d183361219d565b5b611d26868686868661269b565b505050505050565b611d36611f62565b73ffffffffffffffffffffffffffffffffffffffff16611d54611595565b73ffffffffffffffffffffffffffffffffffffffff1614611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da19061460c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1090614cb5565b60405180910390fd5b611e228161255a565b50565b611e2d611f62565b73ffffffffffffffffffffffffffffffffffffffff16611e4b611595565b73ffffffffffffffffffffffffffffffffffffffff1614611ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e989061460c565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f5b5750611f5a8261273c565b5b9050919050565b600033905090565b611f72612193565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc790614d47565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361203f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203690614db3565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60606003805461210e9061465b565b80601f016020809104026020016040519081016040528092919081815260200182805461213a9061465b565b80156121875780601f1061215c57610100808354040283529160200191612187565b820191906000526020600020905b81548152906001019060200180831161216a57829003601f168201915b50505050509050919050565b6000612710905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612217575060008173ffffffffffffffffffffffffffffffffffffffff163b115b156122da578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b8152600401612257929190614dd3565b602060405180830381865afa158015612274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122989190614e11565b6122d957816040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016122d09190614260565b60405180910390fd5b5b5050565b6122e6611f62565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061232c575061232b85612326611f62565b611c34565b5b61236b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236290614eb0565b60405180910390fd5b612378858585858561281e565b5050505050565b60008261238c8584612b42565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fc90614f42565b60405180910390fd5b600061240f611f62565b9050600061241c85612b98565b9050600061242985612b98565b905061243a83600089858589612c12565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461249a91906148ea565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612518929190614f62565b60405180910390a461252f83600089858589612d24565b61253e83600089898989612d2c565b50505050505050565b80600490816125569190615118565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b806005600084815260200190815260200160002090816126409190615118565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61266c8461093b565b604051612679919061389c565b60405180910390a25050565b612697612690611f62565b8383612f03565b5050565b6126a3611f62565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806126e957506126e8856126e3611f62565b611c34565b5b612728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271f90614eb0565b60405180910390fd5b612735858585858561306f565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061280757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061281757506128168261330d565b5b9050919050565b8151835114612862576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128599061525c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036128d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c8906152ee565b60405180910390fd5b60006128db611f62565b90506128eb818787878787612c12565b60005b8451811015612a9f57600085828151811061290c5761290b614a1c565b5b60200260200101519050600085838151811061292b5761292a614a1c565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156129cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c490615380565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8491906148ea565b9250508190555050505080612a9890614a4b565b90506128ee565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612b169291906153a0565b60405180910390a4612b2c818787878787612d24565b612b3a818787878787613377565b505050505050565b60008082905060005b8451811015612b8d57612b7882868381518110612b6b57612b6a614a1c565b5b602002602001015161354e565b91508080612b8590614a4b565b915050612b4b565b508091505092915050565b60606000600167ffffffffffffffff811115612bb757612bb6613aaf565b5b604051908082528060200260200182016040528015612be55781602001602082028036833780820191505090505b5090508281600081518110612bfd57612bfc614a1c565b5b60200260200101818152505080915050919050565b60001515600c60009054906101000a900460ff1615151480612c605750600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b80612c975750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80612ccf575061dead73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b612d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0590615423565b60405180910390fd5b612d1c868686868686613579565b505050505050565b505050505050565b612d4b8473ffffffffffffffffffffffffffffffffffffffff16613581565b15612efb578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612d91959493929190615498565b6020604051808303816000875af1925050508015612dcd57506040513d601f19601f82011682018060405250810190612dca9190615507565b60015b612e7257612dd9615541565b806308c379a003612e355750612ded615563565b80612df85750612e37565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2c919061389c565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6990615665565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef0906156f7565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6890615789565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613062919061376d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036130de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d5906152ee565b60405180910390fd5b60006130e8611f62565b905060006130f585612b98565b9050600061310285612b98565b9050613112838989858589612c12565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156131aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a190615380565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461326191906148ea565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516132de929190614f62565b60405180910390a46132f4848a8a86868a612d24565b613302848a8a8a8a8a612d2c565b505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133968473ffffffffffffffffffffffffffffffffffffffff16613581565b15613546578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016133dc9594939291906157a9565b6020604051808303816000875af192505050801561341857506040513d601f19601f820116820180604052508101906134159190615507565b60015b6134bd57613424615541565b806308c379a0036134805750613438615563565b806134435750613482565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613477919061389c565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b490615665565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353b906156f7565b60405180910390fd5b505b505050505050565b60008183106135665761356182846135a4565b613571565b61357083836135a4565b5b905092915050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135fa826135cf565b9050919050565b61360a816135ef565b811461361557600080fd5b50565b60008135905061362781613601565b92915050565b6000819050919050565b6136408161362d565b811461364b57600080fd5b50565b60008135905061365d81613637565b92915050565b6000806040838503121561367a576136796135c5565b5b600061368885828601613618565b92505060206136998582860161364e565b9150509250929050565b6136ac8161362d565b82525050565b60006020820190506136c760008301846136a3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613702816136cd565b811461370d57600080fd5b50565b60008135905061371f816136f9565b92915050565b60006020828403121561373b5761373a6135c5565b5b600061374984828501613710565b91505092915050565b60008115159050919050565b61376781613752565b82525050565b6000602082019050613782600083018461375e565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6137a981613788565b81146137b457600080fd5b50565b6000813590506137c6816137a0565b92915050565b600080604083850312156137e3576137e26135c5565b5b60006137f185828601613618565b9250506020613802858286016137b7565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561384657808201518184015260208101905061382b565b60008484015250505050565b6000601f19601f8301169050919050565b600061386e8261380c565b6138788185613817565b9350613888818560208601613828565b61389181613852565b840191505092915050565b600060208201905081810360008301526138b68184613863565b905092915050565b6000602082840312156138d4576138d36135c5565b5b60006138e28482850161364e565b91505092915050565b6000819050919050565b6138fe816138eb565b82525050565b600060208201905061391960008301846138f5565b92915050565b61392881613752565b811461393357600080fd5b50565b6000813590506139458161391f565b92915050565b613954816138eb565b811461395f57600080fd5b50565b6000813590506139718161394b565b92915050565b600080600080600060a08688031215613993576139926135c5565b5b60006139a18882890161364e565b95505060206139b288828901613936565b94505060406139c38882890161364e565b93505060606139d48882890161364e565b92505060806139e588828901613962565b9150509295509295909350565b60008060408385031215613a0957613a086135c5565b5b6000613a178582860161364e565b9250506020613a2885828601613962565b9150509250929050565b60008060408385031215613a4957613a486135c5565b5b6000613a578582860161364e565b9250506020613a688582860161364e565b9150509250929050565b613a7b816135ef565b82525050565b6000604082019050613a966000830185613a72565b613aa360208301846136a3565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ae782613852565b810181811067ffffffffffffffff82111715613b0657613b05613aaf565b5b80604052505050565b6000613b196135bb565b9050613b258282613ade565b919050565b600067ffffffffffffffff821115613b4557613b44613aaf565b5b602082029050602081019050919050565b600080fd5b6000613b6e613b6984613b2a565b613b0f565b90508083825260208201905060208402830185811115613b9157613b90613b56565b5b835b81811015613bba5780613ba6888261364e565b845260208401935050602081019050613b93565b5050509392505050565b600082601f830112613bd957613bd8613aaa565b5b8135613be9848260208601613b5b565b91505092915050565b600080fd5b600067ffffffffffffffff821115613c1257613c11613aaf565b5b613c1b82613852565b9050602081019050919050565b82818337600083830152505050565b6000613c4a613c4584613bf7565b613b0f565b905082815260208101848484011115613c6657613c65613bf2565b5b613c71848285613c28565b509392505050565b600082601f830112613c8e57613c8d613aaa565b5b8135613c9e848260208601613c37565b91505092915050565b600080600080600060a08688031215613cc357613cc26135c5565b5b6000613cd188828901613618565b9550506020613ce288828901613618565b945050604086013567ffffffffffffffff811115613d0357613d026135ca565b5b613d0f88828901613bc4565b935050606086013567ffffffffffffffff811115613d3057613d2f6135ca565b5b613d3c88828901613bc4565b925050608086013567ffffffffffffffff811115613d5d57613d5c6135ca565b5b613d6988828901613c79565b9150509295509295909350565b600080fd5b60008083601f840112613d9157613d90613aaa565b5b8235905067ffffffffffffffff811115613dae57613dad613d76565b5b602083019150836020820283011115613dca57613dc9613b56565b5b9250929050565b600080600080600060808688031215613ded57613dec6135c5565b5b6000613dfb88828901613618565b9550506020613e0c8882890161364e565b9450506040613e1d8882890161364e565b935050606086013567ffffffffffffffff811115613e3e57613e3d6135ca565b5b613e4a88828901613d7b565b92509250509295509295909350565b600080600060608486031215613e7257613e716135c5565b5b6000613e808682870161364e565b9350506020613e918682870161364e565b9250506040613ea286828701613618565b9150509250925092565b600067ffffffffffffffff821115613ec757613ec6613aaf565b5b602082029050602081019050919050565b6000613eeb613ee684613eac565b613b0f565b90508083825260208201905060208402830185811115613f0e57613f0d613b56565b5b835b81811015613f375780613f238882613618565b845260208401935050602081019050613f10565b5050509392505050565b600082601f830112613f5657613f55613aaa565b5b8135613f66848260208601613ed8565b91505092915050565b60008060408385031215613f8657613f856135c5565b5b600083013567ffffffffffffffff811115613fa457613fa36135ca565b5b613fb085828601613f41565b925050602083013567ffffffffffffffff811115613fd157613fd06135ca565b5b613fdd85828601613bc4565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61401c8161362d565b82525050565b600061402e8383614013565b60208301905092915050565b6000602082019050919050565b600061405282613fe7565b61405c8185613ff2565b935061406783614003565b8060005b8381101561409857815161407f8882614022565b975061408a8361403a565b92505060018101905061406b565b5085935050505092915050565b600060208201905081810360008301526140bf8184614047565b905092915050565b600067ffffffffffffffff8211156140e2576140e1613aaf565b5b6140eb82613852565b9050602081019050919050565b600061410b614106846140c7565b613b0f565b90508281526020810184848401111561412757614126613bf2565b5b614132848285613c28565b509392505050565b600082601f83011261414f5761414e613aaa565b5b813561415f8482602086016140f8565b91505092915050565b60006020828403121561417e5761417d6135c5565b5b600082013567ffffffffffffffff81111561419c5761419b6135ca565b5b6141a88482850161413a565b91505092915050565b600080604083850312156141c8576141c76135c5565b5b60006141d68582860161364e565b925050602083013567ffffffffffffffff8111156141f7576141f66135ca565b5b6142038582860161413a565b9150509250929050565b600060a082019050614222600083018861375e565b61422f60208301876136a3565b61423c60408301866136a3565b61424960608301856136a3565b61425660808301846138f5565b9695505050505050565b60006020820190506142756000830184613a72565b92915050565b60008060408385031215614292576142916135c5565b5b60006142a085828601613618565b92505060206142b185828601613936565b9150509250929050565b6000819050919050565b60006142e06142db6142d6846135cf565b6142bb565b6135cf565b9050919050565b60006142f2826142c5565b9050919050565b6000614304826142e7565b9050919050565b614314816142f9565b82525050565b600060208201905061432f600083018461430b565b92915050565b60006020828403121561434b5761434a6135c5565b5b600061435984828501613618565b91505092915050565b60008060008060006080868803121561437e5761437d6135c5565b5b600061438c8882890161364e565b955050602061439d8882890161364e565b94505060406143ae8882890161364e565b935050606086013567ffffffffffffffff8111156143cf576143ce6135ca565b5b6143db88828901613d7b565b92509250509295509295909350565b60008060408385031215614401576144006135c5565b5b600061440f8582860161364e565b925050602061442085828601613936565b9150509250929050565b60008060408385031215614441576144406135c5565b5b600061444f85828601613618565b925050602061446085828601613618565b9150509250929050565b600080600080600060a08688031215614486576144856135c5565b5b600061449488828901613618565b95505060206144a588828901613618565b94505060406144b68882890161364e565b93505060606144c78882890161364e565b925050608086013567ffffffffffffffff8111156144e8576144e76135ca565b5b6144f488828901613c79565b9150509295509295909350565b600060208284031215614517576145166135c5565b5b600061452584828501613936565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061458a602a83613817565b91506145958261452e565b604082019050919050565b600060208201905081810360008301526145b98161457d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145f6602083613817565b9150614601826145c0565b602082019050919050565b60006020820190508181036000830152614625816145e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061467357607f821691505b6020821081036146865761468561462c565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546146b98161465b565b6146c3818661468c565b945060018216600081146146de57600181146146f357614726565b60ff1983168652811515820286019350614726565b6146fc85614697565b60005b8381101561471e578154818901526001820191506020810190506146ff565b838801955050505b50505092915050565b600061473a8261380c565b614744818561468c565b9350614754818560208601613828565b80840191505092915050565b600061476c82856146ac565b9150614778828461472f565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147be8261362d565b91506147c98361362d565b92508282026147d78161362d565b915082820484148315176147ee576147ed614784565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061482f8261362d565b915061483a8361362d565b92508261484a576148496147f5565b5b828204905092915050565b60008160601b9050919050565b600061486d82614855565b9050919050565b600061487f82614862565b9050919050565b614897614892826135ef565b614874565b82525050565b6000819050919050565b6148b86148b38261362d565b61489d565b82525050565b60006148ca8285614886565b6014820191506148da82846148a7565b6020820191508190509392505050565b60006148f58261362d565b91506149008361362d565b925082820190508082111561491857614917614784565b5b92915050565b7f4d696e74206578636565646564206c696d697400000000000000000000000000600082015250565b6000614954601383613817565b915061495f8261491e565b602082019050919050565b6000602082019050818103600083015261498381614947565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006149e6602983613817565b91506149f18261498a565b604082019050919050565b60006020820190508181036000830152614a15816149d9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a568261362d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a8857614a87614784565b5b600182019050919050565b7f736574417070726f76616c466f72416c6c2069732070726f6869626974656400600082015250565b6000614ac9601f83613817565b9150614ad482614a93565b602082019050919050565b60006020820190508181036000830152614af881614abc565b9050919050565b7f54686520746f6b656e4964206973207061757365640000000000000000000000600082015250565b6000614b35601583613817565b9150614b4082614aff565b602082019050919050565b60006020820190508181036000830152614b6481614b28565b9050919050565b7f596f75204e6f7420414c00000000000000000000000000000000000000000000600082015250565b6000614ba1600a83613817565b9150614bac82614b6b565b602082019050919050565b60006020820190508181036000830152614bd081614b94565b9050919050565b7f596f7520616c7265616479207265636569766564000000000000000000000000600082015250565b6000614c0d601483613817565b9150614c1882614bd7565b602082019050919050565b60006020820190508181036000830152614c3c81614c00565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c9f602683613817565b9150614caa82614c43565b604082019050919050565b60006020820190508181036000830152614cce81614c92565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614d31602a83613817565b9150614d3c82614cd5565b604082019050919050565b60006020820190508181036000830152614d6081614d24565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614d9d601983613817565b9150614da882614d67565b602082019050919050565b60006020820190508181036000830152614dcc81614d90565b9050919050565b6000604082019050614de86000830185613a72565b614df56020830184613a72565b9392505050565b600081519050614e0b8161391f565b92915050565b600060208284031215614e2757614e266135c5565b5b6000614e3584828501614dfc565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614e9a602e83613817565b9150614ea582614e3e565b604082019050919050565b60006020820190508181036000830152614ec981614e8d565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f2c602183613817565b9150614f3782614ed0565b604082019050919050565b60006020820190508181036000830152614f5b81614f1f565b9050919050565b6000604082019050614f7760008301856136a3565b614f8460208301846136a3565b9392505050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614fd87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f9b565b614fe28683614f9b565b95508019841693508086168417925050509392505050565b600061501561501061500b8461362d565b6142bb565b61362d565b9050919050565b6000819050919050565b61502f83614ffa565b61504361503b8261501c565b848454614fa8565b825550505050565b600090565b61505861504b565b615063818484615026565b505050565b5b818110156150875761507c600082615050565b600181019050615069565b5050565b601f8211156150cc5761509d81614697565b6150a684614f8b565b810160208510156150b5578190505b6150c96150c185614f8b565b830182615068565b50505b505050565b600082821c905092915050565b60006150ef600019846008026150d1565b1980831691505092915050565b600061510883836150de565b9150826002028217905092915050565b6151218261380c565b67ffffffffffffffff81111561513a57615139613aaf565b5b615144825461465b565b61514f82828561508b565b600060209050601f8311600181146151825760008415615170578287015190505b61517a85826150fc565b8655506151e2565b601f19841661519086614697565b60005b828110156151b857848901518255600182019150602085019450602081019050615193565b868310156151d557848901516151d1601f8916826150de565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000615246602883613817565b9150615251826151ea565b604082019050919050565b6000602082019050818103600083015261527581615239565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006152d8602583613817565b91506152e38261527c565b604082019050919050565b60006020820190508181036000830152615307816152cb565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061536a602a83613817565b91506153758261530e565b604082019050919050565b600060208201905081810360008301526153998161535d565b9050919050565b600060408201905081810360008301526153ba8185614047565b905081810360208301526153ce8184614047565b90509392505050565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b600061540d601683613817565b9150615418826153d7565b602082019050919050565b6000602082019050818103600083015261543c81615400565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061546a82615443565b615474818561544e565b9350615484818560208601613828565b61548d81613852565b840191505092915050565b600060a0820190506154ad6000830188613a72565b6154ba6020830187613a72565b6154c760408301866136a3565b6154d460608301856136a3565b81810360808301526154e6818461545f565b90509695505050505050565b600081519050615501816136f9565b92915050565b60006020828403121561551d5761551c6135c5565b5b600061552b848285016154f2565b91505092915050565b60008160e01c9050919050565b600060033d11156155605760046000803e61555d600051615534565b90505b90565b600060443d106155f0576155756135bb565b60043d036004823e80513d602482011167ffffffffffffffff8211171561559d5750506155f0565b808201805167ffffffffffffffff8111156155bb57505050506155f0565b80602083010160043d0385018111156155d85750505050506155f0565b6155e782602001850186613ade565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061564f603483613817565b915061565a826155f3565b604082019050919050565b6000602082019050818103600083015261567e81615642565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006156e1602883613817565b91506156ec82615685565b604082019050919050565b60006020820190508181036000830152615710816156d4565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615773602983613817565b915061577e82615717565b604082019050919050565b600060208201905081810360008301526157a281615766565b9050919050565b600060a0820190506157be6000830188613a72565b6157cb6020830187613a72565b81810360408301526157dd8186614047565b905081810360608301526157f18185614047565b90508181036080830152615805818461545f565b9050969550505050505056fea26469706673582212204c57237a40c0c926bbd8f51a2b34e9df71cadb65c26bcae016844d4934aaae8564736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102265760003560e01c80635ef9432a11610130578063a4722f10116100b8578063e985e9c51161007c578063e985e9c514610686578063ecba222a146106b6578063f242432a146106d4578063f2fde38b146106f0578063fcd1aac91461070c57610226565b8063a4722f10146105e4578063b0ccc31e14610614578063b8d1e53214610632578063c0035b2a1461064e578063daff97b51461066a57610226565b806388aa0597116100ff57806388aa0597146105285780638da5cb5b1461055c57806392ab723e1461057a57806395d89b41146105aa578063a22cb465146105c857610226565b80635ef9432a146104dc578063715018a6146104e65780637696e088146104f0578063862440e21461050c57610226565b80632eb2c2d6116101b35780634d588a91116101825780634d588a91146104145780634e1273f41461043057806355f804b3146104605780635a4dd47d1461047c5780635e495d74146104ac57610226565b80632eb2c2d61461038e57806337da577c146103aa5780633cf40df3146103c65780633ff3caab146103e457610226565b80630aab8ba5116101fa5780630aab8ba5146102c55780630e89341c146102f557806314ca5b241461032557806318712c21146103415780632a55205a1461035d57610226565b8062fdd58e1461022b57806301ffc9a71461025b57806304634d8d1461028b57806306fdde03146102a7575b600080fd5b61024560048036038101906102409190613663565b610728565b60405161025291906136b2565b60405180910390f35b61027560048036038101906102709190613725565b6107f1565b604051610282919061376d565b60405180910390f35b6102a560048036038101906102a091906137cc565b610803565b005b6102af61088d565b6040516102bc919061389c565b60405180910390f35b6102df60048036038101906102da91906138be565b61091b565b6040516102ec9190613904565b60405180910390f35b61030f600480360381019061030a91906138be565b61093b565b60405161031c919061389c565b60405180910390f35b61033f600480360381019061033a9190613977565b610a20565b005b61035b600480360381019061035691906139f2565b610b22565b005b61037760048036038101906103729190613a32565b610bbd565b604051610385929190613a81565b60405180910390f35b6103a860048036038101906103a39190613ca7565b610da7565b005b6103c460048036038101906103bf9190613a32565b610dfa565b005b6103ce610e95565b6040516103db919061376d565b60405180910390f35b6103fe60048036038101906103f99190613dd1565b610ea8565b60405161040b919061376d565b60405180910390f35b61042e60048036038101906104299190613e59565b610f44565b005b61044a60048036038101906104459190613f6f565b611087565b60405161045791906140a5565b60405180910390f35b61047a60048036038101906104759190614168565b6111a0565b005b610496600480360381019061049191906138be565b611228565b6040516104a391906136b2565b60405180910390f35b6104c660048036038101906104c191906138be565b611248565b6040516104d391906136b2565b60405180910390f35b6104e4611268565b005b6104ee6113a5565b005b61050a60048036038101906105059190613a32565b61142d565b005b610526600480360381019061052191906141b1565b6114c8565b005b610542600480360381019061053d91906138be565b611552565b60405161055395949392919061420d565b60405180910390f35b610564611595565b6040516105719190614260565b60405180910390f35b610594600480360381019061058f91906138be565b6115a4565b6040516105a191906136b2565b60405180910390f35b6105b26115c4565b6040516105bf919061389c565b60405180910390f35b6105e260048036038101906105dd919061427b565b611652565b005b6105fe60048036038101906105f99190613663565b6116d0565b60405161060b91906136b2565b60405180910390f35b61061c61172e565b604051610629919061431a565b60405180910390f35b61064c60048036038101906106479190614335565b611752565b005b61066860048036038101906106639190614362565b61187f565b005b610684600480360381019061067f91906143ea565b611b86565b005b6106a0600480360381019061069b919061442a565b611c34565b6040516106ad919061376d565b60405180910390f35b6106be611cc8565b6040516106cb919061376d565b60405180910390f35b6106ee60048036038101906106e9919061446a565b611cdb565b005b61070a60048036038101906107059190614335565b611d2e565b005b61072660048036038101906107219190614501565b611e25565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078f906145a0565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107fc82611ee8565b9050919050565b61080b611f62565b73ffffffffffffffffffffffffffffffffffffffff16610829611595565b73ffffffffffffffffffffffffffffffffffffffff161461087f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108769061460c565b60405180910390fd5b6108898282611f6a565b5050565b6009805461089a9061465b565b80601f01602080910402602001604051908101604052809291908181526020018280546108c69061465b565b80156109135780601f106108e857610100808354040283529160200191610913565b820191906000526020600020905b8154815290600101906020018083116108f657829003601f168201915b505050505081565b6000600b6000838152602001908152602001600020600401549050919050565b6060600060056000848152602001908152602001600020805461095d9061465b565b80601f01602080910402602001604051908101604052809291908181526020018280546109899061465b565b80156109d65780601f106109ab576101008083540402835291602001916109d6565b820191906000526020600020905b8154815290600101906020018083116109b957829003601f168201915b5050505050905060008151116109f4576109ef836120ff565b610a18565b600481604051602001610a08929190614760565b6040516020818303038152906040525b915050919050565b610a28611f62565b73ffffffffffffffffffffffffffffffffffffffff16610a46611595565b73ffffffffffffffffffffffffffffffffffffffff1614610a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a939061460c565b60405180910390fd5b83600b600087815260200190815260200160002060000160006101000a81548160ff02191690831515021790555082600b60008781526020019081526020016000206002018190555081600b60008781526020019081526020016000206003018190555080600b6000878152602001908152602001600020600401819055505050505050565b610b2a611f62565b73ffffffffffffffffffffffffffffffffffffffff16610b48611595565b73ffffffffffffffffffffffffffffffffffffffff1614610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b959061460c565b60405180910390fd5b80600b6000848152602001908152602001600020600401819055505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610d525760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d5c612193565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d8891906147b3565b610d929190614824565b90508160000151819350935050509250929050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610de557610de43361219d565b5b610df286868686866122de565b505050505050565b610e02611f62565b73ffffffffffffffffffffffffffffffffffffffff16610e20611595565b73ffffffffffffffffffffffffffffffffffffffff1614610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d9061460c565b60405180910390fd5b80600b6000848152602001908152602001600020600201819055505050565b600c60009054906101000a900460ff1681565b6000808685604051602001610ebe9291906148be565b604051602081830303815290604052805190602001209050610f38848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b6000898152602001908152602001600020600401548361237f565b91505095945050505050565b610f4c611f62565b73ffffffffffffffffffffffffffffffffffffffff16610f6a611595565b73ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb79061460c565b60405180910390fd5b600b60008481526020019081526020016000206002015482600b600086815260200190815260200160002060010154610ff991906148ea565b111561103a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110319061496a565b60405180910390fd5b81600b6000858152602001908152602001600020600101600082825461106091906148ea565b9250508190555061108281848460405180602001604052806000815250612396565b505050565b606081518351146110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c4906149fc565b60405180910390fd5b6000835167ffffffffffffffff8111156110ea576110e9613aaf565b5b6040519080825280602002602001820160405280156111185781602001602082028036833780820191505090505b50905060005b84518110156111955761116585828151811061113d5761113c614a1c565b5b602002602001015185838151811061115857611157614a1c565b5b6020026020010151610728565b82828151811061117857611177614a1c565b5b6020026020010181815250508061118e90614a4b565b905061111e565b508091505092915050565b6111a8611f62565b73ffffffffffffffffffffffffffffffffffffffff166111c6611595565b73ffffffffffffffffffffffffffffffffffffffff161461121c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112139061460c565b60405180910390fd5b61122581612547565b50565b6000600b6000838152602001908152602001600020600301549050919050565b6000600b6000838152602001908152602001600020600201549050919050565b611270611595565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112d4576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff161561131b576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083151502179055507f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1660405160405180910390a1565b6113ad611f62565b73ffffffffffffffffffffffffffffffffffffffff166113cb611595565b73ffffffffffffffffffffffffffffffffffffffff1614611421576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114189061460c565b60405180910390fd5b61142b600061255a565b565b611435611f62565b73ffffffffffffffffffffffffffffffffffffffff16611453611595565b73ffffffffffffffffffffffffffffffffffffffff16146114a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a09061460c565b60405180910390fd5b80600b6000848152602001908152602001600020600301819055505050565b6114d0611f62565b73ffffffffffffffffffffffffffffffffffffffff166114ee611595565b73ffffffffffffffffffffffffffffffffffffffff1614611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b9061460c565b60405180910390fd5b61154e8282612620565b5050565b600b6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154905085565b600061159f611ebe565b905090565b6000600b6000838152602001908152602001600020600101549050919050565b600a80546115d19061465b565b80601f01602080910402602001604051908101604052809291908181526020018280546115fd9061465b565b801561164a5780601f1061161f5761010080835404028352916020019161164a565b820191906000526020600020905b81548152906001019060200180831161162d57829003601f168201915b505050505081565b8161165c8161219d565b60001515600c60009054906101000a900460ff1615151480611682575060001515821515145b6116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b890614adf565b60405180910390fd5b6116cb8383612685565b505050565b6000600b600083815260200190815260200160002060050160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61175a611595565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117be576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff1615611805576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de476816040516118749190614260565b60405180910390a150565b600033846040516020016118949291906148be565b604051602081830303815290604052805190602001209050600b600087815260200190815260200160002060000160009054906101000a900460ff1615611910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190790614b4b565b60405180910390fd5b611972838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b6000898152602001908152602001600020600401548361237f565b6119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a890614bb7565b60405180910390fd5b83600b600088815260200190815260200160002060050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205486611a1191906148ea565b1115611a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4990614c23565b60405180910390fd5b600b60008781526020019081526020016000206002015485600b600089815260200190815260200160002060010154611a8b91906148ea565b1115611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac39061496a565b60405180910390fd5b84600b600088815260200190815260200160002060050160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b2f91906148ea565b9250508190555084600b60008881526020019081526020016000206001016000828254611b5c91906148ea565b92505081905550611b7e33878760405180602001604052806000815250612396565b505050505050565b611b8e611f62565b73ffffffffffffffffffffffffffffffffffffffff16611bac611595565b73ffffffffffffffffffffffffffffffffffffffff1614611c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf99061460c565b60405180910390fd5b80600b600084815260200190815260200160002060000160006101000a81548160ff0219169083151502179055505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060149054906101000a900460ff1681565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d1957611d183361219d565b5b611d26868686868661269b565b505050505050565b611d36611f62565b73ffffffffffffffffffffffffffffffffffffffff16611d54611595565b73ffffffffffffffffffffffffffffffffffffffff1614611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da19061460c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1090614cb5565b60405180910390fd5b611e228161255a565b50565b611e2d611f62565b73ffffffffffffffffffffffffffffffffffffffff16611e4b611595565b73ffffffffffffffffffffffffffffffffffffffff1614611ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e989061460c565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f5b5750611f5a8261273c565b5b9050919050565b600033905090565b611f72612193565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc790614d47565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361203f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203690614db3565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60606003805461210e9061465b565b80601f016020809104026020016040519081016040528092919081815260200182805461213a9061465b565b80156121875780601f1061215c57610100808354040283529160200191612187565b820191906000526020600020905b81548152906001019060200180831161216a57829003601f168201915b50505050509050919050565b6000612710905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612217575060008173ffffffffffffffffffffffffffffffffffffffff163b115b156122da578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b8152600401612257929190614dd3565b602060405180830381865afa158015612274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122989190614e11565b6122d957816040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016122d09190614260565b60405180910390fd5b5b5050565b6122e6611f62565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061232c575061232b85612326611f62565b611c34565b5b61236b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236290614eb0565b60405180910390fd5b612378858585858561281e565b5050505050565b60008261238c8584612b42565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fc90614f42565b60405180910390fd5b600061240f611f62565b9050600061241c85612b98565b9050600061242985612b98565b905061243a83600089858589612c12565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461249a91906148ea565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612518929190614f62565b60405180910390a461252f83600089858589612d24565b61253e83600089898989612d2c565b50505050505050565b80600490816125569190615118565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b806005600084815260200190815260200160002090816126409190615118565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61266c8461093b565b604051612679919061389c565b60405180910390a25050565b612697612690611f62565b8383612f03565b5050565b6126a3611f62565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806126e957506126e8856126e3611f62565b611c34565b5b612728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271f90614eb0565b60405180910390fd5b612735858585858561306f565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061280757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061281757506128168261330d565b5b9050919050565b8151835114612862576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128599061525c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036128d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c8906152ee565b60405180910390fd5b60006128db611f62565b90506128eb818787878787612c12565b60005b8451811015612a9f57600085828151811061290c5761290b614a1c565b5b60200260200101519050600085838151811061292b5761292a614a1c565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156129cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c490615380565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8491906148ea565b9250508190555050505080612a9890614a4b565b90506128ee565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612b169291906153a0565b60405180910390a4612b2c818787878787612d24565b612b3a818787878787613377565b505050505050565b60008082905060005b8451811015612b8d57612b7882868381518110612b6b57612b6a614a1c565b5b602002602001015161354e565b91508080612b8590614a4b565b915050612b4b565b508091505092915050565b60606000600167ffffffffffffffff811115612bb757612bb6613aaf565b5b604051908082528060200260200182016040528015612be55781602001602082028036833780820191505090505b5090508281600081518110612bfd57612bfc614a1c565b5b60200260200101818152505080915050919050565b60001515600c60009054906101000a900460ff1615151480612c605750600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b80612c975750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80612ccf575061dead73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b612d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0590615423565b60405180910390fd5b612d1c868686868686613579565b505050505050565b505050505050565b612d4b8473ffffffffffffffffffffffffffffffffffffffff16613581565b15612efb578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612d91959493929190615498565b6020604051808303816000875af1925050508015612dcd57506040513d601f19601f82011682018060405250810190612dca9190615507565b60015b612e7257612dd9615541565b806308c379a003612e355750612ded615563565b80612df85750612e37565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2c919061389c565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6990615665565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef0906156f7565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6890615789565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613062919061376d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036130de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d5906152ee565b60405180910390fd5b60006130e8611f62565b905060006130f585612b98565b9050600061310285612b98565b9050613112838989858589612c12565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156131aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a190615380565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461326191906148ea565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516132de929190614f62565b60405180910390a46132f4848a8a86868a612d24565b613302848a8a8a8a8a612d2c565b505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133968473ffffffffffffffffffffffffffffffffffffffff16613581565b15613546578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016133dc9594939291906157a9565b6020604051808303816000875af192505050801561341857506040513d601f19601f820116820180604052508101906134159190615507565b60015b6134bd57613424615541565b806308c379a0036134805750613438615563565b806134435750613482565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613477919061389c565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b490615665565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353b906156f7565b60405180910390fd5b505b505050505050565b60008183106135665761356182846135a4565b613571565b61357083836135a4565b5b905092915050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135fa826135cf565b9050919050565b61360a816135ef565b811461361557600080fd5b50565b60008135905061362781613601565b92915050565b6000819050919050565b6136408161362d565b811461364b57600080fd5b50565b60008135905061365d81613637565b92915050565b6000806040838503121561367a576136796135c5565b5b600061368885828601613618565b92505060206136998582860161364e565b9150509250929050565b6136ac8161362d565b82525050565b60006020820190506136c760008301846136a3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613702816136cd565b811461370d57600080fd5b50565b60008135905061371f816136f9565b92915050565b60006020828403121561373b5761373a6135c5565b5b600061374984828501613710565b91505092915050565b60008115159050919050565b61376781613752565b82525050565b6000602082019050613782600083018461375e565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6137a981613788565b81146137b457600080fd5b50565b6000813590506137c6816137a0565b92915050565b600080604083850312156137e3576137e26135c5565b5b60006137f185828601613618565b9250506020613802858286016137b7565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561384657808201518184015260208101905061382b565b60008484015250505050565b6000601f19601f8301169050919050565b600061386e8261380c565b6138788185613817565b9350613888818560208601613828565b61389181613852565b840191505092915050565b600060208201905081810360008301526138b68184613863565b905092915050565b6000602082840312156138d4576138d36135c5565b5b60006138e28482850161364e565b91505092915050565b6000819050919050565b6138fe816138eb565b82525050565b600060208201905061391960008301846138f5565b92915050565b61392881613752565b811461393357600080fd5b50565b6000813590506139458161391f565b92915050565b613954816138eb565b811461395f57600080fd5b50565b6000813590506139718161394b565b92915050565b600080600080600060a08688031215613993576139926135c5565b5b60006139a18882890161364e565b95505060206139b288828901613936565b94505060406139c38882890161364e565b93505060606139d48882890161364e565b92505060806139e588828901613962565b9150509295509295909350565b60008060408385031215613a0957613a086135c5565b5b6000613a178582860161364e565b9250506020613a2885828601613962565b9150509250929050565b60008060408385031215613a4957613a486135c5565b5b6000613a578582860161364e565b9250506020613a688582860161364e565b9150509250929050565b613a7b816135ef565b82525050565b6000604082019050613a966000830185613a72565b613aa360208301846136a3565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ae782613852565b810181811067ffffffffffffffff82111715613b0657613b05613aaf565b5b80604052505050565b6000613b196135bb565b9050613b258282613ade565b919050565b600067ffffffffffffffff821115613b4557613b44613aaf565b5b602082029050602081019050919050565b600080fd5b6000613b6e613b6984613b2a565b613b0f565b90508083825260208201905060208402830185811115613b9157613b90613b56565b5b835b81811015613bba5780613ba6888261364e565b845260208401935050602081019050613b93565b5050509392505050565b600082601f830112613bd957613bd8613aaa565b5b8135613be9848260208601613b5b565b91505092915050565b600080fd5b600067ffffffffffffffff821115613c1257613c11613aaf565b5b613c1b82613852565b9050602081019050919050565b82818337600083830152505050565b6000613c4a613c4584613bf7565b613b0f565b905082815260208101848484011115613c6657613c65613bf2565b5b613c71848285613c28565b509392505050565b600082601f830112613c8e57613c8d613aaa565b5b8135613c9e848260208601613c37565b91505092915050565b600080600080600060a08688031215613cc357613cc26135c5565b5b6000613cd188828901613618565b9550506020613ce288828901613618565b945050604086013567ffffffffffffffff811115613d0357613d026135ca565b5b613d0f88828901613bc4565b935050606086013567ffffffffffffffff811115613d3057613d2f6135ca565b5b613d3c88828901613bc4565b925050608086013567ffffffffffffffff811115613d5d57613d5c6135ca565b5b613d6988828901613c79565b9150509295509295909350565b600080fd5b60008083601f840112613d9157613d90613aaa565b5b8235905067ffffffffffffffff811115613dae57613dad613d76565b5b602083019150836020820283011115613dca57613dc9613b56565b5b9250929050565b600080600080600060808688031215613ded57613dec6135c5565b5b6000613dfb88828901613618565b9550506020613e0c8882890161364e565b9450506040613e1d8882890161364e565b935050606086013567ffffffffffffffff811115613e3e57613e3d6135ca565b5b613e4a88828901613d7b565b92509250509295509295909350565b600080600060608486031215613e7257613e716135c5565b5b6000613e808682870161364e565b9350506020613e918682870161364e565b9250506040613ea286828701613618565b9150509250925092565b600067ffffffffffffffff821115613ec757613ec6613aaf565b5b602082029050602081019050919050565b6000613eeb613ee684613eac565b613b0f565b90508083825260208201905060208402830185811115613f0e57613f0d613b56565b5b835b81811015613f375780613f238882613618565b845260208401935050602081019050613f10565b5050509392505050565b600082601f830112613f5657613f55613aaa565b5b8135613f66848260208601613ed8565b91505092915050565b60008060408385031215613f8657613f856135c5565b5b600083013567ffffffffffffffff811115613fa457613fa36135ca565b5b613fb085828601613f41565b925050602083013567ffffffffffffffff811115613fd157613fd06135ca565b5b613fdd85828601613bc4565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61401c8161362d565b82525050565b600061402e8383614013565b60208301905092915050565b6000602082019050919050565b600061405282613fe7565b61405c8185613ff2565b935061406783614003565b8060005b8381101561409857815161407f8882614022565b975061408a8361403a565b92505060018101905061406b565b5085935050505092915050565b600060208201905081810360008301526140bf8184614047565b905092915050565b600067ffffffffffffffff8211156140e2576140e1613aaf565b5b6140eb82613852565b9050602081019050919050565b600061410b614106846140c7565b613b0f565b90508281526020810184848401111561412757614126613bf2565b5b614132848285613c28565b509392505050565b600082601f83011261414f5761414e613aaa565b5b813561415f8482602086016140f8565b91505092915050565b60006020828403121561417e5761417d6135c5565b5b600082013567ffffffffffffffff81111561419c5761419b6135ca565b5b6141a88482850161413a565b91505092915050565b600080604083850312156141c8576141c76135c5565b5b60006141d68582860161364e565b925050602083013567ffffffffffffffff8111156141f7576141f66135ca565b5b6142038582860161413a565b9150509250929050565b600060a082019050614222600083018861375e565b61422f60208301876136a3565b61423c60408301866136a3565b61424960608301856136a3565b61425660808301846138f5565b9695505050505050565b60006020820190506142756000830184613a72565b92915050565b60008060408385031215614292576142916135c5565b5b60006142a085828601613618565b92505060206142b185828601613936565b9150509250929050565b6000819050919050565b60006142e06142db6142d6846135cf565b6142bb565b6135cf565b9050919050565b60006142f2826142c5565b9050919050565b6000614304826142e7565b9050919050565b614314816142f9565b82525050565b600060208201905061432f600083018461430b565b92915050565b60006020828403121561434b5761434a6135c5565b5b600061435984828501613618565b91505092915050565b60008060008060006080868803121561437e5761437d6135c5565b5b600061438c8882890161364e565b955050602061439d8882890161364e565b94505060406143ae8882890161364e565b935050606086013567ffffffffffffffff8111156143cf576143ce6135ca565b5b6143db88828901613d7b565b92509250509295509295909350565b60008060408385031215614401576144006135c5565b5b600061440f8582860161364e565b925050602061442085828601613936565b9150509250929050565b60008060408385031215614441576144406135c5565b5b600061444f85828601613618565b925050602061446085828601613618565b9150509250929050565b600080600080600060a08688031215614486576144856135c5565b5b600061449488828901613618565b95505060206144a588828901613618565b94505060406144b68882890161364e565b93505060606144c78882890161364e565b925050608086013567ffffffffffffffff8111156144e8576144e76135ca565b5b6144f488828901613c79565b9150509295509295909350565b600060208284031215614517576145166135c5565b5b600061452584828501613936565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061458a602a83613817565b91506145958261452e565b604082019050919050565b600060208201905081810360008301526145b98161457d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145f6602083613817565b9150614601826145c0565b602082019050919050565b60006020820190508181036000830152614625816145e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061467357607f821691505b6020821081036146865761468561462c565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546146b98161465b565b6146c3818661468c565b945060018216600081146146de57600181146146f357614726565b60ff1983168652811515820286019350614726565b6146fc85614697565b60005b8381101561471e578154818901526001820191506020810190506146ff565b838801955050505b50505092915050565b600061473a8261380c565b614744818561468c565b9350614754818560208601613828565b80840191505092915050565b600061476c82856146ac565b9150614778828461472f565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147be8261362d565b91506147c98361362d565b92508282026147d78161362d565b915082820484148315176147ee576147ed614784565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061482f8261362d565b915061483a8361362d565b92508261484a576148496147f5565b5b828204905092915050565b60008160601b9050919050565b600061486d82614855565b9050919050565b600061487f82614862565b9050919050565b614897614892826135ef565b614874565b82525050565b6000819050919050565b6148b86148b38261362d565b61489d565b82525050565b60006148ca8285614886565b6014820191506148da82846148a7565b6020820191508190509392505050565b60006148f58261362d565b91506149008361362d565b925082820190508082111561491857614917614784565b5b92915050565b7f4d696e74206578636565646564206c696d697400000000000000000000000000600082015250565b6000614954601383613817565b915061495f8261491e565b602082019050919050565b6000602082019050818103600083015261498381614947565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006149e6602983613817565b91506149f18261498a565b604082019050919050565b60006020820190508181036000830152614a15816149d9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a568261362d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a8857614a87614784565b5b600182019050919050565b7f736574417070726f76616c466f72416c6c2069732070726f6869626974656400600082015250565b6000614ac9601f83613817565b9150614ad482614a93565b602082019050919050565b60006020820190508181036000830152614af881614abc565b9050919050565b7f54686520746f6b656e4964206973207061757365640000000000000000000000600082015250565b6000614b35601583613817565b9150614b4082614aff565b602082019050919050565b60006020820190508181036000830152614b6481614b28565b9050919050565b7f596f75204e6f7420414c00000000000000000000000000000000000000000000600082015250565b6000614ba1600a83613817565b9150614bac82614b6b565b602082019050919050565b60006020820190508181036000830152614bd081614b94565b9050919050565b7f596f7520616c7265616479207265636569766564000000000000000000000000600082015250565b6000614c0d601483613817565b9150614c1882614bd7565b602082019050919050565b60006020820190508181036000830152614c3c81614c00565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c9f602683613817565b9150614caa82614c43565b604082019050919050565b60006020820190508181036000830152614cce81614c92565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614d31602a83613817565b9150614d3c82614cd5565b604082019050919050565b60006020820190508181036000830152614d6081614d24565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614d9d601983613817565b9150614da882614d67565b602082019050919050565b60006020820190508181036000830152614dcc81614d90565b9050919050565b6000604082019050614de86000830185613a72565b614df56020830184613a72565b9392505050565b600081519050614e0b8161391f565b92915050565b600060208284031215614e2757614e266135c5565b5b6000614e3584828501614dfc565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614e9a602e83613817565b9150614ea582614e3e565b604082019050919050565b60006020820190508181036000830152614ec981614e8d565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f2c602183613817565b9150614f3782614ed0565b604082019050919050565b60006020820190508181036000830152614f5b81614f1f565b9050919050565b6000604082019050614f7760008301856136a3565b614f8460208301846136a3565b9392505050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614fd87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f9b565b614fe28683614f9b565b95508019841693508086168417925050509392505050565b600061501561501061500b8461362d565b6142bb565b61362d565b9050919050565b6000819050919050565b61502f83614ffa565b61504361503b8261501c565b848454614fa8565b825550505050565b600090565b61505861504b565b615063818484615026565b505050565b5b818110156150875761507c600082615050565b600181019050615069565b5050565b601f8211156150cc5761509d81614697565b6150a684614f8b565b810160208510156150b5578190505b6150c96150c185614f8b565b830182615068565b50505b505050565b600082821c905092915050565b60006150ef600019846008026150d1565b1980831691505092915050565b600061510883836150de565b9150826002028217905092915050565b6151218261380c565b67ffffffffffffffff81111561513a57615139613aaf565b5b615144825461465b565b61514f82828561508b565b600060209050601f8311600181146151825760008415615170578287015190505b61517a85826150fc565b8655506151e2565b601f19841661519086614697565b60005b828110156151b857848901518255600182019150602085019450602081019050615193565b868310156151d557848901516151d1601f8916826150de565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000615246602883613817565b9150615251826151ea565b604082019050919050565b6000602082019050818103600083015261527581615239565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006152d8602583613817565b91506152e38261527c565b604082019050919050565b60006020820190508181036000830152615307816152cb565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061536a602a83613817565b91506153758261530e565b604082019050919050565b600060208201905081810360008301526153998161535d565b9050919050565b600060408201905081810360008301526153ba8185614047565b905081810360208301526153ce8184614047565b90509392505050565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b600061540d601683613817565b9150615418826153d7565b602082019050919050565b6000602082019050818103600083015261543c81615400565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061546a82615443565b615474818561544e565b9350615484818560208601613828565b61548d81613852565b840191505092915050565b600060a0820190506154ad6000830188613a72565b6154ba6020830187613a72565b6154c760408301866136a3565b6154d460608301856136a3565b81810360808301526154e6818461545f565b90509695505050505050565b600081519050615501816136f9565b92915050565b60006020828403121561551d5761551c6135c5565b5b600061552b848285016154f2565b91505092915050565b60008160e01c9050919050565b600060033d11156155605760046000803e61555d600051615534565b90505b90565b600060443d106155f0576155756135bb565b60043d036004823e80513d602482011167ffffffffffffffff8211171561559d5750506155f0565b808201805167ffffffffffffffff8111156155bb57505050506155f0565b80602083010160043d0385018111156155d85750505050506155f0565b6155e782602001850186613ade565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061564f603483613817565b915061565a826155f3565b604082019050919050565b6000602082019050818103600083015261567e81615642565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006156e1602883613817565b91506156ec82615685565b604082019050919050565b60006020820190508181036000830152615710816156d4565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615773602983613817565b915061577e82615717565b604082019050919050565b600060208201905081810360008301526157a281615766565b9050919050565b600060a0820190506157be6000830188613a72565b6157cb6020830187613a72565b81810360408301526157dd8186614047565b905081810360608301526157f18185614047565b90508181036080830152615805818461545f565b9050969550505050505056fea26469706673582212204c57237a40c0c926bbd8f51a2b34e9df71cadb65c26bcae016844d4934aaae8564736f6c63430008110033
Loading...
Loading
Loading...
Loading
[ 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.