ERC-721
Overview
Max Total Supply
288,985 DKDAOI
Holders
2,008
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DKDAOILoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
NFT
Compiler Version
v0.8.6+commit.11564f7e
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-08-11 */ // Dependency file: @openzeppelin/contracts/utils/introspection/IERC165.sol // SPDX-License-Identifier: MIT // 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); } // Dependency file: @openzeppelin/contracts/token/ERC721/IERC721.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @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; } // Dependency file: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // Dependency file: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; /** * @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); } // Dependency file: @openzeppelin/contracts/utils/Address.sol // 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; 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"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // Dependency file: @openzeppelin/contracts/utils/Context.sol // pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // Dependency file: @openzeppelin/contracts/utils/Strings.sol // pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // Dependency file: @openzeppelin/contracts/utils/introspection/ERC165.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @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; } } // Dependency file: @openzeppelin/contracts/token/ERC721/ERC721.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; // import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; // import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; // import "@openzeppelin/contracts/utils/Address.sol"; // import "@openzeppelin/contracts/utils/Context.sol"; // import "@openzeppelin/contracts/utils/Strings.sol"; // import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { 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 || 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 { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // Dependency file: @openzeppelin/contracts/access/Ownable.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // Dependency file: contracts/interfaces/IRegistry.sol // pragma solidity >=0.8.4 <0.9.0; interface IRegistry { event Registered(bytes32 domain, bytes32 indexed name, address indexed addr); function isExistRecord(bytes32 domain, bytes32 name) external view returns (bool); function set( bytes32 domain, bytes32 name, address addr ) external returns (bool); function batchSet( bytes32[] calldata domains, bytes32[] calldata names, address[] calldata addrs ) external returns (bool); function getAddress(bytes32 domain, bytes32 name) external view returns (address); function getDomainAndName(address addr) external view returns (bytes32, bytes32); } // Dependency file: contracts/libraries/User.sol // pragma solidity >=0.8.4 <0.9.0; // import 'contracts/interfaces/IRegistry.sol'; abstract contract User { // Registry contract IRegistry internal registry; // Active domain bytes32 internal domain; // Allow same domain calls modifier onlyAllowSameDomain(bytes32 name) { require(msg.sender == registry.getAddress(domain, name), 'User: Only allow call from same domain'); _; } // Allow cross domain call modifier onlyAllowCrossDomain(bytes32 fromDomain, bytes32 name) { require(msg.sender == registry.getAddress(fromDomain, name), 'User: Only allow call from allowed cross domain'); _; } // Constructing with registry address and its active domain function _init(address _registry, bytes32 _domain) internal returns (bool) { require(domain == bytes32(0) && address(registry) == address(0), "User: It's only able to set once"); registry = IRegistry(_registry); domain = _domain; return true; } // Get address in the same domain function getAddressSameDomain(bytes32 name) internal view returns (address) { return registry.getAddress(domain, name); } // Return active domain function getDomain() external view returns (bytes32) { return domain; } // Return registry address function getRegistry() external view returns (address) { return address(registry); } } // Root file: contracts/infrastructure/NFT.sol pragma solidity >=0.8.4 <0.9.0; // import '/home/chiro/gits/infrastructure/node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol'; // import '/home/chiro/gits/infrastructure/node_modules/@openzeppelin/contracts/access/Ownable.sol'; // import 'contracts/libraries/User.sol'; /** * Only allow Press to mint new token following domain * Distributor will work with NFT through Press' * Name: NFT * Domain: DKDAO Infrastructure */ contract NFT is User, ERC721('DKDAO Items', 'DKDAOI'), Ownable { string private _uri; uint256 private _supply; // Pass constructor parameter to User constructor(address _registry, bytes32 _domain) { _uri = 'https://metadata.dkdao.network/token/'; _init(_registry, _domain); } // Only press able to mint new item function mint(address to, uint256 tokenId) external onlyAllowSameDomain('Press') returns (bool) { _supply += 1; _mint(to, tokenId); return _exists(tokenId); } // Allow swap to perform transfer function safeTransfer( address from, address to, uint256 tokenId ) external onlyAllowSameDomain('Swap') returns (bool) { _transfer(from, to, tokenId); return true; } // Migrate from the old contract to this contract function migrate(uint256 tokenId) external onlyOwner returns (bool) { address owner = ERC721(0x6ef3C1aA349D621d495BE98C7678Ee49107b7Ec2).ownerOf(tokenId); _mint(owner, tokenId); return true; } // Change the base URI function changeBaseURI(string memory uri_) public onlyOwner returns (bool) { _uri = uri_; return true; } // Get the base URI function _baseURI() internal view override returns (string memory) { return _uri; } // Get total supply function totalSupply() external view returns (uint256) { return _supply; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_registry","type":"address"},{"internalType":"bytes32","name":"_domain","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"changeBaseURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomain","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"migrate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001d6338038062001d63833981016040819052620000349162000291565b604080518082018252600b81526a444b44414f204974656d7360a81b602080830191825283518085019094526006845265444b44414f4960d01b9084015281519192916200008591600291620001eb565b5080516200009b906003906020840190620001eb565b505050620000b8620000b2620000fe60201b60201c565b62000102565b60405180606001604052806025815260200162001d3e602591398051620000e891600991602090910190620001eb565b50620000f5828262000154565b5050506200030a565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001546000901580156200017157506000546001600160a01b0316155b620001c25760405162461bcd60e51b815260206004820181905260248201527f557365723a2049742773206f6e6c792061626c6520746f20736574206f6e6365604482015260640160405180910390fd5b50600080546001600160a01b0384166001600160a01b0319909116179055600181815592915050565b828054620001f990620002cd565b90600052602060002090601f0160209004810192826200021d576000855562000268565b82601f106200023857805160ff191683800117855562000268565b8280016001018555821562000268579182015b82811115620002685782518255916020019190600101906200024b565b50620002769291506200027a565b5090565b5b808211156200027657600081556001016200027b565b60008060408385031215620002a557600080fd5b82516001600160a01b0381168114620002bd57600080fd5b6020939093015192949293505050565b600181811c90821680620002e257607f821691505b602082108114156200030457634e487b7160e01b600052602260045260246000fd5b50919050565b611a24806200031a6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80636352211e116100c3578063b68d18091161007c578063b68d1809146102ab578063b88d4fde146102b3578063c87b56dd146102c6578063d1660f99146102d9578063e985e9c5146102ec578063f2fde38b1461032857600080fd5b80636352211e1461025157806370a0823114610264578063715018a6146102775780638da5cb5b1461027f57806395d89b4114610290578063a22cb4651461029857600080fd5b806323b872dd1161011557806323b872dd146101e157806339a0c6f9146101f457806340c10f191461020757806342842e0e1461021a578063454b06081461022d5780635ab1bd531461024057600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806318160ddd146101cf575b600080fd5b61016561016036600461162d565b61033b565b60405190151581526020015b60405180910390f35b61018261038d565b6040516101719190611761565b6101a261019d3660046116b0565b61041f565b6040516001600160a01b039091168152602001610171565b6101cd6101c8366004611601565b6104b9565b005b600a545b604051908152602001610171565b6101cd6101ef36600461150d565b6105cf565b610165610202366004611667565b610600565b610165610215366004611601565b610649565b6101cd61022836600461150d565b61074f565b61016561023b3660046116b0565b61076a565b6000546001600160a01b03166101a2565b6101a261025f3660046116b0565b610829565b6101d361027236600461149a565b6108a0565b6101cd610927565b6008546001600160a01b03166101a2565b61018261095d565b6101cd6102a63660046115ce565b61096c565b6001546101d3565b6101cd6102c136600461154e565b610a31565b6101826102d43660046116b0565b610a69565b6101656102e736600461150d565b610b44565b6101656102fa3660046114d4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101cd61033636600461149a565b610c19565b60006001600160e01b031982166380ac58cd60e01b148061036c57506001600160e01b03198216635b5e139f60e01b145b8061038757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461039c90611901565b80601f01602080910402602001604051908101604052809291908181526020018280546103c890611901565b80156104155780601f106103ea57610100808354040283529160200191610415565b820191906000526020600020905b8154815290600101906020018083116103f857829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b031661049d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104c482610829565b9050806001600160a01b0316836001600160a01b031614156105325760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610494565b336001600160a01b038216148061054e575061054e81336102fa565b6105c05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610494565b6105ca8383610cb4565b505050565b6105d93382610d22565b6105f55760405162461bcd60e51b815260040161049490611841565b6105ca838383610e15565b6008546000906001600160a01b0316331461062d5760405162461bcd60e51b81526004016104949061180c565b815161064090600990602085019061138b565b50600192915050565b600080546001546040516369d1cb4360e11b8152600481019190915264507265737360d81b60248201819052916001600160a01b03169063d3a396869060440160206040518083038186803b1580156106a157600080fd5b505afa1580156106b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d991906114b7565b6001600160a01b0316336001600160a01b0316146107095760405162461bcd60e51b8152600401610494906117c6565b6001600a600082825461071c9190611892565b9091555061072c90508484610fb5565b6000838152600460205260409020546001600160a01b031615155b949350505050565b6105ca83838360405180602001604052806000815250610a31565b6008546000906001600160a01b031633146107975760405162461bcd60e51b81526004016104949061180c565b6040516331a9108f60e11b815260048101839052600090736ef3c1aa349d621d495be98c7678ee49107b7ec290636352211e9060240160206040518083038186803b1580156107e557600080fd5b505afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d91906114b7565b90506106408184610fb5565b6000818152600460205260408120546001600160a01b0316806103875760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610494565b60006001600160a01b03821661090b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610494565b506001600160a01b031660009081526005602052604090205490565b6008546001600160a01b031633146109515760405162461bcd60e51b81526004016104949061180c565b61095b60006110f7565b565b60606003805461039c90611901565b6001600160a01b0382163314156109c55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610494565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a3b3383610d22565b610a575760405162461bcd60e51b815260040161049490611841565b610a6384848484611149565b50505050565b6000818152600460205260409020546060906001600160a01b0316610ae85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610494565b6000610af261117c565b90506000815111610b125760405180602001604052806000815250610b3d565b80610b1c8461118b565b604051602001610b2d9291906116f5565b6040516020818303038152906040525b9392505050565b600080546001546040516369d1cb4360e11b81526004810191909152630537761760e41b60248201819052916001600160a01b03169063d3a396869060440160206040518083038186803b158015610b9b57600080fd5b505afa158015610baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd391906114b7565b6001600160a01b0316336001600160a01b031614610c035760405162461bcd60e51b8152600401610494906117c6565b610c0e858585610e15565b506001949350505050565b6008546001600160a01b03163314610c435760405162461bcd60e51b81526004016104949061180c565b6001600160a01b038116610ca85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610494565b610cb1816110f7565b50565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ce982610829565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316610d9b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610494565b6000610da683610829565b9050806001600160a01b0316846001600160a01b03161480610de15750836001600160a01b0316610dd68461041f565b6001600160a01b0316145b8061074757506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff16610747565b826001600160a01b0316610e2882610829565b6001600160a01b031614610e905760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610494565b6001600160a01b038216610ef25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610494565b610efd600082610cb4565b6001600160a01b0383166000908152600560205260408120805460019290610f269084906118be565b90915550506001600160a01b0382166000908152600560205260408120805460019290610f54908490611892565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821661100b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610494565b6000818152600460205260409020546001600160a01b0316156110705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610494565b6001600160a01b0382166000908152600560205260408120805460019290611099908490611892565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611154848484610e15565b61116084848484611289565b610a635760405162461bcd60e51b815260040161049490611774565b60606009805461039c90611901565b6060816111af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156111d957806111c38161193c565b91506111d29050600a836118aa565b91506111b3565b60008167ffffffffffffffff8111156111f4576111f46119ad565b6040519080825280601f01601f19166020018201604052801561121e576020820181803683370190505b5090505b8415610747576112336001836118be565b9150611240600a86611957565b61124b906030611892565b60f81b81838151811061126057611260611997565b60200101906001600160f81b031916908160001a905350611282600a866118aa565b9450611222565b60006001600160a01b0384163b15610c0e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112cd903390899088908890600401611724565b602060405180830381600087803b1580156112e757600080fd5b505af1925050508015611317575060408051601f3d908101601f191682019092526113149181019061164a565b60015b611371573d808015611345576040519150601f19603f3d011682016040523d82523d6000602084013e61134a565b606091505b5080516113695760405162461bcd60e51b815260040161049490611774565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610747565b82805461139790611901565b90600052602060002090601f0160209004810192826113b957600085556113ff565b82601f106113d257805160ff19168380011785556113ff565b828001600101855582156113ff579182015b828111156113ff5782518255916020019190600101906113e4565b5061140b92915061140f565b5090565b5b8082111561140b5760008155600101611410565b600067ffffffffffffffff8084111561143f5761143f6119ad565b604051601f8501601f19908116603f01168101908282118183101715611467576114676119ad565b8160405280935085815286868601111561148057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114ac57600080fd5b8135610b3d816119c3565b6000602082840312156114c957600080fd5b8151610b3d816119c3565b600080604083850312156114e757600080fd5b82356114f2816119c3565b91506020830135611502816119c3565b809150509250929050565b60008060006060848603121561152257600080fd5b833561152d816119c3565b9250602084013561153d816119c3565b929592945050506040919091013590565b6000806000806080858703121561156457600080fd5b843561156f816119c3565b9350602085013561157f816119c3565b925060408501359150606085013567ffffffffffffffff8111156115a257600080fd5b8501601f810187136115b357600080fd5b6115c287823560208401611424565b91505092959194509250565b600080604083850312156115e157600080fd5b82356115ec816119c3565b91506020830135801515811461150257600080fd5b6000806040838503121561161457600080fd5b823561161f816119c3565b946020939093013593505050565b60006020828403121561163f57600080fd5b8135610b3d816119d8565b60006020828403121561165c57600080fd5b8151610b3d816119d8565b60006020828403121561167957600080fd5b813567ffffffffffffffff81111561169057600080fd5b8201601f810184136116a157600080fd5b61074784823560208401611424565b6000602082840312156116c257600080fd5b5035919050565b600081518084526116e18160208601602086016118d5565b601f01601f19169290920160200192915050565b600083516117078184602088016118d5565b83519083019061171b8183602088016118d5565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611757908301846116c9565b9695505050505050565b602081526000610b3d60208301846116c9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f557365723a204f6e6c7920616c6c6f772063616c6c2066726f6d2073616d65206040820152653237b6b0b4b760d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156118a5576118a561196b565b500190565b6000826118b9576118b9611981565b500490565b6000828210156118d0576118d061196b565b500390565b60005b838110156118f05781810151838201526020016118d8565b83811115610a635750506000910152565b600181811c9082168061191557607f821691505b6020821081141561193657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119505761195061196b565b5060010190565b60008261196657611966611981565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610cb157600080fd5b6001600160e01b031981168114610cb157600080fdfea2646970667358221220f71397343b06a813cc1da36ecb29455940321a9587c161aba682e2b72cca6e2f64736f6c6343000806003368747470733a2f2f6d657461646174612e646b64616f2e6e6574776f726b2f746f6b656e2f00000000000000000000000036c4c3be384dc26bf810a5f03351d821be1261f2444b44414f20496e667261737472756374757265000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80636352211e116100c3578063b68d18091161007c578063b68d1809146102ab578063b88d4fde146102b3578063c87b56dd146102c6578063d1660f99146102d9578063e985e9c5146102ec578063f2fde38b1461032857600080fd5b80636352211e1461025157806370a0823114610264578063715018a6146102775780638da5cb5b1461027f57806395d89b4114610290578063a22cb4651461029857600080fd5b806323b872dd1161011557806323b872dd146101e157806339a0c6f9146101f457806340c10f191461020757806342842e0e1461021a578063454b06081461022d5780635ab1bd531461024057600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806318160ddd146101cf575b600080fd5b61016561016036600461162d565b61033b565b60405190151581526020015b60405180910390f35b61018261038d565b6040516101719190611761565b6101a261019d3660046116b0565b61041f565b6040516001600160a01b039091168152602001610171565b6101cd6101c8366004611601565b6104b9565b005b600a545b604051908152602001610171565b6101cd6101ef36600461150d565b6105cf565b610165610202366004611667565b610600565b610165610215366004611601565b610649565b6101cd61022836600461150d565b61074f565b61016561023b3660046116b0565b61076a565b6000546001600160a01b03166101a2565b6101a261025f3660046116b0565b610829565b6101d361027236600461149a565b6108a0565b6101cd610927565b6008546001600160a01b03166101a2565b61018261095d565b6101cd6102a63660046115ce565b61096c565b6001546101d3565b6101cd6102c136600461154e565b610a31565b6101826102d43660046116b0565b610a69565b6101656102e736600461150d565b610b44565b6101656102fa3660046114d4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101cd61033636600461149a565b610c19565b60006001600160e01b031982166380ac58cd60e01b148061036c57506001600160e01b03198216635b5e139f60e01b145b8061038757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461039c90611901565b80601f01602080910402602001604051908101604052809291908181526020018280546103c890611901565b80156104155780601f106103ea57610100808354040283529160200191610415565b820191906000526020600020905b8154815290600101906020018083116103f857829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b031661049d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104c482610829565b9050806001600160a01b0316836001600160a01b031614156105325760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610494565b336001600160a01b038216148061054e575061054e81336102fa565b6105c05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610494565b6105ca8383610cb4565b505050565b6105d93382610d22565b6105f55760405162461bcd60e51b815260040161049490611841565b6105ca838383610e15565b6008546000906001600160a01b0316331461062d5760405162461bcd60e51b81526004016104949061180c565b815161064090600990602085019061138b565b50600192915050565b600080546001546040516369d1cb4360e11b8152600481019190915264507265737360d81b60248201819052916001600160a01b03169063d3a396869060440160206040518083038186803b1580156106a157600080fd5b505afa1580156106b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d991906114b7565b6001600160a01b0316336001600160a01b0316146107095760405162461bcd60e51b8152600401610494906117c6565b6001600a600082825461071c9190611892565b9091555061072c90508484610fb5565b6000838152600460205260409020546001600160a01b031615155b949350505050565b6105ca83838360405180602001604052806000815250610a31565b6008546000906001600160a01b031633146107975760405162461bcd60e51b81526004016104949061180c565b6040516331a9108f60e11b815260048101839052600090736ef3c1aa349d621d495be98c7678ee49107b7ec290636352211e9060240160206040518083038186803b1580156107e557600080fd5b505afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d91906114b7565b90506106408184610fb5565b6000818152600460205260408120546001600160a01b0316806103875760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610494565b60006001600160a01b03821661090b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610494565b506001600160a01b031660009081526005602052604090205490565b6008546001600160a01b031633146109515760405162461bcd60e51b81526004016104949061180c565b61095b60006110f7565b565b60606003805461039c90611901565b6001600160a01b0382163314156109c55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610494565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a3b3383610d22565b610a575760405162461bcd60e51b815260040161049490611841565b610a6384848484611149565b50505050565b6000818152600460205260409020546060906001600160a01b0316610ae85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610494565b6000610af261117c565b90506000815111610b125760405180602001604052806000815250610b3d565b80610b1c8461118b565b604051602001610b2d9291906116f5565b6040516020818303038152906040525b9392505050565b600080546001546040516369d1cb4360e11b81526004810191909152630537761760e41b60248201819052916001600160a01b03169063d3a396869060440160206040518083038186803b158015610b9b57600080fd5b505afa158015610baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd391906114b7565b6001600160a01b0316336001600160a01b031614610c035760405162461bcd60e51b8152600401610494906117c6565b610c0e858585610e15565b506001949350505050565b6008546001600160a01b03163314610c435760405162461bcd60e51b81526004016104949061180c565b6001600160a01b038116610ca85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610494565b610cb1816110f7565b50565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ce982610829565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316610d9b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610494565b6000610da683610829565b9050806001600160a01b0316846001600160a01b03161480610de15750836001600160a01b0316610dd68461041f565b6001600160a01b0316145b8061074757506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff16610747565b826001600160a01b0316610e2882610829565b6001600160a01b031614610e905760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610494565b6001600160a01b038216610ef25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610494565b610efd600082610cb4565b6001600160a01b0383166000908152600560205260408120805460019290610f269084906118be565b90915550506001600160a01b0382166000908152600560205260408120805460019290610f54908490611892565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821661100b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610494565b6000818152600460205260409020546001600160a01b0316156110705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610494565b6001600160a01b0382166000908152600560205260408120805460019290611099908490611892565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611154848484610e15565b61116084848484611289565b610a635760405162461bcd60e51b815260040161049490611774565b60606009805461039c90611901565b6060816111af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156111d957806111c38161193c565b91506111d29050600a836118aa565b91506111b3565b60008167ffffffffffffffff8111156111f4576111f46119ad565b6040519080825280601f01601f19166020018201604052801561121e576020820181803683370190505b5090505b8415610747576112336001836118be565b9150611240600a86611957565b61124b906030611892565b60f81b81838151811061126057611260611997565b60200101906001600160f81b031916908160001a905350611282600a866118aa565b9450611222565b60006001600160a01b0384163b15610c0e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112cd903390899088908890600401611724565b602060405180830381600087803b1580156112e757600080fd5b505af1925050508015611317575060408051601f3d908101601f191682019092526113149181019061164a565b60015b611371573d808015611345576040519150601f19603f3d011682016040523d82523d6000602084013e61134a565b606091505b5080516113695760405162461bcd60e51b815260040161049490611774565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610747565b82805461139790611901565b90600052602060002090601f0160209004810192826113b957600085556113ff565b82601f106113d257805160ff19168380011785556113ff565b828001600101855582156113ff579182015b828111156113ff5782518255916020019190600101906113e4565b5061140b92915061140f565b5090565b5b8082111561140b5760008155600101611410565b600067ffffffffffffffff8084111561143f5761143f6119ad565b604051601f8501601f19908116603f01168101908282118183101715611467576114676119ad565b8160405280935085815286868601111561148057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114ac57600080fd5b8135610b3d816119c3565b6000602082840312156114c957600080fd5b8151610b3d816119c3565b600080604083850312156114e757600080fd5b82356114f2816119c3565b91506020830135611502816119c3565b809150509250929050565b60008060006060848603121561152257600080fd5b833561152d816119c3565b9250602084013561153d816119c3565b929592945050506040919091013590565b6000806000806080858703121561156457600080fd5b843561156f816119c3565b9350602085013561157f816119c3565b925060408501359150606085013567ffffffffffffffff8111156115a257600080fd5b8501601f810187136115b357600080fd5b6115c287823560208401611424565b91505092959194509250565b600080604083850312156115e157600080fd5b82356115ec816119c3565b91506020830135801515811461150257600080fd5b6000806040838503121561161457600080fd5b823561161f816119c3565b946020939093013593505050565b60006020828403121561163f57600080fd5b8135610b3d816119d8565b60006020828403121561165c57600080fd5b8151610b3d816119d8565b60006020828403121561167957600080fd5b813567ffffffffffffffff81111561169057600080fd5b8201601f810184136116a157600080fd5b61074784823560208401611424565b6000602082840312156116c257600080fd5b5035919050565b600081518084526116e18160208601602086016118d5565b601f01601f19169290920160200192915050565b600083516117078184602088016118d5565b83519083019061171b8183602088016118d5565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611757908301846116c9565b9695505050505050565b602081526000610b3d60208301846116c9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f557365723a204f6e6c7920616c6c6f772063616c6c2066726f6d2073616d65206040820152653237b6b0b4b760d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156118a5576118a561196b565b500190565b6000826118b9576118b9611981565b500490565b6000828210156118d0576118d061196b565b500390565b60005b838110156118f05781810151838201526020016118d8565b83811115610a635750506000910152565b600181811c9082168061191557607f821691505b6020821081141561193657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119505761195061196b565b5060010190565b60008261196657611966611981565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610cb157600080fd5b6001600160e01b031981168114610cb157600080fdfea2646970667358221220f71397343b06a813cc1da36ecb29455940321a9587c161aba682e2b72cca6e2f64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000036c4c3be384dc26bf810a5f03351d821be1261f2444b44414f20496e667261737472756374757265000000000000000000000000
-----Decoded View---------------
Arg [0] : _registry (address): 0x36c4C3Be384DC26bF810a5f03351d821BE1261f2
Arg [1] : _domain (bytes32): 0x444b44414f20496e667261737472756374757265000000000000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000036c4c3be384dc26bf810a5f03351d821be1261f2
Arg [1] : 444b44414f20496e667261737472756374757265000000000000000000000000
Deployed Bytecode Sourcemap
38390:1414:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21228:305;;;;;;:::i;:::-;;:::i;:::-;;;6299:14:1;;6292:22;6274:41;;6262:2;6247:18;21228:305:0;;;;;;;;22173:100;;;:::i;:::-;;;;;;;:::i;23732:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5597:32:1;;;5579:51;;5567:2;5552:18;23732:221:0;5534:102:1;23255:411:0;;;;;;:::i;:::-;;:::i;:::-;;39719:82;39788:7;;39719:82;;;6472:25:1;;;6460:2;6445:18;39719:82:0;6427:76:1;24622:339:0;;;;;;:::i;:::-;;:::i;39453:117::-;;;;;;:::i;:::-;;:::i;38737:176::-;;;;;;:::i;:::-;;:::i;25032:185::-;;;;;;:::i;:::-;;:::i;39211:210::-;;;;;;:::i;:::-;;:::i;37787:92::-;37833:7;37864:8;-1:-1:-1;;;;;37864:8:0;37787:92;;21867:239;;;;;;:::i;:::-;;:::i;21597:208::-;;;;;;:::i;:::-;;:::i;35074:94::-;;;:::i;34423:87::-;34496:6;;-1:-1:-1;;;;;34496:6:0;34423:87;;22342:104;;;:::i;24025:295::-;;;;;;:::i;:::-;;:::i;37672:79::-;37739:6;;37672:79;;25288:328;;;;;;:::i;:::-;;:::i;22517:334::-;;;;;;:::i;:::-;;:::i;38956:196::-;;;;;;:::i;:::-;;:::i;24391:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;24512:25:0;;;24488:4;24512:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24391:164;35323:192;;;;;;:::i;:::-;;:::i;21228:305::-;21330:4;-1:-1:-1;;;;;;21367:40:0;;-1:-1:-1;;;21367:40:0;;:105;;-1:-1:-1;;;;;;;21424:48:0;;-1:-1:-1;;;21424:48:0;21367:105;:158;;;-1:-1:-1;;;;;;;;;;19386:40:0;;;21489:36;21347:178;21228:305;-1:-1:-1;;21228:305:0:o;22173:100::-;22227:13;22260:5;22253:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22173:100;:::o;23732:221::-;23808:7;27215:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27215:16:0;23828:73;;;;-1:-1:-1;;;23828:73:0;;11556:2:1;23828:73:0;;;11538:21:1;11595:2;11575:18;;;11568:30;11634:34;11614:18;;;11607:62;-1:-1:-1;;;11685:18:1;;;11678:42;11737:19;;23828:73:0;;;;;;;;;-1:-1:-1;23921:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23921:24:0;;23732:221::o;23255:411::-;23336:13;23352:23;23367:7;23352:14;:23::i;:::-;23336:39;;23400:5;-1:-1:-1;;;;;23394:11:0;:2;-1:-1:-1;;;;;23394:11:0;;;23386:57;;;;-1:-1:-1;;;23386:57:0;;13156:2:1;23386:57:0;;;13138:21:1;13195:2;13175:18;;;13168:30;13234:34;13214:18;;;13207:62;-1:-1:-1;;;13285:18:1;;;13278:31;13326:19;;23386:57:0;13128:223:1;23386:57:0;16177:10;-1:-1:-1;;;;;23478:21:0;;;;:62;;-1:-1:-1;23503:37:0;23520:5;16177:10;24391:164;:::i;23503:37::-;23456:168;;;;-1:-1:-1;;;23456:168:0;;9949:2:1;23456:168:0;;;9931:21:1;9988:2;9968:18;;;9961:30;10027:34;10007:18;;;10000:62;10098:26;10078:18;;;10071:54;10142:19;;23456:168:0;9921:246:1;23456:168:0;23637:21;23646:2;23650:7;23637:8;:21::i;:::-;23325:341;23255:411;;:::o;24622:339::-;24817:41;16177:10;24850:7;24817:18;:41::i;:::-;24809:103;;;;-1:-1:-1;;;24809:103:0;;;;;;;:::i;:::-;24925:28;24935:4;24941:2;24945:7;24925:9;:28::i;39453:117::-;34496:6;;39522:4;;-1:-1:-1;;;;;34496:6:0;16177:10;34643:23;34635:68;;;;-1:-1:-1;;;34635:68:0;;;;;;;:::i;:::-;39535:11;;::::1;::::0;:4:::1;::::0;:11:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;39560:4:0::1;::::0;39453:117;-1:-1:-1;;39453:117:0:o;38737:176::-;38827:4;36809:8;;;36829:6;36809:33;;-1:-1:-1;;;36809:33:0;;;;;6682:25:1;;;;-1:-1:-1;;;6723:18:1;;;6716:34;;;36737:162:0;-1:-1:-1;;;;;36809:8:0;;:19;;6655:18:1;;36809:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;36795:47:0;:10;-1:-1:-1;;;;;36795:47:0;;36787:98;;;;-1:-1:-1;;;36787:98:0;;;;;;;:::i;:::-;38851:1:::1;38840:7;;:12;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;38859:18:0::1;::::0;-1:-1:-1;38865:2:0;38869:7;38859:5:::1;:18::i;:::-;27191:4:::0;27215:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27215:16:0;:30;;38891:16:::1;38884:23:::0;38737:176;-1:-1:-1;;;;38737:176:0:o;25032:185::-;25170:39;25187:4;25193:2;25197:7;25170:39;;;;;;;;;;;;:16;:39::i;39211:210::-;34496:6;;39273:4;;-1:-1:-1;;;;;34496:6:0;16177:10;34643:23;34635:68;;;;-1:-1:-1;;;34635:68:0;;;;;;;:::i;:::-;39302:67:::1;::::0;-1:-1:-1;;;39302:67:0;;::::1;::::0;::::1;6472:25:1::0;;;39286:13:0::1;::::0;39309:42:::1;::::0;39302:58:::1;::::0;6445:18:1;;39302:67:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;39286:83;;39376:21;39382:5;39389:7;39376:5;:21::i;21867:239::-:0;21939:7;21975:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21975:16:0;22010:19;22002:73;;;;-1:-1:-1;;;22002:73:0;;10785:2:1;22002:73:0;;;10767:21:1;10824:2;10804:18;;;10797:30;10863:34;10843:18;;;10836:62;-1:-1:-1;;;10914:18:1;;;10907:39;10963:19;;22002:73:0;10757:231:1;21597:208:0;21669:7;-1:-1:-1;;;;;21697:19:0;;21689:74;;;;-1:-1:-1;;;21689:74:0;;10374:2:1;21689:74:0;;;10356:21:1;10413:2;10393:18;;;10386:30;10452:34;10432:18;;;10425:62;-1:-1:-1;;;10503:18:1;;;10496:40;10553:19;;21689:74:0;10346:232:1;21689:74:0;-1:-1:-1;;;;;;21781:16:0;;;;;:9;:16;;;;;;;21597:208::o;35074:94::-;34496:6;;-1:-1:-1;;;;;34496:6:0;16177:10;34643:23;34635:68;;;;-1:-1:-1;;;34635:68:0;;;;;;;:::i;:::-;35139:21:::1;35157:1;35139:9;:21::i;:::-;35074:94::o:0;22342:104::-;22398:13;22431:7;22424:14;;;;;:::i;24025:295::-;-1:-1:-1;;;;;24128:24:0;;16177:10;24128:24;;24120:62;;;;-1:-1:-1;;;24120:62:0;;8775:2:1;24120:62:0;;;8757:21:1;8814:2;8794:18;;;8787:30;8853:27;8833:18;;;8826:55;8898:18;;24120:62:0;8747:175:1;24120:62:0;16177:10;24195:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;24195:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;24195:53:0;;;;;;;;;;24264:48;;6274:41:1;;;24195:42:0;;16177:10;24264:48;;6247:18:1;24264:48:0;;;;;;;24025:295;;:::o;25288:328::-;25463:41;16177:10;25496:7;25463:18;:41::i;:::-;25455:103;;;;-1:-1:-1;;;25455:103:0;;;;;;;:::i;:::-;25569:39;25583:4;25589:2;25593:7;25602:5;25569:13;:39::i;:::-;25288:328;;;;:::o;22517:334::-;27191:4;27215:16;;;:7;:16;;;;;;22590:13;;-1:-1:-1;;;;;27215:16:0;22616:76;;;;-1:-1:-1;;;22616:76:0;;12740:2:1;22616:76:0;;;12722:21:1;12779:2;12759:18;;;12752:30;12818:34;12798:18;;;12791:62;-1:-1:-1;;;12869:18:1;;;12862:45;12924:19;;22616:76:0;12712:237:1;22616:76:0;22705:21;22729:10;:8;:10::i;:::-;22705:34;;22781:1;22763:7;22757:21;:25;:86;;;;;;;;;;;;;;;;;22809:7;22818:18;:7;:16;:18::i;:::-;22792:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22757:86;22750:93;22517:334;-1:-1:-1;;;22517:334:0:o;38956:196::-;39087:4;36809:8;;;36829:6;36809:33;;-1:-1:-1;;;36809:33:0;;;;;6682:25:1;;;;-1:-1:-1;;;6723:18:1;;;6716:34;;;36737:162:0;-1:-1:-1;;;;;36809:8:0;;:19;;6655:18:1;;36809:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;36795:47:0;:10;-1:-1:-1;;;;;36795:47:0;;36787:98;;;;-1:-1:-1;;;36787:98:0;;;;;;;:::i;:::-;39100:28:::1;39110:4;39116:2;39120:7;39100:9;:28::i;:::-;-1:-1:-1::0;39142:4:0::1;::::0;38956:196;-1:-1:-1;;;;38956:196:0:o;35323:192::-;34496:6;;-1:-1:-1;;;;;34496:6:0;16177:10;34643:23;34635:68;;;;-1:-1:-1;;;34635:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35412:22:0;::::1;35404:73;;;::::0;-1:-1:-1;;;35404:73:0;;7606:2:1;35404:73:0::1;::::0;::::1;7588:21:1::0;7645:2;7625:18;;;7618:30;7684:34;7664:18;;;7657:62;-1:-1:-1;;;7735:18:1;;;7728:36;7781:19;;35404:73:0::1;7578:228:1::0;35404:73:0::1;35488:19;35498:8;35488:9;:19::i;:::-;35323:192:::0;:::o;31108:174::-;31183:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31183:29:0;-1:-1:-1;;;;;31183:29:0;;;;;;;;:24;;31237:23;31183:24;31237:14;:23::i;:::-;-1:-1:-1;;;;;31228:46:0;;;;;;;;;;;31108:174;;:::o;27420:348::-;27513:4;27215:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27215:16:0;27530:73;;;;-1:-1:-1;;;27530:73:0;;9536:2:1;27530:73:0;;;9518:21:1;9575:2;9555:18;;;9548:30;9614:34;9594:18;;;9587:62;-1:-1:-1;;;9665:18:1;;;9658:42;9717:19;;27530:73:0;9508:234:1;27530:73:0;27614:13;27630:23;27645:7;27630:14;:23::i;:::-;27614:39;;27683:5;-1:-1:-1;;;;;27672:16:0;:7;-1:-1:-1;;;;;27672:16:0;;:51;;;;27716:7;-1:-1:-1;;;;;27692:31:0;:20;27704:7;27692:11;:20::i;:::-;-1:-1:-1;;;;;27692:31:0;;27672:51;:87;;;-1:-1:-1;;;;;;24512:25:0;;;24488:4;24512:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27727:32;24391:164;30412:578;30571:4;-1:-1:-1;;;;;30544:31:0;:23;30559:7;30544:14;:23::i;:::-;-1:-1:-1;;;;;30544:31:0;;30536:85;;;;-1:-1:-1;;;30536:85:0;;12330:2:1;30536:85:0;;;12312:21:1;12369:2;12349:18;;;12342:30;12408:34;12388:18;;;12381:62;-1:-1:-1;;;12459:18:1;;;12452:39;12508:19;;30536:85:0;12302:231:1;30536:85:0;-1:-1:-1;;;;;30640:16:0;;30632:65;;;;-1:-1:-1;;;30632:65:0;;8370:2:1;30632:65:0;;;8352:21:1;8409:2;8389:18;;;8382:30;8448:34;8428:18;;;8421:62;-1:-1:-1;;;8499:18:1;;;8492:34;8543:19;;30632:65:0;8342:226:1;30632:65:0;30814:29;30831:1;30835:7;30814:8;:29::i;:::-;-1:-1:-1;;;;;30856:15:0;;;;;;:9;:15;;;;;:20;;30875:1;;30856:15;:20;;30875:1;;30856:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30887:13:0;;;;;;:9;:13;;;;;:18;;30904:1;;30887:13;:18;;30904:1;;30887:18;:::i;:::-;;;;-1:-1:-1;;30916:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30916:21:0;-1:-1:-1;;;;;30916:21:0;;;;;;;;;30955:27;;30916:16;;30955:27;;;;;;;30412:578;;;:::o;29104:382::-;-1:-1:-1;;;;;29184:16:0;;29176:61;;;;-1:-1:-1;;;29176:61:0;;11195:2:1;29176:61:0;;;11177:21:1;;;11214:18;;;11207:30;11273:34;11253:18;;;11246:62;11325:18;;29176:61:0;11167:182:1;29176:61:0;27191:4;27215:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27215:16:0;:30;29248:58;;;;-1:-1:-1;;;29248:58:0;;8013:2:1;29248:58:0;;;7995:21:1;8052:2;8032:18;;;8025:30;8091;8071:18;;;8064:58;8139:18;;29248:58:0;7985:178:1;29248:58:0;-1:-1:-1;;;;;29377:13:0;;;;;;:9;:13;;;;;:18;;29394:1;;29377:13;:18;;29394:1;;29377:18;:::i;:::-;;;;-1:-1:-1;;29406:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29406:21:0;-1:-1:-1;;;;;29406:21:0;;;;;;;;29445:33;;29406:16;;;29445:33;;29406:16;;29445:33;29104:382;;:::o;35523:173::-;35598:6;;;-1:-1:-1;;;;;35615:17:0;;;-1:-1:-1;;;;;;35615:17:0;;;;;;;35648:40;;35598:6;;;35615:17;35598:6;;35648:40;;35579:16;;35648:40;35568:128;35523:173;:::o;26498:315::-;26655:28;26665:4;26671:2;26675:7;26655:9;:28::i;:::-;26702:48;26725:4;26731:2;26735:7;26744:5;26702:22;:48::i;:::-;26694:111;;;;-1:-1:-1;;;26694:111:0;;;;;;;:::i;39599:91::-;39651:13;39680:4;39673:11;;;;;:::i;16636:723::-;16692:13;16913:10;16909:53;;-1:-1:-1;;16940:10:0;;;;;;;;;;;;-1:-1:-1;;;16940:10:0;;;;;16636:723::o;16909:53::-;16987:5;16972:12;17028:78;17035:9;;17028:78;;17061:8;;;;:::i;:::-;;-1:-1:-1;17084:10:0;;-1:-1:-1;17092:2:0;17084:10;;:::i;:::-;;;17028:78;;;17116:19;17148:6;17138:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17138:17:0;;17116:39;;17166:154;17173:10;;17166:154;;17200:11;17210:1;17200:11;;:::i;:::-;;-1:-1:-1;17269:10:0;17277:2;17269:5;:10;:::i;:::-;17256:24;;:2;:24;:::i;:::-;17243:39;;17226:6;17233;17226:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;17226:56:0;;;;;;;;-1:-1:-1;17297:11:0;17306:2;17297:11;;:::i;:::-;;;17166:154;;31847:803;32002:4;-1:-1:-1;;;;;32023:13:0;;8668:20;8716:8;32019:624;;32059:72;;-1:-1:-1;;;32059:72:0;;-1:-1:-1;;;;;32059:36:0;;;;;:72;;16177:10;;32110:4;;32116:7;;32125:5;;32059:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32059:72:0;;;;;;;;-1:-1:-1;;32059:72:0;;;;;;;;;;;;:::i;:::-;;;32055:533;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32305:13:0;;32301:272;;32348:60;;-1:-1:-1;;;32348:60:0;;;;;;;:::i;32301:272::-;32523:6;32517:13;32508:6;32504:2;32500:15;32493:38;32055:533;-1:-1:-1;;;;;;32182:55:0;-1:-1:-1;;;32182:55:0;;-1:-1:-1;32175:62:0;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:2;;;778:1;775;768:12;730:2;817:9;804:23;836:31;861:5;836:31;:::i;902:251::-;972:6;1025:2;1013:9;1004:7;1000:23;996:32;993:2;;;1041:1;1038;1031:12;993:2;1073:9;1067:16;1092:31;1117:5;1092:31;:::i;1158:388::-;1226:6;1234;1287:2;1275:9;1266:7;1262:23;1258:32;1255:2;;;1303:1;1300;1293:12;1255:2;1342:9;1329:23;1361:31;1386:5;1361:31;:::i;:::-;1411:5;-1:-1:-1;1468:2:1;1453:18;;1440:32;1481:33;1440:32;1481:33;:::i;:::-;1533:7;1523:17;;;1245:301;;;;;:::o;1551:456::-;1628:6;1636;1644;1697:2;1685:9;1676:7;1672:23;1668:32;1665:2;;;1713:1;1710;1703:12;1665:2;1752:9;1739:23;1771:31;1796:5;1771:31;:::i;:::-;1821:5;-1:-1:-1;1878:2:1;1863:18;;1850:32;1891:33;1850:32;1891:33;:::i;:::-;1655:352;;1943:7;;-1:-1:-1;;;1997:2:1;1982:18;;;;1969:32;;1655:352::o;2012:794::-;2107:6;2115;2123;2131;2184:3;2172:9;2163:7;2159:23;2155:33;2152:2;;;2201:1;2198;2191:12;2152:2;2240:9;2227:23;2259:31;2284:5;2259:31;:::i;:::-;2309:5;-1:-1:-1;2366:2:1;2351:18;;2338:32;2379:33;2338:32;2379:33;:::i;:::-;2431:7;-1:-1:-1;2485:2:1;2470:18;;2457:32;;-1:-1:-1;2540:2:1;2525:18;;2512:32;2567:18;2556:30;;2553:2;;;2599:1;2596;2589:12;2553:2;2622:22;;2675:4;2667:13;;2663:27;-1:-1:-1;2653:2:1;;2704:1;2701;2694:12;2653:2;2727:73;2792:7;2787:2;2774:16;2769:2;2765;2761:11;2727:73;:::i;:::-;2717:83;;;2142:664;;;;;;;:::o;2811:416::-;2876:6;2884;2937:2;2925:9;2916:7;2912:23;2908:32;2905:2;;;2953:1;2950;2943:12;2905:2;2992:9;2979:23;3011:31;3036:5;3011:31;:::i;:::-;3061:5;-1:-1:-1;3118:2:1;3103:18;;3090:32;3160:15;;3153:23;3141:36;;3131:2;;3191:1;3188;3181:12;3232:315;3300:6;3308;3361:2;3349:9;3340:7;3336:23;3332:32;3329:2;;;3377:1;3374;3367:12;3329:2;3416:9;3403:23;3435:31;3460:5;3435:31;:::i;:::-;3485:5;3537:2;3522:18;;;;3509:32;;-1:-1:-1;;;3319:228:1:o;3552:245::-;3610:6;3663:2;3651:9;3642:7;3638:23;3634:32;3631:2;;;3679:1;3676;3669:12;3631:2;3718:9;3705:23;3737:30;3761:5;3737:30;:::i;3802:249::-;3871:6;3924:2;3912:9;3903:7;3899:23;3895:32;3892:2;;;3940:1;3937;3930:12;3892:2;3972:9;3966:16;3991:30;4015:5;3991:30;:::i;4056:450::-;4125:6;4178:2;4166:9;4157:7;4153:23;4149:32;4146:2;;;4194:1;4191;4184:12;4146:2;4234:9;4221:23;4267:18;4259:6;4256:30;4253:2;;;4299:1;4296;4289:12;4253:2;4322:22;;4375:4;4367:13;;4363:27;-1:-1:-1;4353:2:1;;4404:1;4401;4394:12;4353:2;4427:73;4492:7;4487:2;4474:16;4469:2;4465;4461:11;4427:73;:::i;4511:180::-;4570:6;4623:2;4611:9;4602:7;4598:23;4594:32;4591:2;;;4639:1;4636;4629:12;4591:2;-1:-1:-1;4662:23:1;;4581:110;-1:-1:-1;4581:110:1:o;4696:257::-;4737:3;4775:5;4769:12;4802:6;4797:3;4790:19;4818:63;4874:6;4867:4;4862:3;4858:14;4851:4;4844:5;4840:16;4818:63;:::i;:::-;4935:2;4914:15;-1:-1:-1;;4910:29:1;4901:39;;;;4942:4;4897:50;;4745:208;-1:-1:-1;;4745:208:1:o;4958:470::-;5137:3;5175:6;5169:13;5191:53;5237:6;5232:3;5225:4;5217:6;5213:17;5191:53;:::i;:::-;5307:13;;5266:16;;;;5329:57;5307:13;5266:16;5363:4;5351:17;;5329:57;:::i;:::-;5402:20;;5145:283;-1:-1:-1;;;;5145:283:1:o;5641:488::-;-1:-1:-1;;;;;5910:15:1;;;5892:34;;5962:15;;5957:2;5942:18;;5935:43;6009:2;5994:18;;5987:34;;;6057:3;6052:2;6037:18;;6030:31;;;5835:4;;6078:45;;6103:19;;6095:6;6078:45;:::i;:::-;6070:53;5844:285;-1:-1:-1;;;;;;5844:285:1:o;6761:219::-;6910:2;6899:9;6892:21;6873:4;6930:44;6970:2;6959:9;6955:18;6947:6;6930:44;:::i;6985:414::-;7187:2;7169:21;;;7226:2;7206:18;;;7199:30;7265:34;7260:2;7245:18;;7238:62;-1:-1:-1;;;7331:2:1;7316:18;;7309:48;7389:3;7374:19;;7159:240::o;8927:402::-;9129:2;9111:21;;;9168:2;9148:18;;;9141:30;9207:34;9202:2;9187:18;;9180:62;-1:-1:-1;;;9273:2:1;9258:18;;9251:36;9319:3;9304:19;;9101:228::o;11767:356::-;11969:2;11951:21;;;11988:18;;;11981:30;12047:34;12042:2;12027:18;;12020:62;12114:2;12099:18;;11941:182::o;13356:413::-;13558:2;13540:21;;;13597:2;13577:18;;;13570:30;13636:34;13631:2;13616:18;;13609:62;-1:-1:-1;;;13702:2:1;13687:18;;13680:47;13759:3;13744:19;;13530:239::o;13956:128::-;13996:3;14027:1;14023:6;14020:1;14017:13;14014:2;;;14033:18;;:::i;:::-;-1:-1:-1;14069:9:1;;14004:80::o;14089:120::-;14129:1;14155;14145:2;;14160:18;;:::i;:::-;-1:-1:-1;14194:9:1;;14135:74::o;14214:125::-;14254:4;14282:1;14279;14276:8;14273:2;;;14287:18;;:::i;:::-;-1:-1:-1;14324:9:1;;14263:76::o;14344:258::-;14416:1;14426:113;14440:6;14437:1;14434:13;14426:113;;;14516:11;;;14510:18;14497:11;;;14490:39;14462:2;14455:10;14426:113;;;14557:6;14554:1;14551:13;14548:2;;;-1:-1:-1;;14592:1:1;14574:16;;14567:27;14397:205::o;14607:380::-;14686:1;14682:12;;;;14729;;;14750:2;;14804:4;14796:6;14792:17;14782:27;;14750:2;14857;14849:6;14846:14;14826:18;14823:38;14820:2;;;14903:10;14898:3;14894:20;14891:1;14884:31;14938:4;14935:1;14928:15;14966:4;14963:1;14956:15;14820:2;;14662:325;;;:::o;14992:135::-;15031:3;-1:-1:-1;;15052:17:1;;15049:2;;;15072:18;;:::i;:::-;-1:-1:-1;15119:1:1;15108:13;;15039:88::o;15132:112::-;15164:1;15190;15180:2;;15195:18;;:::i;:::-;-1:-1:-1;15229:9:1;;15170:74::o;15249:127::-;15310:10;15305:3;15301:20;15298:1;15291:31;15341:4;15338:1;15331:15;15365:4;15362:1;15355:15;15381:127;15442:10;15437:3;15433:20;15430:1;15423:31;15473:4;15470:1;15463:15;15497:4;15494:1;15487:15;15513:127;15574:10;15569:3;15565:20;15562:1;15555:31;15605:4;15602:1;15595:15;15629:4;15626:1;15619:15;15645:127;15706:10;15701:3;15697:20;15694:1;15687:31;15737:4;15734:1;15727:15;15761:4;15758:1;15751:15;15777:131;-1:-1:-1;;;;;15852:31:1;;15842:42;;15832:2;;15898:1;15895;15888:12;15913:131;-1:-1:-1;;;;;;15987:32:1;;15977:43;;15967:2;;16034:1;16031;16024:12
Swarm Source
ipfs://f71397343b06a813cc1da36ecb29455940321a9587c161aba682e2b72cca6e2f
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.