Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
340 KODA
Holders
138
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 KODALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KodaPotions
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-04-30 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/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/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: erc721a/contracts/ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _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_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _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 virtual override { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _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); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = 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; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @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 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { 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 TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } pragma solidity >=0.8.9 <0.9.0; contract KodaPotions is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string public uriPrefix = ''; string public uriSuffix = '.json'; uint256 public cost; uint256 public maxSupply; uint256 public maxMintAmountPerTx; bool public paused = true; constructor( string memory _tokenName, string memory _tokenSymbol, uint256 _cost, uint256 _maxSupply, uint256 _maxMintAmountPerTx ) ERC721A(_tokenName, _tokenSymbol) { setCost(_cost); maxSupply = _maxSupply; setMaxMintAmountPerTx(_maxMintAmountPerTx); } modifier mintCompliance(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!'); require(_getAux(_msgSender()) == 0,'You have already minted'); require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!'); _; } modifier mintPriceCompliance(uint256 _mintAmount) { require(msg.value >= cost * _mintAmount, 'Insufficient funds!'); _; } function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { require(!paused, 'The contract is paused!'); _setAux(_msgSender(), 1); _safeMint(_msgSender(), _mintAmount); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; address latestOwnerAddress; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { TokenOwnership memory ownership = _ownerships[currentTokenId]; if (!ownership.burned && ownership.addr != address(0)) { latestOwnerAddress = ownership.addr; } if (latestOwnerAddress == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","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":"_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":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600a91620001eb565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600b91620001eb565b50600f805460ff191660011790553480156200006557600080fd5b50604051620023683803806200236883398101604081905262000088916200035e565b845185908590620000a1906002906020850190620001eb565b508051620000b7906003906020840190620001eb565b5050600160005550620000ca33620000f5565b6001600955620000da8362000147565b600d829055620000ea816200019b565b50505050506200041f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001965760405162461bcd60e51b815260206004820181905260248201526000805160206200234883398151915260448201526064015b60405180910390fd5b600c55565b6008546001600160a01b03163314620001e65760405162461bcd60e51b815260206004820181905260248201526000805160206200234883398151915260448201526064016200018d565b600e55565b828054620001f990620003e3565b90600052602060002090601f0160209004810192826200021d576000855562000268565b82601f106200023857805160ff191683800117855562000268565b8280016001018555821562000268579182015b82811115620002685782518255916020019190600101906200024b565b50620002769291506200027a565b5090565b5b808211156200027657600081556001016200027b565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002b957600080fd5b81516001600160401b0380821115620002d657620002d662000291565b604051601f8301601f19908116603f0116810190828211818310171562000301576200030162000291565b816040528381526020925086838588010111156200031e57600080fd5b600091505b8382101562000342578582018301518183018401529082019062000323565b83821115620003545760008385830101525b9695505050505050565b600080600080600060a086880312156200037757600080fd5b85516001600160401b03808211156200038f57600080fd5b6200039d89838a01620002a7565b96506020880151915080821115620003b457600080fd5b50620003c388828901620002a7565b60408801516060890151608090990151979a919950979695509350505050565b600181811c90821680620003f857607f821691505b6020821081036200041957634e487b7160e01b600052602260045260246000fd5b50919050565b611f19806200042f6000396000f3fe6080604052600436106101d85760003560e01c806362b99ad411610102578063a0712d6811610095578063c87b56dd11610064578063c87b56dd14610526578063d5abeb0114610546578063e985e9c51461055c578063f2fde38b146105a557600080fd5b8063a0712d68146104b3578063a22cb465146104c6578063b071401b146104e6578063b88d4fde1461050657600080fd5b80637ec4a659116100d15780637ec4a6591461044a5780638da5cb5b1461046a57806394354fd01461048857806395d89b411461049e57600080fd5b806362b99ad4146103e05780636352211e146103f557806370a0823114610415578063715018a61461043557600080fd5b806318160ddd1161017a578063438b630011610149578063438b63001461036457806344a0d68a146103915780635503a0e8146103b15780635c975abb146103c657600080fd5b806318160ddd146102f257806323b872dd1461030f5780633ccfd60b1461032f57806342842e0e1461034457600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806313faede61461028e57806316ba10e0146102b257806316c38b3c146102d257600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f836600461192e565b6105c5565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610617565b60405161020991906119a3565b34801561024057600080fd5b5061025461024f3660046119b6565b6106a9565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c6102873660046119eb565b6106ed565b005b34801561029a57600080fd5b506102a4600c5481565b604051908152602001610209565b3480156102be57600080fd5b5061028c6102cd366004611aa0565b61077a565b3480156102de57600080fd5b5061028c6102ed366004611af8565b6107c4565b3480156102fe57600080fd5b5060015460005403600019016102a4565b34801561031b57600080fd5b5061028c61032a366004611b13565b610801565b34801561033b57600080fd5b5061028c61080c565b34801561035057600080fd5b5061028c61035f366004611b13565b610906565b34801561037057600080fd5b5061038461037f366004611b4f565b610921565b6040516102099190611b6a565b34801561039d57600080fd5b5061028c6103ac3660046119b6565b610a67565b3480156103bd57600080fd5b50610227610a96565b3480156103d257600080fd5b50600f546101fd9060ff1681565b3480156103ec57600080fd5b50610227610b24565b34801561040157600080fd5b506102546104103660046119b6565b610b31565b34801561042157600080fd5b506102a4610430366004611b4f565b610b43565b34801561044157600080fd5b5061028c610b91565b34801561045657600080fd5b5061028c610465366004611aa0565b610bc7565b34801561047657600080fd5b506008546001600160a01b0316610254565b34801561049457600080fd5b506102a4600e5481565b3480156104aa57600080fd5b50610227610c04565b61028c6104c13660046119b6565b610c13565b3480156104d257600080fd5b5061028c6104e1366004611bae565b610e17565b3480156104f257600080fd5b5061028c6105013660046119b6565b610eac565b34801561051257600080fd5b5061028c610521366004611be1565b610edb565b34801561053257600080fd5b506102276105413660046119b6565b610f2c565b34801561055257600080fd5b506102a4600d5481565b34801561056857600080fd5b506101fd610577366004611c5c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105b157600080fd5b5061028c6105c0366004611b4f565b610ffa565b60006001600160e01b031982166380ac58cd60e01b14806105f657506001600160e01b03198216635b5e139f60e01b145b8061061157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461062690611c86565b80601f016020809104026020016040519081016040528092919081815260200182805461065290611c86565b801561069f5780601f106106745761010080835404028352916020019161069f565b820191906000526020600020905b81548152906001019060200180831161068257829003601f168201915b5050505050905090565b60006106b482611095565b6106d1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106f882610b31565b9050806001600160a01b0316836001600160a01b03160361072c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061074c575061074a8133610577565b155b1561076a576040516367d9dca160e11b815260040160405180910390fd5b6107758383836110ce565b505050565b6008546001600160a01b031633146107ad5760405162461bcd60e51b81526004016107a490611cc0565b60405180910390fd5b80516107c090600b90602084019061187f565b5050565b6008546001600160a01b031633146107ee5760405162461bcd60e51b81526004016107a490611cc0565b600f805460ff1916911515919091179055565b61077583838361112a565b6008546001600160a01b031633146108365760405162461bcd60e51b81526004016107a490611cc0565b6002600954036108885760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107a4565b600260095560006108a16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146108eb576040519150601f19603f3d011682016040523d82523d6000602084013e6108f0565b606091505b50509050806108fe57600080fd5b506001600955565b61077583838360405180602001604052806000815250610edb565b6060600061092e83610b43565b90506000816001600160401b0381111561094a5761094a611a15565b604051908082528060200260200182016040528015610973578160200160208202803683370190505b50905060016000805b848210801561098d5750600d548311155b15610a5c57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615801592820183905290916109fa575080516001600160a01b031615155b15610a0457805191505b876001600160a01b0316826001600160a01b031603610a495783858481518110610a3057610a30611cf5565b602090810291909101015282610a4581611d21565b9350505b83610a5381611d21565b9450505061097c565b509195945050505050565b6008546001600160a01b03163314610a915760405162461bcd60e51b81526004016107a490611cc0565b600c55565b600b8054610aa390611c86565b80601f0160208091040260200160405190810160405280929190818152602001828054610acf90611c86565b8015610b1c5780601f10610af157610100808354040283529160200191610b1c565b820191906000526020600020905b815481529060010190602001808311610aff57829003601f168201915b505050505081565b600a8054610aa390611c86565b6000610b3c82611318565b5192915050565b60006001600160a01b038216610b6c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610bbb5760405162461bcd60e51b81526004016107a490611cc0565b610bc5600061143f565b565b6008546001600160a01b03163314610bf15760405162461bcd60e51b81526004016107a490611cc0565b80516107c090600a90602084019061187f565b60606003805461062690611c86565b80600081118015610c265750600e548111155b610c695760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016107a4565b33600090815260056020526040902054600160c01b90046001600160401b031615610cd65760405162461bcd60e51b815260206004820152601760248201527f596f75206861766520616c7265616479206d696e74656400000000000000000060448201526064016107a4565b600d546001546000548391900360001901610cf19190611d3a565b1115610d365760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b60448201526064016107a4565b8180600c54610d459190611d52565b341015610d8a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016107a4565b600f5460ff1615610ddd5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e7472616374206973207061757365642100000000000000000060448201526064016107a4565b610e0d336001600160a01b0316600090815260056020526040902080546001600160c01b0316600160c01b179055565b6107753384611491565b336001600160a01b03831603610e405760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610ed65760405162461bcd60e51b81526004016107a490611cc0565b600e55565b610ee684848461112a565b6001600160a01b0383163b15158015610f085750610f06848484846114ab565b155b15610f26576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f3782611095565b610f9b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107a4565b6000610fa5611597565b90506000815111610fc55760405180602001604052806000815250610ff3565b80610fcf846115a6565b600b604051602001610fe393929190611d71565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146110245760405162461bcd60e51b81526004016107a490611cc0565b6001600160a01b0381166110895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a4565b6110928161143f565b50565b6000816001111580156110a9575060005482105b8015610611575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061113582611318565b9050836001600160a01b031681600001516001600160a01b03161461116c5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061118a575061118a8533610577565b806111a557503361119a846106a9565b6001600160a01b0316145b9050806111c557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166111ec57604051633a954ecd60e21b815260040160405180910390fd5b6111f8600084876110ce565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166112cc5760005482146112cc57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611348575060005481105b1561142657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906114245780516001600160a01b0316156113bb579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561141f579392505050565b6113bb565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6107c08282604051806020016040528060008152506116a6565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114e0903390899088908890600401611e34565b6020604051808303816000875af192505050801561151b575060408051601f3d908101601f1916820190925261151891810190611e71565b60015b611579573d808015611549576040519150601f19603f3d011682016040523d82523d6000602084013e61154e565b606091505b508051600003611571576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461062690611c86565b6060816000036115cd5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115f757806115e181611d21565b91506115f09050600a83611ea4565b91506115d1565b6000816001600160401b0381111561161157611611611a15565b6040519080825280601f01601f19166020018201604052801561163b576020820181803683370190505b5090505b841561158f57611650600183611eb8565b915061165d600a86611ecf565b611668906030611d3a565b60f81b81838151811061167d5761167d611cf5565b60200101906001600160f81b031916908160001a90535061169f600a86611ea4565b945061163f565b61077583838360016000546001600160a01b0385166116d757604051622e076360e81b815260040160405180910390fd5b836000036116f85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156117a957506001600160a01b0387163b15155b15611831575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46117fa60008884806001019550886114ab565b611817576040516368d2bf6b60e11b815260040160405180910390fd5b8082036117af57826000541461182c57600080fd5b611876565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611832575b50600055611311565b82805461188b90611c86565b90600052602060002090601f0160209004810192826118ad57600085556118f3565b82601f106118c657805160ff19168380011785556118f3565b828001600101855582156118f3579182015b828111156118f35782518255916020019190600101906118d8565b506118ff929150611903565b5090565b5b808211156118ff5760008155600101611904565b6001600160e01b03198116811461109257600080fd5b60006020828403121561194057600080fd5b8135610ff381611918565b60005b8381101561196657818101518382015260200161194e565b83811115610f265750506000910152565b6000815180845261198f81602086016020860161194b565b601f01601f19169290920160200192915050565b602081526000610ff36020830184611977565b6000602082840312156119c857600080fd5b5035919050565b80356001600160a01b03811681146119e657600080fd5b919050565b600080604083850312156119fe57600080fd5b611a07836119cf565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611a4557611a45611a15565b604051601f8501601f19908116603f01168101908282118183101715611a6d57611a6d611a15565b81604052809350858152868686011115611a8657600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ab257600080fd5b81356001600160401b03811115611ac857600080fd5b8201601f81018413611ad957600080fd5b61158f84823560208401611a2b565b803580151581146119e657600080fd5b600060208284031215611b0a57600080fd5b610ff382611ae8565b600080600060608486031215611b2857600080fd5b611b31846119cf565b9250611b3f602085016119cf565b9150604084013590509250925092565b600060208284031215611b6157600080fd5b610ff3826119cf565b6020808252825182820181905260009190848201906040850190845b81811015611ba257835183529284019291840191600101611b86565b50909695505050505050565b60008060408385031215611bc157600080fd5b611bca836119cf565b9150611bd860208401611ae8565b90509250929050565b60008060008060808587031215611bf757600080fd5b611c00856119cf565b9350611c0e602086016119cf565b92506040850135915060608501356001600160401b03811115611c3057600080fd5b8501601f81018713611c4157600080fd5b611c5087823560208401611a2b565b91505092959194509250565b60008060408385031215611c6f57600080fd5b611c78836119cf565b9150611bd8602084016119cf565b600181811c90821680611c9a57607f821691505b602082108103611cba57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611d3357611d33611d0b565b5060010190565b60008219821115611d4d57611d4d611d0b565b500190565b6000816000190483118215151615611d6c57611d6c611d0b565b500290565b600084516020611d848285838a0161194b565b855191840191611d978184848a0161194b565b8554920191600090600181811c9080831680611db457607f831692505b8583108103611dd157634e487b7160e01b85526022600452602485fd5b808015611de55760018114611df657611e23565b60ff19851688528388019550611e23565b60008b81526020902060005b85811015611e1b5781548a820152908401908801611e02565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e6790830184611977565b9695505050505050565b600060208284031215611e8357600080fd5b8151610ff381611918565b634e487b7160e01b600052601260045260246000fd5b600082611eb357611eb3611e8e565b500490565b600082821015611eca57611eca611d0b565b500390565b600082611ede57611ede611e8e565b50069056fea2646970667358221220f120e2f30ad479092dd75969d866a0b3a54a501bc84f8d65b09b2fbb9443171964736f6c634300080d00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000b4b4f4441504f54494f4e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b4f444100000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101d85760003560e01c806362b99ad411610102578063a0712d6811610095578063c87b56dd11610064578063c87b56dd14610526578063d5abeb0114610546578063e985e9c51461055c578063f2fde38b146105a557600080fd5b8063a0712d68146104b3578063a22cb465146104c6578063b071401b146104e6578063b88d4fde1461050657600080fd5b80637ec4a659116100d15780637ec4a6591461044a5780638da5cb5b1461046a57806394354fd01461048857806395d89b411461049e57600080fd5b806362b99ad4146103e05780636352211e146103f557806370a0823114610415578063715018a61461043557600080fd5b806318160ddd1161017a578063438b630011610149578063438b63001461036457806344a0d68a146103915780635503a0e8146103b15780635c975abb146103c657600080fd5b806318160ddd146102f257806323b872dd1461030f5780633ccfd60b1461032f57806342842e0e1461034457600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806313faede61461028e57806316ba10e0146102b257806316c38b3c146102d257600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f836600461192e565b6105c5565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610617565b60405161020991906119a3565b34801561024057600080fd5b5061025461024f3660046119b6565b6106a9565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c6102873660046119eb565b6106ed565b005b34801561029a57600080fd5b506102a4600c5481565b604051908152602001610209565b3480156102be57600080fd5b5061028c6102cd366004611aa0565b61077a565b3480156102de57600080fd5b5061028c6102ed366004611af8565b6107c4565b3480156102fe57600080fd5b5060015460005403600019016102a4565b34801561031b57600080fd5b5061028c61032a366004611b13565b610801565b34801561033b57600080fd5b5061028c61080c565b34801561035057600080fd5b5061028c61035f366004611b13565b610906565b34801561037057600080fd5b5061038461037f366004611b4f565b610921565b6040516102099190611b6a565b34801561039d57600080fd5b5061028c6103ac3660046119b6565b610a67565b3480156103bd57600080fd5b50610227610a96565b3480156103d257600080fd5b50600f546101fd9060ff1681565b3480156103ec57600080fd5b50610227610b24565b34801561040157600080fd5b506102546104103660046119b6565b610b31565b34801561042157600080fd5b506102a4610430366004611b4f565b610b43565b34801561044157600080fd5b5061028c610b91565b34801561045657600080fd5b5061028c610465366004611aa0565b610bc7565b34801561047657600080fd5b506008546001600160a01b0316610254565b34801561049457600080fd5b506102a4600e5481565b3480156104aa57600080fd5b50610227610c04565b61028c6104c13660046119b6565b610c13565b3480156104d257600080fd5b5061028c6104e1366004611bae565b610e17565b3480156104f257600080fd5b5061028c6105013660046119b6565b610eac565b34801561051257600080fd5b5061028c610521366004611be1565b610edb565b34801561053257600080fd5b506102276105413660046119b6565b610f2c565b34801561055257600080fd5b506102a4600d5481565b34801561056857600080fd5b506101fd610577366004611c5c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105b157600080fd5b5061028c6105c0366004611b4f565b610ffa565b60006001600160e01b031982166380ac58cd60e01b14806105f657506001600160e01b03198216635b5e139f60e01b145b8061061157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461062690611c86565b80601f016020809104026020016040519081016040528092919081815260200182805461065290611c86565b801561069f5780601f106106745761010080835404028352916020019161069f565b820191906000526020600020905b81548152906001019060200180831161068257829003601f168201915b5050505050905090565b60006106b482611095565b6106d1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106f882610b31565b9050806001600160a01b0316836001600160a01b03160361072c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061074c575061074a8133610577565b155b1561076a576040516367d9dca160e11b815260040160405180910390fd5b6107758383836110ce565b505050565b6008546001600160a01b031633146107ad5760405162461bcd60e51b81526004016107a490611cc0565b60405180910390fd5b80516107c090600b90602084019061187f565b5050565b6008546001600160a01b031633146107ee5760405162461bcd60e51b81526004016107a490611cc0565b600f805460ff1916911515919091179055565b61077583838361112a565b6008546001600160a01b031633146108365760405162461bcd60e51b81526004016107a490611cc0565b6002600954036108885760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107a4565b600260095560006108a16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146108eb576040519150601f19603f3d011682016040523d82523d6000602084013e6108f0565b606091505b50509050806108fe57600080fd5b506001600955565b61077583838360405180602001604052806000815250610edb565b6060600061092e83610b43565b90506000816001600160401b0381111561094a5761094a611a15565b604051908082528060200260200182016040528015610973578160200160208202803683370190505b50905060016000805b848210801561098d5750600d548311155b15610a5c57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615801592820183905290916109fa575080516001600160a01b031615155b15610a0457805191505b876001600160a01b0316826001600160a01b031603610a495783858481518110610a3057610a30611cf5565b602090810291909101015282610a4581611d21565b9350505b83610a5381611d21565b9450505061097c565b509195945050505050565b6008546001600160a01b03163314610a915760405162461bcd60e51b81526004016107a490611cc0565b600c55565b600b8054610aa390611c86565b80601f0160208091040260200160405190810160405280929190818152602001828054610acf90611c86565b8015610b1c5780601f10610af157610100808354040283529160200191610b1c565b820191906000526020600020905b815481529060010190602001808311610aff57829003601f168201915b505050505081565b600a8054610aa390611c86565b6000610b3c82611318565b5192915050565b60006001600160a01b038216610b6c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610bbb5760405162461bcd60e51b81526004016107a490611cc0565b610bc5600061143f565b565b6008546001600160a01b03163314610bf15760405162461bcd60e51b81526004016107a490611cc0565b80516107c090600a90602084019061187f565b60606003805461062690611c86565b80600081118015610c265750600e548111155b610c695760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016107a4565b33600090815260056020526040902054600160c01b90046001600160401b031615610cd65760405162461bcd60e51b815260206004820152601760248201527f596f75206861766520616c7265616479206d696e74656400000000000000000060448201526064016107a4565b600d546001546000548391900360001901610cf19190611d3a565b1115610d365760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b60448201526064016107a4565b8180600c54610d459190611d52565b341015610d8a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016107a4565b600f5460ff1615610ddd5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e7472616374206973207061757365642100000000000000000060448201526064016107a4565b610e0d336001600160a01b0316600090815260056020526040902080546001600160c01b0316600160c01b179055565b6107753384611491565b336001600160a01b03831603610e405760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610ed65760405162461bcd60e51b81526004016107a490611cc0565b600e55565b610ee684848461112a565b6001600160a01b0383163b15158015610f085750610f06848484846114ab565b155b15610f26576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f3782611095565b610f9b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107a4565b6000610fa5611597565b90506000815111610fc55760405180602001604052806000815250610ff3565b80610fcf846115a6565b600b604051602001610fe393929190611d71565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146110245760405162461bcd60e51b81526004016107a490611cc0565b6001600160a01b0381166110895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a4565b6110928161143f565b50565b6000816001111580156110a9575060005482105b8015610611575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061113582611318565b9050836001600160a01b031681600001516001600160a01b03161461116c5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061118a575061118a8533610577565b806111a557503361119a846106a9565b6001600160a01b0316145b9050806111c557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166111ec57604051633a954ecd60e21b815260040160405180910390fd5b6111f8600084876110ce565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166112cc5760005482146112cc57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611348575060005481105b1561142657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906114245780516001600160a01b0316156113bb579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561141f579392505050565b6113bb565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6107c08282604051806020016040528060008152506116a6565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114e0903390899088908890600401611e34565b6020604051808303816000875af192505050801561151b575060408051601f3d908101601f1916820190925261151891810190611e71565b60015b611579573d808015611549576040519150601f19603f3d011682016040523d82523d6000602084013e61154e565b606091505b508051600003611571576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461062690611c86565b6060816000036115cd5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115f757806115e181611d21565b91506115f09050600a83611ea4565b91506115d1565b6000816001600160401b0381111561161157611611611a15565b6040519080825280601f01601f19166020018201604052801561163b576020820181803683370190505b5090505b841561158f57611650600183611eb8565b915061165d600a86611ecf565b611668906030611d3a565b60f81b81838151811061167d5761167d611cf5565b60200101906001600160f81b031916908160001a90535061169f600a86611ea4565b945061163f565b61077583838360016000546001600160a01b0385166116d757604051622e076360e81b815260040160405180910390fd5b836000036116f85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156117a957506001600160a01b0387163b15155b15611831575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46117fa60008884806001019550886114ab565b611817576040516368d2bf6b60e11b815260040160405180910390fd5b8082036117af57826000541461182c57600080fd5b611876565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611832575b50600055611311565b82805461188b90611c86565b90600052602060002090601f0160209004810192826118ad57600085556118f3565b82601f106118c657805160ff19168380011785556118f3565b828001600101855582156118f3579182015b828111156118f35782518255916020019190600101906118d8565b506118ff929150611903565b5090565b5b808211156118ff5760008155600101611904565b6001600160e01b03198116811461109257600080fd5b60006020828403121561194057600080fd5b8135610ff381611918565b60005b8381101561196657818101518382015260200161194e565b83811115610f265750506000910152565b6000815180845261198f81602086016020860161194b565b601f01601f19169290920160200192915050565b602081526000610ff36020830184611977565b6000602082840312156119c857600080fd5b5035919050565b80356001600160a01b03811681146119e657600080fd5b919050565b600080604083850312156119fe57600080fd5b611a07836119cf565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611a4557611a45611a15565b604051601f8501601f19908116603f01168101908282118183101715611a6d57611a6d611a15565b81604052809350858152868686011115611a8657600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ab257600080fd5b81356001600160401b03811115611ac857600080fd5b8201601f81018413611ad957600080fd5b61158f84823560208401611a2b565b803580151581146119e657600080fd5b600060208284031215611b0a57600080fd5b610ff382611ae8565b600080600060608486031215611b2857600080fd5b611b31846119cf565b9250611b3f602085016119cf565b9150604084013590509250925092565b600060208284031215611b6157600080fd5b610ff3826119cf565b6020808252825182820181905260009190848201906040850190845b81811015611ba257835183529284019291840191600101611b86565b50909695505050505050565b60008060408385031215611bc157600080fd5b611bca836119cf565b9150611bd860208401611ae8565b90509250929050565b60008060008060808587031215611bf757600080fd5b611c00856119cf565b9350611c0e602086016119cf565b92506040850135915060608501356001600160401b03811115611c3057600080fd5b8501601f81018713611c4157600080fd5b611c5087823560208401611a2b565b91505092959194509250565b60008060408385031215611c6f57600080fd5b611c78836119cf565b9150611bd8602084016119cf565b600181811c90821680611c9a57607f821691505b602082108103611cba57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611d3357611d33611d0b565b5060010190565b60008219821115611d4d57611d4d611d0b565b500190565b6000816000190483118215151615611d6c57611d6c611d0b565b500290565b600084516020611d848285838a0161194b565b855191840191611d978184848a0161194b565b8554920191600090600181811c9080831680611db457607f831692505b8583108103611dd157634e487b7160e01b85526022600452602485fd5b808015611de55760018114611df657611e23565b60ff19851688528388019550611e23565b60008b81526020902060005b85811015611e1b5781548a820152908401908801611e02565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e6790830184611977565b9695505050505050565b600060208284031215611e8357600080fd5b8151610ff381611918565b634e487b7160e01b600052601260045260246000fd5b600082611eb357611eb3611e8e565b500490565b600082821015611eca57611eca611d0b565b500390565b600082611ede57611ede611e8e565b50069056fea2646970667358221220f120e2f30ad479092dd75969d866a0b3a54a501bc84f8d65b09b2fbb9443171964736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000b4b4f4441504f54494f4e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b4f444100000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): KODAPOTIONS
Arg [1] : _tokenSymbol (string): KODA
Arg [2] : _cost (uint256): 0
Arg [3] : _maxSupply (uint256): 1111
Arg [4] : _maxMintAmountPerTx (uint256): 3
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000457
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [6] : 4b4f4441504f54494f4e53000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4b4f444100000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
47565:3357:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29766:305;;;;;;;;;;-1:-1:-1;29766:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;29766:305:0;;;;;;;;32879:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34382:204::-;;;;;;;;;;-1:-1:-1;34382:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;34382:204:0;1528:203:1;33945:371:0;;;;;;;;;;-1:-1:-1;33945:371:0;;;;;:::i;:::-;;:::i;:::-;;47737:19;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;47737:19:0;2173:177:1;50468:100:0;;;;;;;;;;-1:-1:-1;50468:100:0;;;;;:::i;:::-;;:::i;50574:77::-;;;;;;;;;;-1:-1:-1;50574:77:0;;;;;:::i;:::-;;:::i;29015:303::-;;;;;;;;;;-1:-1:-1;49754:1:0;29269:12;29059:7;29253:13;:28;-1:-1:-1;;29253:46:0;29015:303;;35247:170;;;;;;;;;;-1:-1:-1;35247:170:0;;;;;:::i;:::-;;:::i;50657:152::-;;;;;;;;;;;;;:::i;35488:185::-;;;;;;;;;;-1:-1:-1;35488:185:0;;;;;:::i;:::-;;:::i;48864:796::-;;;;;;;;;;-1:-1:-1;48864:796:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;50146:74::-;;;;;;;;;;-1:-1:-1;50146:74:0;;;;;:::i;:::-;;:::i;47695:33::-;;;;;;;;;;;;;:::i;47830:25::-;;;;;;;;;;-1:-1:-1;47830:25:0;;;;;;;;47662:28;;;;;;;;;;;;;:::i;32687:125::-;;;;;;;;;;-1:-1:-1;32687:125:0;;;;;:::i;:::-;;:::i;30135:206::-;;;;;;;;;;-1:-1:-1;30135:206:0;;;;;:::i;:::-;;:::i;7524:103::-;;;;;;;;;;;;;:::i;50362:100::-;;;;;;;;;;-1:-1:-1;50362:100:0;;;;;:::i;:::-;;:::i;6873:87::-;;;;;;;;;;-1:-1:-1;6946:6:0;;-1:-1:-1;;;;;6946:6:0;6873:87;;47790:33;;;;;;;;;;;;;;;;33048:104;;;;;;;;;;;;;:::i;48614:244::-;;;;;;:::i;:::-;;:::i;34658:287::-;;;;;;;;;;-1:-1:-1;34658:287:0;;;;;:::i;:::-;;:::i;50226:130::-;;;;;;;;;;-1:-1:-1;50226:130:0;;;;;:::i;:::-;;:::i;35744:369::-;;;;;;;;;;-1:-1:-1;35744:369:0;;;;;:::i;:::-;;:::i;49767:373::-;;;;;;;;;;-1:-1:-1;49767:373:0;;;;;:::i;:::-;;:::i;47761:24::-;;;;;;;;;;;;;;;;35016:164;;;;;;;;;;-1:-1:-1;35016:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;35137:25:0;;;35113:4;35137:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35016:164;7782:201;;;;;;;;;;-1:-1:-1;7782:201:0;;;;;:::i;:::-;;:::i;29766:305::-;29868:4;-1:-1:-1;;;;;;29905:40:0;;-1:-1:-1;;;29905:40:0;;:105;;-1:-1:-1;;;;;;;29962:48:0;;-1:-1:-1;;;29962:48:0;29905:105;:158;;;-1:-1:-1;;;;;;;;;;19766:40:0;;;30027:36;29885:178;29766:305;-1:-1:-1;;29766:305:0:o;32879:100::-;32933:13;32966:5;32959:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32879:100;:::o;34382:204::-;34450:7;34475:16;34483:7;34475;:16::i;:::-;34470:64;;34500:34;;-1:-1:-1;;;34500:34:0;;;;;;;;;;;34470:64;-1:-1:-1;34554:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34554:24:0;;34382:204::o;33945:371::-;34018:13;34034:24;34050:7;34034:15;:24::i;:::-;34018:40;;34079:5;-1:-1:-1;;;;;34073:11:0;:2;-1:-1:-1;;;;;34073:11:0;;34069:48;;34093:24;;-1:-1:-1;;;34093:24:0;;;;;;;;;;;34069:48;5677:10;-1:-1:-1;;;;;34134:21:0;;;;;;:63;;-1:-1:-1;34160:37:0;34177:5;5677:10;35016:164;:::i;34160:37::-;34159:38;34134:63;34130:138;;;34221:35;;-1:-1:-1;;;34221:35:0;;;;;;;;;;;34130:138;34280:28;34289:2;34293:7;34302:5;34280:8;:28::i;:::-;34007:309;33945:371;;:::o;50468:100::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;;;;;;;;;50540:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;50468:100:::0;:::o;50574:77::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;50630:6:::1;:15:::0;;-1:-1:-1;;50630:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50574:77::o;35247:170::-;35381:28;35391:4;35397:2;35401:7;35381:9;:28::i;50657:152::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;1847:1:::1;2445:7;;:19:::0;2437:63:::1;;;::::0;-1:-1:-1;;;2437:63:0;;7235:2:1;2437:63:0::1;::::0;::::1;7217:21:1::0;7274:2;7254:18;;;7247:30;7313:33;7293:18;;;7286:61;7364:18;;2437:63:0::1;7033:355:1::0;2437:63:0::1;1847:1;2578:7;:18:::0;50717:7:::2;50738;6946:6:::0;;-1:-1:-1;;;;;6946:6:0;;6873:87;50738:7:::2;-1:-1:-1::0;;;;;50730:21:0::2;50759;50730:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50716:69;;;50800:2;50792:11;;;::::0;::::2;;-1:-1:-1::0;1803:1:0::1;2757:7;:22:::0;50657:152::o;35488:185::-;35626:39;35643:4;35649:2;35653:7;35626:39;;;;;;;;;;;;:16;:39::i;48864:796::-;48924:16;48949:23;48975:17;48985:6;48975:9;:17::i;:::-;48949:43;;48999:30;49046:15;-1:-1:-1;;;;;49032:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49032:30:0;-1:-1:-1;48999:63:0;-1:-1:-1;49754:1:0;49069:22;;49185:441;49210:15;49192;:33;:64;;;;;49247:9;;49229:14;:27;;49192:64;49185:441;;;49267:31;49301:27;;;:11;:27;;;;;;;;;49267:61;;;;;;;;;-1:-1:-1;;;;;49267:61:0;;;;-1:-1:-1;;;49267:61:0;;-1:-1:-1;;;;;49267:61:0;;;;;;;;-1:-1:-1;;;49267:61:0;;;;;;;;;;;;;;;;49343:49;;-1:-1:-1;49364:14:0;;-1:-1:-1;;;;;49364:28:0;;;49343:49;49339:111;;;49426:14;;;-1:-1:-1;49339:111:0;49486:6;-1:-1:-1;;;;;49464:28:0;:18;-1:-1:-1;;;;;49464:28:0;;49460:132;;49538:14;49505:13;49519:15;49505:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;49565:17;;;;:::i;:::-;;;;49460:132;49602:16;;;;:::i;:::-;;;;49258:368;49185:441;;;-1:-1:-1;49641:13:0;;48864:796;-1:-1:-1;;;;;48864:796:0:o;50146:74::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;50202:4:::1;:12:::0;50146:74::o;47695:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47662:28::-;;;;;;;:::i;32687:125::-;32751:7;32778:21;32791:7;32778:12;:21::i;:::-;:26;;32687:125;-1:-1:-1;;32687:125:0:o;30135:206::-;30199:7;-1:-1:-1;;;;;30223:19:0;;30219:60;;30251:28;;-1:-1:-1;;;30251:28:0;;;;;;;;;;;30219:60;-1:-1:-1;;;;;;30305:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;30305:27:0;;30135:206::o;7524:103::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;7589:30:::1;7616:1;7589:18;:30::i;:::-;7524:103::o:0;50362:100::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;50434:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;33048:104::-:0;33104:13;33137:7;33130:14;;;;;:::i;48614:244::-;48679:11;48241:1;48227:11;:15;:52;;;;;48261:18;;48246:11;:33;;48227:52;48219:85;;;;-1:-1:-1;;;48219:85:0;;8209:2:1;48219:85:0;;;8191:21:1;8248:2;8228:18;;;8221:30;-1:-1:-1;;;8267:18:1;;;8260:50;8327:18;;48219:85:0;8007:344:1;48219:85:0;5677:10;30968:6;30994:19;;;:12;:19;;;;;:23;-1:-1:-1;;;30994:23:0;;-1:-1:-1;;;;;30994:23:0;48319:26;48311:61;;;;-1:-1:-1;;;48311:61:0;;8558:2:1;48311:61:0;;;8540:21:1;8597:2;8577:18;;;8570:30;8636:25;8616:18;;;8609:53;8679:18;;48311:61:0;8356:347:1;48311:61:0;48418:9;;49754:1;29269:12;29059:7;29253:13;48403:11;;29253:28;;-1:-1:-1;;29253:46:0;48387:27;;;;:::i;:::-;:40;;48379:73;;;;-1:-1:-1;;;48379:73:0;;9043:2:1;48379:73:0;;;9025:21:1;9082:2;9062:18;;;9055:30;-1:-1:-1;;;9101:18:1;;;9094:50;9161:18;;48379:73:0;8841:344:1;48379:73:0;48712:11:::1;48557;48550:4;;:18;;;;:::i;:::-;48537:9;:31;;48529:63;;;::::0;-1:-1:-1;;;48529:63:0;;9565:2:1;48529:63:0::1;::::0;::::1;9547:21:1::0;9604:2;9584:18;;;9577:30;-1:-1:-1;;;9623:18:1;;;9616:49;9682:18;;48529:63:0::1;9363:343:1::0;48529:63:0::1;48741:6:::2;::::0;::::2;;48740:7;48732:43;;;::::0;-1:-1:-1;;;48732:43:0;;9913:2:1;48732:43:0::2;::::0;::::2;9895:21:1::0;9952:2;9932:18;;;9925:30;9991:25;9971:18;;;9964:53;10034:18;;48732:43:0::2;9711:347:1::0;48732:43:0::2;48785:24;5677:10:::0;-1:-1:-1;;;;;31277:19:0;;;;;:12;:19;;;;;:29;;-1:-1:-1;;;;;31277:29:0;-1:-1:-1;;;31277:29:0;;;31213:101;48785:24:::2;48816:36;5677:10:::0;48840:11:::2;48816:9;:36::i;34658:287::-:0;5677:10;-1:-1:-1;;;;;34757:24:0;;;34753:54;;34790:17;;-1:-1:-1;;;34790:17:0;;;;;;;;;;;34753:54;5677:10;34820:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34820:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34820:53:0;;;;;;;;;;34889:48;;540:41:1;;;34820:42:0;;5677:10;34889:48;;513:18:1;34889:48:0;;;;;;;34658:287;;:::o;50226:130::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;50310:18:::1;:40:::0;50226:130::o;35744:369::-;35911:28;35921:4;35927:2;35931:7;35911:9;:28::i;:::-;-1:-1:-1;;;;;35954:13:0;;9869:19;:23;;35954:76;;;;;35974:56;36005:4;36011:2;36015:7;36024:5;35974:30;:56::i;:::-;35973:57;35954:76;35950:156;;;36054:40;;-1:-1:-1;;;36054:40:0;;;;;;;;;;;35950:156;35744:369;;;;:::o;49767:373::-;49841:13;49871:17;49879:8;49871:7;:17::i;:::-;49863:77;;;;-1:-1:-1;;;49863:77:0;;10265:2:1;49863:77:0;;;10247:21:1;10304:2;10284:18;;;10277:30;10343:34;10323:18;;;10316:62;-1:-1:-1;;;10394:18:1;;;10387:45;10449:19;;49863:77:0;10063:411:1;49863:77:0;49949:28;49980:10;:8;:10::i;:::-;49949:41;;50035:1;50010:14;50004:28;:32;:130;;;;;;;;;;;;;;;;;50072:14;50088:19;:8;:17;:19::i;:::-;50109:9;50055:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;50004:130;49997:137;49767:373;-1:-1:-1;;;49767:373:0:o;7782:201::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7871:22:0;::::1;7863:73;;;::::0;-1:-1:-1;;;7863:73:0;;12339:2:1;7863:73:0::1;::::0;::::1;12321:21:1::0;12378:2;12358:18;;;12351:30;12417:34;12397:18;;;12390:62;-1:-1:-1;;;12468:18:1;;;12461:36;12514:19;;7863:73:0::1;12137:402:1::0;7863:73:0::1;7947:28;7966:8;7947:18;:28::i;:::-;7782:201:::0;:::o;36368:187::-;36425:4;36468:7;49754:1;36449:26;;:53;;;;;36489:13;;36479:7;:23;36449:53;:98;;;;-1:-1:-1;;36520:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;36520:27:0;;;;36519:28;;36368:187::o;44538:196::-;44653:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;44653:29:0;-1:-1:-1;;;;;44653:29:0;;;;;;;;;44698:28;;44653:24;;44698:28;;;;;;;44538:196;;;:::o;39481:2130::-;39596:35;39634:21;39647:7;39634:12;:21::i;:::-;39596:59;;39694:4;-1:-1:-1;;;;;39672:26:0;:13;:18;;;-1:-1:-1;;;;;39672:26:0;;39668:67;;39707:28;;-1:-1:-1;;;39707:28:0;;;;;;;;;;;39668:67;39748:22;5677:10;-1:-1:-1;;;;;39774:20:0;;;;:73;;-1:-1:-1;39811:36:0;39828:4;5677:10;35016:164;:::i;39811:36::-;39774:126;;;-1:-1:-1;5677:10:0;39864:20;39876:7;39864:11;:20::i;:::-;-1:-1:-1;;;;;39864:36:0;;39774:126;39748:153;;39919:17;39914:66;;39945:35;;-1:-1:-1;;;39945:35:0;;;;;;;;;;;39914:66;-1:-1:-1;;;;;39995:16:0;;39991:52;;40020:23;;-1:-1:-1;;;40020:23:0;;;;;;;;;;;39991:52;40164:35;40181:1;40185:7;40194:4;40164:8;:35::i;:::-;-1:-1:-1;;;;;40495:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;40495:31:0;;;-1:-1:-1;;;;;40495:31:0;;;-1:-1:-1;;40495:31:0;;;;;;;40541:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;40541:29:0;;;;;;;;;;;40621:20;;;:11;:20;;;;;;40656:18;;-1:-1:-1;;;;;;40689:49:0;;;;-1:-1:-1;;;40722:15:0;40689:49;;;;;;;;;;41012:11;;41072:24;;;;;41115:13;;40621:20;;41072:24;;41115:13;41111:384;;41325:13;;41310:11;:28;41306:174;;41363:20;;41432:28;;;;-1:-1:-1;;;;;41406:54:0;-1:-1:-1;;;41406:54:0;-1:-1:-1;;;;;;41406:54:0;;;-1:-1:-1;;;;;41363:20:0;;41406:54;;;;41306:174;40470:1036;;;41542:7;41538:2;-1:-1:-1;;;;;41523:27:0;41532:4;-1:-1:-1;;;;;41523:27:0;;;;;;;;;;;41561:42;39585:2026;;39481:2130;;;:::o;31516:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;31627:7:0;;49754:1;31676:23;;:47;;;;;31710:13;;31703:4;:20;31676:47;31672:886;;;31744:31;31778:17;;;:11;:17;;;;;;;;;31744:51;;;;;;;;;-1:-1:-1;;;;;31744:51:0;;;;-1:-1:-1;;;31744:51:0;;-1:-1:-1;;;;;31744:51:0;;;;;;;;-1:-1:-1;;;31744:51:0;;;;;;;;;;;;;;31814:729;;31864:14;;-1:-1:-1;;;;;31864:28:0;;31860:101;;31928:9;31516:1109;-1:-1:-1;;;31516:1109:0:o;31860:101::-;-1:-1:-1;;;32303:6:0;32348:17;;;;:11;:17;;;;;;;;;32336:29;;;;;;;;;-1:-1:-1;;;;;32336:29:0;;;;;-1:-1:-1;;;32336:29:0;;-1:-1:-1;;;;;32336:29:0;;;;;;;;-1:-1:-1;;;32336:29:0;;;;;;;;;;;;;32396:28;32392:109;;32464:9;31516:1109;-1:-1:-1;;;31516:1109:0:o;32392:109::-;32263:261;;;31725:833;31672:886;32586:31;;-1:-1:-1;;;32586:31:0;;;;;;;;;;;8143:191;8236:6;;;-1:-1:-1;;;;;8253:17:0;;;-1:-1:-1;;;;;;8253:17:0;;;;;;;8286:40;;8236:6;;;8253:17;8236:6;;8286:40;;8217:16;;8286:40;8206:128;8143:191;:::o;36563:104::-;36632:27;36642:2;36646:8;36632:27;;;;;;;;;;;;:9;:27::i;45226:667::-;45410:72;;-1:-1:-1;;;45410:72:0;;45389:4;;-1:-1:-1;;;;;45410:36:0;;;;;:72;;5677:10;;45461:4;;45467:7;;45476:5;;45410:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45410:72:0;;;;;;;;-1:-1:-1;;45410:72:0;;;;;;;;;;;;:::i;:::-;;;45406:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45644:6;:13;45661:1;45644:18;45640:235;;45690:40;;-1:-1:-1;;;45690:40:0;;;;;;;;;;;45640:235;45833:6;45827:13;45818:6;45814:2;45810:15;45803:38;45406:480;-1:-1:-1;;;;;;45529:55:0;-1:-1:-1;;;45529:55:0;;-1:-1:-1;45406:480:0;45226:667;;;;;;:::o;50815:104::-;50875:13;50904:9;50897:16;;;;;:::i;3159:723::-;3215:13;3436:5;3445:1;3436:10;3432:53;;-1:-1:-1;;3463:10:0;;;;;;;;;;;;-1:-1:-1;;;3463:10:0;;;;;3159:723::o;3432:53::-;3510:5;3495:12;3551:78;3558:9;;3551:78;;3584:8;;;;:::i;:::-;;-1:-1:-1;3607:10:0;;-1:-1:-1;3615:2:0;3607:10;;:::i;:::-;;;3551:78;;;3639:19;3671:6;-1:-1:-1;;;;;3661:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3661:17:0;;3639:39;;3689:154;3696:10;;3689:154;;3723:11;3733:1;3723:11;;:::i;:::-;;-1:-1:-1;3792:10:0;3800:2;3792:5;:10;:::i;:::-;3779:24;;:2;:24;:::i;:::-;3766:39;;3749:6;3756;3749:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3749:56:0;;;;;;;;-1:-1:-1;3820:11:0;3829:2;3820:11;;:::i;:::-;;;3689:154;;37030:163;37153:32;37159:2;37163:8;37173:5;37180:4;37591:20;37614:13;-1:-1:-1;;;;;37642:16:0;;37638:48;;37667:19;;-1:-1:-1;;;37667:19:0;;;;;;;;;;;37638:48;37701:8;37713:1;37701:13;37697:44;;37723:18;;-1:-1:-1;;;37723:18:0;;;;;;;;;;;37697:44;-1:-1:-1;;;;;38092:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;38151:49:0;;-1:-1:-1;;;;;38092:44:0;;;;;;;38151:49;;;;-1:-1:-1;;38092:44:0;;;;;;38151:49;;;;;;;;;;;;;;;;38217:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;38267:66:0;;;;-1:-1:-1;;;38317:15:0;38267:66;;;;;;;;;;38217:25;38414:23;;;38458:4;:23;;;;-1:-1:-1;;;;;;38466:13:0;;9869:19;:23;;38466:15;38454:641;;;38502:314;38533:38;;38558:12;;-1:-1:-1;;;;;38533:38:0;;;38550:1;;38533:38;;38550:1;;38533:38;38599:69;38638:1;38642:2;38646:14;;;;;;38662:5;38599:30;:69::i;:::-;38594:174;;38704:40;;-1:-1:-1;;;38704:40:0;;;;;;;;;;;38594:174;38811:3;38795:12;:19;38502:314;;38897:12;38880:13;;:29;38876:43;;38911:8;;;38876:43;38454:641;;;38960:120;38991:40;;39016:14;;;;;-1:-1:-1;;;;;38991:40:0;;;39008:1;;38991:40;;39008:1;;38991:40;39075:3;39059:12;:19;38960:120;;38454:641;-1:-1:-1;39109:13:0;:28;39159:60;35744:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592: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;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:127::-;2416:10;2411:3;2407:20;2404:1;2397:31;2447:4;2444:1;2437:15;2471:4;2468:1;2461:15;2487:632;2552:5;-1:-1:-1;;;;;2623:2:1;2615:6;2612:14;2609:40;;;2629:18;;:::i;:::-;2704:2;2698:9;2672:2;2758:15;;-1:-1:-1;;2754:24:1;;;2780:2;2750:33;2746:42;2734:55;;;2804:18;;;2824:22;;;2801:46;2798:72;;;2850:18;;:::i;:::-;2890:10;2886:2;2879:22;2919:6;2910:15;;2949:6;2941;2934:22;2989:3;2980:6;2975:3;2971:16;2968:25;2965:45;;;3006:1;3003;2996:12;2965:45;3056:6;3051:3;3044:4;3036:6;3032:17;3019:44;3111:1;3104:4;3095:6;3087;3083:19;3079:30;3072:41;;;;2487:632;;;;;:::o;3124:451::-;3193:6;3246:2;3234:9;3225:7;3221:23;3217:32;3214:52;;;3262:1;3259;3252:12;3214:52;3302:9;3289:23;-1:-1:-1;;;;;3327:6:1;3324:30;3321:50;;;3367:1;3364;3357:12;3321:50;3390:22;;3443:4;3435:13;;3431:27;-1:-1:-1;3421:55:1;;3472:1;3469;3462:12;3421:55;3495:74;3561:7;3556:2;3543:16;3538:2;3534;3530:11;3495:74;:::i;3580:160::-;3645:20;;3701:13;;3694:21;3684:32;;3674:60;;3730:1;3727;3720:12;3745:180;3801:6;3854:2;3842:9;3833:7;3829:23;3825:32;3822:52;;;3870:1;3867;3860:12;3822:52;3893:26;3909:9;3893:26;:::i;3930:328::-;4007:6;4015;4023;4076:2;4064:9;4055:7;4051:23;4047:32;4044:52;;;4092:1;4089;4082:12;4044:52;4115:29;4134:9;4115:29;:::i;:::-;4105:39;;4163:38;4197:2;4186:9;4182:18;4163:38;:::i;:::-;4153:48;;4248:2;4237:9;4233:18;4220:32;4210:42;;3930:328;;;;;:::o;4263:186::-;4322:6;4375:2;4363:9;4354:7;4350:23;4346:32;4343:52;;;4391:1;4388;4381:12;4343:52;4414:29;4433:9;4414:29;:::i;4454:632::-;4625:2;4677:21;;;4747:13;;4650:18;;;4769:22;;;4596:4;;4625:2;4848:15;;;;4822:2;4807:18;;;4596:4;4891:169;4905:6;4902:1;4899:13;4891:169;;;4966:13;;4954:26;;5035:15;;;;5000:12;;;;4927:1;4920:9;4891:169;;;-1:-1:-1;5077:3:1;;4454:632;-1:-1:-1;;;;;;4454:632:1:o;5091:254::-;5156:6;5164;5217:2;5205:9;5196:7;5192:23;5188:32;5185:52;;;5233:1;5230;5223:12;5185:52;5256:29;5275:9;5256:29;:::i;:::-;5246:39;;5304:35;5335:2;5324:9;5320:18;5304:35;:::i;:::-;5294:45;;5091:254;;;;;:::o;5350:667::-;5445:6;5453;5461;5469;5522:3;5510:9;5501:7;5497:23;5493:33;5490:53;;;5539:1;5536;5529:12;5490:53;5562:29;5581:9;5562:29;:::i;:::-;5552:39;;5610:38;5644:2;5633:9;5629:18;5610:38;:::i;:::-;5600:48;;5695:2;5684:9;5680:18;5667:32;5657:42;;5750:2;5739:9;5735:18;5722:32;-1:-1:-1;;;;;5769:6:1;5766:30;5763:50;;;5809:1;5806;5799:12;5763:50;5832:22;;5885:4;5877:13;;5873:27;-1:-1:-1;5863:55:1;;5914:1;5911;5904:12;5863:55;5937:74;6003:7;5998:2;5985:16;5980:2;5976;5972:11;5937:74;:::i;:::-;5927:84;;;5350:667;;;;;;;:::o;6022:260::-;6090:6;6098;6151:2;6139:9;6130:7;6126:23;6122:32;6119:52;;;6167:1;6164;6157:12;6119:52;6190:29;6209:9;6190:29;:::i;:::-;6180:39;;6238:38;6272:2;6261:9;6257:18;6238:38;:::i;6287:380::-;6366:1;6362:12;;;;6409;;;6430:61;;6484:4;6476:6;6472:17;6462:27;;6430:61;6537:2;6529:6;6526:14;6506:18;6503:38;6500:161;;6583:10;6578:3;6574:20;6571:1;6564:31;6618:4;6615:1;6608:15;6646:4;6643:1;6636:15;6500:161;;6287:380;;;:::o;6672:356::-;6874:2;6856:21;;;6893:18;;;6886:30;6952:34;6947:2;6932:18;;6925:62;7019:2;7004:18;;6672:356::o;7603:127::-;7664:10;7659:3;7655:20;7652:1;7645:31;7695:4;7692:1;7685:15;7719:4;7716:1;7709:15;7735:127;7796:10;7791:3;7787:20;7784:1;7777:31;7827:4;7824:1;7817:15;7851:4;7848:1;7841:15;7867:135;7906:3;7927:17;;;7924:43;;7947:18;;:::i;:::-;-1:-1:-1;7994:1:1;7983:13;;7867:135::o;8708:128::-;8748:3;8779:1;8775:6;8772:1;8769:13;8766:39;;;8785:18;;:::i;:::-;-1:-1:-1;8821:9:1;;8708:128::o;9190:168::-;9230:7;9296:1;9292;9288:6;9284:14;9281:1;9278:21;9273:1;9266:9;9259:17;9255:45;9252:71;;;9303:18;;:::i;:::-;-1:-1:-1;9343:9:1;;9190:168::o;10605:1527::-;10829:3;10867:6;10861:13;10893:4;10906:51;10950:6;10945:3;10940:2;10932:6;10928:15;10906:51;:::i;:::-;11020:13;;10979:16;;;;11042:55;11020:13;10979:16;11064:15;;;11042:55;:::i;:::-;11186:13;;11119:20;;;11159:1;;11246;11268:18;;;;11321;;;;11348:93;;11426:4;11416:8;11412:19;11400:31;;11348:93;11489:2;11479:8;11476:16;11456:18;11453:40;11450:167;;-1:-1:-1;;;11516:33:1;;11572:4;11569:1;11562:15;11602:4;11523:3;11590:17;11450:167;11633:18;11660:110;;;;11784:1;11779:328;;;;11626:481;;11660:110;-1:-1:-1;;11695:24:1;;11681:39;;11740:20;;;;-1:-1:-1;11660:110:1;;11779:328;10552:1;10545:14;;;10589:4;10576:18;;11874:1;11888:169;11902:8;11899:1;11896:15;11888:169;;;11984:14;;11969:13;;;11962:37;12027:16;;;;11919:10;;11888:169;;;11892:3;;12088:8;12081:5;12077:20;12070:27;;11626:481;-1:-1:-1;12123:3:1;;10605:1527;-1:-1:-1;;;;;;;;;;;10605:1527:1:o;12544:489::-;-1:-1:-1;;;;;12813:15:1;;;12795:34;;12865:15;;12860:2;12845:18;;12838:43;12912:2;12897:18;;12890:34;;;12960:3;12955:2;12940:18;;12933:31;;;12738:4;;12981:46;;13007:19;;12999:6;12981:46;:::i;:::-;12973:54;12544:489;-1:-1:-1;;;;;;12544:489:1:o;13038:249::-;13107:6;13160:2;13148:9;13139:7;13135:23;13131:32;13128:52;;;13176:1;13173;13166:12;13128:52;13208:9;13202:16;13227:30;13251:5;13227:30;:::i;13292:127::-;13353:10;13348:3;13344:20;13341:1;13334:31;13384:4;13381:1;13374:15;13408:4;13405:1;13398:15;13424:120;13464:1;13490;13480:35;;13495:18;;:::i;:::-;-1:-1:-1;13529:9:1;;13424:120::o;13549:125::-;13589:4;13617:1;13614;13611:8;13608:34;;;13622:18;;:::i;:::-;-1:-1:-1;13659:9:1;;13549:125::o;13679:112::-;13711:1;13737;13727:35;;13742:18;;:::i;:::-;-1:-1:-1;13776:9:1;;13679:112::o
Swarm Source
ipfs://f120e2f30ad479092dd75969d866a0b3a54a501bc84f8d65b09b2fbb94431719
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.