Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
999 Mcom
Holders
669
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
6 McomLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MiniCombat
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-25 */ // SPDX-License-Identifier: GPL-3.0 // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // 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) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // 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; } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } // File: erc721a/contracts/IERC721A.sol // 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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @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) } } } // File: minicombat.sol //Developer : FazelPejmanfar , Twitter :@Pejmanfarfazel pragma solidity >=0.7.0 <0.9.0; contract MiniCombat is ERC721A, Ownable, ReentrancyGuard { string public baseURI; string public notRevealedUri = "ipfs://bafkreiaseedvv3e7p2uaormwnoc5ejdvr6mif6fitugtfnolf4idux7koa"; uint256 public cost = 0.01 ether; uint256 public maxSupply = 999; uint256 public MaxperWallet = 1; bool public paused = true; bool public revealed = false; bool public preSale = true; bytes32 public merkleRoot; constructor() ERC721A("MiniCombat", "Mcom") {} // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } // public /// @dev Public mint function mint(uint256 tokens) public payable nonReentrant { require(!paused, "Mcom: oops contract is paused"); require(!preSale, "Mcom: Public Sale Hasn't started yet"); require(tokens <= MaxperWallet, "Mcom: max mint amount per tx exceeded"); require(totalSupply() + tokens <= maxSupply, "Mcom: We Soldout"); require(_numberMinted(_msgSenderERC721A()) + tokens <= MaxperWallet, "Mcom: Max NFT Per Wallet exceeded"); require(msg.value >= cost * tokens, "Mcom: insufficient funds"); _safeMint(_msgSenderERC721A(), tokens); } /// @dev presale mint for whitelisted function presalemint(uint256 tokens, bytes32[] calldata merkleProof) public payable nonReentrant { require(!paused, "Mcom: oops contract is paused"); require(preSale, "Mcom: Presale Hasn't started yet"); require(MerkleProof.verify(merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "Mcom: You are not Whitelisted"); require(_numberMinted(_msgSenderERC721A()) + tokens <= MaxperWallet, "Mcom: Max NFT Per Wallet exceeded"); require(tokens <= MaxperWallet, "Mcom: max mint per Tx exceeded"); require(totalSupply() + tokens <= maxSupply, "Mcom: Whitelist MaxSupply exceeded"); require(msg.value >= cost * tokens, "Mcom: insufficient funds"); _safeMint(_msgSenderERC721A(), tokens); } /// @dev use it for giveaway and team mint function airdrop(uint256 _mintAmount, address destination) public onlyOwner nonReentrant { require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded"); _safeMint(destination, _mintAmount); } /// @notice returns metadata link of tokenid function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721AMetadata: URI query for nonexistent token" ); if(revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _toString(tokenId), ".json")) : ""; } /// @notice return the number minted by an address function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } /// @notice return the tokens owned by an address function tokensOfOwner(address owner) public view returns (uint256[] memory) { unchecked { 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; } } //only owner function reveal(bool _state) public onlyOwner { revealed = _state; } /// @dev change the merkle root for the whitelist phase function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } /// @dev change the public max per wallet function setMaxPerWallet(uint256 _limit) public onlyOwner { MaxperWallet = _limit; } /// @dev change the public price(amount need to be in wei) function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } /// @dev cut the supply if we dont sold out function setMaxsupply(uint256 _newsupply) public onlyOwner { maxSupply = _newsupply; } /// @dev set your baseuri function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } /// @dev set hidden uri function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } /// @dev to pause and unpause your contract(use booleans true or false) function pause(bool _state) public onlyOwner { paused = _state; } /// @dev activate whitelist sale(use booleans true or false) function togglepreSale(bool _state) external onlyOwner { preSale = _state; } /// @dev withdraw funds from contract function withdraw() public payable onlyOwner nonReentrant { uint256 balance = address(this).balance; payable(_msgSenderERC721A()).transfer(balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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"},{"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":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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MaxperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","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":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"presalemint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"togglepreSale","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":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
61010060405260426080818152906200249c60a03980516200002a91600b9160209091019062000134565b50662386f26fc10000600c556103e7600d556001600e55600f805462ffffff1916620100011790553480156200005f57600080fd5b50604080518082018252600a815269135a5b9a50dbdb58985d60b21b6020808301918252835180850190945260048452634d636f6d60e01b908401528151919291620000ae9160029162000134565b508051620000c490600390602084019062000134565b5050600160005550620000d733620000e2565b600160095562000217565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014290620001da565b90600052602060002090601f016020900481019282620001665760008555620001b1565b82601f106200018157805160ff1916838001178555620001b1565b82800160010185558215620001b1579182015b82811115620001b157825182559160200191906001019062000194565b50620001bf929150620001c3565b5090565b5b80821115620001bf5760008155600101620001c4565b600181811c90821680620001ef57607f821691505b602082108114156200021157634e487b7160e01b600052602260045260246000fd5b50919050565b61227580620002276000396000f3fe6080604052600436106102465760003560e01c80636c0360eb11610139578063b88d4fde116100b6578063dc33e6811161007a578063dc33e68114610632578063e268e4d314610652578063e985e9c514610672578063f2c4ce1e146106bb578063f2fde38b146106db578063fea0e058146106fb57600080fd5b8063b88d4fde146105b3578063bc63f02e146105c6578063bd7a1998146105e6578063c87b56dd146105fc578063d5abeb011461061c57600080fd5b80638da5cb5b116100fd5780638da5cb5b1461052d578063940cd05b1461054b57806395d89b411461056b578063a0712d6814610580578063a22cb4651461059357600080fd5b80636c0360eb1461049657806370a08231146104ab578063715018a6146104cb5780637cb64759146104e05780638462151c1461050057600080fd5b806323b872dd116101c7578063518302271161018b57806351830227146103fd57806355f804b31461041c5780635a7adf7f1461043c5780635c975abb1461045c5780636352211e1461047657600080fd5b806323b872dd146103995780632eb4a7ab146103ac5780633ccfd60b146103c257806342842e0e146103ca57806344a0d68a146103dd57600080fd5b8063081c8c441161020e578063081c8c441461030f578063095ea7b31461032457806313faede614610337578063149835a01461035b57806318160ddd1461037b57600080fd5b806301ffc9a71461024b57806302329a2914610280578063036e4cb5146102a257806306fdde03146102b5578063081812fc146102d7575b600080fd5b34801561025757600080fd5b5061026b610266366004611c84565b61071b565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102a061029b366004611cb6565b61076d565b005b6102a06102b0366004611cd1565b610788565b3480156102c157600080fd5b506102ca610a90565b6040516102779190611da8565b3480156102e357600080fd5b506102f76102f2366004611dbb565b610b22565b6040516001600160a01b039091168152602001610277565b34801561031b57600080fd5b506102ca610b66565b6102a0610332366004611deb565b610bf4565b34801561034357600080fd5b5061034d600c5481565b604051908152602001610277565b34801561036757600080fd5b506102a0610376366004611dbb565b610c94565b34801561038757600080fd5b5061034d600154600054036000190190565b6102a06103a7366004611e15565b610ca1565b3480156103b857600080fd5b5061034d60105481565b6102a0610e32565b6102a06103d8366004611e15565b610e9a565b3480156103e957600080fd5b506102a06103f8366004611dbb565b610eba565b34801561040957600080fd5b50600f5461026b90610100900460ff1681565b34801561042857600080fd5b506102a0610437366004611edd565b610ec7565b34801561044857600080fd5b50600f5461026b9062010000900460ff1681565b34801561046857600080fd5b50600f5461026b9060ff1681565b34801561048257600080fd5b506102f7610491366004611dbb565b610ee6565b3480156104a257600080fd5b506102ca610ef1565b3480156104b757600080fd5b5061034d6104c6366004611f26565b610efe565b3480156104d757600080fd5b506102a0610f4d565b3480156104ec57600080fd5b506102a06104fb366004611dbb565b610f61565b34801561050c57600080fd5b5061052061051b366004611f26565b610f6e565b6040516102779190611f41565b34801561053957600080fd5b506008546001600160a01b03166102f7565b34801561055757600080fd5b506102a0610566366004611cb6565b61107e565b34801561057757600080fd5b506102ca6110a0565b6102a061058e366004611dbb565b6110af565b34801561059f57600080fd5b506102a06105ae366004611f79565b6112ee565b6102a06105c1366004611fac565b61135a565b3480156105d257600080fd5b506102a06105e1366004612028565b6113a4565b3480156105f257600080fd5b5061034d600e5481565b34801561060857600080fd5b506102ca610617366004611dbb565b611444565b34801561062857600080fd5b5061034d600d5481565b34801561063e57600080fd5b5061034d61064d366004611f26565b6115b1565b34801561065e57600080fd5b506102a061066d366004611dbb565b6115bc565b34801561067e57600080fd5b5061026b61068d36600461204b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106c757600080fd5b506102a06106d6366004611edd565b6115c9565b3480156106e757600080fd5b506102a06106f6366004611f26565b6115e4565b34801561070757600080fd5b506102a0610716366004611cb6565b61165d565b60006301ffc9a760e01b6001600160e01b03198316148061074c57506380ac58cd60e01b6001600160e01b03198316145b806107675750635b5e139f60e01b6001600160e01b03198316145b92915050565b610775611681565b600f805460ff1916911515919091179055565b600260095414156107b45760405162461bcd60e51b81526004016107ab90612075565b60405180910390fd5b6002600955600f5460ff161561080c5760405162461bcd60e51b815260206004820152601d60248201527f4d636f6d3a206f6f707320636f6e74726163742069732070617573656400000060448201526064016107ab565b600f5462010000900460ff166108645760405162461bcd60e51b815260206004820181905260248201527f4d636f6d3a2050726573616c65204861736e277420737461727465642079657460448201526064016107ab565b6108d9828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206116db565b6109255760405162461bcd60e51b815260206004820152601d60248201527f4d636f6d3a20596f7520617265206e6f742057686974656c697374656400000060448201526064016107ab565b600e5483610932336116f1565b61093c91906120c2565b111561095a5760405162461bcd60e51b81526004016107ab906120da565b600e548311156109ac5760405162461bcd60e51b815260206004820152601e60248201527f4d636f6d3a206d6178206d696e7420706572205478206578636565646564000060448201526064016107ab565b600d54836109c1600154600054036000190190565b6109cb91906120c2565b1115610a245760405162461bcd60e51b815260206004820152602260248201527f4d636f6d3a2057686974656c697374204d6178537570706c7920657863656564604482015261195960f21b60648201526084016107ab565b82600c54610a32919061211b565b341015610a7c5760405162461bcd60e51b81526020600482015260186024820152774d636f6d3a20696e73756666696369656e742066756e647360401b60448201526064016107ab565b610a86338461171a565b5050600160095550565b606060028054610a9f9061213a565b80601f0160208091040260200160405190810160405280929190818152602001828054610acb9061213a565b8015610b185780601f10610aed57610100808354040283529160200191610b18565b820191906000526020600020905b815481529060010190602001808311610afb57829003601f168201915b5050505050905090565b6000610b2d82611734565b610b4a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600b8054610b739061213a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9f9061213a565b8015610bec5780601f10610bc157610100808354040283529160200191610bec565b820191906000526020600020905b815481529060010190602001808311610bcf57829003601f168201915b505050505081565b6000610bff82610ee6565b9050336001600160a01b03821614610c3857610c1b813361068d565b610c38576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c9c611681565b600d55565b6000610cac82611769565b9050836001600160a01b0316816001600160a01b031614610cdf5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d2c57610d0f863361068d565b610d2c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d5357604051633a954ecd60e21b815260040160405180910390fd5b8015610d5e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610de95760018401600081815260046020526040902054610de7576000548114610de75760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610e3a611681565b60026009541415610e5d5760405162461bcd60e51b81526004016107ab90612075565b60026009556040514790339082156108fc029083906000818181858888f19350505050158015610e91573d6000803e3d6000fd5b50506001600955565b610eb58383836040518060200160405280600081525061135a565b505050565b610ec2611681565b600c55565b610ecf611681565b8051610ee290600a906020840190611bd5565b5050565b600061076782611769565b600a8054610b739061213a565b60006001600160a01b038216610f27576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f55611681565b610f5f60006117d2565b565b610f69611681565b601055565b60606000806000610f7e85610efe565b905060008167ffffffffffffffff811115610f9b57610f9b611e51565b604051908082528060200260200182016040528015610fc4578160200160208202803683370190505b509050610ff160408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146110725761100481611824565b91508160400151156110155761106a565b81516001600160a01b03161561102a57815194505b876001600160a01b0316856001600160a01b0316141561106a578083878060010198508151811061105d5761105d612175565b6020026020010181815250505b600101610ff4565b50909695505050505050565b611086611681565b600f80549115156101000261ff0019909216919091179055565b606060038054610a9f9061213a565b600260095414156110d25760405162461bcd60e51b81526004016107ab90612075565b6002600955600f5460ff161561112a5760405162461bcd60e51b815260206004820152601d60248201527f4d636f6d3a206f6f707320636f6e74726163742069732070617573656400000060448201526064016107ab565b600f5462010000900460ff161561118f5760405162461bcd60e51b8152602060048201526024808201527f4d636f6d3a205075626c69632053616c65204861736e27742073746172746564604482015263081e595d60e21b60648201526084016107ab565b600e548111156111ef5760405162461bcd60e51b815260206004820152602560248201527f4d636f6d3a206d6178206d696e7420616d6f756e742070657220747820657863604482015264195959195960da1b60648201526084016107ab565b600d5481611204600154600054036000190190565b61120e91906120c2565b111561124f5760405162461bcd60e51b815260206004820152601060248201526f1358dbdb4e8815d94814dbdb191bdd5d60821b60448201526064016107ab565b600e548161125c336116f1565b61126691906120c2565b11156112845760405162461bcd60e51b81526004016107ab906120da565b80600c54611292919061211b565b3410156112dc5760405162461bcd60e51b81526020600482015260186024820152774d636f6d3a20696e73756666696369656e742066756e647360401b60448201526064016107ab565b6112e6338261171a565b506001600955565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611365848484610ca1565b6001600160a01b0383163b1561139e57611381848484846118a3565b61139e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6113ac611681565b600260095414156113cf5760405162461bcd60e51b81526004016107ab90612075565b6002600955600d54826113e9600154600054036000190190565b6113f391906120c2565b111561143a5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016107ab565b610e91818361171a565b606061144f82611734565b6114b45760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084016107ab565b600f54610100900460ff1661155557600b80546114d09061213a565b80601f01602080910402602001604051908101604052809291908181526020018280546114fc9061213a565b80156115495780601f1061151e57610100808354040283529160200191611549565b820191906000526020600020905b81548152906001019060200180831161152c57829003601f168201915b50505050509050919050565b600061155f61199b565b9050600081511161157f57604051806020016040528060008152506115aa565b80611589846119aa565b60405160200161159a92919061218b565b6040516020818303038152906040525b9392505050565b6000610767826116f1565b6115c4611681565b600e55565b6115d1611681565b8051610ee290600b906020840190611bd5565b6115ec611681565b6001600160a01b0381166116515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ab565b61165a816117d2565b50565b611665611681565b600f8054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610f5f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ab565b6000826116e885846119f8565b14949350505050565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610ee2828260405180602001604052806000815250611a45565b600081600111158015611748575060005482105b8015610767575050600090815260046020526040902054600160e01b161590565b600081806001116117b9576000548110156117b957600081815260046020526040902054600160e01b81166117b7575b806115aa575060001901600081815260046020526040902054611799565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461076790604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118d89033908990889088906004016121ca565b602060405180830381600087803b1580156118f257600080fd5b505af1925050508015611922575060408051601f3d908101601f1916820190925261191f91810190612207565b60015b61197d573d808015611950576040519150601f19603f3d011682016040523d82523d6000602084013e611955565b606091505b508051611975576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a8054610a9f9061213a565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806119e1576119e6565b6119c4565b50819003601f19909101908152919050565b600081815b8451811015611a3d57611a2982868381518110611a1c57611a1c612175565b6020026020010151611ab2565b915080611a3581612224565b9150506119fd565b509392505050565b611a4f8383611ade565b6001600160a01b0383163b15610eb5576000548281035b611a7960008683806001019450866118a3565b611a96576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a66578160005414611aab57600080fd5b5050505050565b6000818310611ace5760008281526020849052604090206115aa565b5060009182526020526040902090565b60005481611aff5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611bae57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b76565b5081611bcc57604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611be19061213a565b90600052602060002090601f016020900481019282611c035760008555611c49565b82601f10611c1c57805160ff1916838001178555611c49565b82800160010185558215611c49579182015b82811115611c49578251825591602001919060010190611c2e565b50611c55929150611c59565b5090565b5b80821115611c555760008155600101611c5a565b6001600160e01b03198116811461165a57600080fd5b600060208284031215611c9657600080fd5b81356115aa81611c6e565b80358015158114611cb157600080fd5b919050565b600060208284031215611cc857600080fd5b6115aa82611ca1565b600080600060408486031215611ce657600080fd5b83359250602084013567ffffffffffffffff80821115611d0557600080fd5b818601915086601f830112611d1957600080fd5b813581811115611d2857600080fd5b8760208260051b8501011115611d3d57600080fd5b6020830194508093505050509250925092565b60005b83811015611d6b578181015183820152602001611d53565b8381111561139e5750506000910152565b60008151808452611d94816020860160208601611d50565b601f01601f19169290920160200192915050565b6020815260006115aa6020830184611d7c565b600060208284031215611dcd57600080fd5b5035919050565b80356001600160a01b0381168114611cb157600080fd5b60008060408385031215611dfe57600080fd5b611e0783611dd4565b946020939093013593505050565b600080600060608486031215611e2a57600080fd5b611e3384611dd4565b9250611e4160208501611dd4565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e8257611e82611e51565b604051601f8501601f19908116603f01168101908282118183101715611eaa57611eaa611e51565b81604052809350858152868686011115611ec357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611eef57600080fd5b813567ffffffffffffffff811115611f0657600080fd5b8201601f81018413611f1757600080fd5b61199384823560208401611e67565b600060208284031215611f3857600080fd5b6115aa82611dd4565b6020808252825182820181905260009190848201906040850190845b8181101561107257835183529284019291840191600101611f5d565b60008060408385031215611f8c57600080fd5b611f9583611dd4565b9150611fa360208401611ca1565b90509250929050565b60008060008060808587031215611fc257600080fd5b611fcb85611dd4565b9350611fd960208601611dd4565b925060408501359150606085013567ffffffffffffffff811115611ffc57600080fd5b8501601f8101871361200d57600080fd5b61201c87823560208401611e67565b91505092959194509250565b6000806040838503121561203b57600080fd5b82359150611fa360208401611dd4565b6000806040838503121561205e57600080fd5b61206783611dd4565b9150611fa360208401611dd4565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120d5576120d56120ac565b500190565b60208082526021908201527f4d636f6d3a204d6178204e4654205065722057616c6c657420657863656564656040820152601960fa1b606082015260800190565b6000816000190483118215151615612135576121356120ac565b500290565b600181811c9082168061214e57607f821691505b6020821081141561216f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6000835161219d818460208801611d50565b8351908301906121b1818360208801611d50565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121fd90830184611d7c565b9695505050505050565b60006020828403121561221957600080fd5b81516115aa81611c6e565b6000600019821415612238576122386120ac565b506001019056fea264697066735822122030b6ec6f2a2840ff58059b5b9cff0a4b693f8eca8c6a3718a34cef0a5377115b64736f6c63430008090033697066733a2f2f6261666b72656961736565647676336537703275616f726d776e6f6335656a647672366d696636666974756774666e6f6c663469647578376b6f61
Deployed Bytecode
0x6080604052600436106102465760003560e01c80636c0360eb11610139578063b88d4fde116100b6578063dc33e6811161007a578063dc33e68114610632578063e268e4d314610652578063e985e9c514610672578063f2c4ce1e146106bb578063f2fde38b146106db578063fea0e058146106fb57600080fd5b8063b88d4fde146105b3578063bc63f02e146105c6578063bd7a1998146105e6578063c87b56dd146105fc578063d5abeb011461061c57600080fd5b80638da5cb5b116100fd5780638da5cb5b1461052d578063940cd05b1461054b57806395d89b411461056b578063a0712d6814610580578063a22cb4651461059357600080fd5b80636c0360eb1461049657806370a08231146104ab578063715018a6146104cb5780637cb64759146104e05780638462151c1461050057600080fd5b806323b872dd116101c7578063518302271161018b57806351830227146103fd57806355f804b31461041c5780635a7adf7f1461043c5780635c975abb1461045c5780636352211e1461047657600080fd5b806323b872dd146103995780632eb4a7ab146103ac5780633ccfd60b146103c257806342842e0e146103ca57806344a0d68a146103dd57600080fd5b8063081c8c441161020e578063081c8c441461030f578063095ea7b31461032457806313faede614610337578063149835a01461035b57806318160ddd1461037b57600080fd5b806301ffc9a71461024b57806302329a2914610280578063036e4cb5146102a257806306fdde03146102b5578063081812fc146102d7575b600080fd5b34801561025757600080fd5b5061026b610266366004611c84565b61071b565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102a061029b366004611cb6565b61076d565b005b6102a06102b0366004611cd1565b610788565b3480156102c157600080fd5b506102ca610a90565b6040516102779190611da8565b3480156102e357600080fd5b506102f76102f2366004611dbb565b610b22565b6040516001600160a01b039091168152602001610277565b34801561031b57600080fd5b506102ca610b66565b6102a0610332366004611deb565b610bf4565b34801561034357600080fd5b5061034d600c5481565b604051908152602001610277565b34801561036757600080fd5b506102a0610376366004611dbb565b610c94565b34801561038757600080fd5b5061034d600154600054036000190190565b6102a06103a7366004611e15565b610ca1565b3480156103b857600080fd5b5061034d60105481565b6102a0610e32565b6102a06103d8366004611e15565b610e9a565b3480156103e957600080fd5b506102a06103f8366004611dbb565b610eba565b34801561040957600080fd5b50600f5461026b90610100900460ff1681565b34801561042857600080fd5b506102a0610437366004611edd565b610ec7565b34801561044857600080fd5b50600f5461026b9062010000900460ff1681565b34801561046857600080fd5b50600f5461026b9060ff1681565b34801561048257600080fd5b506102f7610491366004611dbb565b610ee6565b3480156104a257600080fd5b506102ca610ef1565b3480156104b757600080fd5b5061034d6104c6366004611f26565b610efe565b3480156104d757600080fd5b506102a0610f4d565b3480156104ec57600080fd5b506102a06104fb366004611dbb565b610f61565b34801561050c57600080fd5b5061052061051b366004611f26565b610f6e565b6040516102779190611f41565b34801561053957600080fd5b506008546001600160a01b03166102f7565b34801561055757600080fd5b506102a0610566366004611cb6565b61107e565b34801561057757600080fd5b506102ca6110a0565b6102a061058e366004611dbb565b6110af565b34801561059f57600080fd5b506102a06105ae366004611f79565b6112ee565b6102a06105c1366004611fac565b61135a565b3480156105d257600080fd5b506102a06105e1366004612028565b6113a4565b3480156105f257600080fd5b5061034d600e5481565b34801561060857600080fd5b506102ca610617366004611dbb565b611444565b34801561062857600080fd5b5061034d600d5481565b34801561063e57600080fd5b5061034d61064d366004611f26565b6115b1565b34801561065e57600080fd5b506102a061066d366004611dbb565b6115bc565b34801561067e57600080fd5b5061026b61068d36600461204b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106c757600080fd5b506102a06106d6366004611edd565b6115c9565b3480156106e757600080fd5b506102a06106f6366004611f26565b6115e4565b34801561070757600080fd5b506102a0610716366004611cb6565b61165d565b60006301ffc9a760e01b6001600160e01b03198316148061074c57506380ac58cd60e01b6001600160e01b03198316145b806107675750635b5e139f60e01b6001600160e01b03198316145b92915050565b610775611681565b600f805460ff1916911515919091179055565b600260095414156107b45760405162461bcd60e51b81526004016107ab90612075565b60405180910390fd5b6002600955600f5460ff161561080c5760405162461bcd60e51b815260206004820152601d60248201527f4d636f6d3a206f6f707320636f6e74726163742069732070617573656400000060448201526064016107ab565b600f5462010000900460ff166108645760405162461bcd60e51b815260206004820181905260248201527f4d636f6d3a2050726573616c65204861736e277420737461727465642079657460448201526064016107ab565b6108d9828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206116db565b6109255760405162461bcd60e51b815260206004820152601d60248201527f4d636f6d3a20596f7520617265206e6f742057686974656c697374656400000060448201526064016107ab565b600e5483610932336116f1565b61093c91906120c2565b111561095a5760405162461bcd60e51b81526004016107ab906120da565b600e548311156109ac5760405162461bcd60e51b815260206004820152601e60248201527f4d636f6d3a206d6178206d696e7420706572205478206578636565646564000060448201526064016107ab565b600d54836109c1600154600054036000190190565b6109cb91906120c2565b1115610a245760405162461bcd60e51b815260206004820152602260248201527f4d636f6d3a2057686974656c697374204d6178537570706c7920657863656564604482015261195960f21b60648201526084016107ab565b82600c54610a32919061211b565b341015610a7c5760405162461bcd60e51b81526020600482015260186024820152774d636f6d3a20696e73756666696369656e742066756e647360401b60448201526064016107ab565b610a86338461171a565b5050600160095550565b606060028054610a9f9061213a565b80601f0160208091040260200160405190810160405280929190818152602001828054610acb9061213a565b8015610b185780601f10610aed57610100808354040283529160200191610b18565b820191906000526020600020905b815481529060010190602001808311610afb57829003601f168201915b5050505050905090565b6000610b2d82611734565b610b4a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600b8054610b739061213a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9f9061213a565b8015610bec5780601f10610bc157610100808354040283529160200191610bec565b820191906000526020600020905b815481529060010190602001808311610bcf57829003601f168201915b505050505081565b6000610bff82610ee6565b9050336001600160a01b03821614610c3857610c1b813361068d565b610c38576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c9c611681565b600d55565b6000610cac82611769565b9050836001600160a01b0316816001600160a01b031614610cdf5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d2c57610d0f863361068d565b610d2c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d5357604051633a954ecd60e21b815260040160405180910390fd5b8015610d5e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610de95760018401600081815260046020526040902054610de7576000548114610de75760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610e3a611681565b60026009541415610e5d5760405162461bcd60e51b81526004016107ab90612075565b60026009556040514790339082156108fc029083906000818181858888f19350505050158015610e91573d6000803e3d6000fd5b50506001600955565b610eb58383836040518060200160405280600081525061135a565b505050565b610ec2611681565b600c55565b610ecf611681565b8051610ee290600a906020840190611bd5565b5050565b600061076782611769565b600a8054610b739061213a565b60006001600160a01b038216610f27576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f55611681565b610f5f60006117d2565b565b610f69611681565b601055565b60606000806000610f7e85610efe565b905060008167ffffffffffffffff811115610f9b57610f9b611e51565b604051908082528060200260200182016040528015610fc4578160200160208202803683370190505b509050610ff160408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146110725761100481611824565b91508160400151156110155761106a565b81516001600160a01b03161561102a57815194505b876001600160a01b0316856001600160a01b0316141561106a578083878060010198508151811061105d5761105d612175565b6020026020010181815250505b600101610ff4565b50909695505050505050565b611086611681565b600f80549115156101000261ff0019909216919091179055565b606060038054610a9f9061213a565b600260095414156110d25760405162461bcd60e51b81526004016107ab90612075565b6002600955600f5460ff161561112a5760405162461bcd60e51b815260206004820152601d60248201527f4d636f6d3a206f6f707320636f6e74726163742069732070617573656400000060448201526064016107ab565b600f5462010000900460ff161561118f5760405162461bcd60e51b8152602060048201526024808201527f4d636f6d3a205075626c69632053616c65204861736e27742073746172746564604482015263081e595d60e21b60648201526084016107ab565b600e548111156111ef5760405162461bcd60e51b815260206004820152602560248201527f4d636f6d3a206d6178206d696e7420616d6f756e742070657220747820657863604482015264195959195960da1b60648201526084016107ab565b600d5481611204600154600054036000190190565b61120e91906120c2565b111561124f5760405162461bcd60e51b815260206004820152601060248201526f1358dbdb4e8815d94814dbdb191bdd5d60821b60448201526064016107ab565b600e548161125c336116f1565b61126691906120c2565b11156112845760405162461bcd60e51b81526004016107ab906120da565b80600c54611292919061211b565b3410156112dc5760405162461bcd60e51b81526020600482015260186024820152774d636f6d3a20696e73756666696369656e742066756e647360401b60448201526064016107ab565b6112e6338261171a565b506001600955565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611365848484610ca1565b6001600160a01b0383163b1561139e57611381848484846118a3565b61139e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6113ac611681565b600260095414156113cf5760405162461bcd60e51b81526004016107ab90612075565b6002600955600d54826113e9600154600054036000190190565b6113f391906120c2565b111561143a5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016107ab565b610e91818361171a565b606061144f82611734565b6114b45760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084016107ab565b600f54610100900460ff1661155557600b80546114d09061213a565b80601f01602080910402602001604051908101604052809291908181526020018280546114fc9061213a565b80156115495780601f1061151e57610100808354040283529160200191611549565b820191906000526020600020905b81548152906001019060200180831161152c57829003601f168201915b50505050509050919050565b600061155f61199b565b9050600081511161157f57604051806020016040528060008152506115aa565b80611589846119aa565b60405160200161159a92919061218b565b6040516020818303038152906040525b9392505050565b6000610767826116f1565b6115c4611681565b600e55565b6115d1611681565b8051610ee290600b906020840190611bd5565b6115ec611681565b6001600160a01b0381166116515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ab565b61165a816117d2565b50565b611665611681565b600f8054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610f5f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ab565b6000826116e885846119f8565b14949350505050565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610ee2828260405180602001604052806000815250611a45565b600081600111158015611748575060005482105b8015610767575050600090815260046020526040902054600160e01b161590565b600081806001116117b9576000548110156117b957600081815260046020526040902054600160e01b81166117b7575b806115aa575060001901600081815260046020526040902054611799565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461076790604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118d89033908990889088906004016121ca565b602060405180830381600087803b1580156118f257600080fd5b505af1925050508015611922575060408051601f3d908101601f1916820190925261191f91810190612207565b60015b61197d573d808015611950576040519150601f19603f3d011682016040523d82523d6000602084013e611955565b606091505b508051611975576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a8054610a9f9061213a565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806119e1576119e6565b6119c4565b50819003601f19909101908152919050565b600081815b8451811015611a3d57611a2982868381518110611a1c57611a1c612175565b6020026020010151611ab2565b915080611a3581612224565b9150506119fd565b509392505050565b611a4f8383611ade565b6001600160a01b0383163b15610eb5576000548281035b611a7960008683806001019450866118a3565b611a96576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a66578160005414611aab57600080fd5b5050505050565b6000818310611ace5760008281526020849052604090206115aa565b5060009182526020526040902090565b60005481611aff5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611bae57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b76565b5081611bcc57604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611be19061213a565b90600052602060002090601f016020900481019282611c035760008555611c49565b82601f10611c1c57805160ff1916838001178555611c49565b82800160010185558215611c49579182015b82811115611c49578251825591602001919060010190611c2e565b50611c55929150611c59565b5090565b5b80821115611c555760008155600101611c5a565b6001600160e01b03198116811461165a57600080fd5b600060208284031215611c9657600080fd5b81356115aa81611c6e565b80358015158114611cb157600080fd5b919050565b600060208284031215611cc857600080fd5b6115aa82611ca1565b600080600060408486031215611ce657600080fd5b83359250602084013567ffffffffffffffff80821115611d0557600080fd5b818601915086601f830112611d1957600080fd5b813581811115611d2857600080fd5b8760208260051b8501011115611d3d57600080fd5b6020830194508093505050509250925092565b60005b83811015611d6b578181015183820152602001611d53565b8381111561139e5750506000910152565b60008151808452611d94816020860160208601611d50565b601f01601f19169290920160200192915050565b6020815260006115aa6020830184611d7c565b600060208284031215611dcd57600080fd5b5035919050565b80356001600160a01b0381168114611cb157600080fd5b60008060408385031215611dfe57600080fd5b611e0783611dd4565b946020939093013593505050565b600080600060608486031215611e2a57600080fd5b611e3384611dd4565b9250611e4160208501611dd4565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e8257611e82611e51565b604051601f8501601f19908116603f01168101908282118183101715611eaa57611eaa611e51565b81604052809350858152868686011115611ec357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611eef57600080fd5b813567ffffffffffffffff811115611f0657600080fd5b8201601f81018413611f1757600080fd5b61199384823560208401611e67565b600060208284031215611f3857600080fd5b6115aa82611dd4565b6020808252825182820181905260009190848201906040850190845b8181101561107257835183529284019291840191600101611f5d565b60008060408385031215611f8c57600080fd5b611f9583611dd4565b9150611fa360208401611ca1565b90509250929050565b60008060008060808587031215611fc257600080fd5b611fcb85611dd4565b9350611fd960208601611dd4565b925060408501359150606085013567ffffffffffffffff811115611ffc57600080fd5b8501601f8101871361200d57600080fd5b61201c87823560208401611e67565b91505092959194509250565b6000806040838503121561203b57600080fd5b82359150611fa360208401611dd4565b6000806040838503121561205e57600080fd5b61206783611dd4565b9150611fa360208401611dd4565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120d5576120d56120ac565b500190565b60208082526021908201527f4d636f6d3a204d6178204e4654205065722057616c6c657420657863656564656040820152601960fa1b606082015260800190565b6000816000190483118215151615612135576121356120ac565b500290565b600181811c9082168061214e57607f821691505b6020821081141561216f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6000835161219d818460208801611d50565b8351908301906121b1818360208801611d50565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121fd90830184611d7c565b9695505050505050565b60006020828403121561221957600080fd5b81516115aa81611c6e565b6000600019821415612238576122386120ac565b506001019056fea264697066735822122030b6ec6f2a2840ff58059b5b9cff0a4b693f8eca8c6a3718a34cef0a5377115b64736f6c63430008090033
Deployed Bytecode Sourcemap
66686:5596:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33518:639;;;;;;;;;;-1:-1:-1;33518:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;33518:639:0;;;;;;;;71825:73;;;;;;;;;;-1:-1:-1;71825:73:0;;;;;:::i;:::-;;:::i;:::-;;68054:749;;;;;;:::i;:::-;;:::i;34420:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40911:218::-;;;;;;;;;;-1:-1:-1;40911:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2730:32:1;;;2712:51;;2700:2;2685:18;40911:218:0;2566:203:1;66778:99:0;;;;;;;;;;;;;:::i;40344:408::-;;;;;;:::i;:::-;;:::i;66882:32::-;;;;;;;;;;;;;;;;;;;3357:25:1;;;3345:2;3330:18;66882:32:0;3211:177:1;71363:94:0;;;;;;;;;;-1:-1:-1;71363:94:0;;;;;:::i;:::-;;:::i;30171:323::-;;;;;;;;;;;;67385:1;30445:12;30232:7;30429:13;:28;-1:-1:-1;;30429:46:0;;30171:323;44550:2825;;;;;;:::i;:::-;;:::i;67084:25::-;;;;;;;;;;;;;;;;72112:167;;;:::i;47471:193::-;;;;;;:::i;:::-;;:::i;71228:80::-;;;;;;;;;;-1:-1:-1;71228:80:0;;;;;:::i;:::-;;:::i;67020:28::-;;;;;;;;;;-1:-1:-1;67020:28:0;;;;;;;;;;;71493:98;;;;;;;;;;-1:-1:-1;71493:98:0;;;;;:::i;:::-;;:::i;67053:26::-;;;;;;;;;;-1:-1:-1;67053:26:0;;;;;;;;;;;66990:25;;;;;;;;;;-1:-1:-1;66990:25:0;;;;;;;;35813:152;;;;;;;;;;-1:-1:-1;35813:152:0;;;;;:::i;:::-;;:::i;66752:21::-;;;;;;;;;;;;;:::i;31355:233::-;;;;;;;;;;-1:-1:-1;31355:233:0;;;;;:::i;:::-;;:::i;14297:103::-;;;;;;;;;;;;;:::i;70910:106::-;;;;;;;;;;-1:-1:-1;70910:106:0;;;;;:::i;:::-;;:::i;69862:881::-;;;;;;;;;;-1:-1:-1;69862:881:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;13649:87::-;;;;;;;;;;-1:-1:-1;13722:6:0;;-1:-1:-1;;;;;13722:6:0;13649:87;;70765:78;;;;;;;;;;-1:-1:-1;70765:78:0;;;;;:::i;:::-;;:::i;34596:104::-;;;;;;;;;;;;;:::i;67438:571::-;;;;;;:::i;:::-;;:::i;41469:234::-;;;;;;;;;;-1:-1:-1;41469:234:0;;;;;:::i;:::-;;:::i;48262:407::-;;;;;;:::i;:::-;;:::i;68858:223::-;;;;;;;;;;-1:-1:-1;68858:223:0;;;;;:::i;:::-;;:::i;66954:31::-;;;;;;;;;;;;;;;;69133:492;;;;;;;;;;-1:-1:-1;69133:492:0;;;;;:::i;:::-;;:::i;66919:30::-;;;;;;;;;;;;;;;;69690:107;;;;;;;;;;-1:-1:-1;69690:107:0;;;;;:::i;:::-;;:::i;71067:92::-;;;;;;;;;;-1:-1:-1;71067:92:0;;;;;:::i;:::-;;:::i;41860:164::-;;;;;;;;;;-1:-1:-1;41860:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;41981:25:0;;;41957:4;41981:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41860:164;71625:120;;;;;;;;;;-1:-1:-1;71625:120:0;;;;;:::i;:::-;;:::i;14555:201::-;;;;;;;;;;-1:-1:-1;14555:201:0;;;;;:::i;:::-;;:::i;71973:90::-;;;;;;;;;;-1:-1:-1;71973:90:0;;;;;:::i;:::-;;:::i;33518:639::-;33603:4;-1:-1:-1;;;;;;;;;33927:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;34004:25:0;;;33927:102;:179;;;-1:-1:-1;;;;;;;;;;34081:25:0;;;33927:179;33907:199;33518:639;-1:-1:-1;;33518:639:0:o;71825:73::-;13535:13;:11;:13::i;:::-;71877:6:::1;:15:::0;;-1:-1:-1;;71877:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71825:73::o;68054:749::-;10574:1;11172:7;;:19;;11164:63;;;;-1:-1:-1;;;11164:63:0;;;;;;;:::i;:::-;;;;;;;;;10574:1;11305:7;:18;68167:6:::1;::::0;::::1;;68166:7;68158:49;;;::::0;-1:-1:-1;;;68158:49:0;;8163:2:1;68158:49:0::1;::::0;::::1;8145:21:1::0;8202:2;8182:18;;;8175:30;8241:31;8221:18;;;8214:59;8290:18;;68158:49:0::1;7961:353:1::0;68158:49:0::1;68222:7;::::0;;;::::1;;;68214:52;;;::::0;-1:-1:-1;;;68214:52:0;;8521:2:1;68214:52:0::1;::::0;::::1;8503:21:1::0;;;8540:18;;;8533:30;8599:34;8579:18;;;8572:62;8651:18;;68214:52:0::1;8319:356:1::0;68214:52:0::1;68281:84;68300:11;;68281:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;68313:10:0::1;::::0;68335:28:::1;::::0;-1:-1:-1;;68352:10:0::1;8829:2:1::0;8825:15;8821:53;68335:28:0::1;::::0;::::1;8809:66:1::0;68313:10:0;;-1:-1:-1;8891:12:1;;;-1:-1:-1;68335:28:0::1;;;;;;;;;;;;68325:39;;;;;;68281:18;:84::i;:::-;68273:126;;;::::0;-1:-1:-1;;;68273:126:0;;9116:2:1;68273:126:0::1;::::0;::::1;9098:21:1::0;9155:2;9135:18;;;9128:30;9194:31;9174:18;;;9167:59;9243:18;;68273:126:0::1;8914:353:1::0;68273:126:0::1;68461:12;::::0;68451:6;68414:34:::1;64677:10:::0;68414:13:::1;:34::i;:::-;:43;;;;:::i;:::-;:59;;68406:105;;;;-1:-1:-1::0;;;68406:105:0::1;;;;;;;:::i;:::-;68536:12;;68526:6;:22;;68518:65;;;::::0;-1:-1:-1;;;68518:65:0;;10141:2:1;68518:65:0::1;::::0;::::1;10123:21:1::0;10180:2;10160:18;;;10153:30;10219:32;10199:18;;;10192:60;10269:18;;68518:65:0::1;9939:354:1::0;68518:65:0::1;68624:9;;68614:6;68598:13;67385:1:::0;30445:12;30232:7;30429:13;:28;-1:-1:-1;;30429:46:0;;30171:323;68598:13:::1;:22;;;;:::i;:::-;:35;;68590:82;;;::::0;-1:-1:-1;;;68590:82:0;;10500:2:1;68590:82:0::1;::::0;::::1;10482:21:1::0;10539:2;10519:18;;;10512:30;10578:34;10558:18;;;10551:62;-1:-1:-1;;;10629:18:1;;;10622:32;10671:19;;68590:82:0::1;10298:398:1::0;68590:82:0::1;68707:6;68700:4;;:13;;;;:::i;:::-;68687:9;:26;;68679:63;;;::::0;-1:-1:-1;;;68679:63:0;;11076:2:1;68679:63:0::1;::::0;::::1;11058:21:1::0;11115:2;11095:18;;;11088:30;-1:-1:-1;;;11134:18:1;;;11127:54;11198:18;;68679:63:0::1;10874:348:1::0;68679:63:0::1;68753:38;64677:10:::0;68784:6:::1;68753:9;:38::i;:::-;-1:-1:-1::0;;10530:1:0;11484:7;:22;-1:-1:-1;68054:749:0:o;34420:100::-;34474:13;34507:5;34500:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34420:100;:::o;40911:218::-;40987:7;41012:16;41020:7;41012;:16::i;:::-;41007:64;;41037:34;;-1:-1:-1;;;41037:34:0;;;;;;;;;;;41007:64;-1:-1:-1;41091:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;41091:30:0;;40911:218::o;66778:99::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40344:408::-;40433:13;40449:16;40457:7;40449;:16::i;:::-;40433:32;-1:-1:-1;64677:10:0;-1:-1:-1;;;;;40482:28:0;;;40478:175;;40530:44;40547:5;64677:10;41860:164;:::i;40530:44::-;40525:128;;40602:35;;-1:-1:-1;;;40602:35:0;;;;;;;;;;;40525:128;40665:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;40665:35:0;-1:-1:-1;;;;;40665:35:0;;;;;;;;;40716:28;;40665:24;;40716:28;;;;;;;40422:330;40344:408;;:::o;71363:94::-;13535:13;:11;:13::i;:::-;71429:9:::1;:22:::0;71363:94::o;44550:2825::-;44692:27;44722;44741:7;44722:18;:27::i;:::-;44692:57;;44807:4;-1:-1:-1;;;;;44766:45:0;44782:19;-1:-1:-1;;;;;44766:45:0;;44762:86;;44820:28;;-1:-1:-1;;;44820:28:0;;;;;;;;;;;44762:86;44862:27;43658:24;;;:15;:24;;;;;43886:26;;64677:10;43283:30;;;-1:-1:-1;;;;;42976:28:0;;43261:20;;;43258:56;45048:180;;45141:43;45158:4;64677:10;41860:164;:::i;45141:43::-;45136:92;;45193:35;;-1:-1:-1;;;45193:35:0;;;;;;;;;;;45136:92;-1:-1:-1;;;;;45245:16:0;;45241:52;;45270:23;;-1:-1:-1;;;45270:23:0;;;;;;;;;;;45241:52;45442:15;45439:160;;;45582:1;45561:19;45554:30;45439:160;-1:-1:-1;;;;;45979:24:0;;;;;;;:18;:24;;;;;;45977:26;;-1:-1:-1;;45977:26:0;;;46048:22;;;;;;;;;46046:24;;-1:-1:-1;46046:24:0;;;39202:11;39177:23;39173:41;39160:63;-1:-1:-1;;;39160:63:0;46341:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;46636:47:0;;46632:627;;46741:1;46731:11;;46709:19;46864:30;;;:17;:30;;;;;;46860:384;;47002:13;;46987:11;:28;46983:242;;47149:30;;;;:17;:30;;;;;:52;;;46983:242;46690:569;46632:627;47306:7;47302:2;-1:-1:-1;;;;;47287:27:0;47296:4;-1:-1:-1;;;;;47287:27:0;;;;;;;;;;;44681:2694;;;44550:2825;;;:::o;72112:167::-;13535:13;:11;:13::i;:::-;10574:1:::1;11172:7;;:19;;11164:63;;;;-1:-1:-1::0;;;11164:63:0::1;;;;;;;:::i;:::-;10574:1;11305:7;:18:::0;72227:46:::2;::::0;72197:21:::2;::::0;64677:10;;72227:46;::::2;;;::::0;72197:21;;72227:46:::2;::::0;;;72197:21;64677:10;72227:46;::::2;;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;10530:1:0::1;11484:7;:22:::0;72112:167::o;47471:193::-;47617:39;47634:4;47640:2;47644:7;47617:39;;;;;;;;;;;;:16;:39::i;:::-;47471:193;;;:::o;71228:80::-;13535:13;:11;:13::i;:::-;71287:4:::1;:15:::0;71228:80::o;71493:98::-;13535:13;:11;:13::i;:::-;71564:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;71493:98:::0;:::o;35813:152::-;35885:7;35928:27;35947:7;35928:18;:27::i;66752:21::-;;;;;;;:::i;31355:233::-;31427:7;-1:-1:-1;;;;;31451:19:0;;31447:60;;31479:28;;-1:-1:-1;;;31479:28:0;;;;;;;;;;;31447:60;-1:-1:-1;;;;;;31525:25:0;;;;;:18;:25;;;;;;25514:13;31525:55;;31355:233::o;14297:103::-;13535:13;:11;:13::i;:::-;14362:30:::1;14389:1;14362:18;:30::i;:::-;14297:103::o:0;70910:106::-;13535:13;:11;:13::i;:::-;70984:10:::1;:24:::0;70910:106::o;69862:881::-;69921:16;69975:19;70009:25;70049:22;70074:16;70084:5;70074:9;:16::i;:::-;70049:41;;70105:25;70147:14;70133:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70133:29:0;;70105:57;;70177:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70177:31:0;67385:1;70223:472;70272:14;70257:11;:29;70223:472;;70324:15;70337:1;70324:12;:15::i;:::-;70312:27;;70362:9;:16;;;70358:73;;;70403:8;;70358:73;70453:14;;-1:-1:-1;;;;;70453:28:0;;70449:111;;70526:14;;;-1:-1:-1;70449:111:0;70603:5;-1:-1:-1;;;;;70582:26:0;:17;-1:-1:-1;;;;;70582:26:0;;70578:102;;;70659:1;70633:8;70642:13;;;;;;70633:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;70578:102;70288:3;;70223:472;;;-1:-1:-1;70716:8:0;;69862:881;-1:-1:-1;;;;;;69862:881:0:o;70765:78::-;13535:13;:11;:13::i;:::-;70820:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;70820:17:0;;::::1;::::0;;;::::1;::::0;;70765:78::o;34596:104::-;34652:13;34685:7;34678:14;;;;;:::i;67438:571::-;10574:1;11172:7;;:19;;11164:63;;;;-1:-1:-1;;;11164:63:0;;;;;;;:::i;:::-;10574:1;11305:7;:18;67512:6:::1;::::0;::::1;;67511:7;67503:49;;;::::0;-1:-1:-1;;;67503:49:0;;8163:2:1;67503:49:0::1;::::0;::::1;8145:21:1::0;8202:2;8182:18;;;8175:30;8241:31;8221:18;;;8214:59;8290:18;;67503:49:0::1;7961:353:1::0;67503:49:0::1;67568:7;::::0;;;::::1;;;67567:8;67559:57;;;::::0;-1:-1:-1;;;67559:57:0;;11946:2:1;67559:57:0::1;::::0;::::1;11928:21:1::0;11985:2;11965:18;;;11958:30;12024:34;12004:18;;;11997:62;-1:-1:-1;;;12075:18:1;;;12068:34;12119:19;;67559:57:0::1;11744:400:1::0;67559:57:0::1;67641:12;;67631:6;:22;;67623:72;;;::::0;-1:-1:-1;;;67623:72:0;;12351:2:1;67623:72:0::1;::::0;::::1;12333:21:1::0;12390:2;12370:18;;;12363:30;12429:34;12409:18;;;12402:62;-1:-1:-1;;;12480:18:1;;;12473:35;12525:19;;67623:72:0::1;12149:401:1::0;67623:72:0::1;67736:9;;67726:6;67710:13;67385:1:::0;30445:12;30232:7;30429:13;:28;-1:-1:-1;;30429:46:0;;30171:323;67710:13:::1;:22;;;;:::i;:::-;:35;;67702:64;;;::::0;-1:-1:-1;;;67702:64:0;;12757:2:1;67702:64:0::1;::::0;::::1;12739:21:1::0;12796:2;12776:18;;;12769:30;-1:-1:-1;;;12815:18:1;;;12808:46;12871:18;;67702:64:0::1;12555:340:1::0;67702:64:0::1;67828:12;::::0;67818:6;67781:34:::1;64677:10:::0;68414:13:::1;:34::i;67781:::-;:43;;;;:::i;:::-;:59;;67773:105;;;;-1:-1:-1::0;;;67773:105:0::1;;;;;;;:::i;:::-;67913:6;67906:4;;:13;;;;:::i;:::-;67893:9;:26;;67885:63;;;::::0;-1:-1:-1;;;67885:63:0;;11076:2:1;67885:63:0::1;::::0;::::1;11058:21:1::0;11115:2;11095:18;;;11088:30;-1:-1:-1;;;11134:18:1;;;11127:54;11198:18;;67885:63:0::1;10874:348:1::0;67885:63:0::1;67959:38;64677:10:::0;67990:6:::1;67959:9;:38::i;:::-;-1:-1:-1::0;10530:1:0;11484:7;:22;67438:571::o;41469:234::-;64677:10;41564:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;41564:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;41564:60:0;;;;;;;;;;41640:55;;540:41:1;;;41564:49:0;;64677:10;41640:55;;513:18:1;41640:55:0;;;;;;;41469:234;;:::o;48262:407::-;48437:31;48450:4;48456:2;48460:7;48437:12;:31::i;:::-;-1:-1:-1;;;;;48483:14:0;;;:19;48479:183;;48522:56;48553:4;48559:2;48563:7;48572:5;48522:30;:56::i;:::-;48517:145;;48606:40;;-1:-1:-1;;;48606:40:0;;;;;;;;;;;48517:145;48262:407;;;;:::o;68858:223::-;13535:13;:11;:13::i;:::-;10574:1:::1;11172:7;;:19;;11164:63;;;;-1:-1:-1::0;;;11164:63:0::1;;;;;;;:::i;:::-;10574:1;11305:7;:18:::0;68993:9:::2;::::0;68978:11;68962:13:::2;67385:1:::0;30445:12;30232:7;30429:13;:28;-1:-1:-1;;30429:46:0;;30171:323;68962:13:::2;:27;;;;:::i;:::-;:40;;68954:75;;;::::0;-1:-1:-1;;;68954:75:0;;13102:2:1;68954:75:0::2;::::0;::::2;13084:21:1::0;13141:2;13121:18;;;13114:30;-1:-1:-1;;;13160:18:1;;;13153:52;13222:18;;68954:75:0::2;12900:346:1::0;68954:75:0::2;69040:35;69050:11;69063;69040:9;:35::i;69133:492::-:0;69231:13;69272:16;69280:7;69272;:16::i;:::-;69256:98;;;;-1:-1:-1;;;69256:98:0;;13453:2:1;69256:98:0;;;13435:21:1;13492:2;13472:18;;;13465:30;13531:34;13511:18;;;13504:62;-1:-1:-1;;;13582:18:1;;;13575:46;13638:19;;69256:98:0;13251:412:1;69256:98:0;69370:8;;;;;;;69367:62;;69407:14;69400:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69133:492;;;:::o;69367:62::-;69437:28;69468:10;:8;:10::i;:::-;69437:41;;69523:1;69498:14;69492:28;:32;:127;;;;;;;;;;;;;;;;;69560:14;69576:18;69586:7;69576:9;:18::i;:::-;69543:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;69492:127;69485:134;69133:492;-1:-1:-1;;;69133:492:0:o;69690:107::-;69748:7;69771:20;69785:5;69771:13;:20::i;71067:92::-;13535:13;:11;:13::i;:::-;71132:12:::1;:21:::0;71067:92::o;71625:120::-;13535:13;:11;:13::i;:::-;71707:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;14555:201::-:0;13535:13;:11;:13::i;:::-;-1:-1:-1;;;;;14644:22:0;::::1;14636:73;;;::::0;-1:-1:-1;;;14636:73:0;;14512:2:1;14636:73:0::1;::::0;::::1;14494:21:1::0;14551:2;14531:18;;;14524:30;14590:34;14570:18;;;14563:62;-1:-1:-1;;;14641:18:1;;;14634:36;14687:19;;14636:73:0::1;14310:402:1::0;14636:73:0::1;14720:28;14739:8;14720:18;:28::i;:::-;14555:201:::0;:::o;71973:90::-;13535:13;:11;:13::i;:::-;72039:7:::1;:16:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;72039:16:0;;::::1;::::0;;;::::1;::::0;;71973:90::o;13814:132::-;13722:6;;-1:-1:-1;;;;;13722:6:0;64677:10;13878:23;13870:68;;;;-1:-1:-1;;;13870:68:0;;14919:2:1;13870:68:0;;;14901:21:1;;;14938:18;;;14931:30;14997:34;14977:18;;;14970:62;15049:18;;13870:68:0;14717:356:1;1256:190:0;1381:4;1434;1405:25;1418:5;1425:4;1405:12;:25::i;:::-;:33;;1256:190;-1:-1:-1;;;;1256:190:0:o;31670:178::-;-1:-1:-1;;;;;31759:25:0;31731:7;31759:25;;;:18;:25;;25652:2;31759:25;;;;;:50;;25514:13;31758:82;;31670:178::o;58422:112::-;58499:27;58509:2;58513:8;58499:27;;;;;;;;;;;;:9;:27::i;42282:282::-;42347:4;42403:7;67385:1;42384:26;;:66;;;;;42437:13;;42427:7;:23;42384:66;:153;;;;-1:-1:-1;;42488:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;42488:44:0;:49;;42282:282::o;36968:1275::-;37035:7;37070;;67385:1;37119:23;37115:1061;;37172:13;;37165:4;:20;37161:1015;;;37210:14;37227:23;;;:17;:23;;;;;;-1:-1:-1;;;37316:24:0;;37312:845;;37981:113;37988:11;37981:113;;-1:-1:-1;;;38059:6:0;38041:25;;;;:17;:25;;;;;;37981:113;;37312:845;37187:989;37161:1015;38204:31;;-1:-1:-1;;;38204:31:0;;;;;;;;;;;14916:191;15009:6;;;-1:-1:-1;;;;;15026:17:0;;;-1:-1:-1;;;;;;15026:17:0;;;;;;;15059:40;;15009:6;;;15026:17;15009:6;;15059:40;;14990:16;;15059:40;14979:128;14916:191;:::o;36416:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36544:24:0;;;;:17;:24;;;;;;36525:44;;-1:-1:-1;;;;;;;;;;;;;38452:41:0;;;;26173:3;38538:33;;;38504:68;;-1:-1:-1;;;38504:68:0;-1:-1:-1;;;38602:24:0;;:29;;-1:-1:-1;;;38583:48:0;;;;26694:3;38671:28;;;;-1:-1:-1;;;38642:58:0;-1:-1:-1;38342:366:0;50753:716;50937:88;;-1:-1:-1;;;50937:88:0;;50916:4;;-1:-1:-1;;;;;50937:45:0;;;;;:88;;64677:10;;51004:4;;51010:7;;51019:5;;50937:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50937:88:0;;;;;;;;-1:-1:-1;;50937:88:0;;;;;;;;;;;;:::i;:::-;;;50933:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51220:13:0;;51216:235;;51266:40;;-1:-1:-1;;;51266:40:0;;;;;;;;;;;51216:235;51409:6;51403:13;51394:6;51390:2;51386:15;51379:38;50933:529;-1:-1:-1;;;;;;51096:64:0;-1:-1:-1;;;51096:64:0;;-1:-1:-1;50933:529:0;50753:716;;;;;;:::o;67183:102::-;67243:13;67272:7;67265:14;;;;;:::i;64797:1745::-;64862:17;65296:4;65289;65283:11;65279:22;65388:1;65382:4;65375:15;65463:4;65460:1;65456:12;65449:19;;;65545:1;65540:3;65533:14;65649:3;65888:5;65870:428;65936:1;65931:3;65927:11;65920:18;;66107:2;66101:4;66097:13;66093:2;66089:22;66084:3;66076:36;66201:2;66191:13;;;66258:25;;66276:5;;66258:25;65870:428;;;-1:-1:-1;66328:13:0;;;-1:-1:-1;;66443:14:0;;;66505:19;;;66443:14;64797:1745;-1:-1:-1;64797:1745:0:o;2123:296::-;2206:7;2249:4;2206:7;2264:118;2288:5;:12;2284:1;:16;2264:118;;;2337:33;2347:12;2361:5;2367:1;2361:8;;;;;;;;:::i;:::-;;;;;;;2337:9;:33::i;:::-;2322:48;-1:-1:-1;2302:3:0;;;;:::i;:::-;;;;2264:118;;;-1:-1:-1;2399:12:0;2123:296;-1:-1:-1;;;2123:296:0:o;57649:689::-;57780:19;57786:2;57790:8;57780:5;:19::i;:::-;-1:-1:-1;;;;;57841:14:0;;;:19;57837:483;;57881:11;57895:13;57943:14;;;57976:233;58007:62;58046:1;58050:2;58054:7;;;;;;58063:5;58007:30;:62::i;:::-;58002:167;;58105:40;;-1:-1:-1;;;58105:40:0;;;;;;;;;;;58002:167;58204:3;58196:5;:11;57976:233;;58291:3;58274:13;;:20;58270:34;;58296:8;;;58270:34;57862:458;;57649:689;;;:::o;8330:149::-;8393:7;8424:1;8420;:5;:51;;8555:13;8649:15;;;8685:4;8678:15;;;8732:4;8716:21;;8420:51;;;-1:-1:-1;8555:13:0;8649:15;;;8685:4;8678:15;8732:4;8716:21;;;8330:149::o;51931:2966::-;52004:20;52027:13;52055;52051:44;;52077:18;;-1:-1:-1;;;52077:18:0;;;;;;;;;;;52051:44;-1:-1:-1;;;;;52583:22:0;;;;;;:18;:22;;;;25652:2;52583:22;;;:71;;52621:32;52609:45;;52583:71;;;52897:31;;;:17;:31;;;;;-1:-1:-1;39633:15:0;;39607:24;39603:46;39202:11;39177:23;39173:41;39170:52;39160:63;;52897:173;;53132:23;;;;52897:31;;52583:22;;53897:25;52583:22;;53750:335;54411:1;54397:12;54393:20;54351:346;54452:3;54443:7;54440:16;54351:346;;54670:7;54660:8;54657:1;54630:25;54627:1;54624;54619:59;54505:1;54492:15;54351:346;;;-1:-1:-1;54730:13:0;54726:45;;54752:19;;-1:-1:-1;;;54752:19:0;;;;;;;;;;;54726:45;54788:13;:19;-1:-1:-1;47471:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;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:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:683::-;1037:6;1045;1053;1106:2;1094:9;1085:7;1081:23;1077:32;1074:52;;;1122:1;1119;1112:12;1074:52;1158:9;1145:23;1135:33;;1219:2;1208:9;1204:18;1191:32;1242:18;1283:2;1275:6;1272:14;1269:34;;;1299:1;1296;1289:12;1269:34;1337:6;1326:9;1322:22;1312:32;;1382:7;1375:4;1371:2;1367:13;1363:27;1353:55;;1404:1;1401;1394:12;1353:55;1444:2;1431:16;1470:2;1462:6;1459:14;1456:34;;;1486:1;1483;1476:12;1456:34;1539:7;1534:2;1524:6;1521:1;1517:14;1513:2;1509:23;1505:32;1502:45;1499:65;;;1560:1;1557;1550:12;1499:65;1591:2;1587;1583:11;1573:21;;1613:6;1603:16;;;;;942:683;;;;;:::o;1630:258::-;1702:1;1712:113;1726:6;1723:1;1720:13;1712:113;;;1802:11;;;1796:18;1783:11;;;1776:39;1748:2;1741:10;1712:113;;;1843:6;1840:1;1837:13;1834:48;;;-1:-1:-1;;1878:1:1;1860:16;;1853:27;1630:258::o;1893:::-;1935:3;1973:5;1967:12;2000:6;1995:3;1988:19;2016:63;2072:6;2065:4;2060:3;2056:14;2049:4;2042:5;2038:16;2016:63;:::i;:::-;2133:2;2112:15;-1:-1:-1;;2108:29:1;2099:39;;;;2140:4;2095:50;;1893:258;-1:-1:-1;;1893:258:1:o;2156:220::-;2305:2;2294:9;2287:21;2268:4;2325:45;2366:2;2355:9;2351:18;2343:6;2325:45;:::i;2381:180::-;2440:6;2493:2;2481:9;2472:7;2468:23;2464:32;2461:52;;;2509:1;2506;2499:12;2461:52;-1:-1:-1;2532:23:1;;2381:180;-1:-1:-1;2381:180:1:o;2774:173::-;2842:20;;-1:-1:-1;;;;;2891:31:1;;2881:42;;2871:70;;2937:1;2934;2927:12;2952:254;3020:6;3028;3081:2;3069:9;3060:7;3056:23;3052:32;3049:52;;;3097:1;3094;3087:12;3049:52;3120:29;3139:9;3120:29;:::i;:::-;3110:39;3196:2;3181:18;;;;3168:32;;-1:-1:-1;;;2952:254:1:o;3393:328::-;3470:6;3478;3486;3539:2;3527:9;3518:7;3514:23;3510:32;3507:52;;;3555:1;3552;3545:12;3507:52;3578:29;3597:9;3578:29;:::i;:::-;3568:39;;3626:38;3660:2;3649:9;3645:18;3626:38;:::i;:::-;3616:48;;3711:2;3700:9;3696:18;3683:32;3673:42;;3393:328;;;;;:::o;3908:127::-;3969:10;3964:3;3960:20;3957:1;3950:31;4000:4;3997:1;3990:15;4024:4;4021:1;4014:15;4040:632;4105:5;4135:18;4176:2;4168:6;4165:14;4162:40;;;4182:18;;:::i;:::-;4257:2;4251:9;4225:2;4311:15;;-1:-1:-1;;4307:24:1;;;4333:2;4303:33;4299:42;4287:55;;;4357:18;;;4377:22;;;4354:46;4351:72;;;4403:18;;:::i;:::-;4443:10;4439:2;4432:22;4472:6;4463:15;;4502:6;4494;4487:22;4542:3;4533:6;4528:3;4524:16;4521:25;4518:45;;;4559:1;4556;4549:12;4518:45;4609:6;4604:3;4597:4;4589:6;4585:17;4572:44;4664:1;4657:4;4648:6;4640;4636:19;4632:30;4625:41;;;;4040:632;;;;;:::o;4677:451::-;4746:6;4799:2;4787:9;4778:7;4774:23;4770:32;4767:52;;;4815:1;4812;4805:12;4767:52;4855:9;4842:23;4888:18;4880:6;4877:30;4874:50;;;4920:1;4917;4910:12;4874:50;4943:22;;4996:4;4988:13;;4984:27;-1:-1:-1;4974:55:1;;5025:1;5022;5015:12;4974:55;5048:74;5114:7;5109:2;5096:16;5091:2;5087;5083:11;5048:74;:::i;5133:186::-;5192:6;5245:2;5233:9;5224:7;5220:23;5216:32;5213:52;;;5261:1;5258;5251:12;5213:52;5284:29;5303:9;5284:29;:::i;5509:632::-;5680:2;5732:21;;;5802:13;;5705:18;;;5824:22;;;5651:4;;5680:2;5903:15;;;;5877:2;5862:18;;;5651:4;5946:169;5960:6;5957:1;5954:13;5946:169;;;6021:13;;6009:26;;6090:15;;;;6055:12;;;;5982:1;5975:9;5946:169;;6146:254;6211:6;6219;6272:2;6260:9;6251:7;6247:23;6243:32;6240:52;;;6288:1;6285;6278:12;6240:52;6311:29;6330:9;6311:29;:::i;:::-;6301:39;;6359:35;6390:2;6379:9;6375:18;6359:35;:::i;:::-;6349:45;;6146:254;;;;;:::o;6405:667::-;6500:6;6508;6516;6524;6577:3;6565:9;6556:7;6552:23;6548:33;6545:53;;;6594:1;6591;6584:12;6545:53;6617:29;6636:9;6617:29;:::i;:::-;6607:39;;6665:38;6699:2;6688:9;6684:18;6665:38;:::i;:::-;6655:48;;6750:2;6739:9;6735:18;6722:32;6712:42;;6805:2;6794:9;6790:18;6777:32;6832:18;6824:6;6821:30;6818:50;;;6864:1;6861;6854:12;6818:50;6887:22;;6940:4;6932:13;;6928:27;-1:-1:-1;6918:55:1;;6969:1;6966;6959:12;6918:55;6992:74;7058:7;7053:2;7040:16;7035:2;7031;7027:11;6992:74;:::i;:::-;6982:84;;;6405:667;;;;;;;:::o;7077:254::-;7145:6;7153;7206:2;7194:9;7185:7;7181:23;7177:32;7174:52;;;7222:1;7219;7212:12;7174:52;7258:9;7245:23;7235:33;;7287:38;7321:2;7310:9;7306:18;7287:38;:::i;7336:260::-;7404:6;7412;7465:2;7453:9;7444:7;7440:23;7436:32;7433:52;;;7481:1;7478;7471:12;7433:52;7504:29;7523:9;7504:29;:::i;:::-;7494:39;;7552:38;7586:2;7575:9;7571:18;7552:38;:::i;7601:355::-;7803:2;7785:21;;;7842:2;7822:18;;;7815:30;7881:33;7876:2;7861:18;;7854:61;7947:2;7932:18;;7601:355::o;9272:127::-;9333:10;9328:3;9324:20;9321:1;9314:31;9364:4;9361:1;9354:15;9388:4;9385:1;9378:15;9404:128;9444:3;9475:1;9471:6;9468:1;9465:13;9462:39;;;9481:18;;:::i;:::-;-1:-1:-1;9517:9:1;;9404:128::o;9537:397::-;9739:2;9721:21;;;9778:2;9758:18;;;9751:30;9817:34;9812:2;9797:18;;9790:62;-1:-1:-1;;;9883:2:1;9868:18;;9861:31;9924:3;9909:19;;9537:397::o;10701:168::-;10741:7;10807:1;10803;10799:6;10795:14;10792:1;10789:21;10784:1;10777:9;10770:17;10766:45;10763:71;;;10814:18;;:::i;:::-;-1:-1:-1;10854:9:1;;10701:168::o;11227:380::-;11306:1;11302:12;;;;11349;;;11370:61;;11424:4;11416:6;11412:17;11402:27;;11370:61;11477:2;11469:6;11466:14;11446:18;11443:38;11440:161;;;11523:10;11518:3;11514:20;11511:1;11504:31;11558:4;11555:1;11548:15;11586:4;11583:1;11576:15;11440:161;;11227:380;;;:::o;11612:127::-;11673:10;11668:3;11664:20;11661:1;11654:31;11704:4;11701:1;11694:15;11728:4;11725:1;11718:15;13668:637;13948:3;13986:6;13980:13;14002:53;14048:6;14043:3;14036:4;14028:6;14024:17;14002:53;:::i;:::-;14118:13;;14077:16;;;;14140:57;14118:13;14077:16;14174:4;14162:17;;14140:57;:::i;:::-;-1:-1:-1;;;14219:20:1;;14248:22;;;14297:1;14286:13;;13668:637;-1:-1:-1;;;;13668:637:1:o;15078:489::-;-1:-1:-1;;;;;15347:15:1;;;15329:34;;15399:15;;15394:2;15379:18;;15372:43;15446:2;15431:18;;15424:34;;;15494:3;15489:2;15474:18;;15467:31;;;15272:4;;15515:46;;15541:19;;15533:6;15515:46;:::i;:::-;15507:54;15078:489;-1:-1:-1;;;;;;15078:489:1:o;15572:249::-;15641:6;15694:2;15682:9;15673:7;15669:23;15665:32;15662:52;;;15710:1;15707;15700:12;15662:52;15742:9;15736:16;15761:30;15785:5;15761:30;:::i;15826:135::-;15865:3;-1:-1:-1;;15886:17:1;;15883:43;;;15906:18;;:::i;:::-;-1:-1:-1;15953:1:1;15942:13;;15826:135::o
Swarm Source
ipfs://30b6ec6f2a2840ff58059b5b9cff0a4b693f8eca8c6a3718a34cef0a5377115b
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.