ERC-721
Overview
Max Total Supply
9,417 TANK
Holders
1,973
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
Tank
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at ftmscan.com on 2022-02-12 */ // Sources flattened with hardhat v2.8.3 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File @openzeppelin/contracts/utils/introspection/[email protected] 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/[email protected] 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/access/[email protected] pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping (address => bool) members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override { require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override { require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File @openzeppelin/contracts/utils/structs/[email protected] pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.8.0; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable { function getRoleMember(bytes32 role, uint256 index) external view returns (address); function getRoleMemberCount(bytes32 role) external view returns (uint256); } /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } } // File @openzeppelin/contracts/token/ERC721/[email protected] 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/[email protected] 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/token/ERC721/extensions/[email protected] 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/extensions/[email protected] 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 tokenId); /** * @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/utils/[email protected] pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/token/ERC721/[email protected] 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}. 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 || ERC721.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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public 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 || ERC721.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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @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 Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` 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 { } } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] 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 @openzeppelin/contracts/token/ERC721/extensions/[email protected] pragma solidity ^0.8.0; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } } // File contracts/nft/Tank.sol pragma solidity ^0.8.0; contract Tank is AccessControlEnumerable, ERC721Enumerable, ERC721Burnable { event BaseURIChanged(string uri); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); string private _uri; uint256 public currentId; constructor(string memory name, string memory symbol, string memory uri) ERC721(name, symbol) { _uri = uri; _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msgSender()); } function setBaseURI(string memory uri) public virtual { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Tank: must have admin role to set"); require(bytes(uri).length > 0, "Tank: uri is invalid"); _uri = uri; emit BaseURIChanged(uri); } function mint(address to) public virtual { require(hasRole(MINTER_ROLE, _msgSender()), "Tank: must have minter role to mint"); _mint(to, ++currentId); } function mintBatch(address[] memory accounts) public virtual { require(hasRole(MINTER_ROLE, _msgSender()), "Tank: must have minter role to mint"); uint256 length = accounts.length; require(length > 0, "Tank: array length is invalid"); uint256 id = currentId; for (uint256 i = 0; i < length; i++) { _mint(accounts[i], ++id); } currentId = id; } function _baseURI() internal view virtual override returns (string memory) { return _uri; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable, ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
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":"uri","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":false,"internalType":"string","name":"uri","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"uri","type":"string"}],"name":"setBaseURI","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200294538038062002945833981016040819052620000349162000380565b8251839083906200004d90600290602085019062000223565b5080516200006390600390602084019062000223565b505081516200007b9150600c90602084019062000223565b5062000089600033620000be565b620000b57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000be565b50505062000464565b620000d582826200010160201b62000e901760201c565b6000828152600160209081526040909120620000fc91839062000e9e62000111821b17901c565b505050565b6200010d828262000131565b5050565b600062000128836001600160a01b038416620001d1565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200010d576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200018d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546200021a575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200012b565b5060006200012b565b828054620002319062000411565b90600052602060002090601f016020900481019282620002555760008555620002a0565b82601f106200027057805160ff1916838001178555620002a0565b82800160010185558215620002a0579182015b82811115620002a057825182559160200191906001019062000283565b50620002ae929150620002b2565b5090565b5b80821115620002ae5760008155600101620002b3565b600082601f830112620002db57600080fd5b81516001600160401b0380821115620002f857620002f86200044e565b604051601f8301601f19908116603f011681019082821181831017156200032357620003236200044e565b816040528381526020925086838588010111156200034057600080fd5b600091505b8382101562000364578582018301518183018401529082019062000345565b83821115620003765760008385830101525b9695505050505050565b6000806000606084860312156200039657600080fd5b83516001600160401b0380821115620003ae57600080fd5b620003bc87838801620002c9565b94506020860151915080821115620003d357600080fd5b620003e187838801620002c9565b93506040860151915080821115620003f857600080fd5b506200040786828701620002c9565b9150509250925092565b600181811c908216806200042657607f821691505b602082108114156200044857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6124d180620004746000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80636a62784211610104578063a22cb465116100a2578063d539139311610071578063d5391393146103f7578063d547741f1461041e578063e00dd16114610431578063e985e9c51461043a57600080fd5b8063a22cb465146103ab578063b88d4fde146103be578063c87b56dd146103d1578063ca15c873146103e457600080fd5b806391d14854116100de57806391d1485414610375578063927f59ba1461038857806395d89b411461039b578063a217fddf146103a357600080fd5b80636a6278421461033c57806370a082311461034f5780639010d07c1461036257600080fd5b80632f2ff15d1161017c57806342966c681161014b57806342966c68146102f05780634f6ccce71461030357806355f804b3146103165780636352211e1461032957600080fd5b80632f2ff15d146102a45780632f745c59146102b757806336568abe146102ca57806342842e0e146102dd57600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806318160ddd1461025c57806323b872dd1461026e578063248a9ca31461028157600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed3660046120f9565b610476565b60405190151581526020015b60405180910390f35b61020f610487565b6040516101fe9190612214565b61022f61022a36600461209b565b610519565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004611fbd565b6105b3565b005b600a545b6040519081526020016101fe565b61025a61027c366004611ec9565b6106c9565b61026061028f36600461209b565b60009081526020819052604090206001015490565b61025a6102b23660046120b4565b6106fb565b6102606102c5366004611fbd565b61071d565b61025a6102d83660046120b4565b6107b3565b61025a6102eb366004611ec9565b6107d5565b61025a6102fe36600461209b565b6107f0565b61026061031136600461209b565b61086a565b61025a610324366004612133565b6108fd565b61022f61033736600461209b565b6109f4565b61025a61034a366004611e7b565b610a6b565b61026061035d366004611e7b565b610ace565b61022f6103703660046120d7565b610b55565b6101f26103833660046120b4565b610b74565b61025a610396366004611fe7565b610b9d565b61020f610c89565b610260600081565b61025a6103b9366004611f81565b610c98565b61025a6103cc366004611f05565b610d5d565b61020f6103df36600461209b565b610d95565b6102606103f236600461209b565b610e6f565b6102607f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61025a61042c3660046120b4565b610e86565b610260600d5481565b6101f2610448366004611e96565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600061048182610eb3565b92915050565b606060028054610496906123ad565b80601f01602080910402602001604051908101604052809291908181526020018280546104c2906123ad565b801561050f5780601f106104e45761010080835404028352916020019161050f565b820191906000526020600020905b8154815290600101906020018083116104f257829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b03166105975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105be826109f4565b9050806001600160a01b0316836001600160a01b0316141561062c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161058e565b336001600160a01b038216148061064857506106488133610448565b6106ba5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161058e565b6106c48383610ed8565b505050565b6106d4335b82610f46565b6106f05760405162461bcd60e51b815260040161058e906122bc565b6106c483838361103d565b61070582826111e8565b60008281526001602052604090206106c49082610e9e565b600061072883610ace565b821061078a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161058e565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6107bd8282611269565b60008281526001602052604090206106c490826112e3565b6106c483838360405180602001604052806000815250610d5d565b6107f9336106ce565b61085e5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b606482015260840161058e565b610867816112f8565b50565b6000610875600a5490565b82106108d85760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161058e565b600a82815481106108eb576108eb612459565b90600052602060002001549050919050565b610908600033610b74565b61095e5760405162461bcd60e51b815260206004820152602160248201527f54616e6b3a206d75737420686176652061646d696e20726f6c6520746f2073656044820152601d60fa1b606482015260840161058e565b60008151116109a65760405162461bcd60e51b815260206004820152601460248201527315185b9ace881d5c9a481a5cc81a5b9d985b1a5960621b604482015260640161058e565b80516109b990600c906020840190611d6e565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040516109e99190612214565b60405180910390a150565b6000818152600460205260408120546001600160a01b0316806104815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161058e565b610a957f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610b74565b610ab15760405162461bcd60e51b815260040161058e90612279565b61086781600d60008154610ac4906123e8565b918290555061139f565b60006001600160a01b038216610b395760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161058e565b506001600160a01b031660009081526005602052604090205490565b6000828152600160205260408120610b6d90836114ed565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b610bc77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610b74565b610be35760405162461bcd60e51b815260040161058e90612279565b805180610c325760405162461bcd60e51b815260206004820152601d60248201527f54616e6b3a206172726179206c656e67746820697320696e76616c6964000000604482015260640161058e565b600d5460005b82811015610c8157610c6f848281518110610c5557610c55612459565b602002602001015183610c67906123e8565b93508361139f565b80610c79816123e8565b915050610c38565b50600d555050565b606060038054610496906123ad565b6001600160a01b038216331415610cf15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161058e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d673383610f46565b610d835760405162461bcd60e51b815260040161058e906122bc565b610d8f848484846114f9565b50505050565b6000818152600460205260409020546060906001600160a01b0316610e145760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161058e565b6000610e1e61152c565b90506000815111610e3e5760405180602001604052806000815250610b6d565b80610e488461153b565b604051602001610e599291906121a8565b6040516020818303038152906040529392505050565b600081815260016020526040812061048190611639565b6107bd8282611643565b610e9a82826116c3565b5050565b6000610b6d836001600160a01b038416611747565b60006001600160e01b0319821663780e9d6360e01b1480610481575061048182611796565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f0d826109f4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316610fbf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161058e565b6000610fca836109f4565b9050806001600160a01b0316846001600160a01b031614806110055750836001600160a01b0316610ffa84610519565b6001600160a01b0316145b8061103557506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611050826109f4565b6001600160a01b0316146110b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161058e565b6001600160a01b03821661111a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161058e565b6111258383836117d6565b611130600082610ed8565b6001600160a01b038316600090815260056020526040812080546001929061115990849061236a565b90915550506001600160a01b038216600090815260056020526040812080546001929061118790849061233e565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082815260208190526040902060010154611205905b33610b74565b610e905760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b606482015260840161058e565b6001600160a01b03811633146112d95760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161058e565b610e9a82826117e1565b6000610b6d836001600160a01b038416611846565b6000611303826109f4565b9050611311816000846117d6565b61131c600083610ed8565b6001600160a01b038116600090815260056020526040812080546001929061134590849061236a565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166113f55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161058e565b6000818152600460205260409020546001600160a01b03161561145a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161058e565b611466600083836117d6565b6001600160a01b038216600090815260056020526040812080546001929061148f90849061233e565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610b6d8383611939565b61150484848461103d565b611510848484846119bf565b610d8f5760405162461bcd60e51b815260040161058e90612227565b6060600c8054610496906123ad565b60608161155f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115895780611573816123e8565b91506115829050600a83612356565b9150611563565b60008167ffffffffffffffff8111156115a4576115a461246f565b6040519080825280601f01601f1916602001820160405280156115ce576020820181803683370190505b5090505b8415611035576115e360018361236a565b91506115f0600a86612403565b6115fb90603061233e565b60f81b81838151811061161057611610612459565b60200101906001600160f81b031916908160001a905350611632600a86612356565b94506115d2565b6000610481825490565b60008281526020819052604090206001015461165e906111ff565b6112d95760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b606482015260840161058e565b6116cd8282610b74565b610e9a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556117033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461178e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610481565b506000610481565b60006001600160e01b031982166380ac58cd60e01b14806117c757506001600160e01b03198216635b5e139f60e01b145b80610481575061048182611acc565b6106c4838383611af1565b6117eb8282610b74565b15610e9a576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000818152600183016020526040812054801561192f57600061186a60018361236a565b855490915060009061187e9060019061236a565b9050600086600001828154811061189757611897612459565b90600052602060002001549050808760000184815481106118ba576118ba612459565b6000918252602090912001556118d183600161233e565b600082815260018901602052604090205586548790806118f3576118f3612443565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610481565b6000915050610481565b815460009082106119975760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161058e565b8260000182815481106119ac576119ac612459565b9060005260206000200154905092915050565b60006001600160a01b0384163b15611ac157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a039033908990889088906004016121d7565b602060405180830381600087803b158015611a1d57600080fd5b505af1925050508015611a4d575060408051601f3d908101601f19168201909252611a4a91810190612116565b60015b611aa7573d808015611a7b576040519150601f19603f3d011682016040523d82523d6000602084013e611a80565b606091505b508051611a9f5760405162461bcd60e51b815260040161058e90612227565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611035565b506001949350505050565b60006001600160e01b03198216635a05180f60e01b1480610481575061048182611ba9565b6001600160a01b038316611b4c57611b4781600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b611b6f565b816001600160a01b0316836001600160a01b031614611b6f57611b6f8382611bde565b6001600160a01b038216611b86576106c481611c7b565b826001600160a01b0316826001600160a01b0316146106c4576106c48282611d2a565b60006001600160e01b03198216637965db0b60e01b148061048157506301ffc9a760e01b6001600160e01b0319831614610481565b60006001611beb84610ace565b611bf5919061236a565b600083815260096020526040902054909150808214611c48576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090611c8d9060019061236a565b6000838152600b6020526040812054600a8054939450909284908110611cb557611cb5612459565b9060005260206000200154905080600a8381548110611cd657611cd6612459565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480611d0e57611d0e612443565b6001900381819060005260206000200160009055905550505050565b6000611d3583610ace565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b828054611d7a906123ad565b90600052602060002090601f016020900481019282611d9c5760008555611de2565b82601f10611db557805160ff1916838001178555611de2565b82800160010185558215611de2579182015b82811115611de2578251825591602001919060010190611dc7565b50611dee929150611df2565b5090565b5b80821115611dee5760008155600101611df3565b600067ffffffffffffffff831115611e2157611e2161246f565b611e34601f8401601f191660200161230d565b9050828152838383011115611e4857600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611e7657600080fd5b919050565b600060208284031215611e8d57600080fd5b610b6d82611e5f565b60008060408385031215611ea957600080fd5b611eb283611e5f565b9150611ec060208401611e5f565b90509250929050565b600080600060608486031215611ede57600080fd5b611ee784611e5f565b9250611ef560208501611e5f565b9150604084013590509250925092565b60008060008060808587031215611f1b57600080fd5b611f2485611e5f565b9350611f3260208601611e5f565b925060408501359150606085013567ffffffffffffffff811115611f5557600080fd5b8501601f81018713611f6657600080fd5b611f7587823560208401611e07565b91505092959194509250565b60008060408385031215611f9457600080fd5b611f9d83611e5f565b915060208301358015158114611fb257600080fd5b809150509250929050565b60008060408385031215611fd057600080fd5b611fd983611e5f565b946020939093013593505050565b60006020808385031215611ffa57600080fd5b823567ffffffffffffffff8082111561201257600080fd5b818501915085601f83011261202657600080fd5b8135818111156120385761203861246f565b8060051b915061204984830161230d565b8181528481019084860184860187018a101561206457600080fd5b600095505b8386101561208e5761207a81611e5f565b835260019590950194918601918601612069565b5098975050505050505050565b6000602082840312156120ad57600080fd5b5035919050565b600080604083850312156120c757600080fd5b82359150611ec060208401611e5f565b600080604083850312156120ea57600080fd5b50508035926020909101359150565b60006020828403121561210b57600080fd5b8135610b6d81612485565b60006020828403121561212857600080fd5b8151610b6d81612485565b60006020828403121561214557600080fd5b813567ffffffffffffffff81111561215c57600080fd5b8201601f8101841361216d57600080fd5b61103584823560208401611e07565b60008151808452612194816020860160208601612381565b601f01601f19169290920160200192915050565b600083516121ba818460208801612381565b8351908301906121ce818360208801612381565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061220a9083018461217c565b9695505050505050565b602081526000610b6d602083018461217c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f54616e6b3a206d7573742068617665206d696e74657220726f6c6520746f206d6040820152621a5b9d60ea1b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156123365761233661246f565b604052919050565b6000821982111561235157612351612417565b500190565b6000826123655761236561242d565b500490565b60008282101561237c5761237c612417565b500390565b60005b8381101561239c578181015183820152602001612384565b83811115610d8f5750506000910152565b600181811c908216806123c157607f821691505b602082108114156123e257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123fc576123fc612417565b5060010190565b6000826124125761241261242d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461086757600080fdfea26469706673582212208bde80ea582988e64c78ff43c37cf61486bdd2be8c0c197890e3cb70dc09e79d64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001054616e6b576172735a6f6e65204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000454414e4b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6d657461646174612e74616e6b776172732e7a6f6e652f74616e6b732f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80636a62784211610104578063a22cb465116100a2578063d539139311610071578063d5391393146103f7578063d547741f1461041e578063e00dd16114610431578063e985e9c51461043a57600080fd5b8063a22cb465146103ab578063b88d4fde146103be578063c87b56dd146103d1578063ca15c873146103e457600080fd5b806391d14854116100de57806391d1485414610375578063927f59ba1461038857806395d89b411461039b578063a217fddf146103a357600080fd5b80636a6278421461033c57806370a082311461034f5780639010d07c1461036257600080fd5b80632f2ff15d1161017c57806342966c681161014b57806342966c68146102f05780634f6ccce71461030357806355f804b3146103165780636352211e1461032957600080fd5b80632f2ff15d146102a45780632f745c59146102b757806336568abe146102ca57806342842e0e146102dd57600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806318160ddd1461025c57806323b872dd1461026e578063248a9ca31461028157600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed3660046120f9565b610476565b60405190151581526020015b60405180910390f35b61020f610487565b6040516101fe9190612214565b61022f61022a36600461209b565b610519565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004611fbd565b6105b3565b005b600a545b6040519081526020016101fe565b61025a61027c366004611ec9565b6106c9565b61026061028f36600461209b565b60009081526020819052604090206001015490565b61025a6102b23660046120b4565b6106fb565b6102606102c5366004611fbd565b61071d565b61025a6102d83660046120b4565b6107b3565b61025a6102eb366004611ec9565b6107d5565b61025a6102fe36600461209b565b6107f0565b61026061031136600461209b565b61086a565b61025a610324366004612133565b6108fd565b61022f61033736600461209b565b6109f4565b61025a61034a366004611e7b565b610a6b565b61026061035d366004611e7b565b610ace565b61022f6103703660046120d7565b610b55565b6101f26103833660046120b4565b610b74565b61025a610396366004611fe7565b610b9d565b61020f610c89565b610260600081565b61025a6103b9366004611f81565b610c98565b61025a6103cc366004611f05565b610d5d565b61020f6103df36600461209b565b610d95565b6102606103f236600461209b565b610e6f565b6102607f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61025a61042c3660046120b4565b610e86565b610260600d5481565b6101f2610448366004611e96565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600061048182610eb3565b92915050565b606060028054610496906123ad565b80601f01602080910402602001604051908101604052809291908181526020018280546104c2906123ad565b801561050f5780601f106104e45761010080835404028352916020019161050f565b820191906000526020600020905b8154815290600101906020018083116104f257829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b03166105975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105be826109f4565b9050806001600160a01b0316836001600160a01b0316141561062c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161058e565b336001600160a01b038216148061064857506106488133610448565b6106ba5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161058e565b6106c48383610ed8565b505050565b6106d4335b82610f46565b6106f05760405162461bcd60e51b815260040161058e906122bc565b6106c483838361103d565b61070582826111e8565b60008281526001602052604090206106c49082610e9e565b600061072883610ace565b821061078a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161058e565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6107bd8282611269565b60008281526001602052604090206106c490826112e3565b6106c483838360405180602001604052806000815250610d5d565b6107f9336106ce565b61085e5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b606482015260840161058e565b610867816112f8565b50565b6000610875600a5490565b82106108d85760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161058e565b600a82815481106108eb576108eb612459565b90600052602060002001549050919050565b610908600033610b74565b61095e5760405162461bcd60e51b815260206004820152602160248201527f54616e6b3a206d75737420686176652061646d696e20726f6c6520746f2073656044820152601d60fa1b606482015260840161058e565b60008151116109a65760405162461bcd60e51b815260206004820152601460248201527315185b9ace881d5c9a481a5cc81a5b9d985b1a5960621b604482015260640161058e565b80516109b990600c906020840190611d6e565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040516109e99190612214565b60405180910390a150565b6000818152600460205260408120546001600160a01b0316806104815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161058e565b610a957f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610b74565b610ab15760405162461bcd60e51b815260040161058e90612279565b61086781600d60008154610ac4906123e8565b918290555061139f565b60006001600160a01b038216610b395760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161058e565b506001600160a01b031660009081526005602052604090205490565b6000828152600160205260408120610b6d90836114ed565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b610bc77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610b74565b610be35760405162461bcd60e51b815260040161058e90612279565b805180610c325760405162461bcd60e51b815260206004820152601d60248201527f54616e6b3a206172726179206c656e67746820697320696e76616c6964000000604482015260640161058e565b600d5460005b82811015610c8157610c6f848281518110610c5557610c55612459565b602002602001015183610c67906123e8565b93508361139f565b80610c79816123e8565b915050610c38565b50600d555050565b606060038054610496906123ad565b6001600160a01b038216331415610cf15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161058e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d673383610f46565b610d835760405162461bcd60e51b815260040161058e906122bc565b610d8f848484846114f9565b50505050565b6000818152600460205260409020546060906001600160a01b0316610e145760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161058e565b6000610e1e61152c565b90506000815111610e3e5760405180602001604052806000815250610b6d565b80610e488461153b565b604051602001610e599291906121a8565b6040516020818303038152906040529392505050565b600081815260016020526040812061048190611639565b6107bd8282611643565b610e9a82826116c3565b5050565b6000610b6d836001600160a01b038416611747565b60006001600160e01b0319821663780e9d6360e01b1480610481575061048182611796565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f0d826109f4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316610fbf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161058e565b6000610fca836109f4565b9050806001600160a01b0316846001600160a01b031614806110055750836001600160a01b0316610ffa84610519565b6001600160a01b0316145b8061103557506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611050826109f4565b6001600160a01b0316146110b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161058e565b6001600160a01b03821661111a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161058e565b6111258383836117d6565b611130600082610ed8565b6001600160a01b038316600090815260056020526040812080546001929061115990849061236a565b90915550506001600160a01b038216600090815260056020526040812080546001929061118790849061233e565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082815260208190526040902060010154611205905b33610b74565b610e905760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b606482015260840161058e565b6001600160a01b03811633146112d95760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161058e565b610e9a82826117e1565b6000610b6d836001600160a01b038416611846565b6000611303826109f4565b9050611311816000846117d6565b61131c600083610ed8565b6001600160a01b038116600090815260056020526040812080546001929061134590849061236a565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166113f55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161058e565b6000818152600460205260409020546001600160a01b03161561145a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161058e565b611466600083836117d6565b6001600160a01b038216600090815260056020526040812080546001929061148f90849061233e565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610b6d8383611939565b61150484848461103d565b611510848484846119bf565b610d8f5760405162461bcd60e51b815260040161058e90612227565b6060600c8054610496906123ad565b60608161155f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115895780611573816123e8565b91506115829050600a83612356565b9150611563565b60008167ffffffffffffffff8111156115a4576115a461246f565b6040519080825280601f01601f1916602001820160405280156115ce576020820181803683370190505b5090505b8415611035576115e360018361236a565b91506115f0600a86612403565b6115fb90603061233e565b60f81b81838151811061161057611610612459565b60200101906001600160f81b031916908160001a905350611632600a86612356565b94506115d2565b6000610481825490565b60008281526020819052604090206001015461165e906111ff565b6112d95760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b606482015260840161058e565b6116cd8282610b74565b610e9a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556117033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461178e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610481565b506000610481565b60006001600160e01b031982166380ac58cd60e01b14806117c757506001600160e01b03198216635b5e139f60e01b145b80610481575061048182611acc565b6106c4838383611af1565b6117eb8282610b74565b15610e9a576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000818152600183016020526040812054801561192f57600061186a60018361236a565b855490915060009061187e9060019061236a565b9050600086600001828154811061189757611897612459565b90600052602060002001549050808760000184815481106118ba576118ba612459565b6000918252602090912001556118d183600161233e565b600082815260018901602052604090205586548790806118f3576118f3612443565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610481565b6000915050610481565b815460009082106119975760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161058e565b8260000182815481106119ac576119ac612459565b9060005260206000200154905092915050565b60006001600160a01b0384163b15611ac157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a039033908990889088906004016121d7565b602060405180830381600087803b158015611a1d57600080fd5b505af1925050508015611a4d575060408051601f3d908101601f19168201909252611a4a91810190612116565b60015b611aa7573d808015611a7b576040519150601f19603f3d011682016040523d82523d6000602084013e611a80565b606091505b508051611a9f5760405162461bcd60e51b815260040161058e90612227565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611035565b506001949350505050565b60006001600160e01b03198216635a05180f60e01b1480610481575061048182611ba9565b6001600160a01b038316611b4c57611b4781600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b611b6f565b816001600160a01b0316836001600160a01b031614611b6f57611b6f8382611bde565b6001600160a01b038216611b86576106c481611c7b565b826001600160a01b0316826001600160a01b0316146106c4576106c48282611d2a565b60006001600160e01b03198216637965db0b60e01b148061048157506301ffc9a760e01b6001600160e01b0319831614610481565b60006001611beb84610ace565b611bf5919061236a565b600083815260096020526040902054909150808214611c48576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090611c8d9060019061236a565b6000838152600b6020526040812054600a8054939450909284908110611cb557611cb5612459565b9060005260206000200154905080600a8381548110611cd657611cd6612459565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480611d0e57611d0e612443565b6001900381819060005260206000200160009055905550505050565b6000611d3583610ace565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b828054611d7a906123ad565b90600052602060002090601f016020900481019282611d9c5760008555611de2565b82601f10611db557805160ff1916838001178555611de2565b82800160010185558215611de2579182015b82811115611de2578251825591602001919060010190611dc7565b50611dee929150611df2565b5090565b5b80821115611dee5760008155600101611df3565b600067ffffffffffffffff831115611e2157611e2161246f565b611e34601f8401601f191660200161230d565b9050828152838383011115611e4857600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611e7657600080fd5b919050565b600060208284031215611e8d57600080fd5b610b6d82611e5f565b60008060408385031215611ea957600080fd5b611eb283611e5f565b9150611ec060208401611e5f565b90509250929050565b600080600060608486031215611ede57600080fd5b611ee784611e5f565b9250611ef560208501611e5f565b9150604084013590509250925092565b60008060008060808587031215611f1b57600080fd5b611f2485611e5f565b9350611f3260208601611e5f565b925060408501359150606085013567ffffffffffffffff811115611f5557600080fd5b8501601f81018713611f6657600080fd5b611f7587823560208401611e07565b91505092959194509250565b60008060408385031215611f9457600080fd5b611f9d83611e5f565b915060208301358015158114611fb257600080fd5b809150509250929050565b60008060408385031215611fd057600080fd5b611fd983611e5f565b946020939093013593505050565b60006020808385031215611ffa57600080fd5b823567ffffffffffffffff8082111561201257600080fd5b818501915085601f83011261202657600080fd5b8135818111156120385761203861246f565b8060051b915061204984830161230d565b8181528481019084860184860187018a101561206457600080fd5b600095505b8386101561208e5761207a81611e5f565b835260019590950194918601918601612069565b5098975050505050505050565b6000602082840312156120ad57600080fd5b5035919050565b600080604083850312156120c757600080fd5b82359150611ec060208401611e5f565b600080604083850312156120ea57600080fd5b50508035926020909101359150565b60006020828403121561210b57600080fd5b8135610b6d81612485565b60006020828403121561212857600080fd5b8151610b6d81612485565b60006020828403121561214557600080fd5b813567ffffffffffffffff81111561215c57600080fd5b8201601f8101841361216d57600080fd5b61103584823560208401611e07565b60008151808452612194816020860160208601612381565b601f01601f19169290920160200192915050565b600083516121ba818460208801612381565b8351908301906121ce818360208801612381565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061220a9083018461217c565b9695505050505050565b602081526000610b6d602083018461217c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f54616e6b3a206d7573742068617665206d696e74657220726f6c6520746f206d6040820152621a5b9d60ea1b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156123365761233661246f565b604052919050565b6000821982111561235157612351612417565b500190565b6000826123655761236561242d565b500490565b60008282101561237c5761237c612417565b500390565b60005b8381101561239c578181015183820152602001612384565b83811115610d8f5750506000910152565b600181811c908216806123c157607f821691505b602082108114156123e257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123fc576123fc612417565b5060010190565b6000826124125761241261242d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461086757600080fdfea26469706673582212208bde80ea582988e64c78ff43c37cf61486bdd2be8c0c197890e3cb70dc09e79d64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001054616e6b576172735a6f6e65204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000454414e4b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6d657461646174612e74616e6b776172732e7a6f6e652f74616e6b732f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): TankWarsZone NFT
Arg [1] : symbol (string): TANK
Arg [2] : uri (string): https://metadata.tankwars.zone/tanks/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 54616e6b576172735a6f6e65204e465400000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 54414e4b00000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [8] : 68747470733a2f2f6d657461646174612e74616e6b776172732e7a6f6e652f74
Arg [9] : 616e6b732f000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
61818:1937:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63546:204;;;;;;:::i;:::-;;:::i;:::-;;;7086:14:1;;7079:22;7061:41;;7049:2;7034:18;63546:204:0;;;;;;;;43093:100;;;:::i;:::-;;;;;;;:::i;44560:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6384:32:1;;;6366:51;;6354:2;6339:18;44560:221:0;6220:203:1;44090:404:0;;;;;;:::i;:::-;;:::i;:::-;;55566:113;55654:10;:17;55566:113;;;7259:25:1;;;7247:2;7232:18;55566:113:0;7113:177:1;45450:305:0;;;;;;:::i;:::-;;:::i;7152:123::-;;;;;;:::i;:::-;7218:7;7245:12;;;;;;;;;;:22;;;;7152:123;22383:165;;;;;;:::i;:::-;;:::i;55234:256::-;;;;;;:::i;:::-;;:::i;22906:174::-;;;;;;:::i;:::-;;:::i;45826:151::-;;;;;;:::i;:::-;;:::i;61501:245::-;;;;;;:::i;:::-;;:::i;55756:233::-;;;;;;:::i;:::-;;:::i;62314:287::-;;;;;;:::i;:::-;;:::i;42787:239::-;;;;;;:::i;:::-;;:::i;62609:177::-;;;;;;:::i;:::-;;:::i;42517:208::-;;;;;;:::i;:::-;;:::i;21838:145::-;;;;;;:::i;:::-;;:::i;6824:139::-;;;;;;:::i;:::-;;:::i;62794:434::-;;;;;;:::i;:::-;;:::i;43262:104::-;;;:::i;5280:49::-;;5325:4;5280:49;;44853:295;;;;;;:::i;:::-;;:::i;46048:285::-;;;;;;:::i;:::-;;:::i;43437:360::-;;;;;;:::i;:::-;;:::i;22157:134::-;;;;;;:::i;:::-;;:::i;61944:62::-;;61982:24;61944:62;;22641:170;;;;;;:::i;:::-;;:::i;62043:24::-;;;;;;45219:164;;;;;;:::i;:::-;-1:-1:-1;;;;;45340:25:0;;;45316:4;45340:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45219:164;63546:204;63682:4;63706:36;63730:11;63706:23;:36::i;:::-;63699:43;63546:204;-1:-1:-1;;63546:204:0:o;43093:100::-;43147:13;43180:5;43173:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43093:100;:::o;44560:221::-;44636:7;47889:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47889:16:0;44656:73;;;;-1:-1:-1;;;44656:73:0;;14033:2:1;44656:73:0;;;14015:21:1;14072:2;14052:18;;;14045:30;14111:34;14091:18;;;14084:62;-1:-1:-1;;;14162:18:1;;;14155:42;14214:19;;44656:73:0;;;;;;;;;-1:-1:-1;44749:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;44749:24:0;;44560:221::o;44090:404::-;44171:13;44187:23;44202:7;44187:14;:23::i;:::-;44171:39;;44235:5;-1:-1:-1;;;;;44229:11:0;:2;-1:-1:-1;;;;;44229:11:0;;;44221:57;;;;-1:-1:-1;;;44221:57:0;;15272:2:1;44221:57:0;;;15254:21:1;15311:2;15291:18;;;15284:30;15350:34;15330:18;;;15323:62;-1:-1:-1;;;15401:18:1;;;15394:31;15442:19;;44221:57:0;15070:397:1;44221:57:0;805:10;-1:-1:-1;;;;;44299:21:0;;;;:69;;-1:-1:-1;44324:44:0;44348:5;805:10;45219:164;:::i;44324:44::-;44291:161;;;;-1:-1:-1;;;44291:161:0;;12068:2:1;44291:161:0;;;12050:21:1;12107:2;12087:18;;;12080:30;12146:34;12126:18;;;12119:62;12217:26;12197:18;;;12190:54;12261:19;;44291:161:0;11866:420:1;44291:161:0;44465:21;44474:2;44478:7;44465:8;:21::i;:::-;44160:334;44090:404;;:::o;45450:305::-;45611:41;805:10;45630:12;45644:7;45611:18;:41::i;:::-;45603:103;;;;-1:-1:-1;;;45603:103:0;;;;;;;:::i;:::-;45719:28;45729:4;45735:2;45739:7;45719:9;:28::i;22383:165::-;22468:30;22484:4;22490:7;22468:15;:30::i;:::-;22509:18;;;;:12;:18;;;;;:31;;22532:7;22509:22;:31::i;55234:256::-;55331:7;55367:23;55384:5;55367:16;:23::i;:::-;55359:5;:31;55351:87;;;;-1:-1:-1;;;55351:87:0;;8540:2:1;55351:87:0;;;8522:21:1;8579:2;8559:18;;;8552:30;8618:34;8598:18;;;8591:62;-1:-1:-1;;;8669:18:1;;;8662:41;8720:19;;55351:87:0;8338:407:1;55351:87:0;-1:-1:-1;;;;;;55456:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;55234:256::o;22906:174::-;22994:33;23013:4;23019:7;22994:18;:33::i;:::-;23038:18;;;;:12;:18;;;;;:34;;23064:7;23038:25;:34::i;45826:151::-;45930:39;45947:4;45953:2;45957:7;45930:39;;;;;;;;;;;;:16;:39::i;61501:245::-;61619:41;805:10;61638:12;725:98;61619:41;61611:102;;;;-1:-1:-1;;;61611:102:0;;16909:2:1;61611:102:0;;;16891:21:1;16948:2;16928:18;;;16921:30;16987:34;16967:18;;;16960:62;-1:-1:-1;;;17038:18:1;;;17031:46;17094:19;;61611:102:0;16707:412:1;61611:102:0;61724:14;61730:7;61724:5;:14::i;:::-;61501:245;:::o;55756:233::-;55831:7;55867:30;55654:10;:17;;55566:113;55867:30;55859:5;:38;55851:95;;;;-1:-1:-1;;;55851:95:0;;16496:2:1;55851:95:0;;;16478:21:1;16535:2;16515:18;;;16508:30;16574:34;16554:18;;;16547:62;-1:-1:-1;;;16625:18:1;;;16618:42;16677:19;;55851:95:0;16294:408:1;55851:95:0;55964:10;55975:5;55964:17;;;;;;;;:::i;:::-;;;;;;;;;55957:24;;55756:233;;;:::o;62314:287::-;62387:41;5325:4;805:10;6824:139;:::i;62387:41::-;62379:87;;;;-1:-1:-1;;;62379:87:0;;9371:2:1;62379:87:0;;;9353:21:1;9410:2;9390:18;;;9383:30;9449:34;9429:18;;;9422:62;-1:-1:-1;;;9500:18:1;;;9493:31;9541:19;;62379:87:0;9169:397:1;62379:87:0;62507:1;62493:3;62487:17;:21;62479:54;;;;-1:-1:-1;;;62479:54:0;;10889:2:1;62479:54:0;;;10871:21:1;10928:2;10908:18;;;10901:30;-1:-1:-1;;;10947:18:1;;;10940:50;11007:18;;62479:54:0;10687:344:1;62479:54:0;62546:10;;;;:4;;:10;;;;;:::i;:::-;;62574:19;62589:3;62574:19;;;;;;:::i;:::-;;;;;;;;62314:287;:::o;42787:239::-;42859:7;42895:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42895:16:0;42930:19;42922:73;;;;-1:-1:-1;;;42922:73:0;;13262:2:1;42922:73:0;;;13244:21:1;13301:2;13281:18;;;13274:30;13340:34;13320:18;;;13313:62;-1:-1:-1;;;13391:18:1;;;13384:39;13440:19;;42922:73:0;13060:405:1;62609:177:0;62669:34;61982:24;805:10;6824:139;:::i;62669:34::-;62661:82;;;;-1:-1:-1;;;62661:82:0;;;;;;;:::i;:::-;62756:22;62762:2;62768:9;;62766:11;;;;;:::i;:::-;;;;;-1:-1:-1;62756:5:0;:22::i;42517:208::-;42589:7;-1:-1:-1;;;;;42617:19:0;;42609:74;;;;-1:-1:-1;;;42609:74:0;;12851:2:1;42609:74:0;;;12833:21:1;12890:2;12870:18;;;12863:30;12929:34;12909:18;;;12902:62;-1:-1:-1;;;12980:18:1;;;12973:40;13030:19;;42609:74:0;12649:406:1;42609:74:0;-1:-1:-1;;;;;;42701:16:0;;;;;:9;:16;;;;;;;42517:208::o;21838:145::-;21920:7;21947:18;;;:12;:18;;;;;:28;;21969:5;21947:21;:28::i;:::-;21940:35;21838:145;-1:-1:-1;;;21838:145:0:o;6824:139::-;6902:4;6926:12;;;;;;;;;;;-1:-1:-1;;;;;6926:29:0;;;;;;;;;;;;;;;6824:139::o;62794:434::-;62874:34;61982:24;805:10;6824:139;:::i;62874:34::-;62866:82;;;;-1:-1:-1;;;62866:82:0;;;;;;;:::i;:::-;62978:15;;63014:10;63006:52;;;;-1:-1:-1;;;63006:52:0;;12493:2:1;63006:52:0;;;12475:21:1;12532:2;12512:18;;;12505:30;12571:31;12551:18;;;12544:59;12620:18;;63006:52:0;12291:353:1;63006:52:0;63084:9;;63071:10;63106:88;63130:6;63126:1;:10;63106:88;;;63158:24;63164:8;63173:1;63164:11;;;;;;;;:::i;:::-;;;;;;;63177:4;;;;:::i;:::-;;;;63158:5;:24::i;:::-;63138:3;;;;:::i;:::-;;;;63106:88;;;-1:-1:-1;63206:9:0;:14;-1:-1:-1;;62794:434:0:o;43262:104::-;43318:13;43351:7;43344:14;;;;;:::i;44853:295::-;-1:-1:-1;;;;;44956:24:0;;805:10;44956:24;;44948:62;;;;-1:-1:-1;;;44948:62:0;;10535:2:1;44948:62:0;;;10517:21:1;10574:2;10554:18;;;10547:30;10613:27;10593:18;;;10586:55;10658:18;;44948:62:0;10333:349:1;44948:62:0;805:10;45023:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;45023:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;45023:53:0;;;;;;;;;;45092:48;;7061:41:1;;;45023:42:0;;805:10;45092:48;;7034:18:1;45092:48:0;;;;;;;44853:295;;:::o;46048:285::-;46180:41;805:10;46213:7;46180:18;:41::i;:::-;46172:103;;;;-1:-1:-1;;;46172:103:0;;;;;;;:::i;:::-;46286:39;46300:4;46306:2;46310:7;46319:5;46286:13;:39::i;:::-;46048:285;;;;:::o;43437:360::-;47865:4;47889:16;;;:7;:16;;;;;;43510:13;;-1:-1:-1;;;;;47889:16:0;43536:76;;;;-1:-1:-1;;;43536:76:0;;14856:2:1;43536:76:0;;;14838:21:1;14895:2;14875:18;;;14868:30;14934:34;14914:18;;;14907:62;-1:-1:-1;;;14985:18:1;;;14978:45;15040:19;;43536:76:0;14654:411:1;43536:76:0;43625:21;43649:10;:8;:10::i;:::-;43625:34;;43701:1;43683:7;43677:21;:25;:112;;;;;;;;;;;;;;;;;43742:7;43751:18;:7;:16;:18::i;:::-;43725:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43670:119;43437:360;-1:-1:-1;;;43437:360:0:o;22157:134::-;22229:7;22256:18;;;:12;:18;;;;;:27;;:25;:27::i;22641:170::-;22727:31;22744:4;22750:7;22727:16;:31::i;9557:112::-;9636:25;9647:4;9653:7;9636:10;:25::i;:::-;9557:112;;:::o;17142:152::-;17212:4;17236:50;17241:3;-1:-1:-1;;;;;17261:23:0;;17236:4;:50::i;54913:237::-;55015:4;-1:-1:-1;;;;;;55039:50:0;;-1:-1:-1;;;55039:50:0;;:103;;;55106:36;55130:11;55106:23;:36::i;51684:174::-;51759:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;51759:29:0;-1:-1:-1;;;;;51759:29:0;;;;;;;;:24;;51813:23;51759:24;51813:14;:23::i;:::-;-1:-1:-1;;;;;51804:46:0;;;;;;;;;;;51684:174;;:::o;48094:355::-;48187:4;47889:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47889:16:0;48204:73;;;;-1:-1:-1;;;48204:73:0;;11238:2:1;48204:73:0;;;11220:21:1;11277:2;11257:18;;;11250:30;11316:34;11296:18;;;11289:62;-1:-1:-1;;;11367:18:1;;;11360:42;11419:19;;48204:73:0;11036:408:1;48204:73:0;48288:13;48304:23;48319:7;48304:14;:23::i;:::-;48288:39;;48357:5;-1:-1:-1;;;;;48346:16:0;:7;-1:-1:-1;;;;;48346:16:0;;:51;;;;48390:7;-1:-1:-1;;;;;48366:31:0;:20;48378:7;48366:11;:20::i;:::-;-1:-1:-1;;;;;48366:31:0;;48346:51;:94;;;-1:-1:-1;;;;;;45340:25:0;;;45316:4;45340:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;48401:39;48338:103;48094:355;-1:-1:-1;;;;48094:355:0:o;51022:544::-;51147:4;-1:-1:-1;;;;;51120:31:0;:23;51135:7;51120:14;:23::i;:::-;-1:-1:-1;;;;;51120:31:0;;51112:85;;;;-1:-1:-1;;;51112:85:0;;14446:2:1;51112:85:0;;;14428:21:1;14485:2;14465:18;;;14458:30;14524:34;14504:18;;;14497:62;-1:-1:-1;;;14575:18:1;;;14568:39;14624:19;;51112:85:0;14244:405:1;51112:85:0;-1:-1:-1;;;;;51216:16:0;;51208:65;;;;-1:-1:-1;;;51208:65:0;;10130:2:1;51208:65:0;;;10112:21:1;10169:2;10149:18;;;10142:30;10208:34;10188:18;;;10181:62;-1:-1:-1;;;10259:18:1;;;10252:34;10303:19;;51208:65:0;9928:400:1;51208:65:0;51286:39;51307:4;51313:2;51317:7;51286:20;:39::i;:::-;51390:29;51407:1;51411:7;51390:8;:29::i;:::-;-1:-1:-1;;;;;51432:15:0;;;;;;:9;:15;;;;;:20;;51451:1;;51432:15;:20;;51451:1;;51432:20;:::i;:::-;;;;-1:-1:-1;;;;;;;51463:13:0;;;;;;:9;:13;;;;;:18;;51480:1;;51463:13;:18;;51480:1;;51463:18;:::i;:::-;;;;-1:-1:-1;;51492:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;51492:21:0;-1:-1:-1;;;;;51492:21:0;;;;;;;;;51531:27;;51492:16;;51531:27;;;;;;;51022:544;;;:::o;7537:232::-;7218:7;7245:12;;;;;;;;;;:22;;;7630:41;;7638:18;805:10;6824:139;:::i;7630:41::-;7622:101;;;;-1:-1:-1;;;7622:101:0;;8124:2:1;7622:101:0;;;8106:21:1;8163:2;8143:18;;;8136:30;8202:34;8182:18;;;8175:62;-1:-1:-1;;;8253:18:1;;;8246:45;8308:19;;7622:101:0;7922:411:1;8756:218:0;-1:-1:-1;;;;;8852:23:0;;805:10;8852:23;8844:83;;;;-1:-1:-1;;;8844:83:0;;17326:2:1;8844:83:0;;;17308:21:1;17365:2;17345:18;;;17338:30;17404:34;17384:18;;;17377:62;-1:-1:-1;;;17455:18:1;;;17448:45;17510:19;;8844:83:0;17124:411:1;8844:83:0;8940:26;8952:4;8958:7;8940:11;:26::i;17470:158::-;17543:4;17567:53;17575:3;-1:-1:-1;;;;;17595:23:0;;17567:7;:53::i;50325:360::-;50385:13;50401:23;50416:7;50401:14;:23::i;:::-;50385:39;;50437:48;50458:5;50473:1;50477:7;50437:20;:48::i;:::-;50526:29;50543:1;50547:7;50526:8;:29::i;:::-;-1:-1:-1;;;;;50568:16:0;;;;;;:9;:16;;;;;:21;;50588:1;;50568:16;:21;;50588:1;;50568:21;:::i;:::-;;;;-1:-1:-1;;50607:16:0;;;;:7;:16;;;;;;50600:23;;-1:-1:-1;;;;;;50600:23:0;;;50641:36;50615:7;;50607:16;-1:-1:-1;;;;;50641:36:0;;;;;50607:16;;50641:36;50374:311;50325:360;:::o;49714:382::-;-1:-1:-1;;;;;49794:16:0;;49786:61;;;;-1:-1:-1;;;49786:61:0;;13672:2:1;49786:61:0;;;13654:21:1;;;13691:18;;;13684:30;13750:34;13730:18;;;13723:62;13802:18;;49786:61:0;13470:356:1;49786:61:0;47865:4;47889:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47889:16:0;:30;49858:58;;;;-1:-1:-1;;;49858:58:0;;9773:2:1;49858:58:0;;;9755:21:1;9812:2;9792:18;;;9785:30;9851;9831:18;;;9824:58;9899:18;;49858:58:0;9571:352:1;49858:58:0;49929:45;49958:1;49962:2;49966:7;49929:20;:45::i;:::-;-1:-1:-1;;;;;49987:13:0;;;;;;:9;:13;;;;;:18;;50004:1;;49987:13;:18;;50004:1;;49987:18;:::i;:::-;;;;-1:-1:-1;;50016:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;50016:21:0;-1:-1:-1;;;;;50016:21:0;;;;;;;;50055:33;;50016:16;;;50055:33;;50016:16;;50055:33;49714:382;;:::o;18428:158::-;18502:7;18553:22;18557:3;18569:5;18553:3;:22::i;47215:272::-;47329:28;47339:4;47345:2;47349:7;47329:9;:28::i;:::-;47376:48;47399:4;47405:2;47409:7;47418:5;47376:22;:48::i;:::-;47368:111;;;;-1:-1:-1;;;47368:111:0;;;;;;;:::i;63236:105::-;63296:13;63329:4;63322:11;;;;;:::i;39060:723::-;39116:13;39337:10;39333:53;;-1:-1:-1;;39364:10:0;;;;;;;;;;;;-1:-1:-1;;;39364:10:0;;;;;39060:723::o;39333:53::-;39411:5;39396:12;39452:78;39459:9;;39452:78;;39485:8;;;;:::i;:::-;;-1:-1:-1;39508:10:0;;-1:-1:-1;39516:2:0;39508:10;;:::i;:::-;;;39452:78;;;39540:19;39572:6;39562:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39562:17:0;;39540:39;;39590:154;39597:10;;39590:154;;39624:11;39634:1;39624:11;;:::i;:::-;;-1:-1:-1;39693:10:0;39701:2;39693:5;:10;:::i;:::-;39680:24;;:2;:24;:::i;:::-;39667:39;;39650:6;39657;39650:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;39650:56:0;;;;;;;;-1:-1:-1;39721:11:0;39730:2;39721:11;;:::i;:::-;;;39590:154;;17967:117;18030:7;18057:19;18065:3;14724:18;;14641:109;8014:235;7218:7;7245:12;;;;;;;;;;:22;;;8108:41;;8116:18;7152:123;8108:41;8100:102;;;;-1:-1:-1;;;8100:102:0;;11651:2:1;8100:102:0;;;11633:21:1;11690:2;11670:18;;;11663:30;11729:34;11709:18;;;11702:62;-1:-1:-1;;;11780:18:1;;;11773:46;11836:19;;8100:102:0;11449:412:1;10004:229:0;10079:22;10087:4;10093:7;10079;:22::i;:::-;10074:152;;10118:6;:12;;;;;;;;;;;-1:-1:-1;;;;;10118:29:0;;;;;;;;;:36;;-1:-1:-1;;10118:36:0;10150:4;10118:36;;;10201:12;805:10;;725:98;10201:12;-1:-1:-1;;;;;10174:40:0;10192:7;-1:-1:-1;;;;;10174:40:0;10186:4;10174:40;;;;;;;;;;10004:229;;:::o;12206:414::-;12269:4;14523:19;;;:12;;;:19;;;;;;12286:327;;-1:-1:-1;12329:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;12512:18;;12490:19;;;:12;;;:19;;;;;;:40;;;;12545:11;;12286:327;-1:-1:-1;12596:5:0;12589:12;;42161:292;42263:4;-1:-1:-1;;;;;;42287:40:0;;-1:-1:-1;;;42287:40:0;;:105;;-1:-1:-1;;;;;;;42344:48:0;;-1:-1:-1;;;42344:48:0;42287:105;:158;;;;42409:36;42433:11;42409:23;:36::i;63349:189::-;63485:45;63512:4;63518:2;63522:7;63485:26;:45::i;10241:230::-;10316:22;10324:4;10330:7;10316;:22::i;:::-;10312:152;;;10387:5;10355:12;;;;;;;;;;;-1:-1:-1;;;;;10355:29:0;;;;;;;;;;:37;;-1:-1:-1;;10355:37:0;;;10412:40;805:10;;10355:12;;10412:40;;10387:5;10412:40;10241:230;;:::o;12796:1544::-;12862:4;13001:19;;;:12;;;:19;;;;;;13037:15;;13033:1300;;13399:21;13423:14;13436:1;13423:10;:14;:::i;:::-;13472:18;;13399:38;;-1:-1:-1;13452:17:0;;13472:22;;13493:1;;13472:22;:::i;:::-;13452:42;;13739:17;13759:3;:11;;13771:9;13759:22;;;;;;;;:::i;:::-;;;;;;;;;13739:42;;13905:9;13876:3;:11;;13888:13;13876:26;;;;;;;;:::i;:::-;;;;;;;;;;:38;14008:17;:13;14024:1;14008:17;:::i;:::-;13982:23;;;;:12;;;:23;;;;;:43;14134:17;;13982:3;;14134:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14229:3;:12;;:19;14242:5;14229:19;;;;;;;;;;;14222:26;;;14272:4;14265:11;;;;;;;;13033:1300;14316:5;14309:12;;;;;15094:204;15189:18;;15161:7;;15189:26;-1:-1:-1;15181:73:0;;;;-1:-1:-1;;;15181:73:0;;7721:2:1;15181:73:0;;;7703:21:1;7760:2;7740:18;;;7733:30;7799:34;7779:18;;;7772:62;-1:-1:-1;;;7850:18:1;;;7843:32;7892:19;;15181:73:0;7519:398:1;15181:73:0;15272:3;:11;;15284:5;15272:18;;;;;;;;:::i;:::-;;;;;;;;;15265:25;;15094:204;;;;:::o;52423:843::-;52544:4;-1:-1:-1;;;;;52570:13:0;;31855:20;31894:8;52566:693;;52606:72;;-1:-1:-1;;;52606:72:0;;-1:-1:-1;;;;;52606:36:0;;;;;:72;;805:10;;52657:4;;52663:7;;52672:5;;52606:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52606:72:0;;;;;;;;-1:-1:-1;;52606:72:0;;;;;;;;;;;;:::i;:::-;;;52602:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52852:13:0;;52848:341;;52895:60;;-1:-1:-1;;;52895:60:0;;;;;;;:::i;52848:341::-;53139:6;53133:13;53124:6;53120:2;53116:15;53109:38;52602:602;-1:-1:-1;;;;;;52729:55:0;-1:-1:-1;;;52729:55:0;;-1:-1:-1;52722:62:0;;52566:693;-1:-1:-1;53243:4:0;52423:843;;;;;;:::o;21012:227::-;21097:4;-1:-1:-1;;;;;;21121:57:0;;-1:-1:-1;;;21121:57:0;;:110;;;21195:36;21219:11;21195:23;:36::i;56602:555::-;-1:-1:-1;;;;;56774:18:0;;56770:187;;56809:40;56841:7;57984:10;:17;;57957:24;;;;:15;:24;;;;;:44;;;58012:24;;;;;;;;;;;;57880:164;56809:40;56770:187;;;56879:2;-1:-1:-1;;;;;56871:10:0;:4;-1:-1:-1;;;;;56871:10:0;;56867:90;;56898:47;56931:4;56937:7;56898:32;:47::i;:::-;-1:-1:-1;;;;;56971:16:0;;56967:183;;57004:45;57041:7;57004:36;:45::i;56967:183::-;57077:4;-1:-1:-1;;;;;57071:10:0;:2;-1:-1:-1;;;;;57071:10:0;;57067:83;;57098:40;57126:2;57130:7;57098:27;:40::i;6515:217::-;6600:4;-1:-1:-1;;;;;;6624:47:0;;-1:-1:-1;;;6624:47:0;;:100;;-1:-1:-1;;;;;;;;;;2839:40:0;;;6688:36;2730:157;58671:988;58937:22;58987:1;58962:22;58979:4;58962:16;:22::i;:::-;:26;;;;:::i;:::-;58999:18;59020:26;;;:17;:26;;;;;;58937:51;;-1:-1:-1;59153:28:0;;;59149:328;;-1:-1:-1;;;;;59220:18:0;;59198:19;59220:18;;;:12;:18;;;;;;;;:34;;;;;;;;;59271:30;;;;;;:44;;;59388:30;;:17;:30;;;;;:43;;;59149:328;-1:-1:-1;59573:26:0;;;;:17;:26;;;;;;;;59566:33;;;-1:-1:-1;;;;;59617:18:0;;;;;:12;:18;;;;;:34;;;;;;;59610:41;58671:988::o;59954:1079::-;60232:10;:17;60207:22;;60232:21;;60252:1;;60232:21;:::i;:::-;60264:18;60285:24;;;:15;:24;;;;;;60658:10;:26;;60207:46;;-1:-1:-1;60285:24:0;;60207:46;;60658:26;;;;;;:::i;:::-;;;;;;;;;60636:48;;60722:11;60697:10;60708;60697:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;60802:28;;;:15;:28;;;;;;;:41;;;60974:24;;;;;60967:31;61009:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;60025:1008;;;59954:1079;:::o;57458:221::-;57543:14;57560:20;57577:2;57560:16;:20::i;:::-;-1:-1:-1;;;;;57591:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;57636:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;57458:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:186::-;662:6;715:2;703:9;694:7;690:23;686:32;683:52;;;731:1;728;721:12;683:52;754:29;773:9;754:29;:::i;794:260::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;;1010:38;1044:2;1033:9;1029:18;1010:38;:::i;:::-;1000:48;;794:260;;;;;:::o;1059:328::-;1136:6;1144;1152;1205:2;1193:9;1184:7;1180:23;1176:32;1173:52;;;1221:1;1218;1211:12;1173:52;1244:29;1263:9;1244:29;:::i;:::-;1234:39;;1292:38;1326:2;1315:9;1311:18;1292:38;:::i;:::-;1282:48;;1377:2;1366:9;1362:18;1349:32;1339:42;;1059:328;;;;;:::o;1392:666::-;1487:6;1495;1503;1511;1564:3;1552:9;1543:7;1539:23;1535:33;1532:53;;;1581:1;1578;1571:12;1532:53;1604:29;1623:9;1604:29;:::i;:::-;1594:39;;1652:38;1686:2;1675:9;1671:18;1652:38;:::i;:::-;1642:48;;1737:2;1726:9;1722:18;1709:32;1699:42;;1792:2;1781:9;1777:18;1764:32;1819:18;1811:6;1808:30;1805:50;;;1851:1;1848;1841:12;1805:50;1874:22;;1927:4;1919:13;;1915:27;-1:-1:-1;1905:55:1;;1956:1;1953;1946:12;1905:55;1979:73;2044:7;2039:2;2026:16;2021:2;2017;2013:11;1979:73;:::i;:::-;1969:83;;;1392:666;;;;;;;:::o;2063:347::-;2128:6;2136;2189:2;2177:9;2168:7;2164:23;2160:32;2157:52;;;2205:1;2202;2195:12;2157:52;2228:29;2247:9;2228:29;:::i;:::-;2218:39;;2307:2;2296:9;2292:18;2279:32;2354:5;2347:13;2340:21;2333:5;2330:32;2320:60;;2376:1;2373;2366:12;2320:60;2399:5;2389:15;;;2063:347;;;;;:::o;2415:254::-;2483:6;2491;2544:2;2532:9;2523:7;2519:23;2515:32;2512:52;;;2560:1;2557;2550:12;2512:52;2583:29;2602:9;2583:29;:::i;:::-;2573:39;2659:2;2644:18;;;;2631:32;;-1:-1:-1;;;2415:254:1:o;2674:963::-;2758:6;2789:2;2832;2820:9;2811:7;2807:23;2803:32;2800:52;;;2848:1;2845;2838:12;2800:52;2888:9;2875:23;2917:18;2958:2;2950:6;2947:14;2944:34;;;2974:1;2971;2964:12;2944:34;3012:6;3001:9;2997:22;2987:32;;3057:7;3050:4;3046:2;3042:13;3038:27;3028:55;;3079:1;3076;3069:12;3028:55;3115:2;3102:16;3137:2;3133;3130:10;3127:36;;;3143:18;;:::i;:::-;3189:2;3186:1;3182:10;3172:20;;3212:28;3236:2;3232;3228:11;3212:28;:::i;:::-;3274:15;;;3305:12;;;;3337:11;;;3367;;;3363:20;;3360:33;-1:-1:-1;3357:53:1;;;3406:1;3403;3396:12;3357:53;3428:1;3419:10;;3438:169;3452:2;3449:1;3446:9;3438:169;;;3509:23;3528:3;3509:23;:::i;:::-;3497:36;;3470:1;3463:9;;;;;3553:12;;;;3585;;3438:169;;;-1:-1:-1;3626:5:1;2674:963;-1:-1:-1;;;;;;;;2674:963:1:o;3642:180::-;3701:6;3754:2;3742:9;3733:7;3729:23;3725:32;3722:52;;;3770:1;3767;3760:12;3722:52;-1:-1:-1;3793:23:1;;3642:180;-1:-1:-1;3642:180:1:o;3827:254::-;3895:6;3903;3956:2;3944:9;3935:7;3931:23;3927:32;3924:52;;;3972:1;3969;3962:12;3924:52;4008:9;3995:23;3985:33;;4037:38;4071:2;4060:9;4056:18;4037:38;:::i;4086:248::-;4154:6;4162;4215:2;4203:9;4194:7;4190:23;4186:32;4183:52;;;4231:1;4228;4221:12;4183:52;-1:-1:-1;;4254:23:1;;;4324:2;4309:18;;;4296:32;;-1:-1:-1;4086:248:1:o;4339:245::-;4397:6;4450:2;4438:9;4429:7;4425:23;4421:32;4418:52;;;4466:1;4463;4456:12;4418:52;4505:9;4492:23;4524:30;4548:5;4524:30;:::i;4589:249::-;4658:6;4711:2;4699:9;4690:7;4686:23;4682:32;4679:52;;;4727:1;4724;4717:12;4679:52;4759:9;4753:16;4778:30;4802:5;4778:30;:::i;4843:450::-;4912:6;4965:2;4953:9;4944:7;4940:23;4936:32;4933:52;;;4981:1;4978;4971:12;4933:52;5021:9;5008:23;5054:18;5046:6;5043:30;5040:50;;;5086:1;5083;5076:12;5040:50;5109:22;;5162:4;5154:13;;5150:27;-1:-1:-1;5140:55:1;;5191:1;5188;5181:12;5140:55;5214:73;5279:7;5274:2;5261:16;5256:2;5252;5248:11;5214:73;:::i;5483:257::-;5524:3;5562:5;5556:12;5589:6;5584:3;5577:19;5605:63;5661:6;5654:4;5649:3;5645:14;5638:4;5631:5;5627:16;5605:63;:::i;:::-;5722:2;5701:15;-1:-1:-1;;5697:29:1;5688:39;;;;5729:4;5684:50;;5483:257;-1:-1:-1;;5483:257:1:o;5745:470::-;5924:3;5962:6;5956:13;5978:53;6024:6;6019:3;6012:4;6004:6;6000:17;5978:53;:::i;:::-;6094:13;;6053:16;;;;6116:57;6094:13;6053:16;6150:4;6138:17;;6116:57;:::i;:::-;6189:20;;5745:470;-1:-1:-1;;;;5745:470:1:o;6428:488::-;-1:-1:-1;;;;;6697:15:1;;;6679:34;;6749:15;;6744:2;6729:18;;6722:43;6796:2;6781:18;;6774:34;;;6844:3;6839:2;6824:18;;6817:31;;;6622:4;;6865:45;;6890:19;;6882:6;6865:45;:::i;:::-;6857:53;6428:488;-1:-1:-1;;;;;;6428:488:1:o;7295:219::-;7444:2;7433:9;7426:21;7407:4;7464:44;7504:2;7493:9;7489:18;7481:6;7464:44;:::i;8750:414::-;8952:2;8934:21;;;8991:2;8971:18;;;8964:30;9030:34;9025:2;9010:18;;9003:62;-1:-1:-1;;;9096:2:1;9081:18;;9074:48;9154:3;9139:19;;8750:414::o;15472:399::-;15674:2;15656:21;;;15713:2;15693:18;;;15686:30;15752:34;15747:2;15732:18;;15725:62;-1:-1:-1;;;15818:2:1;15803:18;;15796:33;15861:3;15846:19;;15472:399::o;15876:413::-;16078:2;16060:21;;;16117:2;16097:18;;;16090:30;16156:34;16151:2;16136:18;;16129:62;-1:-1:-1;;;16222:2:1;16207:18;;16200:47;16279:3;16264:19;;15876:413::o;17722:275::-;17793:2;17787:9;17858:2;17839:13;;-1:-1:-1;;17835:27:1;17823:40;;17893:18;17878:34;;17914:22;;;17875:62;17872:88;;;17940:18;;:::i;:::-;17976:2;17969:22;17722:275;;-1:-1:-1;17722:275:1:o;18002:128::-;18042:3;18073:1;18069:6;18066:1;18063:13;18060:39;;;18079:18;;:::i;:::-;-1:-1:-1;18115:9:1;;18002:128::o;18135:120::-;18175:1;18201;18191:35;;18206:18;;:::i;:::-;-1:-1:-1;18240:9:1;;18135:120::o;18260:125::-;18300:4;18328:1;18325;18322:8;18319:34;;;18333:18;;:::i;:::-;-1:-1:-1;18370:9:1;;18260:125::o;18390:258::-;18462:1;18472:113;18486:6;18483:1;18480:13;18472:113;;;18562:11;;;18556:18;18543:11;;;18536:39;18508:2;18501:10;18472:113;;;18603:6;18600:1;18597:13;18594:48;;;-1:-1:-1;;18638:1:1;18620:16;;18613:27;18390:258::o;18653:380::-;18732:1;18728:12;;;;18775;;;18796:61;;18850:4;18842:6;18838:17;18828:27;;18796:61;18903:2;18895:6;18892:14;18872:18;18869:38;18866:161;;;18949:10;18944:3;18940:20;18937:1;18930:31;18984:4;18981:1;18974:15;19012:4;19009:1;19002:15;18866:161;;18653:380;;;:::o;19038:135::-;19077:3;-1:-1:-1;;19098:17:1;;19095:43;;;19118:18;;:::i;:::-;-1:-1:-1;19165:1:1;19154:13;;19038:135::o;19178:112::-;19210:1;19236;19226:35;;19241:18;;:::i;:::-;-1:-1:-1;19275:9:1;;19178:112::o;19295:127::-;19356:10;19351:3;19347:20;19344:1;19337:31;19387:4;19384:1;19377:15;19411:4;19408:1;19401:15;19427:127;19488:10;19483:3;19479:20;19476:1;19469:31;19519:4;19516:1;19509:15;19543:4;19540:1;19533:15;19559:127;19620:10;19615:3;19611:20;19608:1;19601:31;19651:4;19648:1;19641:15;19675:4;19672:1;19665:15;19691:127;19752:10;19747:3;19743:20;19740:1;19733:31;19783:4;19780:1;19773:15;19807:4;19804:1;19797:15;19823:127;19884:10;19879:3;19875:20;19872:1;19865:31;19915:4;19912:1;19905:15;19939:4;19936:1;19929:15;19955:131;-1:-1:-1;;;;;;20029:32:1;;20019:43;;20009:71;;20076:1;20073;20066:12
Swarm Source
ipfs://8bde80ea582988e64c78ff43c37cf61486bdd2be8c0c197890e3cb70dc09e79d
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.