ERC-721
Overview
Max Total Supply
192 PixelMoonbird
Holders
44
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 PixelMoonbirdLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PixelMoonbird
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-04-17 */ /** *Submitted for verification at Etherscan.io on 2022-04-13 */ // SPDX-License-Identifier: UNLICENSED // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/interfaces/IERC20.sol // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // 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 v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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 (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: contracts/ERC721A.sol pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex = 0; // 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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert('ERC721A: unable to get token of owner by index'); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); for (uint256 curr = tokenId; ; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: approve to caller'); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } /** * @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 (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), 'ERC721A: token already minted'); require(quantity > 0, 'ERC721A: quantity must be greater 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; } _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: contracts/nnft.sol pragma solidity ^0.8.8; contract PixelMoonbird is ERC721A, Ownable { using Strings for uint256; uint256 public constant maxSupply = 2000; uint256 public constant PUBLIC_SALE_PRICE = 0.001 ether; uint256 public publicSaleEpoch; string public baseURI; string public notRevealedUri; mapping(address => uint256) public usedAddresses; bool public revealed = true; event Revealed(uint256 _tokenId); constructor() ERC721A("PixelMoonbird", "PixelMoonbird") { } function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) { require(_exists(tokenId), "Nonexistent token"); if (revealed == false) { return notRevealedUri; } string memory currentBaseURI = baseURI; return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(),".json")) : ""; } function Mint(uint256 count) external payable { require(msg.value >= PUBLIC_SALE_PRICE * count, "Ether value sent is below the price"); require(totalSupply() + count <= maxSupply, "Cannot Exceeds max supply"); require(usedAddresses[msg.sender] + count <= 5, "max per wallet reached"); require(count > 0 && count <= 5, "You can drop minimum 1, maximum 2 NFTs"); usedAddresses[msg.sender] += count; _mint(msg.sender, count); } function reservedMint(address _addrs, uint256 count) public onlyOwner { require(count <= maxSupply, "Not enough NFTs left"); _mint(_addrs, count); } /** * @dev Used by public mint functions and by owner functions. * Can only be called internally by other functions. */ function _mint(address to, uint256 count) internal virtual returns (uint256){ _safeMint(to, count); return count; } function reveal() public onlyOwner { revealed = true; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function withdrawTokens(IERC20 token) external onlyOwner { uint256 balance = token.balanceOf(address(this)); token.transfer(msg.sender, balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Revealed","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":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"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":[],"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":[],"name":"publicSaleEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addrs","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"reservedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"usedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260008055600c805460ff191660011790553480156200002257600080fd5b50604080518082018252600d8082526c141a5e195b135bdbdb989a5c99609a1b6020808401828152855180870190965292855284015281519192916200006b91600191620000fa565b50805162000081906002906020840190620000fa565b5050506200009e62000098620000a460201b60201c565b620000a8565b620001dd565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010890620001a0565b90600052602060002090601f0160209004810192826200012c576000855562000177565b82601f106200014757805160ff191683800117855562000177565b8280016001018555821562000177579182015b82811115620001775782518255916020019190600101906200015a565b506200018592915062000189565b5090565b5b808211156200018557600081556001016200018a565b600181811c90821680620001b557607f821691505b60208210811415620001d757634e487b7160e01b600052602260045260246000fd5b50919050565b61243180620001ed6000396000f3fe6080604052600436106101ee5760003560e01c806355f804b31161010d578063a475b5dd116100a0578063c87b56dd1161006f578063c87b56dd1461054e578063d5abeb011461056e578063e985e9c514610584578063f2c4ce1e146105cd578063f2fde38b146105ed57600080fd5b8063a475b5dd146104cc578063acdce273146104e1578063b7a34c8a1461050e578063b88d4fde1461052e57600080fd5b8063715018a6116100dc578063715018a6146104645780638da5cb5b1461047957806395d89b4114610497578063a22cb465146104ac57600080fd5b806355f804b3146103ef5780636352211e1461040f5780636c0360eb1461042f57806370a082311461044457600080fd5b806323b872dd1161018557806342842e0e1161015457806342842e0e1461037557806349df728c146103955780634f6ccce7146103b557806351830227146103d557600080fd5b806323b872dd1461030a5780632dbb444f1461032a5780632f745c59146103405780633ccfd60b1461036057600080fd5b8063081812fc116101c1578063081812fc14610288578063081c8c44146102c0578063095ea7b3146102d557806318160ddd146102f557600080fd5b806301ffc9a7146101f357806306fdde0314610228578063078837031461024a57806307e89ec01461025f575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611e50565b61060d565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61067a565b60405161021f9190611ec5565b61025d610258366004611ed8565b61070c565b005b34801561026b57600080fd5b5061027a66038d7ea4c6800081565b60405190815260200161021f565b34801561029457600080fd5b506102a86102a3366004611ed8565b6108e6565b6040516001600160a01b03909116815260200161021f565b3480156102cc57600080fd5b5061023d610971565b3480156102e157600080fd5b5061025d6102f0366004611f06565b6109ff565b34801561030157600080fd5b5060005461027a565b34801561031657600080fd5b5061025d610325366004611f32565b610b17565b34801561033657600080fd5b5061027a60085481565b34801561034c57600080fd5b5061027a61035b366004611f06565b610b22565b34801561036c57600080fd5b5061025d610c90565b34801561038157600080fd5b5061025d610390366004611f32565b610ce9565b3480156103a157600080fd5b5061025d6103b0366004611f73565b610d04565b3480156103c157600080fd5b5061027a6103d0366004611ed8565b610e0d565b3480156103e157600080fd5b50600c546102139060ff1681565b3480156103fb57600080fd5b5061025d61040a36600461201c565b610e6f565b34801561041b57600080fd5b506102a861042a366004611ed8565b610eac565b34801561043b57600080fd5b5061023d610ebe565b34801561045057600080fd5b5061027a61045f366004611f73565b610ecb565b34801561047057600080fd5b5061025d610f5c565b34801561048557600080fd5b506007546001600160a01b03166102a8565b3480156104a357600080fd5b5061023d610f92565b3480156104b857600080fd5b5061025d6104c7366004612073565b610fa1565b3480156104d857600080fd5b5061025d611066565b3480156104ed57600080fd5b5061027a6104fc366004611f73565b600b6020526000908152604090205481565b34801561051a57600080fd5b5061025d610529366004611f06565b61109f565b34801561053a57600080fd5b5061025d6105493660046120ac565b61111c565b34801561055a57600080fd5b5061023d610569366004611ed8565b611155565b34801561057a57600080fd5b5061027a6107d081565b34801561059057600080fd5b5061021361059f36600461212c565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105d957600080fd5b5061025d6105e836600461201c565b61131d565b3480156105f957600080fd5b5061025d610608366004611f73565b61135a565b60006001600160e01b031982166380ac58cd60e01b148061063e57506001600160e01b03198216635b5e139f60e01b145b8061065957506001600160e01b0319821663780e9d6360e01b145b8061067457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546106899061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546106b59061215a565b80156107025780601f106106d757610100808354040283529160200191610702565b820191906000526020600020905b8154815290600101906020018083116106e557829003601f168201915b5050505050905090565b61071d8166038d7ea4c680006121a5565b34101561077d5760405162461bcd60e51b815260206004820152602360248201527f45746865722076616c75652073656e742069732062656c6f772074686520707260448201526269636560e81b60648201526084015b60405180910390fd5b6107d08161078a60005490565b61079491906121c4565b11156107e25760405162461bcd60e51b815260206004820152601960248201527f43616e6e6f742045786365656473206d617820737570706c79000000000000006044820152606401610774565b336000908152600b60205260409020546005906108009083906121c4565b11156108475760405162461bcd60e51b81526020600482015260166024820152751b585e081c195c881dd85b1b195d081c995858da195960521b6044820152606401610774565b600081118015610858575060058111155b6108b35760405162461bcd60e51b815260206004820152602660248201527f596f752063616e2064726f70206d696e696d756d20312c206d6178696d756d2060448201526532204e46547360d01b6064820152608401610774565b336000908152600b6020526040812080548392906108d29084906121c4565b909155506108e2905033826113f5565b5050565b60006108f3826000541190565b6109555760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610774565b506000908152600560205260409020546001600160a01b031690565b600a805461097e9061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546109aa9061215a565b80156109f75780601f106109cc576101008083540402835291602001916109f7565b820191906000526020600020905b8154815290600101906020018083116109da57829003601f168201915b505050505081565b6000610a0a82610eac565b9050806001600160a01b0316836001600160a01b03161415610a795760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610774565b336001600160a01b0382161480610a955750610a95813361059f565b610b075760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610774565b610b12838383611407565b505050565b610b12838383611463565b6000610b2d83610ecb565b8210610b865760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610774565b600080549080805b83811015610c30576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610be157805192505b876001600160a01b0316836001600160a01b03161415610c1d5786841415610c0f5750935061067492505050565b83610c19816121dc565b9450505b5080610c28816121dc565b915050610b8e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610774565b6007546001600160a01b03163314610cba5760405162461bcd60e51b8152600401610774906121f7565b6040514790339082156108fc029083906000818181858888f193505050501580156108e2573d6000803e3d6000fd5b610b128383836040518060200160405280600081525061111c565b6007546001600160a01b03163314610d2e5760405162461bcd60e51b8152600401610774906121f7565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610d75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d99919061222c565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610de9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b129190612245565b600080548210610e6b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610774565b5090565b6007546001600160a01b03163314610e995760405162461bcd60e51b8152600401610774906121f7565b80516108e2906009906020840190611daa565b6000610eb7826117aa565b5192915050565b6009805461097e9061215a565b60006001600160a01b038216610f375760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610774565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610f865760405162461bcd60e51b8152600401610774906121f7565b610f90600061188a565b565b6060600280546106899061215a565b6001600160a01b038216331415610ffa5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610774565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146110905760405162461bcd60e51b8152600401610774906121f7565b600c805460ff19166001179055565b6007546001600160a01b031633146110c95760405162461bcd60e51b8152600401610774906121f7565b6107d08111156111125760405162461bcd60e51b8152602060048201526014602482015273139bdd08195b9bdd59da081391951cc81b19599d60621b6044820152606401610774565b610b1282826113f5565b611127848484611463565b611133848484846118dc565b61114f5760405162461bcd60e51b815260040161077490612262565b50505050565b6060611162826000541190565b6111a25760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610774565b600c5460ff1661123e57600a80546111b99061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546111e59061215a565b80156112325780601f1061120757610100808354040283529160200191611232565b820191906000526020600020905b81548152906001019060200180831161121557829003601f168201915b50505050509050919050565b60006009805461124d9061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546112799061215a565b80156112c65780601f1061129b576101008083540402835291602001916112c6565b820191906000526020600020905b8154815290600101906020018083116112a957829003601f168201915b5050505050905060008151116112eb5760405180602001604052806000815250611316565b806112f5846119db565b6040516020016113069291906122b5565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146113475760405162461bcd60e51b8152600401610774906121f7565b80516108e290600a906020840190611daa565b6007546001600160a01b031633146113845760405162461bcd60e51b8152600401610774906121f7565b6001600160a01b0381166113e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610774565b6113f28161188a565b50565b60006114018383611ad9565b50919050565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061146e826117aa565b80519091506000906001600160a01b0316336001600160a01b031614806114a557503361149a846108e6565b6001600160a01b0316145b806114b7575081516114b7903361059f565b9050806115215760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610774565b846001600160a01b031682600001516001600160a01b0316146115955760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610774565b6001600160a01b0384166115f95760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610774565b6116096000848460000151611407565b6001600160a01b03858116600090815260046020908152604080832080546fffffffffffffffffffffffffffffffff198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a8752600390955292852091518254945196166001600160e01b031990941693909317600160a01b959092169490940217909255906116ce9085906121c4565b6000818152600360205260409020549091506001600160a01b0316611760576116f8816000541190565b156117605760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60408051808201909152600080825260208201526117c9826000541190565b6118285760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610774565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611877579392505050565b5080611882816122f4565b91505061182a565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b156119cf57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061192090339089908890889060040161230b565b6020604051808303816000875af192505050801561195b575060408051601f3d908101601f1916820190925261195891810190612348565b60015b6119b5573d808015611989576040519150601f19603f3d011682016040523d82523d6000602084013e61198e565b606091505b5080516119ad5760405162461bcd60e51b815260040161077490612262565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119d3565b5060015b949350505050565b6060816119ff5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a295780611a13816121dc565b9150611a229050600a8361237b565b9150611a03565b60008167ffffffffffffffff811115611a4457611a44611f90565b6040519080825280601f01601f191660200182016040528015611a6e576020820181803683370190505b5090505b84156119d357611a8360018361238f565b9150611a90600a866123a6565b611a9b9060306121c4565b60f81b818381518110611ab057611ab06123ba565b60200101906001600160f81b031916908160001a905350611ad2600a8661237b565b9450611a72565b6108e28282604051806020016040528060008152506000546001600160a01b038416611b515760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610774565b611b5c816000541190565b15611ba95760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610774565b60008311611c055760405162461bcd60e51b815260206004820152602360248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201526207220360ec1b6064820152608401610774565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611c619087906123d0565b6001600160801b03168152602001858360200151611c7f91906123d0565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611d9f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d6360008884886118dc565b611d7f5760405162461bcd60e51b815260040161077490612262565b81611d89816121dc565b9250508080611d97906121dc565b915050611d16565b5060008190556117a2565b828054611db69061215a565b90600052602060002090601f016020900481019282611dd85760008555611e1e565b82601f10611df157805160ff1916838001178555611e1e565b82800160010185558215611e1e579182015b82811115611e1e578251825591602001919060010190611e03565b50610e6b9291505b80821115610e6b5760008155600101611e26565b6001600160e01b0319811681146113f257600080fd5b600060208284031215611e6257600080fd5b813561131681611e3a565b60005b83811015611e88578181015183820152602001611e70565b8381111561114f5750506000910152565b60008151808452611eb1816020860160208601611e6d565b601f01601f19169290920160200192915050565b6020815260006113166020830184611e99565b600060208284031215611eea57600080fd5b5035919050565b6001600160a01b03811681146113f257600080fd5b60008060408385031215611f1957600080fd5b8235611f2481611ef1565b946020939093013593505050565b600080600060608486031215611f4757600080fd5b8335611f5281611ef1565b92506020840135611f6281611ef1565b929592945050506040919091013590565b600060208284031215611f8557600080fd5b813561131681611ef1565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611fc157611fc1611f90565b604051601f8501601f19908116603f01168101908282118183101715611fe957611fe9611f90565b8160405280935085815286868601111561200257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561202e57600080fd5b813567ffffffffffffffff81111561204557600080fd5b8201601f8101841361205657600080fd5b6119d384823560208401611fa6565b80151581146113f257600080fd5b6000806040838503121561208657600080fd5b823561209181611ef1565b915060208301356120a181612065565b809150509250929050565b600080600080608085870312156120c257600080fd5b84356120cd81611ef1565b935060208501356120dd81611ef1565b925060408501359150606085013567ffffffffffffffff81111561210057600080fd5b8501601f8101871361211157600080fd5b61212087823560208401611fa6565b91505092959194509250565b6000806040838503121561213f57600080fd5b823561214a81611ef1565b915060208301356120a181611ef1565b600181811c9082168061216e57607f821691505b6020821081141561140157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156121bf576121bf61218f565b500290565b600082198211156121d7576121d761218f565b500190565b60006000198214156121f0576121f061218f565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561223e57600080fd5b5051919050565b60006020828403121561225757600080fd5b815161131681612065565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600083516122c7818460208801611e6d565b8351908301906122db818360208801611e6d565b64173539b7b760d91b9101908152600501949350505050565b6000816123035761230361218f565b506000190190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061233e90830184611e99565b9695505050505050565b60006020828403121561235a57600080fd5b815161131681611e3a565b634e487b7160e01b600052601260045260246000fd5b60008261238a5761238a612365565b500490565b6000828210156123a1576123a161218f565b500390565b6000826123b5576123b5612365565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160801b038083168185168083038211156123f2576123f261218f565b0194935050505056fea26469706673582212202c1814a2d68c75a4c270aaaadf0b9398e2f24be7acd31d82d4bdd97680ad42c064736f6c634300080c0033
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c806355f804b31161010d578063a475b5dd116100a0578063c87b56dd1161006f578063c87b56dd1461054e578063d5abeb011461056e578063e985e9c514610584578063f2c4ce1e146105cd578063f2fde38b146105ed57600080fd5b8063a475b5dd146104cc578063acdce273146104e1578063b7a34c8a1461050e578063b88d4fde1461052e57600080fd5b8063715018a6116100dc578063715018a6146104645780638da5cb5b1461047957806395d89b4114610497578063a22cb465146104ac57600080fd5b806355f804b3146103ef5780636352211e1461040f5780636c0360eb1461042f57806370a082311461044457600080fd5b806323b872dd1161018557806342842e0e1161015457806342842e0e1461037557806349df728c146103955780634f6ccce7146103b557806351830227146103d557600080fd5b806323b872dd1461030a5780632dbb444f1461032a5780632f745c59146103405780633ccfd60b1461036057600080fd5b8063081812fc116101c1578063081812fc14610288578063081c8c44146102c0578063095ea7b3146102d557806318160ddd146102f557600080fd5b806301ffc9a7146101f357806306fdde0314610228578063078837031461024a57806307e89ec01461025f575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611e50565b61060d565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61067a565b60405161021f9190611ec5565b61025d610258366004611ed8565b61070c565b005b34801561026b57600080fd5b5061027a66038d7ea4c6800081565b60405190815260200161021f565b34801561029457600080fd5b506102a86102a3366004611ed8565b6108e6565b6040516001600160a01b03909116815260200161021f565b3480156102cc57600080fd5b5061023d610971565b3480156102e157600080fd5b5061025d6102f0366004611f06565b6109ff565b34801561030157600080fd5b5060005461027a565b34801561031657600080fd5b5061025d610325366004611f32565b610b17565b34801561033657600080fd5b5061027a60085481565b34801561034c57600080fd5b5061027a61035b366004611f06565b610b22565b34801561036c57600080fd5b5061025d610c90565b34801561038157600080fd5b5061025d610390366004611f32565b610ce9565b3480156103a157600080fd5b5061025d6103b0366004611f73565b610d04565b3480156103c157600080fd5b5061027a6103d0366004611ed8565b610e0d565b3480156103e157600080fd5b50600c546102139060ff1681565b3480156103fb57600080fd5b5061025d61040a36600461201c565b610e6f565b34801561041b57600080fd5b506102a861042a366004611ed8565b610eac565b34801561043b57600080fd5b5061023d610ebe565b34801561045057600080fd5b5061027a61045f366004611f73565b610ecb565b34801561047057600080fd5b5061025d610f5c565b34801561048557600080fd5b506007546001600160a01b03166102a8565b3480156104a357600080fd5b5061023d610f92565b3480156104b857600080fd5b5061025d6104c7366004612073565b610fa1565b3480156104d857600080fd5b5061025d611066565b3480156104ed57600080fd5b5061027a6104fc366004611f73565b600b6020526000908152604090205481565b34801561051a57600080fd5b5061025d610529366004611f06565b61109f565b34801561053a57600080fd5b5061025d6105493660046120ac565b61111c565b34801561055a57600080fd5b5061023d610569366004611ed8565b611155565b34801561057a57600080fd5b5061027a6107d081565b34801561059057600080fd5b5061021361059f36600461212c565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105d957600080fd5b5061025d6105e836600461201c565b61131d565b3480156105f957600080fd5b5061025d610608366004611f73565b61135a565b60006001600160e01b031982166380ac58cd60e01b148061063e57506001600160e01b03198216635b5e139f60e01b145b8061065957506001600160e01b0319821663780e9d6360e01b145b8061067457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546106899061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546106b59061215a565b80156107025780601f106106d757610100808354040283529160200191610702565b820191906000526020600020905b8154815290600101906020018083116106e557829003601f168201915b5050505050905090565b61071d8166038d7ea4c680006121a5565b34101561077d5760405162461bcd60e51b815260206004820152602360248201527f45746865722076616c75652073656e742069732062656c6f772074686520707260448201526269636560e81b60648201526084015b60405180910390fd5b6107d08161078a60005490565b61079491906121c4565b11156107e25760405162461bcd60e51b815260206004820152601960248201527f43616e6e6f742045786365656473206d617820737570706c79000000000000006044820152606401610774565b336000908152600b60205260409020546005906108009083906121c4565b11156108475760405162461bcd60e51b81526020600482015260166024820152751b585e081c195c881dd85b1b195d081c995858da195960521b6044820152606401610774565b600081118015610858575060058111155b6108b35760405162461bcd60e51b815260206004820152602660248201527f596f752063616e2064726f70206d696e696d756d20312c206d6178696d756d2060448201526532204e46547360d01b6064820152608401610774565b336000908152600b6020526040812080548392906108d29084906121c4565b909155506108e2905033826113f5565b5050565b60006108f3826000541190565b6109555760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610774565b506000908152600560205260409020546001600160a01b031690565b600a805461097e9061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546109aa9061215a565b80156109f75780601f106109cc576101008083540402835291602001916109f7565b820191906000526020600020905b8154815290600101906020018083116109da57829003601f168201915b505050505081565b6000610a0a82610eac565b9050806001600160a01b0316836001600160a01b03161415610a795760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610774565b336001600160a01b0382161480610a955750610a95813361059f565b610b075760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610774565b610b12838383611407565b505050565b610b12838383611463565b6000610b2d83610ecb565b8210610b865760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610774565b600080549080805b83811015610c30576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610be157805192505b876001600160a01b0316836001600160a01b03161415610c1d5786841415610c0f5750935061067492505050565b83610c19816121dc565b9450505b5080610c28816121dc565b915050610b8e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610774565b6007546001600160a01b03163314610cba5760405162461bcd60e51b8152600401610774906121f7565b6040514790339082156108fc029083906000818181858888f193505050501580156108e2573d6000803e3d6000fd5b610b128383836040518060200160405280600081525061111c565b6007546001600160a01b03163314610d2e5760405162461bcd60e51b8152600401610774906121f7565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610d75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d99919061222c565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610de9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b129190612245565b600080548210610e6b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610774565b5090565b6007546001600160a01b03163314610e995760405162461bcd60e51b8152600401610774906121f7565b80516108e2906009906020840190611daa565b6000610eb7826117aa565b5192915050565b6009805461097e9061215a565b60006001600160a01b038216610f375760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610774565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610f865760405162461bcd60e51b8152600401610774906121f7565b610f90600061188a565b565b6060600280546106899061215a565b6001600160a01b038216331415610ffa5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610774565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146110905760405162461bcd60e51b8152600401610774906121f7565b600c805460ff19166001179055565b6007546001600160a01b031633146110c95760405162461bcd60e51b8152600401610774906121f7565b6107d08111156111125760405162461bcd60e51b8152602060048201526014602482015273139bdd08195b9bdd59da081391951cc81b19599d60621b6044820152606401610774565b610b1282826113f5565b611127848484611463565b611133848484846118dc565b61114f5760405162461bcd60e51b815260040161077490612262565b50505050565b6060611162826000541190565b6111a25760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610774565b600c5460ff1661123e57600a80546111b99061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546111e59061215a565b80156112325780601f1061120757610100808354040283529160200191611232565b820191906000526020600020905b81548152906001019060200180831161121557829003601f168201915b50505050509050919050565b60006009805461124d9061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546112799061215a565b80156112c65780601f1061129b576101008083540402835291602001916112c6565b820191906000526020600020905b8154815290600101906020018083116112a957829003601f168201915b5050505050905060008151116112eb5760405180602001604052806000815250611316565b806112f5846119db565b6040516020016113069291906122b5565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146113475760405162461bcd60e51b8152600401610774906121f7565b80516108e290600a906020840190611daa565b6007546001600160a01b031633146113845760405162461bcd60e51b8152600401610774906121f7565b6001600160a01b0381166113e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610774565b6113f28161188a565b50565b60006114018383611ad9565b50919050565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061146e826117aa565b80519091506000906001600160a01b0316336001600160a01b031614806114a557503361149a846108e6565b6001600160a01b0316145b806114b7575081516114b7903361059f565b9050806115215760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610774565b846001600160a01b031682600001516001600160a01b0316146115955760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610774565b6001600160a01b0384166115f95760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610774565b6116096000848460000151611407565b6001600160a01b03858116600090815260046020908152604080832080546fffffffffffffffffffffffffffffffff198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a8752600390955292852091518254945196166001600160e01b031990941693909317600160a01b959092169490940217909255906116ce9085906121c4565b6000818152600360205260409020549091506001600160a01b0316611760576116f8816000541190565b156117605760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60408051808201909152600080825260208201526117c9826000541190565b6118285760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610774565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611877579392505050565b5080611882816122f4565b91505061182a565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b156119cf57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061192090339089908890889060040161230b565b6020604051808303816000875af192505050801561195b575060408051601f3d908101601f1916820190925261195891810190612348565b60015b6119b5573d808015611989576040519150601f19603f3d011682016040523d82523d6000602084013e61198e565b606091505b5080516119ad5760405162461bcd60e51b815260040161077490612262565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119d3565b5060015b949350505050565b6060816119ff5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a295780611a13816121dc565b9150611a229050600a8361237b565b9150611a03565b60008167ffffffffffffffff811115611a4457611a44611f90565b6040519080825280601f01601f191660200182016040528015611a6e576020820181803683370190505b5090505b84156119d357611a8360018361238f565b9150611a90600a866123a6565b611a9b9060306121c4565b60f81b818381518110611ab057611ab06123ba565b60200101906001600160f81b031916908160001a905350611ad2600a8661237b565b9450611a72565b6108e28282604051806020016040528060008152506000546001600160a01b038416611b515760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610774565b611b5c816000541190565b15611ba95760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610774565b60008311611c055760405162461bcd60e51b815260206004820152602360248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201526207220360ec1b6064820152608401610774565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611c619087906123d0565b6001600160801b03168152602001858360200151611c7f91906123d0565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611d9f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d6360008884886118dc565b611d7f5760405162461bcd60e51b815260040161077490612262565b81611d89816121dc565b9250508080611d97906121dc565b915050611d16565b5060008190556117a2565b828054611db69061215a565b90600052602060002090601f016020900481019282611dd85760008555611e1e565b82601f10611df157805160ff1916838001178555611e1e565b82800160010185558215611e1e579182015b82811115611e1e578251825591602001919060010190611e03565b50610e6b9291505b80821115610e6b5760008155600101611e26565b6001600160e01b0319811681146113f257600080fd5b600060208284031215611e6257600080fd5b813561131681611e3a565b60005b83811015611e88578181015183820152602001611e70565b8381111561114f5750506000910152565b60008151808452611eb1816020860160208601611e6d565b601f01601f19169290920160200192915050565b6020815260006113166020830184611e99565b600060208284031215611eea57600080fd5b5035919050565b6001600160a01b03811681146113f257600080fd5b60008060408385031215611f1957600080fd5b8235611f2481611ef1565b946020939093013593505050565b600080600060608486031215611f4757600080fd5b8335611f5281611ef1565b92506020840135611f6281611ef1565b929592945050506040919091013590565b600060208284031215611f8557600080fd5b813561131681611ef1565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611fc157611fc1611f90565b604051601f8501601f19908116603f01168101908282118183101715611fe957611fe9611f90565b8160405280935085815286868601111561200257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561202e57600080fd5b813567ffffffffffffffff81111561204557600080fd5b8201601f8101841361205657600080fd5b6119d384823560208401611fa6565b80151581146113f257600080fd5b6000806040838503121561208657600080fd5b823561209181611ef1565b915060208301356120a181612065565b809150509250929050565b600080600080608085870312156120c257600080fd5b84356120cd81611ef1565b935060208501356120dd81611ef1565b925060408501359150606085013567ffffffffffffffff81111561210057600080fd5b8501601f8101871361211157600080fd5b61212087823560208401611fa6565b91505092959194509250565b6000806040838503121561213f57600080fd5b823561214a81611ef1565b915060208301356120a181611ef1565b600181811c9082168061216e57607f821691505b6020821081141561140157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156121bf576121bf61218f565b500290565b600082198211156121d7576121d761218f565b500190565b60006000198214156121f0576121f061218f565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561223e57600080fd5b5051919050565b60006020828403121561225757600080fd5b815161131681612065565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600083516122c7818460208801611e6d565b8351908301906122db818360208801611e6d565b64173539b7b760d91b9101908152600501949350505050565b6000816123035761230361218f565b506000190190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061233e90830184611e99565b9695505050505050565b60006020828403121561235a57600080fd5b815161131681611e3a565b634e487b7160e01b600052601260045260246000fd5b60008261238a5761238a612365565b500490565b6000828210156123a1576123a161218f565b500390565b6000826123b5576123b5612365565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160801b038083168185168083038211156123f2576123f261218f565b0194935050505056fea26469706673582212202c1814a2d68c75a4c270aaaadf0b9398e2f24be7acd31d82d4bdd97680ad42c064736f6c634300080c0033
Deployed Bytecode Sourcemap
66382:2524:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54332:372;;;;;;;;;;-1:-1:-1;54332:372:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;54332:372:0;;;;;;;;55959:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;67382:473::-;;;;;;:::i;:::-;;:::i;:::-;;66507:55;;;;;;;;;;;;66551:11;66507:55;;;;;1674:25:1;;;1662:2;1647:18;66507:55:0;1528:177:1;57520:214:0;;;;;;;;;;-1:-1:-1;57520:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;57520:214:0;1710:203:1;66634:28:0;;;;;;;;;;;;;:::i;57041:413::-;;;;;;;;;;-1:-1:-1;57041:413:0;;;;;:::i;:::-;;:::i;52773:100::-;;;;;;;;;;-1:-1:-1;52826:7:0;52853:12;52773:100;;58396:162;;;;;;;;;;-1:-1:-1;58396:162:0;;;;;:::i;:::-;;:::i;66569:30::-;;;;;;;;;;;;;;;;53437:823;;;;;;;;;;-1:-1:-1;53437:823:0;;;;;:::i;:::-;;:::i;68602:135::-;;;;;;;;;;;;;:::i;58629:177::-;;;;;;;;;;-1:-1:-1;58629:177:0;;;;;:::i;:::-;;:::i;68743:160::-;;;;;;;;;;-1:-1:-1;68743:160:0;;;;;:::i;:::-;;:::i;52950:187::-;;;;;;;;;;-1:-1:-1;52950:187:0;;;;;:::i;:::-;;:::i;66724:27::-;;;;;;;;;;-1:-1:-1;66724:27:0;;;;;;;;68496:98;;;;;;;;;;-1:-1:-1;68496:98:0;;;;;:::i;:::-;;:::i;55768:124::-;;;;;;;;;;-1:-1:-1;55768:124:0;;;;;:::i;:::-;;:::i;66608:21::-;;;;;;;;;;;;;:::i;54768:221::-;;;;;;;;;;-1:-1:-1;54768:221:0;;;;;:::i;:::-;;:::i;10258:103::-;;;;;;;;;;;;;:::i;9607:87::-;;;;;;;;;;-1:-1:-1;9680:6:0;;-1:-1:-1;;;;;9680:6:0;9607:87;;56128:104;;;;;;;;;;;;;:::i;57806:288::-;;;;;;;;;;-1:-1:-1;57806:288:0;;;;;:::i;:::-;;:::i;68301:63::-;;;;;;;;;;;;;:::i;66669:48::-;;;;;;;;;;-1:-1:-1;66669:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;67861:163;;;;;;;;;;-1:-1:-1;67861:163:0;;;;;:::i;:::-;;:::i;58877:355::-;;;;;;;;;;-1:-1:-1;58877:355:0;;;;;:::i;:::-;;:::i;66874:500::-;;;;;;;;;;-1:-1:-1;66874:500:0;;;;;:::i;:::-;;:::i;66462:40::-;;;;;;;;;;;;66498:4;66462:40;;58165:164;;;;;;;;;;-1:-1:-1;58165:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;58286:25:0;;;58262:4;58286:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58165:164;68370:120;;;;;;;;;;-1:-1:-1;68370:120:0;;;;;:::i;:::-;;:::i;10516:201::-;;;;;;;;;;-1:-1:-1;10516:201:0;;;;;:::i;:::-;;:::i;54332:372::-;54434:4;-1:-1:-1;;;;;;54471:40:0;;-1:-1:-1;;;54471:40:0;;:105;;-1:-1:-1;;;;;;;54528:48:0;;-1:-1:-1;;;54528:48:0;54471:105;:172;;;-1:-1:-1;;;;;;;54593:50:0;;-1:-1:-1;;;54593:50:0;54471:172;:225;;;-1:-1:-1;;;;;;;;;;22500:40:0;;;54660:36;54451:245;54332:372;-1:-1:-1;;54332:372:0:o;55959:100::-;56013:13;56046:5;56039:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55959:100;:::o;67382:473::-;67456:25;67476:5;66551:11;67456:25;:::i;:::-;67443:9;:38;;67435:98;;;;-1:-1:-1;;;67435:98:0;;7173:2:1;67435:98:0;;;7155:21:1;7212:2;7192:18;;;7185:30;7251:34;7231:18;;;7224:62;-1:-1:-1;;;7302:18:1;;;7295:33;7345:19;;67435:98:0;;;;;;;;;66498:4;67564:5;67548:13;52826:7;52853:12;;52773:100;67548:13;:21;;;;:::i;:::-;:34;;67540:72;;;;-1:-1:-1;;;67540:72:0;;7710:2:1;67540:72:0;;;7692:21:1;7749:2;7729:18;;;7722:30;7788:27;7768:18;;;7761:55;7833:18;;67540:72:0;7508:349:1;67540:72:0;67641:10;67627:25;;;;:13;:25;;;;;;67664:1;;67627:33;;67655:5;;67627:33;:::i;:::-;:38;;67619:73;;;;-1:-1:-1;;;67619:73:0;;8064:2:1;67619:73:0;;;8046:21:1;8103:2;8083:18;;;8076:30;-1:-1:-1;;;8122:18:1;;;8115:52;8184:18;;67619:73:0;7862:346:1;67619:73:0;67715:1;67707:5;:9;:23;;;;;67729:1;67720:5;:10;;67707:23;67699:74;;;;-1:-1:-1;;;67699:74:0;;8415:2:1;67699:74:0;;;8397:21:1;8454:2;8434:18;;;8427:30;8493:34;8473:18;;;8466:62;-1:-1:-1;;;8544:18:1;;;8537:36;8590:19;;67699:74:0;8213:402:1;67699:74:0;67796:10;67782:25;;;;:13;:25;;;;;:34;;67811:5;;67782:25;:34;;67811:5;;67782:34;:::i;:::-;;;;-1:-1:-1;67825:24:0;;-1:-1:-1;67831:10:0;67843:5;67825;:24::i;:::-;;67382:473;:::o;57520:214::-;57588:7;57616:16;57624:7;59544:4;59578:12;-1:-1:-1;59568:22:0;59487:111;57616:16;57608:74;;;;-1:-1:-1;;;57608:74:0;;8822:2:1;57608:74:0;;;8804:21:1;8861:2;8841:18;;;8834:30;8900:34;8880:18;;;8873:62;-1:-1:-1;;;8951:18:1;;;8944:43;9004:19;;57608:74:0;8620:409:1;57608:74:0;-1:-1:-1;57702:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;57702:24:0;;57520:214::o;66634:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57041:413::-;57114:13;57130:24;57146:7;57130:15;:24::i;:::-;57114:40;;57179:5;-1:-1:-1;;;;;57173:11:0;:2;-1:-1:-1;;;;;57173:11:0;;;57165:58;;;;-1:-1:-1;;;57165:58:0;;9236:2:1;57165:58:0;;;9218:21:1;9275:2;9255:18;;;9248:30;9314:34;9294:18;;;9287:62;-1:-1:-1;;;9365:18:1;;;9358:32;9407:19;;57165:58:0;9034:398:1;57165:58:0;8411:10;-1:-1:-1;;;;;57258:21:0;;;;:62;;-1:-1:-1;57283:37:0;57300:5;8411:10;58165:164;:::i;57283:37::-;57236:169;;;;-1:-1:-1;;;57236:169:0;;9639:2:1;57236:169:0;;;9621:21:1;9678:2;9658:18;;;9651:30;9717:34;9697:18;;;9690:62;9788:27;9768:18;;;9761:55;9833:19;;57236:169:0;9437:421:1;57236:169:0;57418:28;57427:2;57431:7;57440:5;57418:8;:28::i;:::-;57103:351;57041:413;;:::o;58396:162::-;58522:28;58532:4;58538:2;58542:7;58522:9;:28::i;53437:823::-;53526:7;53562:16;53572:5;53562:9;:16::i;:::-;53554:5;:24;53546:71;;;;-1:-1:-1;;;53546:71:0;;10065:2:1;53546:71:0;;;10047:21:1;10104:2;10084:18;;;10077:30;10143:34;10123:18;;;10116:62;-1:-1:-1;;;10194:18:1;;;10187:32;10236:19;;53546:71:0;9863:398:1;53546:71:0;53628:22;52853:12;;;53628:22;;53760:426;53784:14;53780:1;:18;53760:426;;;53820:31;53854:14;;;:11;:14;;;;;;;;;53820:48;;;;;;;;;-1:-1:-1;;;;;53820:48:0;;;;;-1:-1:-1;;;53820:48:0;;;;;;;;;;;;53887:28;53883:103;;53956:14;;;-1:-1:-1;53883:103:0;54025:5;-1:-1:-1;;;;;54004:26:0;:17;-1:-1:-1;;;;;54004:26:0;;54000:175;;;54070:5;54055:11;:20;54051:77;;;-1:-1:-1;54107:1:0;-1:-1:-1;54100:8:0;;-1:-1:-1;;;54100:8:0;54051:77;54146:13;;;;:::i;:::-;;;;54000:175;-1:-1:-1;53800:3:0;;;;:::i;:::-;;;;53760:426;;;-1:-1:-1;54196:56:0;;-1:-1:-1;;;54196:56:0;;10608:2:1;54196:56:0;;;10590:21:1;10647:2;10627:18;;;10620:30;10686:34;10666:18;;;10659:62;-1:-1:-1;;;10737:18:1;;;10730:44;10791:19;;54196:56:0;10406:410:1;68602:135:0;9680:6;;-1:-1:-1;;;;;9680:6:0;8411:10;9827:23;9819:68;;;;-1:-1:-1;;;9819:68:0;;;;;;;:::i;:::-;68694:37:::1;::::0;68666:21:::1;::::0;68702:10:::1;::::0;68694:37;::::1;;;::::0;68666:21;;68648:15:::1;68694:37:::0;68648:15;68694:37;68666:21;68702:10;68694:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;58629:177:::0;58759:39;58776:4;58782:2;58786:7;58759:39;;;;;;;;;;;;:16;:39::i;68743:160::-;9680:6;;-1:-1:-1;;;;;9680:6:0;8411:10;9827:23;9819:68;;;;-1:-1:-1;;;9819:68:0;;;;;;;:::i;:::-;68825:30:::1;::::0;-1:-1:-1;;;68825:30:0;;68849:4:::1;68825:30;::::0;::::1;1856:51:1::0;68807:15:0::1;::::0;-1:-1:-1;;;;;68825:15:0;::::1;::::0;::::1;::::0;1829:18:1;;68825:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68862:35;::::0;-1:-1:-1;;;68862:35:0;;68877:10:::1;68862:35;::::0;::::1;11545:51:1::0;11612:18;;;11605:34;;;68807:48:0;;-1:-1:-1;;;;;;68862:14:0;::::1;::::0;::::1;::::0;11518:18:1;;68862:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;52950:187::-:0;53017:7;52853:12;;53045:5;:21;53037:69;;;;-1:-1:-1;;;53037:69:0;;12102:2:1;53037:69:0;;;12084:21:1;12141:2;12121:18;;;12114:30;12180:34;12160:18;;;12153:62;-1:-1:-1;;;12231:18:1;;;12224:33;12274:19;;53037:69:0;11900:399:1;53037:69:0;-1:-1:-1;53124:5:0;52950:187::o;68496:98::-;9680:6;;-1:-1:-1;;;;;9680:6:0;8411:10;9827:23;9819:68;;;;-1:-1:-1;;;9819:68:0;;;;;;;:::i;:::-;68567:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;55768:124::-:0;55832:7;55859:20;55871:7;55859:11;:20::i;:::-;:25;;55768:124;-1:-1:-1;;55768:124:0:o;66608:21::-;;;;;;;:::i;54768:221::-;54832:7;-1:-1:-1;;;;;54860:19:0;;54852:75;;;;-1:-1:-1;;;54852:75:0;;12506:2:1;54852:75:0;;;12488:21:1;12545:2;12525:18;;;12518:30;12584:34;12564:18;;;12557:62;-1:-1:-1;;;12635:18:1;;;12628:41;12686:19;;54852:75:0;12304:407:1;54852:75:0;-1:-1:-1;;;;;;54953:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;54953:27:0;;54768:221::o;10258:103::-;9680:6;;-1:-1:-1;;;;;9680:6:0;8411:10;9827:23;9819:68;;;;-1:-1:-1;;;9819:68:0;;;;;;;:::i;:::-;10323:30:::1;10350:1;10323:18;:30::i;:::-;10258:103::o:0;56128:104::-;56184:13;56217:7;56210:14;;;;;:::i;57806:288::-;-1:-1:-1;;;;;57901:24:0;;8411:10;57901:24;;57893:63;;;;-1:-1:-1;;;57893:63:0;;12918:2:1;57893:63:0;;;12900:21:1;12957:2;12937:18;;;12930:30;12996:28;12976:18;;;12969:56;13042:18;;57893:63:0;12716:350:1;57893:63:0;8411:10;57969:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;57969:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;57969:53:0;;;;;;;;;;58038:48;;540:41:1;;;57969:42:0;;8411:10;58038:48;;513:18:1;58038:48:0;;;;;;;57806:288;;:::o;68301:63::-;9680:6;;-1:-1:-1;;;;;9680:6:0;8411:10;9827:23;9819:68;;;;-1:-1:-1;;;9819:68:0;;;;;;;:::i;:::-;68343:8:::1;:15:::0;;-1:-1:-1;;68343:15:0::1;68354:4;68343:15;::::0;;68301:63::o;67861:163::-;9680:6;;-1:-1:-1;;;;;9680:6:0;8411:10;9827:23;9819:68;;;;-1:-1:-1;;;9819:68:0;;;;;;;:::i;:::-;66498:4:::1;67946:5;:18;;67938:51;;;::::0;-1:-1:-1;;;67938:51:0;;13273:2:1;67938:51:0::1;::::0;::::1;13255:21:1::0;13312:2;13292:18;;;13285:30;-1:-1:-1;;;13331:18:1;;;13324:50;13391:18;;67938:51:0::1;13071:344:1::0;67938:51:0::1;67998:20;68004:6;68012:5;67998;:20::i;58877:355::-:0;59036:28;59046:4;59052:2;59056:7;59036:9;:28::i;:::-;59097:48;59120:4;59126:2;59130:7;59139:5;59097:22;:48::i;:::-;59075:149;;;;-1:-1:-1;;;59075:149:0;;;;;;;:::i;:::-;58877:355;;;;:::o;66874:500::-;66984:13;67023:16;67031:7;59544:4;59578:12;-1:-1:-1;59568:22:0;59487:111;67023:16;67015:46;;;;-1:-1:-1;;;67015:46:0;;14042:2:1;67015:46:0;;;14024:21:1;14081:2;14061:18;;;14054:30;-1:-1:-1;;;14100:18:1;;;14093:47;14157:18;;67015:46:0;13840:341:1;67015:46:0;67076:8;;;;67072:71;;67117:14;67110:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66874:500;;;:::o;67072:71::-;67155:28;67186:7;67155:38;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67255:1;67230:14;67224:28;:32;:142;;;;;;;;;;;;;;;;;67300:14;67316:18;:7;:16;:18::i;:::-;67283:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;67224:142;67204:162;66874:500;-1:-1:-1;;;66874:500:0:o;68370:120::-;9680:6;;-1:-1:-1;;;;;9680:6:0;8411:10;9827:23;9819:68;;;;-1:-1:-1;;;9819:68:0;;;;;;;:::i;:::-;68452:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;10516:201::-:0;9680:6;;-1:-1:-1;;;;;9680:6:0;8411:10;9827:23;9819:68;;;;-1:-1:-1;;;9819:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;10605:22:0;::::1;10597:73;;;::::0;-1:-1:-1;;;10597:73:0;;15030:2:1;10597:73:0::1;::::0;::::1;15012:21:1::0;15069:2;15049:18;;;15042:30;15108:34;15088:18;;;15081:62;-1:-1:-1;;;15159:18:1;;;15152:36;15205:19;;10597:73:0::1;14828:402:1::0;10597:73:0::1;10681:28;10700:8;10681:18;:28::i;:::-;10516:201:::0;:::o;68165:130::-;68233:7;68248:20;68258:2;68262:5;68248:9;:20::i;:::-;-1:-1:-1;68284:5:0;68165:130;-1:-1:-1;68165:130:0:o;63531:196::-;63646:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;63646:29:0;-1:-1:-1;;;;;63646:29:0;;;;;;;;;63691:28;;63646:24;;63691:28;;;;;;;63531:196;;;:::o;61630:1783::-;61745:35;61783:20;61795:7;61783:11;:20::i;:::-;61858:18;;61745:58;;-1:-1:-1;61816:22:0;;-1:-1:-1;;;;;61842:34:0;8411:10;-1:-1:-1;;;;;61842:34:0;;:87;;;-1:-1:-1;8411:10:0;61893:20;61905:7;61893:11;:20::i;:::-;-1:-1:-1;;;;;61893:36:0;;61842:87;:154;;;-1:-1:-1;61963:18:0;;61946:50;;8411:10;58165:164;:::i;61946:50::-;61816:181;;62018:17;62010:80;;;;-1:-1:-1;;;62010:80:0;;15437:2:1;62010:80:0;;;15419:21:1;15476:2;15456:18;;;15449:30;15515:34;15495:18;;;15488:62;-1:-1:-1;;;15566:18:1;;;15559:48;15624:19;;62010:80:0;15235:414:1;62010:80:0;62133:4;-1:-1:-1;;;;;62111:26:0;:13;:18;;;-1:-1:-1;;;;;62111:26:0;;62103:77;;;;-1:-1:-1;;;62103:77:0;;15856:2:1;62103:77:0;;;15838:21:1;15895:2;15875:18;;;15868:30;15934:34;15914:18;;;15907:62;-1:-1:-1;;;15985:18:1;;;15978:36;16031:19;;62103:77:0;15654:402:1;62103:77:0;-1:-1:-1;;;;;62199:16:0;;62191:66;;;;-1:-1:-1;;;62191:66:0;;16263:2:1;62191:66:0;;;16245:21:1;16302:2;16282:18;;;16275:30;16341:34;16321:18;;;16314:62;-1:-1:-1;;;16392:18:1;;;16385:35;16437:19;;62191:66:0;16061:401:1;62191:66:0;62378:49;62395:1;62399:7;62408:13;:18;;;62378:8;:49::i;:::-;-1:-1:-1;;;;;62632:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;62632:31:0;;;-1:-1:-1;;;;;62632:31:0;;;-1:-1:-1;;62632:31:0;;;;;;;62678:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;62678:29:0;;;;;;;;;;;;;62754:43;;;;;;;;;;62780:15;62754:43;;;;;;;;;;62731:20;;;:11;:20;;;;;;:66;;;;;;;;-1:-1:-1;;;;;;62731:66:0;;;;;;;-1:-1:-1;;;62731:66:0;;;;;;;;;;;;62632:18;63059:11;;62731:20;;63059:11;:::i;:::-;63126:1;63085:24;;;:11;:24;;;;;:29;63037:33;;-1:-1:-1;;;;;;63085:29:0;63081:227;;63149:20;63157:11;59544:4;59578:12;-1:-1:-1;59568:22:0;59487:111;63149:20;63145:152;;;63217:64;;;;;;;;63232:18;;-1:-1:-1;;;;;63217:64:0;;;;;;63252:28;;;;63217:64;;;;;;;;;;-1:-1:-1;63190:24:0;;;:11;:24;;;;;;;:91;;;;;;;;;-1:-1:-1;;;63190:91:0;-1:-1:-1;;;;;;63190:91:0;;;;;;;;;;;;63145:152;63344:7;63340:2;-1:-1:-1;;;;;63325:27:0;63334:4;-1:-1:-1;;;;;63325:27:0;;;;;;;;;;;63363:42;61734:1679;;;61630:1783;;;:::o;55234:472::-;-1:-1:-1;;;;;;;;;;;;;;;;;55337:16:0;55345:7;59544:4;59578:12;-1:-1:-1;59568:22:0;59487:111;55337:16;55329:71;;;;-1:-1:-1;;;55329:71:0;;16669:2:1;55329:71:0;;;16651:21:1;16708:2;16688:18;;;16681:30;16747:34;16727:18;;;16720:62;-1:-1:-1;;;16798:18:1;;;16791:40;16848:19;;55329:71:0;16467:406:1;55329:71:0;55433:7;55413:216;55467:31;55501:17;;;:11;:17;;;;;;;;;55467:51;;;;;;;;;-1:-1:-1;;;;;55467:51:0;;;;;-1:-1:-1;;;55467:51:0;;;;;;;;;;;;55537:28;55533:85;;55593:9;55234:472;-1:-1:-1;;;55234:472:0:o;55533:85::-;-1:-1:-1;55444:6:0;;;;:::i;:::-;;;;55413:216;;10877:191;10970:6;;;-1:-1:-1;;;;;10987:17:0;;;-1:-1:-1;;;;;;10987:17:0;;;;;;;11020:40;;10970:6;;;10987:17;10970:6;;11020:40;;10951:16;;11020:40;10940:128;10877:191;:::o;64292:804::-;64447:4;-1:-1:-1;;;;;64468:13:0;;12603:19;:23;64464:625;;64504:72;;-1:-1:-1;;;64504:72:0;;-1:-1:-1;;;;;64504:36:0;;;;;:72;;8411:10;;64555:4;;64561:7;;64570:5;;64504:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64504:72:0;;;;;;;;-1:-1:-1;;64504:72:0;;;;;;;;;;;;:::i;:::-;;;64500:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64750:13:0;;64746:273;;64793:61;;-1:-1:-1;;;64793:61:0;;;;;;;:::i;64746:273::-;64969:6;64963:13;64954:6;64950:2;64946:15;64939:38;64500:534;-1:-1:-1;;;;;;64627:55:0;-1:-1:-1;;;64627:55:0;;-1:-1:-1;64620:62:0;;64464:625;-1:-1:-1;65073:4:0;64464:625;64292:804;;;;;;:::o;5893:723::-;5949:13;6170:10;6166:53;;-1:-1:-1;;6197:10:0;;;;;;;;;;;;-1:-1:-1;;;6197:10:0;;;;;5893:723::o;6166:53::-;6244:5;6229:12;6285:78;6292:9;;6285:78;;6318:8;;;;:::i;:::-;;-1:-1:-1;6341:10:0;;-1:-1:-1;6349:2:0;6341:10;;:::i;:::-;;;6285:78;;;6373:19;6405:6;6395:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6395:17:0;;6373:39;;6423:154;6430:10;;6423:154;;6457:11;6467:1;6457:11;;:::i;:::-;;-1:-1:-1;6526:10:0;6534:2;6526:5;:10;:::i;:::-;6513:24;;:2;:24;:::i;:::-;6500:39;;6483:6;6490;6483:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;6483:56:0;;;;;;;;-1:-1:-1;6554:11:0;6563:2;6554:11;;:::i;:::-;;;6423:154;;59606:104;59675:27;59685:2;59689:8;59675:27;;;;;;;;;;;;60110:20;60133:12;-1:-1:-1;;;;;60164:16:0;;60156:62;;;;-1:-1:-1;;;60156:62:0;;19021:2:1;60156:62:0;;;19003:21:1;19060:2;19040:18;;;19033:30;19099:34;19079:18;;;19072:62;-1:-1:-1;;;19150:18:1;;;19143:31;19191:19;;60156:62:0;18819:397:1;60156:62:0;60363:21;60371:12;59544:4;59578:12;-1:-1:-1;59568:22:0;59487:111;60363:21;60362:22;60354:64;;;;-1:-1:-1;;;60354:64:0;;19423:2:1;60354:64:0;;;19405:21:1;19462:2;19442:18;;;19435:30;19501:31;19481:18;;;19474:59;19550:18;;60354:64:0;19221:353:1;60354:64:0;60448:1;60437:8;:12;60429:60;;;;-1:-1:-1;;;60429:60:0;;19781:2:1;60429:60:0;;;19763:21:1;19820:2;19800:18;;;19793:30;19859:34;19839:18;;;19832:62;-1:-1:-1;;;19910:18:1;;;19903:33;19953:19;;60429:60:0;19579:399:1;60429:60:0;-1:-1:-1;;;;;60609:16:0;;60576:30;60609:16;;;:12;:16;;;;;;;;;60576:49;;;;;;;;;-1:-1:-1;;;;;60576:49:0;;;;;-1:-1:-1;;;60576:49:0;;;;;;;;;;;60655:135;;;;;;;;60681:19;;60576:49;;60655:135;;;60681:39;;60711:8;;60681:39;:::i;:::-;-1:-1:-1;;;;;60655:135:0;;;;;60770:8;60735:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;60655:135:0;;;;;;-1:-1:-1;;;;;60636:16:0;;;;;;;:12;:16;;;;;;;;:154;;;;;;;;-1:-1:-1;;;60636:154:0;;;;;;;;;;;;60829:43;;;;;;;;;;;60855:15;60829:43;;;;;;;;60801:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;60801:71:0;-1:-1:-1;;;;;;60801:71:0;;;;;;;;;;;;;;;;;;60813:12;;60933:325;60957:8;60953:1;:12;60933:325;;;60992:38;;61017:12;;-1:-1:-1;;;;;60992:38:0;;;61009:1;;60992:38;;61009:1;;60992:38;61071:59;61102:1;61106:2;61110:12;61124:5;61071:22;:59::i;:::-;61045:172;;;;-1:-1:-1;;;61045:172:0;;;;;;;:::i;:::-;61232:14;;;;:::i;:::-;;;;60967:3;;;;;:::i;:::-;;;;60933:325;;;-1:-1:-1;61270:12:0;:27;;;61308:60;58877:355;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1918:131::-;-1:-1:-1;;;;;1993:31:1;;1983:42;;1973:70;;2039:1;2036;2029:12;2054:315;2122:6;2130;2183:2;2171:9;2162:7;2158:23;2154:32;2151:52;;;2199:1;2196;2189:12;2151:52;2238:9;2225:23;2257:31;2282:5;2257:31;:::i;:::-;2307:5;2359:2;2344:18;;;;2331:32;;-1:-1:-1;;;2054:315:1:o;2374:456::-;2451:6;2459;2467;2520:2;2508:9;2499:7;2495:23;2491:32;2488:52;;;2536:1;2533;2526:12;2488:52;2575:9;2562:23;2594:31;2619:5;2594:31;:::i;:::-;2644:5;-1:-1:-1;2701:2:1;2686:18;;2673:32;2714:33;2673:32;2714:33;:::i;:::-;2374:456;;2766:7;;-1:-1:-1;;;2820:2:1;2805:18;;;;2792:32;;2374:456::o;2835:261::-;2908:6;2961:2;2949:9;2940:7;2936:23;2932:32;2929:52;;;2977:1;2974;2967:12;2929:52;3016:9;3003:23;3035:31;3060:5;3035:31;:::i;3101:127::-;3162:10;3157:3;3153:20;3150:1;3143:31;3193:4;3190:1;3183:15;3217:4;3214:1;3207:15;3233:632;3298:5;3328:18;3369:2;3361:6;3358:14;3355:40;;;3375:18;;:::i;:::-;3450:2;3444:9;3418:2;3504:15;;-1:-1:-1;;3500:24:1;;;3526:2;3496:33;3492:42;3480:55;;;3550:18;;;3570:22;;;3547:46;3544:72;;;3596:18;;:::i;:::-;3636:10;3632:2;3625:22;3665:6;3656:15;;3695:6;3687;3680:22;3735:3;3726:6;3721:3;3717:16;3714:25;3711:45;;;3752:1;3749;3742:12;3711:45;3802:6;3797:3;3790:4;3782:6;3778:17;3765:44;3857:1;3850:4;3841:6;3833;3829:19;3825:30;3818:41;;;;3233:632;;;;;:::o;3870:451::-;3939:6;3992:2;3980:9;3971:7;3967:23;3963:32;3960:52;;;4008:1;4005;3998:12;3960:52;4048:9;4035:23;4081:18;4073:6;4070:30;4067:50;;;4113:1;4110;4103:12;4067:50;4136:22;;4189:4;4181:13;;4177:27;-1:-1:-1;4167:55:1;;4218:1;4215;4208:12;4167:55;4241:74;4307:7;4302:2;4289:16;4284:2;4280;4276:11;4241:74;:::i;4578:118::-;4664:5;4657:13;4650:21;4643:5;4640:32;4630:60;;4686:1;4683;4676:12;4701:382;4766:6;4774;4827:2;4815:9;4806:7;4802:23;4798:32;4795:52;;;4843:1;4840;4833:12;4795:52;4882:9;4869:23;4901:31;4926:5;4901:31;:::i;:::-;4951:5;-1:-1:-1;5008:2:1;4993:18;;4980:32;5021:30;4980:32;5021:30;:::i;:::-;5070:7;5060:17;;;4701:382;;;;;:::o;5088:795::-;5183:6;5191;5199;5207;5260:3;5248:9;5239:7;5235:23;5231:33;5228:53;;;5277:1;5274;5267:12;5228:53;5316:9;5303:23;5335:31;5360:5;5335:31;:::i;:::-;5385:5;-1:-1:-1;5442:2:1;5427:18;;5414:32;5455:33;5414:32;5455:33;:::i;:::-;5507:7;-1:-1:-1;5561:2:1;5546:18;;5533:32;;-1:-1:-1;5616:2:1;5601:18;;5588:32;5643:18;5632:30;;5629:50;;;5675:1;5672;5665:12;5629:50;5698:22;;5751:4;5743:13;;5739:27;-1:-1:-1;5729:55:1;;5780:1;5777;5770:12;5729:55;5803:74;5869:7;5864:2;5851:16;5846:2;5842;5838:11;5803:74;:::i;:::-;5793:84;;;5088:795;;;;;;;:::o;5888:388::-;5956:6;5964;6017:2;6005:9;5996:7;5992:23;5988:32;5985:52;;;6033:1;6030;6023:12;5985:52;6072:9;6059:23;6091:31;6116:5;6091:31;:::i;:::-;6141:5;-1:-1:-1;6198:2:1;6183:18;;6170:32;6211:33;6170:32;6211:33;:::i;6281:380::-;6360:1;6356:12;;;;6403;;;6424:61;;6478:4;6470:6;6466:17;6456:27;;6424:61;6531:2;6523:6;6520:14;6500:18;6497:38;6494:161;;;6577:10;6572:3;6568:20;6565:1;6558:31;6612:4;6609:1;6602:15;6640:4;6637:1;6630:15;6666:127;6727:10;6722:3;6718:20;6715:1;6708:31;6758:4;6755:1;6748:15;6782:4;6779:1;6772:15;6798:168;6838:7;6904:1;6900;6896:6;6892:14;6889:1;6886:21;6881:1;6874:9;6867:17;6863:45;6860:71;;;6911:18;;:::i;:::-;-1:-1:-1;6951:9:1;;6798:168::o;7375:128::-;7415:3;7446:1;7442:6;7439:1;7436:13;7433:39;;;7452:18;;:::i;:::-;-1:-1:-1;7488:9:1;;7375:128::o;10266:135::-;10305:3;-1:-1:-1;;10326:17:1;;10323:43;;;10346:18;;:::i;:::-;-1:-1:-1;10393:1:1;10382:13;;10266:135::o;10821:356::-;11023:2;11005:21;;;11042:18;;;11035:30;11101:34;11096:2;11081:18;;11074:62;11168:2;11153:18;;10821:356::o;11182:184::-;11252:6;11305:2;11293:9;11284:7;11280:23;11276:32;11273:52;;;11321:1;11318;11311:12;11273:52;-1:-1:-1;11344:16:1;;11182:184;-1:-1:-1;11182:184:1:o;11650:245::-;11717:6;11770:2;11758:9;11749:7;11745:23;11741:32;11738:52;;;11786:1;11783;11776:12;11738:52;11818:9;11812:16;11837:28;11859:5;11837:28;:::i;13420:415::-;13622:2;13604:21;;;13661:2;13641:18;;;13634:30;13700:34;13695:2;13680:18;;13673:62;-1:-1:-1;;;13766:2:1;13751:18;;13744:49;13825:3;13810:19;;13420:415::o;14186:637::-;14466:3;14504:6;14498:13;14520:53;14566:6;14561:3;14554:4;14546:6;14542:17;14520:53;:::i;:::-;14636:13;;14595:16;;;;14658:57;14636:13;14595:16;14692:4;14680:17;;14658:57;:::i;:::-;-1:-1:-1;;;14737:20:1;;14766:22;;;14815:1;14804:13;;14186:637;-1:-1:-1;;;;14186:637:1:o;16878:136::-;16917:3;16945:5;16935:39;;16954:18;;:::i;:::-;-1:-1:-1;;;16990:18:1;;16878:136::o;17435:489::-;-1:-1:-1;;;;;17704:15:1;;;17686:34;;17756:15;;17751:2;17736:18;;17729:43;17803:2;17788:18;;17781:34;;;17851:3;17846:2;17831:18;;17824:31;;;17629:4;;17872:46;;17898:19;;17890:6;17872:46;:::i;:::-;17864:54;17435:489;-1:-1:-1;;;;;;17435:489:1:o;17929:249::-;17998:6;18051:2;18039:9;18030:7;18026:23;18022:32;18019:52;;;18067:1;18064;18057:12;18019:52;18099:9;18093:16;18118:30;18142:5;18118:30;:::i;18183:127::-;18244:10;18239:3;18235:20;18232:1;18225:31;18275:4;18272:1;18265:15;18299:4;18296:1;18289:15;18315:120;18355:1;18381;18371:35;;18386:18;;:::i;:::-;-1:-1:-1;18420:9:1;;18315:120::o;18440:125::-;18480:4;18508:1;18505;18502:8;18499:34;;;18513:18;;:::i;:::-;-1:-1:-1;18550:9:1;;18440:125::o;18570:112::-;18602:1;18628;18618:35;;18633:18;;:::i;:::-;-1:-1:-1;18667:9:1;;18570:112::o;18687:127::-;18748:10;18743:3;18739:20;18736:1;18729:31;18779:4;18776:1;18769:15;18803:4;18800:1;18793:15;19983:253;20023:3;-1:-1:-1;;;;;20112:2:1;20109:1;20105:10;20142:2;20139:1;20135:10;20173:3;20169:2;20165:12;20160:3;20157:21;20154:47;;;20181:18;;:::i;:::-;20217:13;;19983:253;-1:-1:-1;;;;19983:253:1:o
Swarm Source
ipfs://2c1814a2d68c75a4c270aaaadf0b9398e2f24be7acd31d82d4bdd97680ad42c0
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.