Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
890 EuterpeMysteryBox
Holders
556
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 EuterpeMysteryBoxLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EuterpeMysteryBox
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./lib/ERC721AOperatorFilterable.sol"; import "./EuterpeMysteryBoxErrorsAndEvents.sol"; /** * @title EuterpeMysteryBox represents the Euterpe NFT Mystery Boxes which can redeem the Euterpe IP-NFTs. */ contract EuterpeMysteryBox is Ownable, ERC721AOperatorFilterable, EuterpeMysteryBoxErrorsAndEvents, ReentrancyGuard { // max supply uint64 public constant MAX_SUPPLY = 1180; // mint limit per wallet uint64 public constant MINT_LIMIT_PER_WALLET = 1; // mint price uint256 public constant PRICE = 0.02 ether; // mapping from address to the number of minted tokens mapping(address => uint256) public numberMinted; // base token URI string public baseURI; // merkle root for the whitelist membership verification bytes32 public verificationRoot; // Euterpe Genesis SBT address public immutable SBT; // status Status public status; // status pipeline enum Status { INIT, WHITELIST_MINT, SBT_MINT, PUBLIC_MINT, REDEEMABLE, PAUSED } /** * @notice Make sure that the caller is user. */ modifier callerIsUser() { if (tx.origin != _msgSender()) revert CallerIsNotUser(); _; } /** * @notice Constructor. * @param baseURI_ The base token URI * @param status_ The initial status * @param sbt_ The Euterpe Genesis SBT address */ constructor( string memory baseURI_, Status status_, address sbt_ ) ERC721A("Euterpe Mystery Box", "EuterpeMysteryBox") { baseURI = baseURI_; status = status_; SBT = sbt_; } /** * @notice Mint tokens for the team operation. * @param quantity The quantity of tokens to be minted */ function teamMint(uint256 quantity) external onlyOwner { if (totalSupply() + quantity > MAX_SUPPLY) revert MaxSupplyExceeded(); _safeMint(_msgSender(), quantity); } /** * @notice Claim tokens for the community operation. * @param recipients The recipient set * @param quantities The corresponding token quantity set */ function claim(address[] calldata recipients, uint256[] calldata quantities) external onlyOwner nonReentrant { if (recipients.length != quantities.length) revert InvalidParams(); for (uint256 i = 0; i < recipients.length; i++) { if (totalSupply() + quantities[i] > MAX_SUPPLY) revert MaxSupplyExceeded(); _safeMint(recipients[i], quantities[i]); } } /** * @notice Mint tokens for the whitelisted accounts holding Euterpe Genesis SBT. * @param quantity The quantity of tokens to be minted * @param proof The membership proof */ function whitelistMint(uint256 quantity, bytes32[] calldata proof) external payable callerIsUser { if (status != Status.WHITELIST_MINT) revert WhitelistMintNotEnabled(); if (!isWhitelisted(_msgSender(), proof)) revert NotWhitelisted(); if (!isSBTHolder(_msgSender())) revert NotSBTHolder(); _checkAndMint(_msgSender(), quantity); } /** * @notice Mint tokens for Euterpe Genesis SBT holders. * @param quantity The quantity of tokens to be minted */ function sbtMint(uint256 quantity) external payable callerIsUser { if (status != Status.SBT_MINT) revert SBTMintNotEnabled(); if (!isSBTHolder(_msgSender())) revert NotSBTHolder(); _checkAndMint(_msgSender(), quantity); } /** * @notice Mint tokens publicly. * @param quantity The quantity of tokens to be minted */ function publicMint(uint256 quantity) external payable callerIsUser { if (status != Status.PUBLIC_MINT) revert PublicMintNotEnabled(); _checkAndMint(_msgSender(), quantity); } /** * @notice Redeem the Euterpe IP-NFTs with the specified mystery boxes. * The original mystery boxes will be BURNED. * @param tokenIds The ids of Euterpe Mystery Boxes with which to redeem */ function redeem(uint256[] calldata tokenIds) external { if (status != Status.REDEEMABLE) revert RedemptionNotEnabled(); for (uint256 i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; if (ownerOf(tokenId) != _msgSender()) revert NotTokenOwner(); _burn(tokenId, false); emit RedemptionRequested(_msgSender(), tokenId); } } /** * @notice Check if the given account is whitelisted. * @param account The destination account to be verified * @param proof The membership proof * @return whitelisted True if the given account is whitelisted, false otherwise */ function isWhitelisted(address account, bytes32[] calldata proof) public view returns (bool) { return MerkleProof.verify( proof, verificationRoot, keccak256(abi.encodePacked(account)) ); } /** * @notice Check if the given account is the qualified Euterpe Genesis SBT holder. * @param account The destination account * @return bool True if the given account is qualified, false otherwise */ function isSBTHolder(address account) public view returns (bool) { return IERC721(SBT).balanceOf(account) > 0; } /** * @notice Set the current status. * @param status_ The current status */ function setStatus(Status status_) external onlyOwner { status = status_; emit StatusChanged(uint8(status_)); } /** * @notice Set the base token URI. * @param baseURI_ The base token URI */ function setBaseURI(string calldata baseURI_) external onlyOwner { baseURI = baseURI_; emit BaseURISet(baseURI_); } /** * @notice Set the verification root. * @param verificationRoot_ The merkle root for the whitelist verification */ function setVerificationRoot(bytes32 verificationRoot_) external onlyOwner { verificationRoot = verificationRoot_; } /** * @notice Withdraw balance. */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; if (balance == 0) revert InsufficientBalance(); payable(_msgSender()).transfer(balance); emit Withdrawal(_msgSender(), balance); } /** * @notice Check and mint `quantity` of tokens to the specified account. * @param to The specified recipient address * @param quantity The quantity of tokens to be minted */ function _checkAndMint(address to, uint256 quantity) internal { if (numberMinted[to] + quantity > MINT_LIMIT_PER_WALLET) revert MintLimitPerWalletExceeded(); if (totalSupply() + quantity > MAX_SUPPLY) revert MaxSupplyExceeded(); _paymentHandler(PRICE, quantity); numberMinted[to] += quantity; _safeMint(to, quantity); } /** * @notice Handle payment. * @param price The price per token * @param quantity The token quantity */ function _paymentHandler(uint256 price, uint256 quantity) internal { uint256 total = price * quantity; if (msg.value < total) revert InsufficientValue(); if (msg.value > total) { payable(_msgSender()).transfer(msg.value - total); } } /** * @notice Override the super._startTokenId() implementation. * @return startTokenId The starting id of tokens */ function _startTokenId() internal view virtual override returns (uint256) { return 1; } /** * @notice Override the super._baseURI() implementation. * @return baseURI The base token URI */ function _baseURI() internal view virtual override returns (string memory) { return baseURI; } /** * @notice Query all tokens of the given owner. * @param owner The owner * @return tokenIds The ids of tokens of the owner */ function tokensOfOwner(address owner) external view returns (uint256[] memory) { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @title Errors and events for Euterpe Mystery Box. */ abstract contract EuterpeMysteryBoxErrorsAndEvents { /** * The caller is not user. */ error CallerIsNotUser(); /** * Whitelist mint is not enabled. */ error WhitelistMintNotEnabled(); /** * Mint for Euterpe Genesis SBT is not enabled. */ error SBTMintNotEnabled(); /** * Public mint is not enabled. */ error PublicMintNotEnabled(); /** * Redemption is not enabled. */ error RedemptionNotEnabled(); /** * Invalid params. */ error InvalidParams(); /** * Max supply exceeded. */ error MaxSupplyExceeded(); /** * Mint limit per wallet exceeded. */ error MintLimitPerWalletExceeded(); /** * The account is not whitelisted. */ error NotWhitelisted(); /** * The account is not the qualified Euterpe Genesis SBT holder. */ error NotSBTHolder(); /** * The account is not the token owner. */ error NotTokenOwner(); /** * Insufficient balance. */ error InsufficientBalance(); /** * Insufficient value. */ error InsufficientValue(); /** * @notice Triggered when the base URI set. */ event BaseURISet(string baseURI); /** * @notice Triggered when the status changed. */ event StatusChanged(uint8 status); /** * @notice Triggered when redemption is initiated. */ event RedemptionRequested(address indexed account, uint256 indexed tokenId); /** * @notice Triggered when the balance withdrawn. */ event Withdrawal(address indexed sender, uint256 amount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _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} * * _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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _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} * * _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 pragma solidity ^0.8.13; import "erc721a/contracts/ERC721A.sol"; import "./OperatorFilter/DefaultOperatorFilterer.sol"; /** * @title The contract is intended to integrate the operator filter required by OpenSea. */ abstract contract ERC721AOperatorFilterable is ERC721A, DefaultOperatorFilterer { function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @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 OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // 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(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // 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) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"enum EuterpeMysteryBox.Status","name":"status_","type":"uint8"},{"internalType":"address","name":"sbt_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CallerIsNotUser","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InsufficientValue","type":"error"},{"inputs":[],"name":"InvalidParams","type":"error"},{"inputs":[],"name":"MaxSupplyExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintLimitPerWalletExceeded","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotSBTHolder","type":"error"},{"inputs":[],"name":"NotTokenOwner","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"PublicMintNotEnabled","type":"error"},{"inputs":[],"name":"RedemptionNotEnabled","type":"error"},{"inputs":[],"name":"SBTMintNotEnabled","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WhitelistMintNotEnabled","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":"string","name":"baseURI","type":"string"}],"name":"BaseURISet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"RedemptionRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"status","type":"uint8"}],"name":"StatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_LIMIT_PER_WALLET","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SBT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isSBTHolder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"sbtMint","outputs":[],"stateMutability":"payable","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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum EuterpeMysteryBox.Status","name":"status_","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"verificationRoot_","type":"bytes32"}],"name":"setVerificationRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum EuterpeMysteryBox.Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"verificationRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162002da438038062002da48339810160408190526200003491620003d2565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601381526020017f45757465727065204d79737465727920426f78000000000000000000000000008152506040518060400160405280601181526020017008aeae8cae4e0ca9af2e6e8cae4f284def607b1b815250620000c5620000bf6200029560201b60201c565b62000299565b8151620000da906003906020850190620002e9565b508051620000f0906004906020840190620002e9565b506001805550506daaeb6d7670e522a718067333cd4e3b156200023c5780156200018a57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200016b57600080fd5b505af115801562000180573d6000803e3d6000fd5b505050506200023c565b6001600160a01b03821615620001db5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000150565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200022257600080fd5b505af115801562000237573d6000803e3d6000fd5b505050505b5050600160095582516200025890600b906020860190620002e9565b50600d805483919060ff191660018360058111156200027b576200027b620004d5565b02179055506001600160a01b031660805250620005279050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620002f790620004eb565b90600052602060002090601f0160209004810192826200031b576000855562000366565b82601f106200033657805160ff191683800117855562000366565b8280016001018555821562000366579182015b828111156200036657825182559160200191906001019062000349565b506200037492915062000378565b5090565b5b8082111562000374576000815560010162000379565b634e487b7160e01b600052604160045260246000fd5b805160068110620003b557600080fd5b919050565b80516001600160a01b0381168114620003b557600080fd5b600080600060608486031215620003e857600080fd5b83516001600160401b03808211156200040057600080fd5b818601915086601f8301126200041557600080fd5b8151818111156200042a576200042a6200038f565b604051601f8201601f19908116603f011681019083821181831017156200045557620004556200038f565b816040528281526020935089848487010111156200047257600080fd5b600091505b8282101562000496578482018401518183018501529083019062000477565b82821115620004a85760008484830101525b9650620004ba915050868201620003a5565b93505050620004cc60408501620003ba565b90509250925092565b634e487b7160e01b600052602160045260246000fd5b600181811c908216806200050057607f821691505b6020821081036200052157634e487b7160e01b600052602260045260246000fd5b50919050565b60805161285a6200054a600039600081816105d80152610fbc015261285a6000f3fe6080604052600436106102305760003560e01c80636c0360eb1161012e578063a323a748116100ab578063dc33e6811161006f578063dc33e68114610655578063e985e9c514610682578063f0692f18146106cb578063f2fde38b146106de578063f9afb26a146106fe57600080fd5b8063a323a748146105c6578063b88d4fde146105fa578063c87b56dd1461060d578063d2cab0561461062d578063d6c336ed1461064057600080fd5b80638462151c116100f25780638462151c1461052b5780638d859f3e146105585780638da5cb5b1461057357806395d89b4114610591578063a22cb465146105a657600080fd5b80636c0360eb146104a157806370a08231146104b6578063715018a6146104d657806374725001146104eb57806377d0cff41461050b57600080fd5b80632db11544116101bc57806341f434341161018057806341f434341461040c57806342842e0e1461042e57806355f804b3146104415780635a23dd99146104615780636352211e1461048157600080fd5b80632db11544146103755780632e49d78b146103885780632fbba115146103a857806332cb6b0c146103c85780633ccfd60b146103f757600080fd5b80630d032de8116102035780630d032de8146102d957806318160ddd146102fd578063200d2ed21461031b57806323b872dd146103425780632ce333a61461035557600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004612118565b61071e565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f610770565b604051610261919061218d565b34801561029857600080fd5b506102ac6102a73660046121a0565b610802565b6040516001600160a01b039091168152602001610261565b6102d76102d23660046121d5565b610846565b005b3480156102e557600080fd5b506102ef600c5481565b604051908152602001610261565b34801561030957600080fd5b506102ef600254600154036000190190565b34801561032757600080fd5b50600d546103359060ff1681565b6040516102619190612215565b6102d761035036600461223d565b610914565b34801561036157600080fd5b506102d76103703660046121a0565b6109ed565b6102d76103833660046121a0565b6109fa565b34801561039457600080fd5b506102d76103a3366004612279565b610a5e565b3480156103b457600080fd5b506102d76103c33660046121a0565b610ad5565b3480156103d457600080fd5b506103de61049c81565b60405167ffffffffffffffff9091168152602001610261565b34801561040357600080fd5b506102d7610b25565b34801561041857600080fd5b506102ac6daaeb6d7670e522a718067333cd4e81565b6102d761043c36600461223d565b610bb6565b34801561044d57600080fd5b506102d761045c36600461229a565b610c84565b34801561046d57600080fd5b5061025561047c366004612358565b610cd6565b34801561048d57600080fd5b506102ac61049c3660046121a0565b610d56565b3480156104ad57600080fd5b5061027f610d61565b3480156104c257600080fd5b506102ef6104d13660046123ab565b610def565b3480156104e257600080fd5b506102d7610e3e565b3480156104f757600080fd5b506102d76105063660046123c6565b610e52565b34801561051757600080fd5b506102556105263660046123ab565b610f98565b34801561053757600080fd5b5061054b6105463660046123ab565b61102e565b6040516102619190612432565b34801561056457600080fd5b506102ef66470de4df82000081565b34801561057f57600080fd5b506000546001600160a01b03166102ac565b34801561059d57600080fd5b5061027f611144565b3480156105b257600080fd5b506102d76105c1366004612478565b611153565b3480156105d257600080fd5b506102ac7f000000000000000000000000000000000000000000000000000000000000000081565b6102d76106083660046124c5565b611217565b34801561061957600080fd5b5061027f6106283660046121a0565b6112f3565b6102d761063b3660046125a1565b611377565b34801561064c57600080fd5b506103de600181565b34801561066157600080fd5b506102ef6106703660046123ab565b600a6020526000908152604090205481565b34801561068e57600080fd5b5061025561069d3660046125d4565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6102d76106d93660046121a0565b611426565b3480156106ea57600080fd5b506102d76106f93660046123ab565b6114a3565b34801561070a57600080fd5b506102d7610719366004612607565b611519565b60006301ffc9a760e01b6001600160e01b03198316148061074f57506380ac58cd60e01b6001600160e01b03198316145b8061076a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461077f90612649565b80601f01602080910402602001604051908101604052809291908181526020018280546107ab90612649565b80156107f85780601f106107cd576101008083540402835291602001916107f8565b820191906000526020600020905b8154815290600101906020018083116107db57829003601f168201915b5050505050905090565b600061080d82611603565b61082a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561090557604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d89190612683565b61090557604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b61090f8383611638565b505050565b826daaeb6d7670e522a718067333cd4e3b156109dc57336001600160a01b0382160361094a576109458484846116d8565b6109e7565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bd9190612683565b6109dc57604051633b79c77360e21b81523360048201526024016108fc565b6109e78484846116d8565b50505050565b6109f5611868565b600c55565b323314610a1a57604051636983ce6360e01b815260040160405180910390fd5b6003600d5460ff166005811115610a3357610a336121ff565b14610a51576040516393e8222560e01b815260040160405180910390fd5b610a5b33826118c2565b50565b610a66611868565b600d805482919060ff19166001836005811115610a8557610a856121ff565b02179055507fafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e816005811115610abd57610abd6121ff565b60405160ff909116815260200160405180910390a150565b610add611868565b61049c81610af2600254600154036000190190565b610afc91906126b6565b1115610b1b57604051638a164f6360e01b815260040160405180910390fd5b610a5b3382611993565b610b2d611868565b476000819003610b5057604051631e9acf1760e31b815260040160405180910390fd5b604051339082156108fc029083906000818181858888f19350505050158015610b7d573d6000803e3d6000fd5b5060405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a250565b826daaeb6d7670e522a718067333cd4e3b15610c7957336001600160a01b03821603610be7576109458484846119ad565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5a9190612683565b610c7957604051633b79c77360e21b81523360048201526024016108fc565b6109e78484846119ad565b610c8c611868565b610c98600b8383612069565b507ff9c7803e94e0d3c02900d8a90893a6d5e90dd04d32a4cfe825520f82bf9f32f68282604051610cca9291906126ce565b60405180910390a15050565b6000610d4e83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c546040516bffffffffffffffffffffffff1960608b901b1660208201529092506034019050604051602081830303815290604052805190602001206119c8565b949350505050565b600061076a826119de565b600b8054610d6e90612649565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9a90612649565b8015610de75780601f10610dbc57610100808354040283529160200191610de7565b820191906000526020600020905b815481529060010190602001808311610dca57829003601f168201915b505050505081565b60006001600160a01b038216610e18576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e46611868565b610e506000611a4d565b565b610e5a611868565b600260095403610eac5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108fc565b6002600955828114610ed157604051635435b28960e11b815260040160405180910390fd5b60005b83811015610f8c5761049c838383818110610ef157610ef16126fd565b90506020020135610f09600254600154036000190190565b610f1391906126b6565b1115610f3257604051638a164f6360e01b815260040160405180910390fd5b610f7a858583818110610f4757610f476126fd565b9050602002016020810190610f5c91906123ab565b848484818110610f6e57610f6e6126fd565b90506020020135611993565b80610f8481612713565b915050610ed4565b50506001600955505050565b6040516370a0823160e01b81526001600160a01b03828116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015611003573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611027919061272c565b1192915050565b6060600080600061103e85610def565b905060008167ffffffffffffffff81111561105b5761105b6124af565b604051908082528060200260200182016040528015611084578160200160208202803683370190505b5090506110b160408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614611138576110c481611a9d565b915081604001516111285781516001600160a01b0316156110e457815194505b876001600160a01b0316856001600160a01b0316036111285780838761110981612713565b98508151811061111b5761111b6126fd565b6020026020010181815250505b61113181612713565b90506110b4565b50909695505050505050565b60606004805461077f90612649565b816daaeb6d7670e522a718067333cd4e3b1561120d57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e59190612683565b61120d57604051633b79c77360e21b81526001600160a01b03821660048201526024016108fc565b61090f8383611b1c565b836daaeb6d7670e522a718067333cd4e3b156112e057336001600160a01b0382160361124e5761124985858585611b88565b6112ec565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c19190612683565b6112e057604051633b79c77360e21b81523360048201526024016108fc565b6112ec85858585611b88565b5050505050565b60606112fe82611603565b61131b57604051630a14c4b560e41b815260040160405180910390fd5b6000611325611bcc565b905080516000036113455760405180602001604052806000815250611370565b8061134f84611bdb565b604051602001611360929190612745565b6040516020818303038152906040525b9392505050565b32331461139757604051636983ce6360e01b815260040160405180910390fd5b6001600d5460ff1660058111156113b0576113b06121ff565b146113ce57604051633a097b4560e11b815260040160405180910390fd5b6113d9338383610cd6565b6113f657604051630b094f2760e31b815260040160405180910390fd5b6113ff33610f98565b61141c57604051633c0b40c360e01b815260040160405180910390fd5b61090f33846118c2565b32331461144657604051636983ce6360e01b815260040160405180910390fd5b6002600d5460ff16600581111561145f5761145f6121ff565b1461147d5760405163b6610c1760e01b815260040160405180910390fd5b61148633610f98565b610a5157604051633c0b40c360e01b815260040160405180910390fd5b6114ab611868565b6001600160a01b0381166115105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108fc565b610a5b81611a4d565b6004600d5460ff166005811115611532576115326121ff565b1461155057604051630248deb960e31b815260040160405180910390fd5b60005b8181101561090f57600083838381811061156f5761156f6126fd565b90506020020135905061157f3390565b6001600160a01b031661159182610d56565b6001600160a01b0316146115b8576040516359dc379f60e01b815260040160405180910390fd5b6115c3816000611c1f565b604051819033907f3779310b71beb93dce3cb4f282d1ee00e2a6c89891587b17c1842ba12f7d52a490600090a350806115fb81612713565b915050611553565b600081600111158015611617575060015482105b801561076a575050600090815260056020526040902054600160e01b161590565b600061164382610d56565b9050336001600160a01b0382161461167c5761165f813361069d565b61167c576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006116e3826119de565b9050836001600160a01b0316816001600160a01b0316146117165760405162a1148160e81b815260040160405180910390fd5b600082815260076020526040902080546117428187335b6001600160a01b039081169116811491141790565b61176d57611750863361069d565b61176d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661179457604051633a954ecd60e21b815260040160405180910390fd5b801561179f57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036118315760018401600081815260056020526040812054900361182f57600154811461182f5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b031660008051602061280583398151915260405160405180910390a4505050505050565b6000546001600160a01b03163314610e505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fc565b6001600160a01b0382166000908152600a60205260409020546001906118e99083906126b6565b1115611908576040516304a6042360e21b815260040160405180910390fd5b61049c8161191d600254600154036000190190565b61192791906126b6565b111561194657604051638a164f6360e01b815260040160405180910390fd5b61195766470de4df82000082611d58565b6001600160a01b0382166000908152600a60205260408120805483929061197f9084906126b6565b9091555061198f90508282611993565b5050565b61198f828260405180602001604052806000815250611dc5565b61090f83838360405180602001604052806000815250611217565b6000826119d58584611e2b565b14949350505050565b60008180600111611a3457600154811015611a345760008181526005602052604081205490600160e01b82169003611a32575b80600003611370575060001901600081815260056020526040902054611a11565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526005602052604090205461076a90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611b93848484610914565b6001600160a01b0383163b156109e757611baf84848484611e78565b6109e7576040516368d2bf6b60e11b815260040160405180910390fd5b6060600b805461077f90612649565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611bf55750819003601f19909101908152919050565b6000611c2a836119de565b905080600080611c4886600090815260076020526040902080549091565b915091508415611c8857611c5d81843361172d565b611c8857611c6b833361069d565b611c8857604051632ce44b5f60e11b815260040160405180910390fd5b8015611c9357600082555b6001600160a01b038316600081815260066020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260056020526040812091909155600160e11b85169003611d2157600186016000818152600560205260408120549003611d1f576001548114611d1f5760008181526005602052604090208590555b505b60405186906000906001600160a01b03861690600080516020612805833981519152908390a4505060028054600101905550505050565b6000611d648284612774565b905080341015611d875760405163044044a560e21b815260040160405180910390fd5b8034111561090f57336108fc611d9d8334612793565b6040518115909202916000818181858888f193505050501580156109e7573d6000803e3d6000fd5b611dcf8383611f63565b6001600160a01b0383163b1561090f576001548281035b611df96000868380600101945086611e78565b611e16576040516368d2bf6b60e11b815260040160405180910390fd5b818110611de65781600154146112ec57600080fd5b600081815b8451811015611e7057611e5c82868381518110611e4f57611e4f6126fd565b602002602001015161203d565b915080611e6881612713565b915050611e30565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ead9033908990889088906004016127aa565b6020604051808303816000875af1925050508015611ee8575060408051601f3d908101601f19168201909252611ee5918101906127e7565b60015b611f46573d808015611f16576040519150601f19603f3d011682016040523d82523d6000602084013e611f1b565b606091505b508051600003611f3e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6001546000829003611f885760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083906000805160206128058339815191528180a4600183015b8181146120135780836000600080516020612805833981519152600080a4600101611fed565b508160000361203457604051622e076360e81b815260040160405180910390fd5b60015550505050565b6000818310612059576000828152602084905260409020611370565b5060009182526020526040902090565b82805461207590612649565b90600052602060002090601f01602090048101928261209757600085556120dd565b82601f106120b05782800160ff198235161785556120dd565b828001600101855582156120dd579182015b828111156120dd5782358255916020019190600101906120c2565b506120e99291506120ed565b5090565b5b808211156120e957600081556001016120ee565b6001600160e01b031981168114610a5b57600080fd5b60006020828403121561212a57600080fd5b813561137081612102565b60005b83811015612150578181015183820152602001612138565b838111156109e75750506000910152565b60008151808452612179816020860160208601612135565b601f01601f19169290920160200192915050565b6020815260006113706020830184612161565b6000602082840312156121b257600080fd5b5035919050565b80356001600160a01b03811681146121d057600080fd5b919050565b600080604083850312156121e857600080fd5b6121f1836121b9565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b602081016006831061223757634e487b7160e01b600052602160045260246000fd5b91905290565b60008060006060848603121561225257600080fd5b61225b846121b9565b9250612269602085016121b9565b9150604084013590509250925092565b60006020828403121561228b57600080fd5b81356006811061137057600080fd5b600080602083850312156122ad57600080fd5b823567ffffffffffffffff808211156122c557600080fd5b818501915085601f8301126122d957600080fd5b8135818111156122e857600080fd5b8660208285010111156122fa57600080fd5b60209290920196919550909350505050565b60008083601f84011261231e57600080fd5b50813567ffffffffffffffff81111561233657600080fd5b6020830191508360208260051b850101111561235157600080fd5b9250929050565b60008060006040848603121561236d57600080fd5b612376846121b9565b9250602084013567ffffffffffffffff81111561239257600080fd5b61239e8682870161230c565b9497909650939450505050565b6000602082840312156123bd57600080fd5b611370826121b9565b600080600080604085870312156123dc57600080fd5b843567ffffffffffffffff808211156123f457600080fd5b6124008883890161230c565b9096509450602087013591508082111561241957600080fd5b506124268782880161230c565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b818110156111385783518352928401929184019160010161244e565b8015158114610a5b57600080fd5b6000806040838503121561248b57600080fd5b612494836121b9565b915060208301356124a48161246a565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156124db57600080fd5b6124e4856121b9565b93506124f2602086016121b9565b925060408501359150606085013567ffffffffffffffff8082111561251657600080fd5b818701915087601f83011261252a57600080fd5b81358181111561253c5761253c6124af565b604051601f8201601f19908116603f01168101908382118183101715612564576125646124af565b816040528281528a602084870101111561257d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156125b657600080fd5b83359250602084013567ffffffffffffffff81111561239257600080fd5b600080604083850312156125e757600080fd5b6125f0836121b9565b91506125fe602084016121b9565b90509250929050565b6000806020838503121561261a57600080fd5b823567ffffffffffffffff81111561263157600080fd5b61263d8582860161230c565b90969095509350505050565b600181811c9082168061265d57607f821691505b60208210810361267d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561269557600080fd5b81516113708161246a565b634e487b7160e01b600052601160045260246000fd5b600082198211156126c9576126c96126a0565b500190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b600060018201612725576127256126a0565b5060010190565b60006020828403121561273e57600080fd5b5051919050565b60008351612757818460208801612135565b83519083019061276b818360208801612135565b01949350505050565b600081600019048311821515161561278e5761278e6126a0565b500290565b6000828210156127a5576127a56126a0565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127dd90830184612161565b9695505050505050565b6000602082840312156127f957600080fd5b81516113708161210256feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b5041958f86e57d874d834ed69fc843395dde4607bb50af1ff907edefbe2b54d64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006dd9a4d5aa11aa5cefb7fbec8c21e19245c2d8370000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569667a6d32346b66786e7264326b7a7a75336b793261666f6d6f6f75796e716e7175373671356276616a6673726d736463746b74612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102305760003560e01c80636c0360eb1161012e578063a323a748116100ab578063dc33e6811161006f578063dc33e68114610655578063e985e9c514610682578063f0692f18146106cb578063f2fde38b146106de578063f9afb26a146106fe57600080fd5b8063a323a748146105c6578063b88d4fde146105fa578063c87b56dd1461060d578063d2cab0561461062d578063d6c336ed1461064057600080fd5b80638462151c116100f25780638462151c1461052b5780638d859f3e146105585780638da5cb5b1461057357806395d89b4114610591578063a22cb465146105a657600080fd5b80636c0360eb146104a157806370a08231146104b6578063715018a6146104d657806374725001146104eb57806377d0cff41461050b57600080fd5b80632db11544116101bc57806341f434341161018057806341f434341461040c57806342842e0e1461042e57806355f804b3146104415780635a23dd99146104615780636352211e1461048157600080fd5b80632db11544146103755780632e49d78b146103885780632fbba115146103a857806332cb6b0c146103c85780633ccfd60b146103f757600080fd5b80630d032de8116102035780630d032de8146102d957806318160ddd146102fd578063200d2ed21461031b57806323b872dd146103425780632ce333a61461035557600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004612118565b61071e565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f610770565b604051610261919061218d565b34801561029857600080fd5b506102ac6102a73660046121a0565b610802565b6040516001600160a01b039091168152602001610261565b6102d76102d23660046121d5565b610846565b005b3480156102e557600080fd5b506102ef600c5481565b604051908152602001610261565b34801561030957600080fd5b506102ef600254600154036000190190565b34801561032757600080fd5b50600d546103359060ff1681565b6040516102619190612215565b6102d761035036600461223d565b610914565b34801561036157600080fd5b506102d76103703660046121a0565b6109ed565b6102d76103833660046121a0565b6109fa565b34801561039457600080fd5b506102d76103a3366004612279565b610a5e565b3480156103b457600080fd5b506102d76103c33660046121a0565b610ad5565b3480156103d457600080fd5b506103de61049c81565b60405167ffffffffffffffff9091168152602001610261565b34801561040357600080fd5b506102d7610b25565b34801561041857600080fd5b506102ac6daaeb6d7670e522a718067333cd4e81565b6102d761043c36600461223d565b610bb6565b34801561044d57600080fd5b506102d761045c36600461229a565b610c84565b34801561046d57600080fd5b5061025561047c366004612358565b610cd6565b34801561048d57600080fd5b506102ac61049c3660046121a0565b610d56565b3480156104ad57600080fd5b5061027f610d61565b3480156104c257600080fd5b506102ef6104d13660046123ab565b610def565b3480156104e257600080fd5b506102d7610e3e565b3480156104f757600080fd5b506102d76105063660046123c6565b610e52565b34801561051757600080fd5b506102556105263660046123ab565b610f98565b34801561053757600080fd5b5061054b6105463660046123ab565b61102e565b6040516102619190612432565b34801561056457600080fd5b506102ef66470de4df82000081565b34801561057f57600080fd5b506000546001600160a01b03166102ac565b34801561059d57600080fd5b5061027f611144565b3480156105b257600080fd5b506102d76105c1366004612478565b611153565b3480156105d257600080fd5b506102ac7f0000000000000000000000006dd9a4d5aa11aa5cefb7fbec8c21e19245c2d83781565b6102d76106083660046124c5565b611217565b34801561061957600080fd5b5061027f6106283660046121a0565b6112f3565b6102d761063b3660046125a1565b611377565b34801561064c57600080fd5b506103de600181565b34801561066157600080fd5b506102ef6106703660046123ab565b600a6020526000908152604090205481565b34801561068e57600080fd5b5061025561069d3660046125d4565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6102d76106d93660046121a0565b611426565b3480156106ea57600080fd5b506102d76106f93660046123ab565b6114a3565b34801561070a57600080fd5b506102d7610719366004612607565b611519565b60006301ffc9a760e01b6001600160e01b03198316148061074f57506380ac58cd60e01b6001600160e01b03198316145b8061076a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461077f90612649565b80601f01602080910402602001604051908101604052809291908181526020018280546107ab90612649565b80156107f85780601f106107cd576101008083540402835291602001916107f8565b820191906000526020600020905b8154815290600101906020018083116107db57829003601f168201915b5050505050905090565b600061080d82611603565b61082a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561090557604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d89190612683565b61090557604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b61090f8383611638565b505050565b826daaeb6d7670e522a718067333cd4e3b156109dc57336001600160a01b0382160361094a576109458484846116d8565b6109e7565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bd9190612683565b6109dc57604051633b79c77360e21b81523360048201526024016108fc565b6109e78484846116d8565b50505050565b6109f5611868565b600c55565b323314610a1a57604051636983ce6360e01b815260040160405180910390fd5b6003600d5460ff166005811115610a3357610a336121ff565b14610a51576040516393e8222560e01b815260040160405180910390fd5b610a5b33826118c2565b50565b610a66611868565b600d805482919060ff19166001836005811115610a8557610a856121ff565b02179055507fafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e816005811115610abd57610abd6121ff565b60405160ff909116815260200160405180910390a150565b610add611868565b61049c81610af2600254600154036000190190565b610afc91906126b6565b1115610b1b57604051638a164f6360e01b815260040160405180910390fd5b610a5b3382611993565b610b2d611868565b476000819003610b5057604051631e9acf1760e31b815260040160405180910390fd5b604051339082156108fc029083906000818181858888f19350505050158015610b7d573d6000803e3d6000fd5b5060405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a250565b826daaeb6d7670e522a718067333cd4e3b15610c7957336001600160a01b03821603610be7576109458484846119ad565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5a9190612683565b610c7957604051633b79c77360e21b81523360048201526024016108fc565b6109e78484846119ad565b610c8c611868565b610c98600b8383612069565b507ff9c7803e94e0d3c02900d8a90893a6d5e90dd04d32a4cfe825520f82bf9f32f68282604051610cca9291906126ce565b60405180910390a15050565b6000610d4e83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c546040516bffffffffffffffffffffffff1960608b901b1660208201529092506034019050604051602081830303815290604052805190602001206119c8565b949350505050565b600061076a826119de565b600b8054610d6e90612649565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9a90612649565b8015610de75780601f10610dbc57610100808354040283529160200191610de7565b820191906000526020600020905b815481529060010190602001808311610dca57829003601f168201915b505050505081565b60006001600160a01b038216610e18576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e46611868565b610e506000611a4d565b565b610e5a611868565b600260095403610eac5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108fc565b6002600955828114610ed157604051635435b28960e11b815260040160405180910390fd5b60005b83811015610f8c5761049c838383818110610ef157610ef16126fd565b90506020020135610f09600254600154036000190190565b610f1391906126b6565b1115610f3257604051638a164f6360e01b815260040160405180910390fd5b610f7a858583818110610f4757610f476126fd565b9050602002016020810190610f5c91906123ab565b848484818110610f6e57610f6e6126fd565b90506020020135611993565b80610f8481612713565b915050610ed4565b50506001600955505050565b6040516370a0823160e01b81526001600160a01b03828116600483015260009182917f0000000000000000000000006dd9a4d5aa11aa5cefb7fbec8c21e19245c2d83716906370a0823190602401602060405180830381865afa158015611003573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611027919061272c565b1192915050565b6060600080600061103e85610def565b905060008167ffffffffffffffff81111561105b5761105b6124af565b604051908082528060200260200182016040528015611084578160200160208202803683370190505b5090506110b160408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614611138576110c481611a9d565b915081604001516111285781516001600160a01b0316156110e457815194505b876001600160a01b0316856001600160a01b0316036111285780838761110981612713565b98508151811061111b5761111b6126fd565b6020026020010181815250505b61113181612713565b90506110b4565b50909695505050505050565b60606004805461077f90612649565b816daaeb6d7670e522a718067333cd4e3b1561120d57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e59190612683565b61120d57604051633b79c77360e21b81526001600160a01b03821660048201526024016108fc565b61090f8383611b1c565b836daaeb6d7670e522a718067333cd4e3b156112e057336001600160a01b0382160361124e5761124985858585611b88565b6112ec565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c19190612683565b6112e057604051633b79c77360e21b81523360048201526024016108fc565b6112ec85858585611b88565b5050505050565b60606112fe82611603565b61131b57604051630a14c4b560e41b815260040160405180910390fd5b6000611325611bcc565b905080516000036113455760405180602001604052806000815250611370565b8061134f84611bdb565b604051602001611360929190612745565b6040516020818303038152906040525b9392505050565b32331461139757604051636983ce6360e01b815260040160405180910390fd5b6001600d5460ff1660058111156113b0576113b06121ff565b146113ce57604051633a097b4560e11b815260040160405180910390fd5b6113d9338383610cd6565b6113f657604051630b094f2760e31b815260040160405180910390fd5b6113ff33610f98565b61141c57604051633c0b40c360e01b815260040160405180910390fd5b61090f33846118c2565b32331461144657604051636983ce6360e01b815260040160405180910390fd5b6002600d5460ff16600581111561145f5761145f6121ff565b1461147d5760405163b6610c1760e01b815260040160405180910390fd5b61148633610f98565b610a5157604051633c0b40c360e01b815260040160405180910390fd5b6114ab611868565b6001600160a01b0381166115105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108fc565b610a5b81611a4d565b6004600d5460ff166005811115611532576115326121ff565b1461155057604051630248deb960e31b815260040160405180910390fd5b60005b8181101561090f57600083838381811061156f5761156f6126fd565b90506020020135905061157f3390565b6001600160a01b031661159182610d56565b6001600160a01b0316146115b8576040516359dc379f60e01b815260040160405180910390fd5b6115c3816000611c1f565b604051819033907f3779310b71beb93dce3cb4f282d1ee00e2a6c89891587b17c1842ba12f7d52a490600090a350806115fb81612713565b915050611553565b600081600111158015611617575060015482105b801561076a575050600090815260056020526040902054600160e01b161590565b600061164382610d56565b9050336001600160a01b0382161461167c5761165f813361069d565b61167c576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006116e3826119de565b9050836001600160a01b0316816001600160a01b0316146117165760405162a1148160e81b815260040160405180910390fd5b600082815260076020526040902080546117428187335b6001600160a01b039081169116811491141790565b61176d57611750863361069d565b61176d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661179457604051633a954ecd60e21b815260040160405180910390fd5b801561179f57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036118315760018401600081815260056020526040812054900361182f57600154811461182f5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b031660008051602061280583398151915260405160405180910390a4505050505050565b6000546001600160a01b03163314610e505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fc565b6001600160a01b0382166000908152600a60205260409020546001906118e99083906126b6565b1115611908576040516304a6042360e21b815260040160405180910390fd5b61049c8161191d600254600154036000190190565b61192791906126b6565b111561194657604051638a164f6360e01b815260040160405180910390fd5b61195766470de4df82000082611d58565b6001600160a01b0382166000908152600a60205260408120805483929061197f9084906126b6565b9091555061198f90508282611993565b5050565b61198f828260405180602001604052806000815250611dc5565b61090f83838360405180602001604052806000815250611217565b6000826119d58584611e2b565b14949350505050565b60008180600111611a3457600154811015611a345760008181526005602052604081205490600160e01b82169003611a32575b80600003611370575060001901600081815260056020526040902054611a11565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526005602052604090205461076a90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611b93848484610914565b6001600160a01b0383163b156109e757611baf84848484611e78565b6109e7576040516368d2bf6b60e11b815260040160405180910390fd5b6060600b805461077f90612649565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611bf55750819003601f19909101908152919050565b6000611c2a836119de565b905080600080611c4886600090815260076020526040902080549091565b915091508415611c8857611c5d81843361172d565b611c8857611c6b833361069d565b611c8857604051632ce44b5f60e11b815260040160405180910390fd5b8015611c9357600082555b6001600160a01b038316600081815260066020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260056020526040812091909155600160e11b85169003611d2157600186016000818152600560205260408120549003611d1f576001548114611d1f5760008181526005602052604090208590555b505b60405186906000906001600160a01b03861690600080516020612805833981519152908390a4505060028054600101905550505050565b6000611d648284612774565b905080341015611d875760405163044044a560e21b815260040160405180910390fd5b8034111561090f57336108fc611d9d8334612793565b6040518115909202916000818181858888f193505050501580156109e7573d6000803e3d6000fd5b611dcf8383611f63565b6001600160a01b0383163b1561090f576001548281035b611df96000868380600101945086611e78565b611e16576040516368d2bf6b60e11b815260040160405180910390fd5b818110611de65781600154146112ec57600080fd5b600081815b8451811015611e7057611e5c82868381518110611e4f57611e4f6126fd565b602002602001015161203d565b915080611e6881612713565b915050611e30565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ead9033908990889088906004016127aa565b6020604051808303816000875af1925050508015611ee8575060408051601f3d908101601f19168201909252611ee5918101906127e7565b60015b611f46573d808015611f16576040519150601f19603f3d011682016040523d82523d6000602084013e611f1b565b606091505b508051600003611f3e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6001546000829003611f885760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083906000805160206128058339815191528180a4600183015b8181146120135780836000600080516020612805833981519152600080a4600101611fed565b508160000361203457604051622e076360e81b815260040160405180910390fd5b60015550505050565b6000818310612059576000828152602084905260409020611370565b5060009182526020526040902090565b82805461207590612649565b90600052602060002090601f01602090048101928261209757600085556120dd565b82601f106120b05782800160ff198235161785556120dd565b828001600101855582156120dd579182015b828111156120dd5782358255916020019190600101906120c2565b506120e99291506120ed565b5090565b5b808211156120e957600081556001016120ee565b6001600160e01b031981168114610a5b57600080fd5b60006020828403121561212a57600080fd5b813561137081612102565b60005b83811015612150578181015183820152602001612138565b838111156109e75750506000910152565b60008151808452612179816020860160208601612135565b601f01601f19169290920160200192915050565b6020815260006113706020830184612161565b6000602082840312156121b257600080fd5b5035919050565b80356001600160a01b03811681146121d057600080fd5b919050565b600080604083850312156121e857600080fd5b6121f1836121b9565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b602081016006831061223757634e487b7160e01b600052602160045260246000fd5b91905290565b60008060006060848603121561225257600080fd5b61225b846121b9565b9250612269602085016121b9565b9150604084013590509250925092565b60006020828403121561228b57600080fd5b81356006811061137057600080fd5b600080602083850312156122ad57600080fd5b823567ffffffffffffffff808211156122c557600080fd5b818501915085601f8301126122d957600080fd5b8135818111156122e857600080fd5b8660208285010111156122fa57600080fd5b60209290920196919550909350505050565b60008083601f84011261231e57600080fd5b50813567ffffffffffffffff81111561233657600080fd5b6020830191508360208260051b850101111561235157600080fd5b9250929050565b60008060006040848603121561236d57600080fd5b612376846121b9565b9250602084013567ffffffffffffffff81111561239257600080fd5b61239e8682870161230c565b9497909650939450505050565b6000602082840312156123bd57600080fd5b611370826121b9565b600080600080604085870312156123dc57600080fd5b843567ffffffffffffffff808211156123f457600080fd5b6124008883890161230c565b9096509450602087013591508082111561241957600080fd5b506124268782880161230c565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b818110156111385783518352928401929184019160010161244e565b8015158114610a5b57600080fd5b6000806040838503121561248b57600080fd5b612494836121b9565b915060208301356124a48161246a565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156124db57600080fd5b6124e4856121b9565b93506124f2602086016121b9565b925060408501359150606085013567ffffffffffffffff8082111561251657600080fd5b818701915087601f83011261252a57600080fd5b81358181111561253c5761253c6124af565b604051601f8201601f19908116603f01168101908382118183101715612564576125646124af565b816040528281528a602084870101111561257d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000604084860312156125b657600080fd5b83359250602084013567ffffffffffffffff81111561239257600080fd5b600080604083850312156125e757600080fd5b6125f0836121b9565b91506125fe602084016121b9565b90509250929050565b6000806020838503121561261a57600080fd5b823567ffffffffffffffff81111561263157600080fd5b61263d8582860161230c565b90969095509350505050565b600181811c9082168061265d57607f821691505b60208210810361267d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561269557600080fd5b81516113708161246a565b634e487b7160e01b600052601160045260246000fd5b600082198211156126c9576126c96126a0565b500190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b600060018201612725576127256126a0565b5060010190565b60006020828403121561273e57600080fd5b5051919050565b60008351612757818460208801612135565b83519083019061276b818360208801612135565b01949350505050565b600081600019048311821515161561278e5761278e6126a0565b500290565b6000828210156127a5576127a56126a0565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127dd90830184612161565b9695505050505050565b6000602082840312156127f957600080fd5b81516113708161210256feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b5041958f86e57d874d834ed69fc843395dde4607bb50af1ff907edefbe2b54d64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006dd9a4d5aa11aa5cefb7fbec8c21e19245c2d8370000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569667a6d32346b66786e7264326b7a7a75336b793261666f6d6f6f75796e716e7175373671356276616a6673726d736463746b74612f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): ipfs://bafybeifzm24kfxnrd2kzzu3ky2afomoouynqnqu76q5bvajfsrmsdctkta/
Arg [1] : status_ (uint8): 0
Arg [2] : sbt_ (address): 0x6dD9a4D5Aa11aa5CEfB7fBec8C21e19245C2D837
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000006dd9a4d5aa11aa5cefb7fbec8c21e19245c2d837
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [4] : 697066733a2f2f62616679626569667a6d32346b66786e7264326b7a7a75336b
Arg [5] : 793261666f6d6f6f75796e716e7175373671356276616a6673726d736463746b
Arg [6] : 74612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
515:8763:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:6;;;;;;;;;;-1:-1:-1;9155:630:6;;;;;:::i;:::-;;:::i;:::-;;;565:14:14;;558:22;540:41;;528:2;513:18;9155:630:6;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:6;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:14;;;1674:51;;1662:2;1647:18;16360:214:6;1528:203:14;554:199:10;;;;;;:::i;:::-;;:::i;:::-;;1093:31:8;;;;;;;;;;;;;;;;;;;2319:25:14;;;2307:2;2292:18;1093:31:8;2173:177:14;5894:317:6;;;;;;;;;;;;6164:12;;8084:1:8;6148:13:6;:28;-1:-1:-1;;6148:46:6;;5894:317;1207:20:8;;;;;;;;;;-1:-1:-1;1207:20:8;;;;;;;;;;;;;;;:::i;759:199:10:-;;;;;;:::i;:::-;;:::i;6417:128:8:-;;;;;;;;;;-1:-1:-1;6417:128:8;;;;;:::i;:::-;;:::i;4042:196::-;;;;;;:::i;:::-;;:::i;5903:132::-;;;;;;;;;;-1:-1:-1;5903:132:8;;;;;:::i;:::-;;:::i;2114:185::-;;;;;;;;;;-1:-1:-1;2114:185:8;;;;;:::i;:::-;;:::i;671:40::-;;;;;;;;;;;;707:4;671:40;;;;;3977:18:14;3965:31;;;3947:50;;3935:2;3920:18;671:40:8;3803:200:14;6600:250:8;;;;;;;;;;;;;:::i;737:142:13:-;;;;;;;;;;;;836:42;737:142;;964:207:10;;;;;;:::i;:::-;;:::i;6138:136:8:-;;;;;;;;;;-1:-1:-1;6138:136:8;;;;;:::i;:::-;;:::i;5146:300::-;;;;;;;;;;-1:-1:-1;5146:300:8;;;;;:::i;:::-;;:::i;11391:150:6:-;;;;;;;;;;-1:-1:-1;11391:150:6;;;;;:::i;:::-;;:::i;1004:21:8:-;;;;;;;;;;;;;:::i;7045:230:6:-;;;;;;;;;;-1:-1:-1;7045:230:6;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;2483:447:8:-;;;;;;;;;;-1:-1:-1;2483:447:8;;;;;:::i;:::-;;:::i;5677:124::-;;;;;;;;;;-1:-1:-1;5677:124:8;;;;;:::i;:::-;;:::i;8482:794::-;;;;;;;;;;-1:-1:-1;8482:794:8;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;820:42::-;;;;;;;;;;;;852:10;820:42;;1201:85:0;;;;;;;;;;-1:-1:-1;1247:7:0;1273:6;-1:-1:-1;;;;;1273:6:0;1201:85;;10208:102:6;;;;;;;;;;;;;:::i;346:202:10:-;;;;;;;;;;-1:-1:-1;346:202:10;;;;;:::i;:::-;;:::i;1158:28:8:-;;;;;;;;;;;;;;;1177:240:10;;;;;;:::i;:::-;;:::i;10411:313:6:-;;;;;;;;;;-1:-1:-1;10411:313:6;;;;;:::i;:::-;;:::i;3137:396:8:-;;;;;;:::i;:::-;;:::i;747:48::-;;;;;;;;;;;;794:1;747:48;;928:47;;;;;;;;;;-1:-1:-1;928:47:8;;;;;:::i;:::-;;;;;;;;;;;;;;17282:162:6;;;;;;;;;;-1:-1:-1;17282:162:6;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:6;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;3674:250:8;;;;;;:::i;:::-;;:::i;2081:198:0:-;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;4463:416:8:-;;;;;;;;;;-1:-1:-1;4463:416:8;;;;;:::i;:::-;;:::i;9155:630:6:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:6;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:6;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:6;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:6:o;10039:98::-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:6;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:6;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:6;;16360:214::o;554:199:10:-;690:8;836:42:13;2692:45;:49;2688:221;;2762:67;;-1:-1:-1;;;2762:67:13;;2813:4;2762:67;;;10871:34:14;-1:-1:-1;;;;;10941:15:14;;10921:18;;;10914:43;836:42:13;;2762;;10806:18:14;;2762:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2757:142;;2856:28;;-1:-1:-1;;;2856:28:13;;-1:-1:-1;;;;;1692:32:14;;2856:28:13;;;1674:51:14;1647:18;;2856:28:13;;;;;;;;2757:142;714:32:10::1;728:8;738:7;714:13;:32::i;:::-;554:199:::0;;;:::o;759:::-;898:4;836:42:13;1963:45;:49;1959:528;;2248:10;-1:-1:-1;;;;;2240:18:13;;;2236:82;;914:37:10::1;933:4;939:2;943:7;914:18;:37::i;:::-;2297:7:13::0;;2236:82;2336:69;;-1:-1:-1;;;2336:69:13;;2387:4;2336:69;;;10871:34:14;2394:10:13;10921:18:14;;;10914:43;836:42:13;;2336;;10806:18:14;;2336:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2331:146;;2432:30;;-1:-1:-1;;;2432:30:13;;2451:10;2432:30;;;1674:51:14;1647:18;;2432:30:13;1528:203:14;2331:146:13;914:37:10::1;933:4;939:2;943:7;914:18;:37::i;:::-;759:199:::0;;;;:::o;6417:128:8:-;1094:13:0;:11;:13::i;:::-;6502:16:8::1;:36:::0;6417:128::o;4042:196::-;1498:9;719:10:3;1498:25:8;1494:55;;1532:17;;-1:-1:-1;;;1532:17:8;;;;;;;;;;;1494:55;4134:18:::1;4124:6;::::0;::::1;;:28;::::0;::::1;;;;;;:::i;:::-;;4120:63;;4161:22;;-1:-1:-1::0;;;4161:22:8::1;;;;;;;;;;;4120:63;4194:37;719:10:3::0;4222:8:8::1;4194:13;:37::i;:::-;4042:196:::0;:::o;5903:132::-;1094:13:0;:11;:13::i;:::-;5967:6:8::1;:16:::0;;5976:7;;5967:6;-1:-1:-1;;5967:16:8::1;::::0;5976:7;5967:16:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;5999:29;6019:7;6013:14;;;;;;;;:::i;:::-;5999:29;::::0;11390:4:14;11378:17;;;11360:36;;11348:2;11333:18;5999:29:8::1;;;;;;;5903:132:::0;:::o;2114:185::-;1094:13:0;:11;:13::i;:::-;707:4:8::1;2199:8:::0;2183:13:::1;6164:12:6::0;;8084:1:8;6148:13:6;:28;-1:-1:-1;;6148:46:6;;5894:317;2183:13:8::1;:24;;;;:::i;:::-;:37;2179:69;;;2229:19;;-1:-1:-1::0;;;2229:19:8::1;;;;;;;;;;;2179:69;2259:33;719:10:3::0;2283:8:8::1;2259:9;:33::i;6600:250::-:0;1094:13:0;:11;:13::i;:::-;6667:21:8::1;6649:15;6702:12:::0;;;6698:46:::1;;6723:21;;-1:-1:-1::0;;;6723:21:8::1;;;;;;;;;;;6698:46;6755:39;::::0;719:10:3;;6755:39:8;::::1;;;::::0;6786:7;;6755:39:::1;::::0;;;6786:7;719:10:3;6755:39:8;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;6810:33:8::1;::::0;2319:25:14;;;719:10:3;;6810:33:8::1;::::0;2307:2:14;2292:18;6810:33:8::1;;;;;;;6639:211;6600:250::o:0;964:207:10:-;1107:4;836:42:13;1963:45;:49;1959:528;;2248:10;-1:-1:-1;;;;;2240:18:13;;;2236:82;;1123:41:10::1;1146:4;1152:2;1156:7;1123:22;:41::i;2236:82:13:-:0;2336:69;;-1:-1:-1;;;2336:69:13;;2387:4;2336:69;;;10871:34:14;2394:10:13;10921:18:14;;;10914:43;836:42:13;;2336;;10806:18:14;;2336:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2331:146;;2432:30;;-1:-1:-1;;;2432:30:13;;2451:10;2432:30;;;1674:51:14;1647:18;;2432:30:13;1528:203:14;2331:146:13;1123:41:10::1;1146:4;1152:2;1156:7;1123:22;:41::i;6138:136:8:-:0;1094:13:0;:11;:13::i;:::-;6213:18:8::1;:7;6223:8:::0;;6213:18:::1;:::i;:::-;;6247:20;6258:8;;6247:20;;;;;;;:::i;:::-;;;;;;;;6138:136:::0;;:::o;5146:300::-;5257:4;5296:143;5332:5;;5296:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5355:16:8;;5399:25;;-1:-1:-1;;12216:2:14;12212:15;;;12208:53;5399:25:8;;;12196:66:14;5355:16:8;;-1:-1:-1;12278:12:14;;;-1:-1:-1;5399:25:8;;;;;;;;;;;;5389:36;;;;;;5296:18;:143::i;:::-;5277:162;5146:300;-1:-1:-1;;;;5146:300:8:o;11391:150:6:-;11463:7;11505:27;11524:7;11505:18;:27::i;1004:21:8:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7045:230:6:-;7117:7;-1:-1:-1;;;;;7140:19:6;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:6;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:6;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;2483:447:8:-;1094:13:0;:11;:13::i;:::-;1744:1:1::1;2325:7;;:19:::0;2317:63:::1;;;::::0;-1:-1:-1;;;2317:63:1;;12503:2:14;2317:63:1::1;::::0;::::1;12485:21:14::0;12542:2;12522:18;;;12515:30;12581:33;12561:18;;;12554:61;12632:18;;2317:63:1::1;12301:355:14::0;2317:63:1::1;1744:1;2455:7;:18:::0;2634:38:8;;::::2;2630:66;;2681:15;;-1:-1:-1::0;;;2681:15:8::2;;;;;;;;;;;2630:66;2712:9;2707:217;2727:21:::0;;::::2;2707:217;;;707:4;2789:10:::0;;2800:1;2789:13;;::::2;;;;;:::i;:::-;;;;;;;2773;6164:12:6::0;;8084:1:8;6148:13:6;:28;-1:-1:-1;;6148:46:6;;5894:317;2773:13:8::2;:29;;;;:::i;:::-;:42;2769:90;;;2840:19;;-1:-1:-1::0;;;2840:19:8::2;;;;;;;;;;;2769:90;2874:39;2884:10;;2895:1;2884:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;2899:10;;2910:1;2899:13;;;;;;;:::i;:::-;;;;;;;2874:9;:39::i;:::-;2750:3:::0;::::2;::::0;::::2;:::i;:::-;;;;2707:217;;;-1:-1:-1::0;;1701:1:1::1;2628:7;:22:::0;-1:-1:-1;;;2483:447:8:o;5677:124::-;5759:31;;-1:-1:-1;;;5759:31:8;;-1:-1:-1;;;;;1692:32:14;;;5759:31:8;;;1674:51:14;5736:4:8;;;;5767:3;5759:22;;;;1647:18:14;;5759:31:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;;5677:124;-1:-1:-1;;5677:124:8:o;8482:794::-;8567:16;8599:19;8628:25;8664:22;8689:16;8699:5;8689:9;:16::i;:::-;8664:41;;8715:25;8757:14;8743:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8743:29:8;;8715:57;;8783:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8783:31:8;8084:1;8824:420;8873:14;8858:11;:29;8824:420;;8920:15;8933:1;8920:12;:15::i;:::-;8908:27;;8954:9;:16;;;8990:8;8950:63;9031:14;;-1:-1:-1;;;;;9031:28:8;;9027:101;;9099:14;;;-1:-1:-1;9027:101:8;9167:5;-1:-1:-1;;;;;9146:26:8;:17;-1:-1:-1;;;;;9146:26:8;;9142:92;;9218:1;9192:8;9201:13;;;;:::i;:::-;;;9192:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;9142:92;8889:3;;;:::i;:::-;;;8824:420;;;-1:-1:-1;9261:8:8;;8482:794;-1:-1:-1;;;;;;8482:794:8:o;10208:102:6:-;10264:13;10296:7;10289:14;;;;;:::i;346:202:10:-;474:8;836:42:13;2692:45;:49;2688:221;;2762:67;;-1:-1:-1;;;2762:67:13;;2813:4;2762:67;;;10871:34:14;-1:-1:-1;;;;;10941:15:14;;10921:18;;;10914:43;836:42:13;;2762;;10806:18:14;;2762:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2757:142;;2856:28;;-1:-1:-1;;;2856:28:13;;-1:-1:-1;;;;;1692:32:14;;2856:28:13;;;1674:51:14;1647:18;;2856:28:13;1528:203:14;2757:142:13;498:43:10::1;522:8;532;498:23;:43::i;1177:240::-:0;1347:4;836:42:13;1963:45;:49;1959:528;;2248:10;-1:-1:-1;;;;;2240:18:13;;;2236:82;;1363:47:10::1;1386:4;1392:2;1396:7;1405:4;1363:22;:47::i;:::-;2297:7:13::0;;2236:82;2336:69;;-1:-1:-1;;;2336:69:13;;2387:4;2336:69;;;10871:34:14;2394:10:13;10921:18:14;;;10914:43;836:42:13;;2336;;10806:18:14;;2336:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2331:146;;2432:30;;-1:-1:-1;;;2432:30:13;;2451:10;2432:30;;;1674:51:14;1647:18;;2432:30:13;1528:203:14;2331:146:13;1363:47:10::1;1386:4;1392:2;1396:7;1405:4;1363:22;:47::i;:::-;1177:240:::0;;;;;:::o;10411:313:6:-;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;-1:-1:-1;;;10539:29:6;;;;;;;;;;;10509:59;10579:21;10603:10;:8;:10::i;:::-;10579:34;;10636:7;10630:21;10655:1;10630:26;:87;;;;;;;;;;;;;;;;;10683:7;10692:18;10702:7;10692:9;:18::i;:::-;10666:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10630:87;10623:94;10411:313;-1:-1:-1;;;10411:313:6:o;3137:396:8:-;1498:9;719:10:3;1498:25:8;1494:55;;1532:17;;-1:-1:-1;;;1532:17:8;;;;;;;;;;;1494:55;3286:21:::1;3276:6;::::0;::::1;;:31;::::0;::::1;;;;;;:::i;:::-;;3272:69;;3316:25;;-1:-1:-1::0;;;3316:25:8::1;;;;;;;;;;;3272:69;3356:34;719:10:3::0;3384:5:8::1;;3356:13;:34::i;:::-;3351:64;;3399:16;;-1:-1:-1::0;;;3399:16:8::1;;;;;;;;;;;3351:64;3430:25;719:10:3::0;5677:124:8;:::i;3430:25::-:1;3425:53;;3464:14;;-1:-1:-1::0;;;3464:14:8::1;;;;;;;;;;;3425:53;3489:37;719:10:3::0;3517:8:8::1;3489:13;:37::i;3674:250::-:0;1498:9;719:10:3;1498:25:8;1494:55;;1532:17;;-1:-1:-1;;;1532:17:8;;;;;;;;;;;1494:55;3763:15:::1;3753:6;::::0;::::1;;:25;::::0;::::1;;;;;;:::i;:::-;;3749:57;;3787:19;;-1:-1:-1::0;;;3787:19:8::1;;;;;;;;;;;3749:57;3821:25;719:10:3::0;5677:124:8;:::i;3821:25::-:1;3816:53;;3855:14;;-1:-1:-1::0;;;3855:14:8::1;;;;;;;;;;;2081:198:0::0;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;13799:2:14;2161:73:0::1;::::0;::::1;13781:21:14::0;13838:2;13818:18;;;13811:30;13877:34;13857:18;;;13850:62;-1:-1:-1;;;13928:18:14;;;13921:36;13974:19;;2161:73:0::1;13597:402:14::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;4463:416:8:-:0;4541:17;4531:6;;;;:27;;;;;;;;:::i;:::-;;4527:62;;4567:22;;-1:-1:-1;;;4567:22:8;;;;;;;;;;;4527:62;4605:9;4600:273;4620:19;;;4600:273;;;4660:15;4678:8;;4687:1;4678:11;;;;;;;:::i;:::-;;;;;;;4660:29;;4728:12;719:10:3;;640:96;4728:12:8;-1:-1:-1;;;;;4708:32:8;:16;4716:7;4708;:16::i;:::-;-1:-1:-1;;;;;4708:32:8;;4704:60;;4749:15;;-1:-1:-1;;;4749:15:8;;;;;;;;;;;4704:60;4779:21;4785:7;4794:5;4779;:21::i;:::-;4820:42;;4854:7;;719:10:3;;4820:42:8;;;;;-1:-1:-1;4641:3:8;;;;:::i;:::-;;;;4600:273;;17693:277:6;17758:4;17812:7;8084:1:8;17793:26:6;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:6;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:6;:49;;17693:277::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;719:10:3;-1:-1:-1;;;;;15947:28:6;;;15943:172;;15994:44;16011:5;719:10:3;17282:162:6;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:6;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:6;-1:-1:-1;;;;;16125:35:6;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:6;20128:19;-1:-1:-1;;;;;20112:45:6;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:6;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;20394:68;19260:26;20436:4;719:10:3;20442:19:6;-1:-1:-1;;;;;18524:32:6;;;18370:28;;18651:20;;18673:30;;18648:56;;18074:646;20394:68;20389:179;;20481:43;20498:4;719:10:3;17282:162:6;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:6;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:6;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:6;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:6;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:6;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:6;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:6;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:6;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:6;22590:4;-1:-1:-1;;;;;22581:27:6;-1:-1:-1;;;;;;;;;;;22581:27:6;;;;;;;;;20030:2637;;;19903:2764;;;:::o;1359:130:0:-;1247:7;1273:6;-1:-1:-1;;;;;1273:6:0;719:10:3;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;14206:2:14;1414:68:0;;;14188:21:14;;;14225:18;;;14218:30;14284:34;14264:18;;;14257:62;14336:18;;1414:68:0;14004:356:14;7057:377:8;-1:-1:-1;;;;;7133:16:8;;;;;;:12;:16;;;;;;794:1;;7133:27;;7152:8;;7133:27;:::i;:::-;:51;7129:104;;;7205:28;;-1:-1:-1;;;7205:28:8;;;;;;;;;;;7129:104;707:4;7263:8;7247:13;6164:12:6;;8084:1:8;6148:13:6;:28;-1:-1:-1;;6148:46:6;;5894:317;7247:13:8;:24;;;;:::i;:::-;:37;7243:69;;;7293:19;;-1:-1:-1;;;7293:19:8;;;;;;;;;;;7243:69;7323:32;852:10;7346:8;7323:15;:32::i;:::-;-1:-1:-1;;;;;7366:16:8;;;;;;:12;:16;;;;;:28;;7386:8;;7366:16;:28;;7386:8;;7366:28;:::i;:::-;;;;-1:-1:-1;7404:23:8;;-1:-1:-1;7414:2:8;7418:8;7404:9;:23::i;:::-;7057:377;;:::o;33423:110:6:-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;22758:187::-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;1153:184:4:-;1274:4;1326;1297:25;1310:5;1317:4;1297:12;:25::i;:::-;:33;;1153:184;-1:-1:-1;;;;1153:184:4:o;12515:1249:6:-;12582:7;12616;;8084:1:8;12662:23:6;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:6;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:6;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:6;;;;;;;;;;;2433:187:0;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;11979:159:6:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:6;;;;:17;:24;;;;;;12087:44;;-1:-1:-1;;;;;;;;;;;;;13967:41:6;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:6;-1:-1:-1;;;14115:24:6;;:29;;-1:-1:-1;;;14096:48:6;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:6;-1:-1:-1;13858:361:6;16901:231;719:10:3;16995:39:6;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:6;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:6;;;;;;;;;;17070:55;;540:41:14;;;16995:49:6;;719:10:3;17070:55:6;;513:18:14;17070:55:6;;;;;;;16901:231;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:6;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:6;;;;;;;;;;;8217:106:8;8277:13;8309:7;8302:14;;;;;:::i;39637:1708:6:-;39702:17;40130:4;40123;40117:11;40113:22;40220:1;40214:4;40207:15;40293:4;40290:1;40286:12;40279:19;;;40373:1;40368:3;40361:14;40474:3;40708:5;40690:419;40755:1;40750:3;40746:11;40739:18;;40923:2;40917:4;40913:13;40909:2;40905:22;40900:3;40892:36;41015:2;41005:13;;41070:25;40690:419;41070:25;-1:-1:-1;41137:13:6;;;-1:-1:-1;;41250:14:6;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:6:o;34095:3015::-;34174:27;34204;34223:7;34204:18;:27::i;:::-;34174:57;-1:-1:-1;34174:57:6;34242:12;;34362:35;34389:7;18927:27;19036:24;;;:15;:24;;;;;19260:26;;19036:24;;18828:474;34362:35;34305:92;;;;34412:13;34408:312;;;34531:68;34556:15;34573:4;719:10:3;34579:19:6;640:96:3;34531:68:6;34526:183;;34622:43;34639:4;719:10:3;17282:162:6;:::i;34622:43::-;34617:92;;34674:35;;-1:-1:-1;;;34674:35:6;;;;;;;;;;;34617:92;34870:15;34867:157;;;35008:1;34987:19;34980:30;34867:157;-1:-1:-1;;;;;35613:24:6;;;;;;:18;:24;;;;;:60;;35641:32;35613:60;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:6;35904:26;;;;:17;:26;;;;;:202;;;;-1:-1:-1;;;36223:47:6;;:52;;36219:617;;36327:1;36317:11;;36295:19;36448:30;;;:17;:30;;;;;;:35;;36444:378;;36584:13;;36569:11;:28;36565:239;;36729:30;;;;:17;:30;;;;;:52;;;36565:239;36277:559;36219:617;36861:35;;36888:7;;36884:1;;-1:-1:-1;;;;;36861:35:6;;;-1:-1:-1;;;;;;;;;;;36861:35:6;36884:1;;36861:35;-1:-1:-1;;37079:12:6;:14;;;;;;-1:-1:-1;;;;34095:3015:6:o;7569:282:8:-;7646:13;7662:16;7670:8;7662:5;:16;:::i;:::-;7646:32;;7704:5;7692:9;:17;7688:49;;;7718:19;;-1:-1:-1;;;7718:19:8;;;;;;;;;;;7688:49;7764:5;7752:9;:17;7748:97;;;719:10:3;7785:49:8;7816:17;7828:5;7816:9;:17;:::i;:::-;7785:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32675:669:6;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:6;;;:19;32855:473;;32912:13;;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:6;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;1991:290:4;2074:7;2116:4;2074:7;2130:116;2154:5;:12;2150:1;:16;2130:116;;;2202:33;2212:12;2226:5;2232:1;2226:8;;;;;;;;:::i;:::-;;;;;;;2202:9;:33::i;:::-;2187:48;-1:-1:-1;2168:3:4;;;;:::i;:::-;;;;2130:116;;;-1:-1:-1;2262:12:4;1991:290;-1:-1:-1;;;1991:290:4:o;25948:697:6:-;26126:88;;-1:-1:-1;;;26126:88:6;;26106:4;;-1:-1:-1;;;;;26126:45:6;;;;;:88;;719:10:3;;26193:4:6;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:6;;;;;;;;-1:-1:-1;;26126:88:6;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:6;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:6;-1:-1:-1;;;26282:64:6;;-1:-1:-1;25948:697:6;;;;;;:::o;27091:2902::-;27186:13;;27163:20;27213:13;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:6;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:6;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:6;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;-1:-1:-1;;;;;;;;;;;27728:22:6;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;-1:-1:-1;;;;;;;;;;;29731:1:6;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:6;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;554:199:10;;;:::o;8054:147:4:-;8117:7;8147:1;8143;:5;:51;;8275:13;8366:15;;;8401:4;8394:15;;;8447:4;8431:21;;8143:51;;;-1:-1:-1;8275:13:4;8366:15;;;8401:4;8394:15;8447:4;8431:21;;;8054:147::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:14;-1:-1:-1;;;;;;88:32:14;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:14;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:14;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:14:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:14;;1343:180;-1:-1:-1;1343:180:14:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:14;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:14:o;2537:127::-;2598:10;2593:3;2589:20;2586:1;2579:31;2629:4;2626:1;2619:15;2653:4;2650:1;2643:15;2669:339;2812:2;2797:18;;2845:1;2834:13;;2824:144;;2890:10;2885:3;2881:20;2878:1;2871:31;2925:4;2922:1;2915:15;2953:4;2950:1;2943:15;2824:144;2977:25;;;2669:339;:::o;3013:328::-;3090:6;3098;3106;3159:2;3147:9;3138:7;3134:23;3130:32;3127:52;;;3175:1;3172;3165:12;3127:52;3198:29;3217:9;3198:29;:::i;:::-;3188:39;;3246:38;3280:2;3269:9;3265:18;3246:38;:::i;:::-;3236:48;;3331:2;3320:9;3316:18;3303:32;3293:42;;3013:328;;;;;:::o;3531:267::-;3601:6;3654:2;3642:9;3633:7;3629:23;3625:32;3622:52;;;3670:1;3667;3660:12;3622:52;3709:9;3696:23;3748:1;3741:5;3738:12;3728:40;;3764:1;3761;3754:12;4248:592;4319:6;4327;4380:2;4368:9;4359:7;4355:23;4351:32;4348:52;;;4396:1;4393;4386:12;4348:52;4436:9;4423:23;4465:18;4506:2;4498:6;4495:14;4492:34;;;4522:1;4519;4512:12;4492:34;4560:6;4549:9;4545:22;4535:32;;4605:7;4598:4;4594:2;4590:13;4586:27;4576:55;;4627:1;4624;4617:12;4576:55;4667:2;4654:16;4693:2;4685:6;4682:14;4679:34;;;4709:1;4706;4699:12;4679:34;4754:7;4749:2;4740:6;4736:2;4732:15;4728:24;4725:37;4722:57;;;4775:1;4772;4765:12;4722:57;4806:2;4798:11;;;;;4828:6;;-1:-1:-1;4248:592:14;;-1:-1:-1;;;;4248:592:14:o;4845:367::-;4908:8;4918:6;4972:3;4965:4;4957:6;4953:17;4949:27;4939:55;;4990:1;4987;4980:12;4939:55;-1:-1:-1;5013:20:14;;5056:18;5045:30;;5042:50;;;5088:1;5085;5078:12;5042:50;5125:4;5117:6;5113:17;5101:29;;5185:3;5178:4;5168:6;5165:1;5161:14;5153:6;5149:27;5145:38;5142:47;5139:67;;;5202:1;5199;5192:12;5139:67;4845:367;;;;;:::o;5217:511::-;5312:6;5320;5328;5381:2;5369:9;5360:7;5356:23;5352:32;5349:52;;;5397:1;5394;5387:12;5349:52;5420:29;5439:9;5420:29;:::i;:::-;5410:39;;5500:2;5489:9;5485:18;5472:32;5527:18;5519:6;5516:30;5513:50;;;5559:1;5556;5549:12;5513:50;5598:70;5660:7;5651:6;5640:9;5636:22;5598:70;:::i;:::-;5217:511;;5687:8;;-1:-1:-1;5572:96:14;;-1:-1:-1;;;;5217:511:14:o;5733:186::-;5792:6;5845:2;5833:9;5824:7;5820:23;5816:32;5813:52;;;5861:1;5858;5851:12;5813:52;5884:29;5903:9;5884:29;:::i;5924:773::-;6046:6;6054;6062;6070;6123:2;6111:9;6102:7;6098:23;6094:32;6091:52;;;6139:1;6136;6129:12;6091:52;6179:9;6166:23;6208:18;6249:2;6241:6;6238:14;6235:34;;;6265:1;6262;6255:12;6235:34;6304:70;6366:7;6357:6;6346:9;6342:22;6304:70;:::i;:::-;6393:8;;-1:-1:-1;6278:96:14;-1:-1:-1;6481:2:14;6466:18;;6453:32;;-1:-1:-1;6497:16:14;;;6494:36;;;6526:1;6523;6516:12;6494:36;;6565:72;6629:7;6618:8;6607:9;6603:24;6565:72;:::i;:::-;5924:773;;;;-1:-1:-1;6656:8:14;-1:-1:-1;;;;5924:773:14:o;6702:632::-;6873:2;6925:21;;;6995:13;;6898:18;;;7017:22;;;6844:4;;6873:2;7096:15;;;;7070:2;7055:18;;;6844:4;7139:169;7153:6;7150:1;7147:13;7139:169;;;7214:13;;7202:26;;7283:15;;;;7248:12;;;;7175:1;7168:9;7139:169;;7339:118;7425:5;7418:13;7411:21;7404:5;7401:32;7391:60;;7447:1;7444;7437:12;7462:315;7527:6;7535;7588:2;7576:9;7567:7;7563:23;7559:32;7556:52;;;7604:1;7601;7594:12;7556:52;7627:29;7646:9;7627:29;:::i;:::-;7617:39;;7706:2;7695:9;7691:18;7678:32;7719:28;7741:5;7719:28;:::i;:::-;7766:5;7756:15;;;7462:315;;;;;:::o;7782:127::-;7843:10;7838:3;7834:20;7831:1;7824:31;7874:4;7871:1;7864:15;7898:4;7895:1;7888:15;7914:1138;8009:6;8017;8025;8033;8086:3;8074:9;8065:7;8061:23;8057:33;8054:53;;;8103:1;8100;8093:12;8054:53;8126:29;8145:9;8126:29;:::i;:::-;8116:39;;8174:38;8208:2;8197:9;8193:18;8174:38;:::i;:::-;8164:48;;8259:2;8248:9;8244:18;8231:32;8221:42;;8314:2;8303:9;8299:18;8286:32;8337:18;8378:2;8370:6;8367:14;8364:34;;;8394:1;8391;8384:12;8364:34;8432:6;8421:9;8417:22;8407:32;;8477:7;8470:4;8466:2;8462:13;8458:27;8448:55;;8499:1;8496;8489:12;8448:55;8535:2;8522:16;8557:2;8553;8550:10;8547:36;;;8563:18;;:::i;:::-;8638:2;8632:9;8606:2;8692:13;;-1:-1:-1;;8688:22:14;;;8712:2;8684:31;8680:40;8668:53;;;8736:18;;;8756:22;;;8733:46;8730:72;;;8782:18;;:::i;:::-;8822:10;8818:2;8811:22;8857:2;8849:6;8842:18;8897:7;8892:2;8887;8883;8879:11;8875:20;8872:33;8869:53;;;8918:1;8915;8908:12;8869:53;8974:2;8969;8965;8961:11;8956:2;8948:6;8944:15;8931:46;9019:1;9014:2;9009;9001:6;8997:15;8993:24;8986:35;9040:6;9030:16;;;;;;;7914:1138;;;;;;;:::o;9057:505::-;9152:6;9160;9168;9221:2;9209:9;9200:7;9196:23;9192:32;9189:52;;;9237:1;9234;9227:12;9189:52;9273:9;9260:23;9250:33;;9334:2;9323:9;9319:18;9306:32;9361:18;9353:6;9350:30;9347:50;;;9393:1;9390;9383:12;9567:260;9635:6;9643;9696:2;9684:9;9675:7;9671:23;9667:32;9664:52;;;9712:1;9709;9702:12;9664:52;9735:29;9754:9;9735:29;:::i;:::-;9725:39;;9783:38;9817:2;9806:9;9802:18;9783:38;:::i;:::-;9773:48;;9567:260;;;;;:::o;9832:437::-;9918:6;9926;9979:2;9967:9;9958:7;9954:23;9950:32;9947:52;;;9995:1;9992;9985:12;9947:52;10035:9;10022:23;10068:18;10060:6;10057:30;10054:50;;;10100:1;10097;10090:12;10054:50;10139:70;10201:7;10192:6;10181:9;10177:22;10139:70;:::i;:::-;10228:8;;10113:96;;-1:-1:-1;9832:437:14;-1:-1:-1;;;;9832:437:14:o;10274:380::-;10353:1;10349:12;;;;10396;;;10417:61;;10471:4;10463:6;10459:17;10449:27;;10417:61;10524:2;10516:6;10513:14;10493:18;10490:38;10487:161;;10570:10;10565:3;10561:20;10558:1;10551:31;10605:4;10602:1;10595:15;10633:4;10630:1;10623:15;10487:161;;10274:380;;;:::o;10968:245::-;11035:6;11088:2;11076:9;11067:7;11063:23;11059:32;11056:52;;;11104:1;11101;11094:12;11056:52;11136:9;11130:16;11155:28;11177:5;11155:28;:::i;11407:127::-;11468:10;11463:3;11459:20;11456:1;11449:31;11499:4;11496:1;11489:15;11523:4;11520:1;11513:15;11539:128;11579:3;11610:1;11606:6;11603:1;11600:13;11597:39;;;11616:18;;:::i;:::-;-1:-1:-1;11652:9:14;;11539:128::o;11672:390::-;11831:2;11820:9;11813:21;11870:6;11865:2;11854:9;11850:18;11843:34;11927:6;11919;11914:2;11903:9;11899:18;11886:48;11983:1;11954:22;;;11978:2;11950:31;;;11943:42;;;;12046:2;12025:15;;;-1:-1:-1;;12021:29:14;12006:45;12002:54;;11672:390;-1:-1:-1;11672:390:14:o;12661:127::-;12722:10;12717:3;12713:20;12710:1;12703:31;12753:4;12750:1;12743:15;12777:4;12774:1;12767:15;12793:135;12832:3;12853:17;;;12850:43;;12873:18;;:::i;:::-;-1:-1:-1;12920:1:14;12909:13;;12793:135::o;12933:184::-;13003:6;13056:2;13044:9;13035:7;13031:23;13027:32;13024:52;;;13072:1;13069;13062:12;13024:52;-1:-1:-1;13095:16:14;;12933:184;-1:-1:-1;12933:184:14:o;13122:470::-;13301:3;13339:6;13333:13;13355:53;13401:6;13396:3;13389:4;13381:6;13377:17;13355:53;:::i;:::-;13471:13;;13430:16;;;;13493:57;13471:13;13430:16;13527:4;13515:17;;13493:57;:::i;:::-;13566:20;;13122:470;-1:-1:-1;;;;13122:470:14:o;14365:168::-;14405:7;14471:1;14467;14463:6;14459:14;14456:1;14453:21;14448:1;14441:9;14434:17;14430:45;14427:71;;;14478:18;;:::i;:::-;-1:-1:-1;14518:9:14;;14365:168::o;14538:125::-;14578:4;14606:1;14603;14600:8;14597:34;;;14611:18;;:::i;:::-;-1:-1:-1;14648:9:14;;14538:125::o;14668:489::-;-1:-1:-1;;;;;14937:15:14;;;14919:34;;14989:15;;14984:2;14969:18;;14962:43;15036:2;15021:18;;15014:34;;;15084:3;15079:2;15064:18;;15057:31;;;14862:4;;15105:46;;15131:19;;15123:6;15105:46;:::i;:::-;15097:54;14668:489;-1:-1:-1;;;;;;14668:489:14:o;15162:249::-;15231:6;15284:2;15272:9;15263:7;15259:23;15255:32;15252:52;;;15300:1;15297;15290:12;15252:52;15332:9;15326:16;15351:30;15375:5;15351:30;:::i
Swarm Source
ipfs://b5041958f86e57d874d834ed69fc843395dde4607bb50af1ff907edefbe2b54d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.