Token GDRTOKEN NFT
Overview CRC721
Total Supply:
2,724 GDRTCRONFT
Holders:
726 addresses
Contract:
Balance
10 GDRTCRONFT
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GDRTokenNFT
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-03-17 */ // File: @openzeppelin/contracts/utils/Strings.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: GDRTOKENNFT.sol pragma solidity >=0.8.0 <0.9.0; interface CRQNFTInterface { function tokenRevealed(uint256 _tokenId) external view returns(bool); } contract GDRTokenNFT is ERC721Enumerable, Ownable { using Strings for uint256; string public baseURI; uint256 public maxSupply = 3001; bool public paused = true; address public croQueenNFTAddress = 0x51D25FB5FBfe57FF67B20c499d4dd1d3c64844B7; mapping(uint256 => bool) public croQueenNFTClaimed; constructor(string memory _name, string memory _symbol, string memory _initialBaseUri) ERC721(_name, _symbol) { setBaseURI(_initialBaseUri); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function mint(uint256 _tokenId) public payable { require(!paused, "Minting is paused. Come back later!"); require(CRQNFTInterface(croQueenNFTAddress).tokenRevealed(_tokenId), "CroQueen box needs to be revealed first"); require(!croQueenNFTClaimed[_tokenId], "This token has already been claimed"); require(msg.sender == IERC721Enumerable(croQueenNFTAddress).ownerOf(_tokenId), "You do not own the token you're claiming for"); require(totalSupply() < maxSupply, "All claimed"); _safeMint(msg.sender, totalSupply() + 1); croQueenNFTClaimed[_tokenId] = true; } 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(), ".json")) : ""; } function setPaused(bool _paused) public onlyOwner { paused = _paused; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initialBaseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"croQueenNFTAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"croQueenNFTClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","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":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610bb9600c55600d80546001600160a81b0319167451d25fb5fbfe57ff67b20c499d4dd1d3c64844b7011790553480156200003e57600080fd5b5060405162002576380380620025768339810160408190526200006191620002ec565b8251839083906200007a9060009060208501906200018f565b508051620000909060019060208401906200018f565b505050620000ad620000a7620000c160201b60201c565b620000c5565b620000b88162000117565b505050620003d0565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620001765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200018b90600b9060208401906200018f565b5050565b8280546200019d906200037d565b90600052602060002090601f016020900481019282620001c157600085556200020c565b82601f10620001dc57805160ff19168380011785556200020c565b828001600101855582156200020c579182015b828111156200020c578251825591602001919060010190620001ef565b506200021a9291506200021e565b5090565b5b808211156200021a57600081556001016200021f565b600082601f8301126200024757600080fd5b81516001600160401b0380821115620002645762000264620003ba565b604051601f8301601f19908116603f011681019082821181831017156200028f576200028f620003ba565b81604052838152602092508683858801011115620002ac57600080fd5b600091505b83821015620002d05785820183015181830184015290820190620002b1565b83821115620002e25760008385830101525b9695505050505050565b6000806000606084860312156200030257600080fd5b83516001600160401b03808211156200031a57600080fd5b620003288783880162000235565b945060208601519150808211156200033f57600080fd5b6200034d8783880162000235565b935060408601519150808211156200036457600080fd5b50620003738682870162000235565b9150509250925092565b600181811c908216806200039257607f821691505b60208210811415620003b457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61219680620003e06000396000f3fe60806040526004361061019c5760003560e01c80636352211e116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610490578063d5abeb01146104b0578063e985e9c5146104c6578063f2fde38b1461050f57600080fd5b8063a22cb46514610420578063a2c8a20414610440578063b88d4fde1461047057600080fd5b8063715018a6116100c6578063715018a6146103c55780638da5cb5b146103da57806395d89b41146103f8578063a0712d681461040d57600080fd5b80636352211e146103705780636c0360eb1461039057806370a08231146103a557600080fd5b806323b872dd1161015957806342842e0e1161013357806342842e0e146102f65780634f6ccce71461031657806355f804b3146103365780635c975abb1461035657600080fd5b806323b872dd146102915780632c91ff85146102b15780632f745c59146102d657600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806316c38b3c1461025257806318160ddd14610272575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611db1565b61052f565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61055a565b6040516101cd9190611ef5565b34801561020457600080fd5b50610218610213366004611e34565b6105ec565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b366004611d4b565b610686565b005b34801561025e57600080fd5b5061025061026d366004611d77565b61079c565b34801561027e57600080fd5b506008545b6040519081526020016101cd565b34801561029d57600080fd5b506102506102ac366004611c5c565b6107d9565b3480156102bd57600080fd5b50600d546102189061010090046001600160a01b031681565b3480156102e257600080fd5b506102836102f1366004611d4b565b61080a565b34801561030257600080fd5b50610250610311366004611c5c565b6108a0565b34801561032257600080fd5b50610283610331366004611e34565b6108bb565b34801561034257600080fd5b50610250610351366004611deb565b61094e565b34801561036257600080fd5b50600d546101c19060ff1681565b34801561037c57600080fd5b5061021861038b366004611e34565b61098f565b34801561039c57600080fd5b506101eb610a06565b3480156103b157600080fd5b506102836103c0366004611be9565b610a94565b3480156103d157600080fd5b50610250610b1b565b3480156103e657600080fd5b50600a546001600160a01b0316610218565b34801561040457600080fd5b506101eb610b51565b61025061041b366004611e34565b610b60565b34801561042c57600080fd5b5061025061043b366004611d1d565b610e74565b34801561044c57600080fd5b506101c161045b366004611e34565b600e6020526000908152604090205460ff1681565b34801561047c57600080fd5b5061025061048b366004611c9d565b610e7f565b34801561049c57600080fd5b506101eb6104ab366004611e34565b610eb7565b3480156104bc57600080fd5b50610283600c5481565b3480156104d257600080fd5b506101c16104e1366004611c23565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561051b57600080fd5b5061025061052a366004611be9565b610f92565b60006001600160e01b0319821663780e9d6360e01b148061055457506105548261102d565b92915050565b6060600080546105699061204f565b80601f01602080910402602001604051908101604052809291908181526020018280546105959061204f565b80156105e25780601f106105b7576101008083540402835291602001916105e2565b820191906000526020600020905b8154815290600101906020018083116105c557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661066a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106918261098f565b9050806001600160a01b0316836001600160a01b031614156106ff5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610661565b336001600160a01b038216148061071b575061071b81336104e1565b61078d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610661565b610797838361107d565b505050565b600a546001600160a01b031633146107c65760405162461bcd60e51b815260040161066190611f5a565b600d805460ff1916911515919091179055565b6107e333826110eb565b6107ff5760405162461bcd60e51b815260040161066190611f8f565b6107978383836111e2565b600061081583610a94565b82106108775760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610661565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61079783838360405180602001604052806000815250610e7f565b60006108c660085490565b82106109295760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610661565b6008828154811061093c5761093c6120fb565b90600052602060002001549050919050565b600a546001600160a01b031633146109785760405162461bcd60e51b815260040161066190611f5a565b805161098b90600b906020840190611ada565b5050565b6000818152600260205260408120546001600160a01b0316806105545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610661565b600b8054610a139061204f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3f9061204f565b8015610a8c5780601f10610a6157610100808354040283529160200191610a8c565b820191906000526020600020905b815481529060010190602001808311610a6f57829003601f168201915b505050505081565b60006001600160a01b038216610aff5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610661565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b455760405162461bcd60e51b815260040161066190611f5a565b610b4f6000611389565b565b6060600180546105699061204f565b600d5460ff1615610bbf5760405162461bcd60e51b815260206004820152602360248201527f4d696e74696e67206973207061757365642e20436f6d65206261636b206c617460448201526265722160e81b6064820152608401610661565b600d54604051639d89735160e01b8152600481018390526101009091046001600160a01b031690639d8973519060240160206040518083038186803b158015610c0757600080fd5b505afa158015610c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3f9190611d94565b610c9b5760405162461bcd60e51b815260206004820152602760248201527f43726f517565656e20626f78206e6565647320746f2062652072657665616c656044820152661908199a5c9cdd60ca1b6064820152608401610661565b6000818152600e602052604090205460ff1615610d065760405162461bcd60e51b815260206004820152602360248201527f5468697320746f6b656e2068617320616c7265616479206265656e20636c61696044820152621b595960ea1b6064820152608401610661565b600d546040516331a9108f60e11b8152600481018390526101009091046001600160a01b031690636352211e9060240160206040518083038186803b158015610d4e57600080fd5b505afa158015610d62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d869190611c06565b6001600160a01b0316336001600160a01b031614610dfb5760405162461bcd60e51b815260206004820152602c60248201527f596f7520646f206e6f74206f776e2074686520746f6b656e20796f752772652060448201526b31b630b4b6b4b733903337b960a11b6064820152608401610661565b600c5460085410610e3c5760405162461bcd60e51b815260206004820152600b60248201526a105b1b0818db185a5b595960aa1b6044820152606401610661565b610e5933610e4960085490565b610e54906001611fe0565b6113db565b6000908152600e60205260409020805460ff19166001179055565b61098b3383836113f5565b610e8933836110eb565b610ea55760405162461bcd60e51b815260040161066190611f8f565b610eb1848484846114c4565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f365760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610661565b6000610f406114f7565b90506000815111610f605760405180602001604052806000815250610f8b565b80610f6a84611506565b604051602001610f7b929190611e79565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610fbc5760405162461bcd60e51b815260040161066190611f5a565b6001600160a01b0381166110215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610661565b61102a81611389565b50565b60006001600160e01b031982166380ac58cd60e01b148061105e57506001600160e01b03198216635b5e139f60e01b145b8061055457506301ffc9a760e01b6001600160e01b0319831614610554565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110b28261098f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111645760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610661565b600061116f8361098f565b9050806001600160a01b0316846001600160a01b031614806111aa5750836001600160a01b031661119f846105ec565b6001600160a01b0316145b806111da57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166111f58261098f565b6001600160a01b0316146112595760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610661565b6001600160a01b0382166112bb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610661565b6112c6838383611604565b6112d160008261107d565b6001600160a01b03831660009081526003602052604081208054600192906112fa90849061200c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611328908490611fe0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61098b8282604051806020016040528060008152506116bc565b816001600160a01b0316836001600160a01b031614156114575760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610661565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6114cf8484846111e2565b6114db848484846116ef565b610eb15760405162461bcd60e51b815260040161066190611f08565b6060600b80546105699061204f565b60608161152a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611554578061153e8161208a565b915061154d9050600a83611ff8565b915061152e565b60008167ffffffffffffffff81111561156f5761156f612111565b6040519080825280601f01601f191660200182016040528015611599576020820181803683370190505b5090505b84156111da576115ae60018361200c565b91506115bb600a866120a5565b6115c6906030611fe0565b60f81b8183815181106115db576115db6120fb565b60200101906001600160f81b031916908160001a9053506115fd600a86611ff8565b945061159d565b6001600160a01b03831661165f5761165a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611682565b816001600160a01b0316836001600160a01b0316146116825761168283826117fc565b6001600160a01b0382166116995761079781611899565b826001600160a01b0316826001600160a01b031614610797576107978282611948565b6116c6838361198c565b6116d360008484846116ef565b6107975760405162461bcd60e51b815260040161066190611f08565b60006001600160a01b0384163b156117f157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611733903390899088908890600401611eb8565b602060405180830381600087803b15801561174d57600080fd5b505af192505050801561177d575060408051601f3d908101601f1916820190925261177a91810190611dce565b60015b6117d7573d8080156117ab576040519150601f19603f3d011682016040523d82523d6000602084013e6117b0565b606091505b5080516117cf5760405162461bcd60e51b815260040161066190611f08565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111da565b506001949350505050565b6000600161180984610a94565b611813919061200c565b600083815260076020526040902054909150808214611866576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906118ab9060019061200c565b600083815260096020526040812054600880549394509092849081106118d3576118d36120fb565b9060005260206000200154905080600883815481106118f4576118f46120fb565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061192c5761192c6120e5565b6001900381819060005260206000200160009055905550505050565b600061195383610a94565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166119e25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610661565b6000818152600260205260409020546001600160a01b031615611a475760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610661565b611a5360008383611604565b6001600160a01b0382166000908152600360205260408120805460019290611a7c908490611fe0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ae69061204f565b90600052602060002090601f016020900481019282611b085760008555611b4e565b82601f10611b2157805160ff1916838001178555611b4e565b82800160010185558215611b4e579182015b82811115611b4e578251825591602001919060010190611b33565b50611b5a929150611b5e565b5090565b5b80821115611b5a5760008155600101611b5f565b600067ffffffffffffffff80841115611b8e57611b8e612111565b604051601f8501601f19908116603f01168101908282118183101715611bb657611bb6612111565b81604052809350858152868686011115611bcf57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611bfb57600080fd5b8135610f8b81612127565b600060208284031215611c1857600080fd5b8151610f8b81612127565b60008060408385031215611c3657600080fd5b8235611c4181612127565b91506020830135611c5181612127565b809150509250929050565b600080600060608486031215611c7157600080fd5b8335611c7c81612127565b92506020840135611c8c81612127565b929592945050506040919091013590565b60008060008060808587031215611cb357600080fd5b8435611cbe81612127565b93506020850135611cce81612127565b925060408501359150606085013567ffffffffffffffff811115611cf157600080fd5b8501601f81018713611d0257600080fd5b611d1187823560208401611b73565b91505092959194509250565b60008060408385031215611d3057600080fd5b8235611d3b81612127565b91506020830135611c518161213c565b60008060408385031215611d5e57600080fd5b8235611d6981612127565b946020939093013593505050565b600060208284031215611d8957600080fd5b8135610f8b8161213c565b600060208284031215611da657600080fd5b8151610f8b8161213c565b600060208284031215611dc357600080fd5b8135610f8b8161214a565b600060208284031215611de057600080fd5b8151610f8b8161214a565b600060208284031215611dfd57600080fd5b813567ffffffffffffffff811115611e1457600080fd5b8201601f81018413611e2557600080fd5b6111da84823560208401611b73565b600060208284031215611e4657600080fd5b5035919050565b60008151808452611e65816020860160208601612023565b601f01601f19169290920160200192915050565b60008351611e8b818460208801612023565b835190830190611e9f818360208801612023565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611eeb90830184611e4d565b9695505050505050565b602081526000610f8b6020830184611e4d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611ff357611ff36120b9565b500190565b600082612007576120076120cf565b500490565b60008282101561201e5761201e6120b9565b500390565b60005b8381101561203e578181015183820152602001612026565b83811115610eb15750506000910152565b600181811c9082168061206357607f821691505b6020821081141561208457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561209e5761209e6120b9565b5060010190565b6000826120b4576120b46120cf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461102a57600080fd5b801515811461102a57600080fd5b6001600160e01b03198116811461102a57600080fdfea2646970667358221220a9fbdfec5e4de995aa542bf79970ae1c85397f718afbeb9a72a99dba0a4d5c5264736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c474452544f4b454e204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4744525443524f4e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d664b3247477731556856326b6456745542754847364252395971716b5067354a3679675a39377468377052732f00000000000000000000
Deployed Bytecode
0x60806040526004361061019c5760003560e01c80636352211e116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610490578063d5abeb01146104b0578063e985e9c5146104c6578063f2fde38b1461050f57600080fd5b8063a22cb46514610420578063a2c8a20414610440578063b88d4fde1461047057600080fd5b8063715018a6116100c6578063715018a6146103c55780638da5cb5b146103da57806395d89b41146103f8578063a0712d681461040d57600080fd5b80636352211e146103705780636c0360eb1461039057806370a08231146103a557600080fd5b806323b872dd1161015957806342842e0e1161013357806342842e0e146102f65780634f6ccce71461031657806355f804b3146103365780635c975abb1461035657600080fd5b806323b872dd146102915780632c91ff85146102b15780632f745c59146102d657600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806316c38b3c1461025257806318160ddd14610272575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611db1565b61052f565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61055a565b6040516101cd9190611ef5565b34801561020457600080fd5b50610218610213366004611e34565b6105ec565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b366004611d4b565b610686565b005b34801561025e57600080fd5b5061025061026d366004611d77565b61079c565b34801561027e57600080fd5b506008545b6040519081526020016101cd565b34801561029d57600080fd5b506102506102ac366004611c5c565b6107d9565b3480156102bd57600080fd5b50600d546102189061010090046001600160a01b031681565b3480156102e257600080fd5b506102836102f1366004611d4b565b61080a565b34801561030257600080fd5b50610250610311366004611c5c565b6108a0565b34801561032257600080fd5b50610283610331366004611e34565b6108bb565b34801561034257600080fd5b50610250610351366004611deb565b61094e565b34801561036257600080fd5b50600d546101c19060ff1681565b34801561037c57600080fd5b5061021861038b366004611e34565b61098f565b34801561039c57600080fd5b506101eb610a06565b3480156103b157600080fd5b506102836103c0366004611be9565b610a94565b3480156103d157600080fd5b50610250610b1b565b3480156103e657600080fd5b50600a546001600160a01b0316610218565b34801561040457600080fd5b506101eb610b51565b61025061041b366004611e34565b610b60565b34801561042c57600080fd5b5061025061043b366004611d1d565b610e74565b34801561044c57600080fd5b506101c161045b366004611e34565b600e6020526000908152604090205460ff1681565b34801561047c57600080fd5b5061025061048b366004611c9d565b610e7f565b34801561049c57600080fd5b506101eb6104ab366004611e34565b610eb7565b3480156104bc57600080fd5b50610283600c5481565b3480156104d257600080fd5b506101c16104e1366004611c23565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561051b57600080fd5b5061025061052a366004611be9565b610f92565b60006001600160e01b0319821663780e9d6360e01b148061055457506105548261102d565b92915050565b6060600080546105699061204f565b80601f01602080910402602001604051908101604052809291908181526020018280546105959061204f565b80156105e25780601f106105b7576101008083540402835291602001916105e2565b820191906000526020600020905b8154815290600101906020018083116105c557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661066a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106918261098f565b9050806001600160a01b0316836001600160a01b031614156106ff5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610661565b336001600160a01b038216148061071b575061071b81336104e1565b61078d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610661565b610797838361107d565b505050565b600a546001600160a01b031633146107c65760405162461bcd60e51b815260040161066190611f5a565b600d805460ff1916911515919091179055565b6107e333826110eb565b6107ff5760405162461bcd60e51b815260040161066190611f8f565b6107978383836111e2565b600061081583610a94565b82106108775760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610661565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61079783838360405180602001604052806000815250610e7f565b60006108c660085490565b82106109295760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610661565b6008828154811061093c5761093c6120fb565b90600052602060002001549050919050565b600a546001600160a01b031633146109785760405162461bcd60e51b815260040161066190611f5a565b805161098b90600b906020840190611ada565b5050565b6000818152600260205260408120546001600160a01b0316806105545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610661565b600b8054610a139061204f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3f9061204f565b8015610a8c5780601f10610a6157610100808354040283529160200191610a8c565b820191906000526020600020905b815481529060010190602001808311610a6f57829003601f168201915b505050505081565b60006001600160a01b038216610aff5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610661565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b455760405162461bcd60e51b815260040161066190611f5a565b610b4f6000611389565b565b6060600180546105699061204f565b600d5460ff1615610bbf5760405162461bcd60e51b815260206004820152602360248201527f4d696e74696e67206973207061757365642e20436f6d65206261636b206c617460448201526265722160e81b6064820152608401610661565b600d54604051639d89735160e01b8152600481018390526101009091046001600160a01b031690639d8973519060240160206040518083038186803b158015610c0757600080fd5b505afa158015610c1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3f9190611d94565b610c9b5760405162461bcd60e51b815260206004820152602760248201527f43726f517565656e20626f78206e6565647320746f2062652072657665616c656044820152661908199a5c9cdd60ca1b6064820152608401610661565b6000818152600e602052604090205460ff1615610d065760405162461bcd60e51b815260206004820152602360248201527f5468697320746f6b656e2068617320616c7265616479206265656e20636c61696044820152621b595960ea1b6064820152608401610661565b600d546040516331a9108f60e11b8152600481018390526101009091046001600160a01b031690636352211e9060240160206040518083038186803b158015610d4e57600080fd5b505afa158015610d62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d869190611c06565b6001600160a01b0316336001600160a01b031614610dfb5760405162461bcd60e51b815260206004820152602c60248201527f596f7520646f206e6f74206f776e2074686520746f6b656e20796f752772652060448201526b31b630b4b6b4b733903337b960a11b6064820152608401610661565b600c5460085410610e3c5760405162461bcd60e51b815260206004820152600b60248201526a105b1b0818db185a5b595960aa1b6044820152606401610661565b610e5933610e4960085490565b610e54906001611fe0565b6113db565b6000908152600e60205260409020805460ff19166001179055565b61098b3383836113f5565b610e8933836110eb565b610ea55760405162461bcd60e51b815260040161066190611f8f565b610eb1848484846114c4565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f365760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610661565b6000610f406114f7565b90506000815111610f605760405180602001604052806000815250610f8b565b80610f6a84611506565b604051602001610f7b929190611e79565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610fbc5760405162461bcd60e51b815260040161066190611f5a565b6001600160a01b0381166110215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610661565b61102a81611389565b50565b60006001600160e01b031982166380ac58cd60e01b148061105e57506001600160e01b03198216635b5e139f60e01b145b8061055457506301ffc9a760e01b6001600160e01b0319831614610554565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110b28261098f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111645760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610661565b600061116f8361098f565b9050806001600160a01b0316846001600160a01b031614806111aa5750836001600160a01b031661119f846105ec565b6001600160a01b0316145b806111da57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166111f58261098f565b6001600160a01b0316146112595760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610661565b6001600160a01b0382166112bb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610661565b6112c6838383611604565b6112d160008261107d565b6001600160a01b03831660009081526003602052604081208054600192906112fa90849061200c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611328908490611fe0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61098b8282604051806020016040528060008152506116bc565b816001600160a01b0316836001600160a01b031614156114575760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610661565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6114cf8484846111e2565b6114db848484846116ef565b610eb15760405162461bcd60e51b815260040161066190611f08565b6060600b80546105699061204f565b60608161152a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611554578061153e8161208a565b915061154d9050600a83611ff8565b915061152e565b60008167ffffffffffffffff81111561156f5761156f612111565b6040519080825280601f01601f191660200182016040528015611599576020820181803683370190505b5090505b84156111da576115ae60018361200c565b91506115bb600a866120a5565b6115c6906030611fe0565b60f81b8183815181106115db576115db6120fb565b60200101906001600160f81b031916908160001a9053506115fd600a86611ff8565b945061159d565b6001600160a01b03831661165f5761165a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611682565b816001600160a01b0316836001600160a01b0316146116825761168283826117fc565b6001600160a01b0382166116995761079781611899565b826001600160a01b0316826001600160a01b031614610797576107978282611948565b6116c6838361198c565b6116d360008484846116ef565b6107975760405162461bcd60e51b815260040161066190611f08565b60006001600160a01b0384163b156117f157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611733903390899088908890600401611eb8565b602060405180830381600087803b15801561174d57600080fd5b505af192505050801561177d575060408051601f3d908101601f1916820190925261177a91810190611dce565b60015b6117d7573d8080156117ab576040519150601f19603f3d011682016040523d82523d6000602084013e6117b0565b606091505b5080516117cf5760405162461bcd60e51b815260040161066190611f08565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111da565b506001949350505050565b6000600161180984610a94565b611813919061200c565b600083815260076020526040902054909150808214611866576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906118ab9060019061200c565b600083815260096020526040812054600880549394509092849081106118d3576118d36120fb565b9060005260206000200154905080600883815481106118f4576118f46120fb565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061192c5761192c6120e5565b6001900381819060005260206000200160009055905550505050565b600061195383610a94565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166119e25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610661565b6000818152600260205260409020546001600160a01b031615611a475760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610661565b611a5360008383611604565b6001600160a01b0382166000908152600360205260408120805460019290611a7c908490611fe0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ae69061204f565b90600052602060002090601f016020900481019282611b085760008555611b4e565b82601f10611b2157805160ff1916838001178555611b4e565b82800160010185558215611b4e579182015b82811115611b4e578251825591602001919060010190611b33565b50611b5a929150611b5e565b5090565b5b80821115611b5a5760008155600101611b5f565b600067ffffffffffffffff80841115611b8e57611b8e612111565b604051601f8501601f19908116603f01168101908282118183101715611bb657611bb6612111565b81604052809350858152868686011115611bcf57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611bfb57600080fd5b8135610f8b81612127565b600060208284031215611c1857600080fd5b8151610f8b81612127565b60008060408385031215611c3657600080fd5b8235611c4181612127565b91506020830135611c5181612127565b809150509250929050565b600080600060608486031215611c7157600080fd5b8335611c7c81612127565b92506020840135611c8c81612127565b929592945050506040919091013590565b60008060008060808587031215611cb357600080fd5b8435611cbe81612127565b93506020850135611cce81612127565b925060408501359150606085013567ffffffffffffffff811115611cf157600080fd5b8501601f81018713611d0257600080fd5b611d1187823560208401611b73565b91505092959194509250565b60008060408385031215611d3057600080fd5b8235611d3b81612127565b91506020830135611c518161213c565b60008060408385031215611d5e57600080fd5b8235611d6981612127565b946020939093013593505050565b600060208284031215611d8957600080fd5b8135610f8b8161213c565b600060208284031215611da657600080fd5b8151610f8b8161213c565b600060208284031215611dc357600080fd5b8135610f8b8161214a565b600060208284031215611de057600080fd5b8151610f8b8161214a565b600060208284031215611dfd57600080fd5b813567ffffffffffffffff811115611e1457600080fd5b8201601f81018413611e2557600080fd5b6111da84823560208401611b73565b600060208284031215611e4657600080fd5b5035919050565b60008151808452611e65816020860160208601612023565b601f01601f19169290920160200192915050565b60008351611e8b818460208801612023565b835190830190611e9f818360208801612023565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611eeb90830184611e4d565b9695505050505050565b602081526000610f8b6020830184611e4d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611ff357611ff36120b9565b500190565b600082612007576120076120cf565b500490565b60008282101561201e5761201e6120b9565b500390565b60005b8381101561203e578181015183820152602001612026565b83811115610eb15750506000910152565b600181811c9082168061206357607f821691505b6020821081141561208457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561209e5761209e6120b9565b5060010190565b6000826120b4576120b46120cf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461102a57600080fd5b801515811461102a57600080fd5b6001600160e01b03198116811461102a57600080fdfea2646970667358221220a9fbdfec5e4de995aa542bf79970ae1c85397f718afbeb9a72a99dba0a4d5c5264736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c474452544f4b454e204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4744525443524f4e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d664b3247477731556856326b6456745542754847364252395971716b5067354a3679675a39377468377052732f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): GDRTOKEN NFT
Arg [1] : _symbol (string): GDRTCRONFT
Arg [2] : _initialBaseUri (string): ipfs://QmfK2GGw1UhV2kdVtUBuHG6BR9YqqkPg5J6ygZ97th7pRs/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 474452544f4b454e204e46540000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 4744525443524f4e465400000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d664b3247477731556856326b6456745542754847364252
Arg [9] : 395971716b5067354a3679675a39377468377052732f00000000000000000000
Deployed ByteCode Sourcemap
45674:1844:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39345:224;;;;;;;;;;-1:-1:-1;39345:224:0;;;;;:::i;:::-;;:::i;:::-;;;6928:14:1;;6921:22;6903:41;;6891:2;6876:18;39345:224:0;;;;;;;;26165:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27724:221::-;;;;;;;;;;-1:-1:-1;27724:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6226:32:1;;;6208:51;;6196:2;6181:18;27724:221:0;6062:203:1;27247:411:0;;;;;;;;;;-1:-1:-1;27247:411:0;;;;;:::i;:::-;;:::i;:::-;;47318:85;;;;;;;;;;-1:-1:-1;47318:85:0;;;;;:::i;:::-;;:::i;39985:113::-;;;;;;;;;;-1:-1:-1;40073:10:0;:17;39985:113;;;16497:25:1;;;16485:2;16470:18;39985:113:0;16351:177:1;28474:339:0;;;;;;;;;;-1:-1:-1;28474:339:0;;;;;:::i;:::-;;:::i;45875:78::-;;;;;;;;;;-1:-1:-1;45875:78:0;;;;;;;-1:-1:-1;;;;;45875:78:0;;;39653:256;;;;;;;;;;-1:-1:-1;39653:256:0;;;;;:::i;:::-;;:::i;28884:185::-;;;;;;;;;;-1:-1:-1;28884:185:0;;;;;:::i;:::-;;:::i;40175:233::-;;;;;;;;;;-1:-1:-1;40175:233:0;;;;;:::i;:::-;;:::i;47411:104::-;;;;;;;;;;-1:-1:-1;47411:104:0;;;;;:::i;:::-;;:::i;45837:25::-;;;;;;;;;;-1:-1:-1;45837:25:0;;;;;;;;25859:239;;;;;;;;;;-1:-1:-1;25859:239:0;;;;;:::i;:::-;;:::i;45765:21::-;;;;;;;;;;;;;:::i;25589:208::-;;;;;;;;;;-1:-1:-1;25589:208:0;;;;;:::i;:::-;;:::i;4761:103::-;;;;;;;;;;;;;:::i;4110:87::-;;;;;;;;;;-1:-1:-1;4183:6:0;;-1:-1:-1;;;;;4183:6:0;4110:87;;26334:104;;;;;;;;;;;;;:::i;46301:635::-;;;;;;:::i;:::-;;:::i;28017:155::-;;;;;;;;;;-1:-1:-1;28017:155:0;;;;;:::i;:::-;;:::i;45962:50::-;;;;;;;;;;-1:-1:-1;45962:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;29140:328;;;;;;;;;;-1:-1:-1;29140:328:0;;;;;:::i;:::-;;:::i;46944:366::-;;;;;;;;;;-1:-1:-1;46944:366:0;;;;;:::i;:::-;;:::i;45793:31::-;;;;;;;;;;;;;;;;28243:164;;;;;;;;;;-1:-1:-1;28243:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;28364:25:0;;;28340:4;28364:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28243:164;5019:201;;;;;;;;;;-1:-1:-1;5019:201:0;;;;;:::i;:::-;;:::i;39345:224::-;39447:4;-1:-1:-1;;;;;;39471:50:0;;-1:-1:-1;;;39471:50:0;;:90;;;39525:36;39549:11;39525:23;:36::i;:::-;39464:97;39345:224;-1:-1:-1;;39345:224:0:o;26165:100::-;26219:13;26252:5;26245:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26165:100;:::o;27724:221::-;27800:7;31067:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31067:16:0;27820:73;;;;-1:-1:-1;;;27820:73:0;;13790:2:1;27820:73:0;;;13772:21:1;13829:2;13809:18;;;13802:30;13868:34;13848:18;;;13841:62;-1:-1:-1;;;13919:18:1;;;13912:42;13971:19;;27820:73:0;;;;;;;;;-1:-1:-1;27913:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27913:24:0;;27724:221::o;27247:411::-;27328:13;27344:23;27359:7;27344:14;:23::i;:::-;27328:39;;27392:5;-1:-1:-1;;;;;27386:11:0;:2;-1:-1:-1;;;;;27386:11:0;;;27378:57;;;;-1:-1:-1;;;27378:57:0;;14980:2:1;27378:57:0;;;14962:21:1;15019:2;14999:18;;;14992:30;15058:34;15038:18;;;15031:62;-1:-1:-1;;;15109:18:1;;;15102:31;15150:19;;27378:57:0;14778:397:1;27378:57:0;2914:10;-1:-1:-1;;;;;27470:21:0;;;;:62;;-1:-1:-1;27495:37:0;27512:5;2914:10;28243:164;:::i;27495:37::-;27448:168;;;;-1:-1:-1;;;27448:168:0;;12183:2:1;27448:168:0;;;12165:21:1;12222:2;12202:18;;;12195:30;12261:34;12241:18;;;12234:62;12332:26;12312:18;;;12305:54;12376:19;;27448:168:0;11981:420:1;27448:168:0;27629:21;27638:2;27642:7;27629:8;:21::i;:::-;27317:341;27247:411;;:::o;47318:85::-;4183:6;;-1:-1:-1;;;;;4183:6:0;2914:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;47379:6:::1;:16:::0;;-1:-1:-1;;47379:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;47318:85::o;28474:339::-;28669:41;2914:10;28702:7;28669:18;:41::i;:::-;28661:103;;;;-1:-1:-1;;;28661:103:0;;;;;;;:::i;:::-;28777:28;28787:4;28793:2;28797:7;28777:9;:28::i;39653:256::-;39750:7;39786:23;39803:5;39786:16;:23::i;:::-;39778:5;:31;39770:87;;;;-1:-1:-1;;;39770:87:0;;8193:2:1;39770:87:0;;;8175:21:1;8232:2;8212:18;;;8205:30;8271:34;8251:18;;;8244:62;-1:-1:-1;;;8322:18:1;;;8315:41;8373:19;;39770:87:0;7991:407:1;39770:87:0;-1:-1:-1;;;;;;39875:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;39653:256::o;28884:185::-;29022:39;29039:4;29045:2;29049:7;29022:39;;;;;;;;;;;;:16;:39::i;40175:233::-;40250:7;40286:30;40073:10;:17;;39985:113;40286:30;40278:5;:38;40270:95;;;;-1:-1:-1;;;40270:95:0;;15800:2:1;40270:95:0;;;15782:21:1;15839:2;15819:18;;;15812:30;15878:34;15858:18;;;15851:62;-1:-1:-1;;;15929:18:1;;;15922:42;15981:19;;40270:95:0;15598:408:1;40270:95:0;40383:10;40394:5;40383:17;;;;;;;;:::i;:::-;;;;;;;;;40376:24;;40175:233;;;:::o;47411:104::-;4183:6;;-1:-1:-1;;;;;4183:6:0;2914:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;47486:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47411:104:::0;:::o;25859:239::-;25931:7;25967:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25967:16:0;26002:19;25994:73;;;;-1:-1:-1;;;25994:73:0;;13019:2:1;25994:73:0;;;13001:21:1;13058:2;13038:18;;;13031:30;13097:34;13077:18;;;13070:62;-1:-1:-1;;;13148:18:1;;;13141:39;13197:19;;25994:73:0;12817:405:1;45765:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25589:208::-;25661:7;-1:-1:-1;;;;;25689:19:0;;25681:74;;;;-1:-1:-1;;;25681:74:0;;12608:2:1;25681:74:0;;;12590:21:1;12647:2;12627:18;;;12620:30;12686:34;12666:18;;;12659:62;-1:-1:-1;;;12737:18:1;;;12730:40;12787:19;;25681:74:0;12406:406:1;25681:74:0;-1:-1:-1;;;;;;25773:16:0;;;;;:9;:16;;;;;;;25589:208::o;4761:103::-;4183:6;;-1:-1:-1;;;;;4183:6:0;2914:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;4826:30:::1;4853:1;4826:18;:30::i;:::-;4761:103::o:0;26334:104::-;26390:13;26423:7;26416:14;;;;;:::i;46301:635::-;46372:6;;;;46371:7;46363:55;;;;-1:-1:-1;;;46363:55:0;;11779:2:1;46363:55:0;;;11761:21:1;11818:2;11798:18;;;11791:30;11857:34;11837:18;;;11830:62;-1:-1:-1;;;11908:18:1;;;11901:33;11951:19;;46363:55:0;11577:399:1;46363:55:0;46453:18;;46437:59;;-1:-1:-1;;;46437:59:0;;;;;16497:25:1;;;46453:18:0;;;;-1:-1:-1;;;;;46453:18:0;;46437:49;;16470:18:1;;46437:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46429:111;;;;-1:-1:-1;;;46429:111:0;;7381:2:1;46429:111:0;;;7363:21:1;7420:2;7400:18;;;7393:30;7459:34;7439:18;;;7432:62;-1:-1:-1;;;7510:18:1;;;7503:37;7557:19;;46429:111:0;7179:403:1;46429:111:0;46560:28;;;;:18;:28;;;;;;;;46559:29;46551:77;;;;-1:-1:-1;;;46551:77:0;;7789:2:1;46551:77:0;;;7771:21:1;7828:2;7808:18;;;7801:30;7867:34;7847:18;;;7840:62;-1:-1:-1;;;7918:18:1;;;7911:33;7961:19;;46551:77:0;7587:399:1;46551:77:0;46679:18;;46661:55;;-1:-1:-1;;;46661:55:0;;;;;16497:25:1;;;46679:18:0;;;;-1:-1:-1;;;;;46679:18:0;;46661:45;;16470:18:1;;46661:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;46647:69:0;:10;-1:-1:-1;;;;;46647:69:0;;46639:126;;;;-1:-1:-1;;;46639:126:0;;10194:2:1;46639:126:0;;;10176:21:1;10233:2;10213:18;;;10206:30;10272:34;10252:18;;;10245:62;-1:-1:-1;;;10323:18:1;;;10316:42;10375:19;;46639:126:0;9992:408:1;46639:126:0;46800:9;;40073:10;:17;46784:25;46776:49;;;;-1:-1:-1;;;46776:49:0;;16213:2:1;46776:49:0;;;16195:21:1;16252:2;16232:18;;;16225:30;-1:-1:-1;;;16271:18:1;;;16264:41;16322:18;;46776:49:0;16011:335:1;46776:49:0;46840:40;46850:10;46862:13;40073:10;:17;;39985:113;46862:13;:17;;46878:1;46862:17;:::i;:::-;46840:9;:40::i;:::-;46891:28;;;;:18;:28;;;;;:35;;-1:-1:-1;;46891:35:0;46922:4;46891:35;;;46301:635::o;28017:155::-;28112:52;2914:10;28145:8;28155;28112:18;:52::i;29140:328::-;29315:41;2914:10;29348:7;29315:18;:41::i;:::-;29307:103;;;;-1:-1:-1;;;29307:103:0;;;;;;;:::i;:::-;29421:39;29435:4;29441:2;29445:7;29454:5;29421:13;:39::i;:::-;29140:328;;;;:::o;46944:366::-;31043:4;31067:16;;;:7;:16;;;;;;47017:13;;-1:-1:-1;;;;;31067:16:0;47043:77;;;;-1:-1:-1;;;47043:77:0;;14564:2:1;47043:77:0;;;14546:21:1;14603:2;14583:18;;;14576:30;14642:34;14622:18;;;14615:62;-1:-1:-1;;;14693:18:1;;;14686:45;14748:19;;47043:77:0;14362:411:1;47043:77:0;47133:28;47164:10;:8;:10::i;:::-;47133:41;;47223:1;47198:14;47192:28;:32;:110;;;;;;;;;;;;;;;;;47251:14;47267:19;:8;:17;:19::i;:::-;47234:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47192:110;47185:117;46944:366;-1:-1:-1;;;46944:366:0:o;5019:201::-;4183:6;;-1:-1:-1;;;;;4183:6:0;2914:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5108:22:0;::::1;5100:73;;;::::0;-1:-1:-1;;;5100:73:0;;9024:2:1;5100:73:0::1;::::0;::::1;9006:21:1::0;9063:2;9043:18;;;9036:30;9102:34;9082:18;;;9075:62;-1:-1:-1;;;9153:18:1;;;9146:36;9199:19;;5100:73:0::1;8822:402:1::0;5100:73:0::1;5184:28;5203:8;5184:18;:28::i;:::-;5019:201:::0;:::o;25220:305::-;25322:4;-1:-1:-1;;;;;;25359:40:0;;-1:-1:-1;;;25359:40:0;;:105;;-1:-1:-1;;;;;;;25416:48:0;;-1:-1:-1;;;25416:48:0;25359:105;:158;;;-1:-1:-1;;;;;;;;;;17003:40:0;;;25481:36;16894:157;35124:174;35199:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35199:29:0;-1:-1:-1;;;;;35199:29:0;;;;;;;;:24;;35253:23;35199:24;35253:14;:23::i;:::-;-1:-1:-1;;;;;35244:46:0;;;;;;;;;;;35124:174;;:::o;31272:348::-;31365:4;31067:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31067:16:0;31382:73;;;;-1:-1:-1;;;31382:73:0;;11366:2:1;31382:73:0;;;11348:21:1;11405:2;11385:18;;;11378:30;11444:34;11424:18;;;11417:62;-1:-1:-1;;;11495:18:1;;;11488:42;11547:19;;31382:73:0;11164:408:1;31382:73:0;31466:13;31482:23;31497:7;31482:14;:23::i;:::-;31466:39;;31535:5;-1:-1:-1;;;;;31524:16:0;:7;-1:-1:-1;;;;;31524:16:0;;:51;;;;31568:7;-1:-1:-1;;;;;31544:31:0;:20;31556:7;31544:11;:20::i;:::-;-1:-1:-1;;;;;31544:31:0;;31524:51;:87;;;-1:-1:-1;;;;;;28364:25:0;;;28340:4;28364:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;31579:32;31516:96;31272:348;-1:-1:-1;;;;31272:348:0:o;34381:625::-;34540:4;-1:-1:-1;;;;;34513:31:0;:23;34528:7;34513:14;:23::i;:::-;-1:-1:-1;;;;;34513:31:0;;34505:81;;;;-1:-1:-1;;;34505:81:0;;9431:2:1;34505:81:0;;;9413:21:1;9470:2;9450:18;;;9443:30;9509:34;9489:18;;;9482:62;-1:-1:-1;;;9560:18:1;;;9553:35;9605:19;;34505:81:0;9229:401:1;34505:81:0;-1:-1:-1;;;;;34605:16:0;;34597:65;;;;-1:-1:-1;;;34597:65:0;;10607:2:1;34597:65:0;;;10589:21:1;10646:2;10626:18;;;10619:30;10685:34;10665:18;;;10658:62;-1:-1:-1;;;10736:18:1;;;10729:34;10780:19;;34597:65:0;10405:400:1;34597:65:0;34675:39;34696:4;34702:2;34706:7;34675:20;:39::i;:::-;34779:29;34796:1;34800:7;34779:8;:29::i;:::-;-1:-1:-1;;;;;34821:15:0;;;;;;:9;:15;;;;;:20;;34840:1;;34821:15;:20;;34840:1;;34821:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34852:13:0;;;;;;:9;:13;;;;;:18;;34869:1;;34852:13;:18;;34869:1;;34852:18;:::i;:::-;;;;-1:-1:-1;;34881:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34881:21:0;-1:-1:-1;;;;;34881:21:0;;;;;;;;;34920:27;;34881:16;;34920:27;;;;;;;27317:341;27247:411;;:::o;5380:191::-;5473:6;;;-1:-1:-1;;;;;5490:17:0;;;-1:-1:-1;;;;;;5490:17:0;;;;;;;5523:40;;5473:6;;;5490:17;5473:6;;5523:40;;5454:16;;5523:40;5443:128;5380:191;:::o;31962:110::-;32038:26;32048:2;32052:7;32038:26;;;;;;;;;;;;:9;:26::i;35440:315::-;35595:8;-1:-1:-1;;;;;35586:17:0;:5;-1:-1:-1;;;;;35586:17:0;;;35578:55;;;;-1:-1:-1;;;35578:55:0;;11012:2:1;35578:55:0;;;10994:21:1;11051:2;11031:18;;;11024:30;11090:27;11070:18;;;11063:55;11135:18;;35578:55:0;10810:349:1;35578:55:0;-1:-1:-1;;;;;35644:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;35644:46:0;;;;;;;;;;35706:41;;6903::1;;;35706::0;;6876:18:1;35706:41:0;;;;;;;35440:315;;;:::o;30350:::-;30507:28;30517:4;30523:2;30527:7;30507:9;:28::i;:::-;30554:48;30577:4;30583:2;30587:7;30596:5;30554:22;:48::i;:::-;30546:111;;;;-1:-1:-1;;;30546:111:0;;;;;;;:::i;46185:108::-;46245:13;46278:7;46271:14;;;;;:::i;396:723::-;452:13;673:10;669:53;;-1:-1:-1;;700:10:0;;;;;;;;;;;;-1:-1:-1;;;700:10:0;;;;;396:723::o;669:53::-;747:5;732:12;788:78;795:9;;788:78;;821:8;;;;:::i;:::-;;-1:-1:-1;844:10:0;;-1:-1:-1;852:2:0;844:10;;:::i;:::-;;;788:78;;;876:19;908:6;898:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;898:17:0;;876:39;;926:154;933:10;;926:154;;960:11;970:1;960:11;;:::i;:::-;;-1:-1:-1;1029:10:0;1037:2;1029:5;:10;:::i;:::-;1016:24;;:2;:24;:::i;:::-;1003:39;;986:6;993;986:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;986:56:0;;;;;;;;-1:-1:-1;1057:11:0;1066:2;1057:11;;:::i;:::-;;;926:154;;41021:589;-1:-1:-1;;;;;41227:18:0;;41223:187;;41262:40;41294:7;42437:10;:17;;42410:24;;;;:15;:24;;;;;:44;;;42465:24;;;;;;;;;;;;42333:164;41262:40;41223:187;;;41332:2;-1:-1:-1;;;;;41324:10:0;:4;-1:-1:-1;;;;;41324:10:0;;41320:90;;41351:47;41384:4;41390:7;41351:32;:47::i;:::-;-1:-1:-1;;;;;41424:16:0;;41420:183;;41457:45;41494:7;41457:36;:45::i;41420:183::-;41530:4;-1:-1:-1;;;;;41524:10:0;:2;-1:-1:-1;;;;;41524:10:0;;41520:83;;41551:40;41579:2;41583:7;41551:27;:40::i;32299:321::-;32429:18;32435:2;32439:7;32429:5;:18::i;:::-;32480:54;32511:1;32515:2;32519:7;32528:5;32480:22;:54::i;:::-;32458:154;;;;-1:-1:-1;;;32458:154:0;;;;;;;:::i;36320:799::-;36475:4;-1:-1:-1;;;;;36496:13:0;;7106:19;:23;36492:620;;36532:72;;-1:-1:-1;;;36532:72:0;;-1:-1:-1;;;;;36532:36:0;;;;;:72;;2914:10;;36583:4;;36589:7;;36598:5;;36532:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36532:72:0;;;;;;;;-1:-1:-1;;36532:72:0;;;;;;;;;;;;:::i;:::-;;;36528:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36774:13:0;;36770:272;;36817:60;;-1:-1:-1;;;36817:60:0;;;;;;;:::i;36770:272::-;36992:6;36986:13;36977:6;36973:2;36969:15;36962:38;36528:529;-1:-1:-1;;;;;;36655:51:0;-1:-1:-1;;;36655:51:0;;-1:-1:-1;36648:58:0;;36492:620;-1:-1:-1;37096:4:0;36320:799;;;;;;:::o;43124:988::-;43390:22;43440:1;43415:22;43432:4;43415:16;:22::i;:::-;:26;;;;:::i;:::-;43452:18;43473:26;;;:17;:26;;;;;;43390:51;;-1:-1:-1;43606:28:0;;;43602:328;;-1:-1:-1;;;;;43673:18:0;;43651:19;43673:18;;;:12;:18;;;;;;;;:34;;;;;;;;;43724:30;;;;;;:44;;;43841:30;;:17;:30;;;;;:43;;;43602:328;-1:-1:-1;44026:26:0;;;;:17;:26;;;;;;;;44019:33;;;-1:-1:-1;;;;;44070:18:0;;;;;:12;:18;;;;;:34;;;;;;;44063:41;43124:988::o;44407:1079::-;44685:10;:17;44660:22;;44685:21;;44705:1;;44685:21;:::i;:::-;44717:18;44738:24;;;:15;:24;;;;;;45111:10;:26;;44660:46;;-1:-1:-1;44738:24:0;;44660:46;;45111:26;;;;;;:::i;:::-;;;;;;;;;45089:48;;45175:11;45150:10;45161;45150:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;45255:28;;;:15;:28;;;;;;;:41;;;45427:24;;;;;45420:31;45462:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;44478:1008;;;44407:1079;:::o;41911:221::-;41996:14;42013:20;42030:2;42013:16;:20::i;:::-;-1:-1:-1;;;;;42044:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;42089:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41911:221:0:o;32956:439::-;-1:-1:-1;;;;;33036:16:0;;33028:61;;;;-1:-1:-1;;;33028:61:0;;13429:2:1;33028:61:0;;;13411:21:1;;;13448:18;;;13441:30;13507:34;13487:18;;;13480:62;13559:18;;33028:61:0;13227:356:1;33028:61:0;31043:4;31067:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31067:16:0;:30;33100:58;;;;-1:-1:-1;;;33100:58:0;;9837:2:1;33100:58:0;;;9819:21:1;9876:2;9856:18;;;9849:30;9915;9895:18;;;9888:58;9963:18;;33100:58:0;9635:352:1;33100:58:0;33171:45;33200:1;33204:2;33208:7;33171:20;:45::i;:::-;-1:-1:-1;;;;;33229:13:0;;;;;;:9;:13;;;;;:18;;33246:1;;33229:13;:18;;33246:1;;33229:18;:::i;:::-;;;;-1:-1:-1;;33258:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33258:21:0;-1:-1:-1;;;;;33258:21:0;;;;;;;;33297:33;;33258:16;;;33297:33;;33258:16;;33297:33;47486:21:::1;47411:104:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:52;;;778:1;775;768:12;730:52;817:9;804:23;836:31;861:5;836:31;:::i;902:251::-;972:6;1025:2;1013:9;1004:7;1000:23;996:32;993:52;;;1041:1;1038;1031:12;993:52;1073:9;1067:16;1092:31;1117:5;1092:31;:::i;1158:388::-;1226:6;1234;1287:2;1275:9;1266:7;1262:23;1258:32;1255:52;;;1303:1;1300;1293:12;1255:52;1342:9;1329:23;1361:31;1386:5;1361:31;:::i;:::-;1411:5;-1:-1:-1;1468:2:1;1453:18;;1440:32;1481:33;1440:32;1481:33;:::i;:::-;1533:7;1523:17;;;1158:388;;;;;:::o;1551:456::-;1628:6;1636;1644;1697:2;1685:9;1676:7;1672:23;1668:32;1665:52;;;1713:1;1710;1703:12;1665:52;1752:9;1739:23;1771:31;1796:5;1771:31;:::i;:::-;1821:5;-1:-1:-1;1878:2:1;1863:18;;1850:32;1891:33;1850:32;1891:33;:::i;:::-;1551:456;;1943:7;;-1:-1:-1;;;1997:2:1;1982:18;;;;1969:32;;1551:456::o;2012:794::-;2107:6;2115;2123;2131;2184:3;2172:9;2163:7;2159:23;2155:33;2152:53;;;2201:1;2198;2191:12;2152:53;2240:9;2227:23;2259:31;2284:5;2259:31;:::i;:::-;2309:5;-1:-1:-1;2366:2:1;2351:18;;2338:32;2379:33;2338:32;2379:33;:::i;:::-;2431:7;-1:-1:-1;2485:2:1;2470:18;;2457:32;;-1:-1:-1;2540:2:1;2525:18;;2512:32;2567:18;2556:30;;2553:50;;;2599:1;2596;2589:12;2553:50;2622:22;;2675:4;2667:13;;2663:27;-1:-1:-1;2653:55:1;;2704:1;2701;2694:12;2653:55;2727:73;2792:7;2787:2;2774:16;2769:2;2765;2761:11;2727:73;:::i;:::-;2717:83;;;2012:794;;;;;;;:::o;2811:382::-;2876:6;2884;2937:2;2925:9;2916:7;2912:23;2908:32;2905:52;;;2953:1;2950;2943:12;2905:52;2992:9;2979:23;3011:31;3036:5;3011:31;:::i;:::-;3061:5;-1:-1:-1;3118:2:1;3103:18;;3090:32;3131:30;3090:32;3131:30;:::i;3198:315::-;3266:6;3274;3327:2;3315:9;3306:7;3302:23;3298:32;3295:52;;;3343:1;3340;3333:12;3295:52;3382:9;3369:23;3401:31;3426:5;3401:31;:::i;:::-;3451:5;3503:2;3488:18;;;;3475:32;;-1:-1:-1;;;3198:315:1:o;3518:241::-;3574:6;3627:2;3615:9;3606:7;3602:23;3598:32;3595:52;;;3643:1;3640;3633:12;3595:52;3682:9;3669:23;3701:28;3723:5;3701:28;:::i;3764:245::-;3831:6;3884:2;3872:9;3863:7;3859:23;3855:32;3852:52;;;3900:1;3897;3890:12;3852:52;3932:9;3926:16;3951:28;3973:5;3951:28;:::i;4014:245::-;4072:6;4125:2;4113:9;4104:7;4100:23;4096:32;4093:52;;;4141:1;4138;4131:12;4093:52;4180:9;4167:23;4199:30;4223:5;4199:30;:::i;4264:249::-;4333:6;4386:2;4374:9;4365:7;4361:23;4357:32;4354:52;;;4402:1;4399;4392:12;4354:52;4434:9;4428:16;4453:30;4477:5;4453:30;:::i;4518:450::-;4587:6;4640:2;4628:9;4619:7;4615:23;4611:32;4608:52;;;4656:1;4653;4646:12;4608:52;4696:9;4683:23;4729:18;4721:6;4718:30;4715:50;;;4761:1;4758;4751:12;4715:50;4784:22;;4837:4;4829:13;;4825:27;-1:-1:-1;4815:55:1;;4866:1;4863;4856:12;4815:55;4889:73;4954:7;4949:2;4936:16;4931:2;4927;4923:11;4889:73;:::i;4973:180::-;5032:6;5085:2;5073:9;5064:7;5060:23;5056:32;5053:52;;;5101:1;5098;5091:12;5053:52;-1:-1:-1;5124:23:1;;4973:180;-1:-1:-1;4973:180:1:o;5158:257::-;5199:3;5237:5;5231:12;5264:6;5259:3;5252:19;5280:63;5336:6;5329:4;5324:3;5320:14;5313:4;5306:5;5302:16;5280:63;:::i;:::-;5397:2;5376:15;-1:-1:-1;;5372:29:1;5363:39;;;;5404:4;5359:50;;5158:257;-1:-1:-1;;5158:257:1:o;5420:637::-;5700:3;5738:6;5732:13;5754:53;5800:6;5795:3;5788:4;5780:6;5776:17;5754:53;:::i;:::-;5870:13;;5829:16;;;;5892:57;5870:13;5829:16;5926:4;5914:17;;5892:57;:::i;:::-;-1:-1:-1;;;5971:20:1;;6000:22;;;6049:1;6038:13;;5420:637;-1:-1:-1;;;;5420:637:1:o;6270:488::-;-1:-1:-1;;;;;6539:15:1;;;6521:34;;6591:15;;6586:2;6571:18;;6564:43;6638:2;6623:18;;6616:34;;;6686:3;6681:2;6666:18;;6659:31;;;6464:4;;6707:45;;6732:19;;6724:6;6707:45;:::i;:::-;6699:53;6270:488;-1:-1:-1;;;;;;6270:488:1:o;6955:219::-;7104:2;7093:9;7086:21;7067:4;7124:44;7164:2;7153:9;7149:18;7141:6;7124:44;:::i;8403:414::-;8605:2;8587:21;;;8644:2;8624:18;;;8617:30;8683:34;8678:2;8663:18;;8656:62;-1:-1:-1;;;8749:2:1;8734:18;;8727:48;8807:3;8792:19;;8403:414::o;14001:356::-;14203:2;14185:21;;;14222:18;;;14215:30;14281:34;14276:2;14261:18;;14254:62;14348:2;14333:18;;14001:356::o;15180:413::-;15382:2;15364:21;;;15421:2;15401:18;;;15394:30;15460:34;15455:2;15440:18;;15433:62;-1:-1:-1;;;15526:2:1;15511:18;;15504:47;15583:3;15568:19;;15180:413::o;16533:128::-;16573:3;16604:1;16600:6;16597:1;16594:13;16591:39;;;16610:18;;:::i;:::-;-1:-1:-1;16646:9:1;;16533:128::o;16666:120::-;16706:1;16732;16722:35;;16737:18;;:::i;:::-;-1:-1:-1;16771:9:1;;16666:120::o;16791:125::-;16831:4;16859:1;16856;16853:8;16850:34;;;16864:18;;:::i;:::-;-1:-1:-1;16901:9:1;;16791:125::o;16921:258::-;16993:1;17003:113;17017:6;17014:1;17011:13;17003:113;;;17093:11;;;17087:18;17074:11;;;17067:39;17039:2;17032:10;17003:113;;;17134:6;17131:1;17128:13;17125:48;;;-1:-1:-1;;17169:1:1;17151:16;;17144:27;16921:258::o;17184:380::-;17263:1;17259:12;;;;17306;;;17327:61;;17381:4;17373:6;17369:17;17359:27;;17327:61;17434:2;17426:6;17423:14;17403:18;17400:38;17397:161;;;17480:10;17475:3;17471:20;17468:1;17461:31;17515:4;17512:1;17505:15;17543:4;17540:1;17533:15;17397:161;;17184:380;;;:::o;17569:135::-;17608:3;-1:-1:-1;;17629:17:1;;17626:43;;;17649:18;;:::i;:::-;-1:-1:-1;17696:1:1;17685:13;;17569:135::o;17709:112::-;17741:1;17767;17757:35;;17772:18;;:::i;:::-;-1:-1:-1;17806:9:1;;17709:112::o;17826:127::-;17887:10;17882:3;17878:20;17875:1;17868:31;17918:4;17915:1;17908:15;17942:4;17939:1;17932:15;17958:127;18019:10;18014:3;18010:20;18007:1;18000:31;18050:4;18047:1;18040:15;18074:4;18071:1;18064:15;18090:127;18151:10;18146:3;18142:20;18139:1;18132:31;18182:4;18179:1;18172:15;18206:4;18203:1;18196:15;18222:127;18283:10;18278:3;18274:20;18271:1;18264:31;18314:4;18311:1;18304:15;18338:4;18335:1;18328:15;18354:127;18415:10;18410:3;18406:20;18403:1;18396:31;18446:4;18443:1;18436:15;18470:4;18467:1;18460:15;18486:131;-1:-1:-1;;;;;18561:31:1;;18551:42;;18541:70;;18607:1;18604;18597:12;18622:118;18708:5;18701:13;18694:21;18687:5;18684:32;18674:60;;18730:1;18727;18720:12;18745:131;-1:-1:-1;;;;;;18819:32:1;;18809:43;;18799:71;;18866:1;18863;18856:12
Swarm Source
ipfs://a9fbdfec5e4de995aa542bf79970ae1c85397f718afbeb9a72a99dba0a4d5c52