ERC-721
NFT
Overview
Max Total Supply
1,027 KNIGHTGOLD
Holders
1,015
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 KNIGHTGOLDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KnightsGold
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-01-08 */ /** *Submitted for verification at Etherscan.io on 2021-12-08 */ /** *Submitted for verification at Etherscan.io on 2021-11-24 */ // File: @openzeppelin/contracts/utils/Counters.sol // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // 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); } } // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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); } } // 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); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol 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 "ipfs://QmV9MX8arCviYpY3vf1rFMU6PdHhBsUNJkZpoTFQCtZw5c/token.json"; } /** * @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.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 {} } pragma solidity ^0.8.2; contract KnightsGold is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string _baseUri; uint public price = 0.01 ether; uint public maxFreeMintPerWallet = 1; mapping(address => uint) public addressToFreeMinted; constructor() ERC721("Knights Gold", "KNIGHTGOLD") { } function _baseURI() internal view override returns (string memory) { return _baseUri; } function freeMint() external { require(addressToFreeMinted[msg.sender] < maxFreeMintPerWallet, "Caller already minted for free"); addressToFreeMinted[msg.sender]++; safeMint(msg.sender); } function mint(uint quantity) external payable { require(msg.value >= price * quantity, "ether send is under price"); for (uint i = 0; i < quantity; i++) { safeMint(msg.sender); } } function safeMint(address to) internal { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(to, tokenId); } function totalSupply() public view returns (uint) { return _tokenIdCounter.current(); } function withdrawAll() external onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"","type":"address"}],"name":"addressToFreeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052662386f26fc100006009556001600a553480156200002157600080fd5b50604080518082018252600c81526b12db9a59da1d1cc811dbdb1960a21b60208083019182528351808501909452600a84526912d39251d21511d3d31160b21b908401528151919291620000789160009162000107565b5080516200008e90600190602084019062000107565b505050620000ab620000a5620000b160201b60201c565b620000b5565b620001ea565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011590620001ad565b90600052602060002090601f01602090048101928262000139576000855562000184565b82601f106200015457805160ff191683800117855562000184565b8280016001018555821562000184579182015b828111156200018457825182559160200191906001019062000167565b506200019292915062000196565b5090565b5b8082111562000192576000815560010162000197565b600181811c90821680620001c257607f821691505b60208210811415620001e457634e487b7160e01b600052602260045260246000fd5b50919050565b61176580620001fa6000396000f3fe6080604052600436106101405760003560e01c80637fc46189116100b6578063a0712d681161006f578063a0712d6814610364578063a22cb46514610377578063b88d4fde14610397578063c87b56dd146103b7578063e985e9c5146103d7578063f2fde38b1461042057600080fd5b80637fc46189146102c3578063845bb3bb146102f0578063853828b6146103065780638da5cb5b1461031b57806395d89b4114610339578063a035b1fe1461034e57600080fd5b806323b872dd1161010857806323b872dd1461021957806342842e0e146102395780635b70ea9f146102595780636352211e1461026e57806370a082311461028e578063715018a6146102ae57600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101f6575b600080fd5b34801561015157600080fd5b50610165610160366004611441565b610440565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f610492565b604051610171919061151e565b3480156101a857600080fd5b506101bc6101b736600461147b565b610524565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101f46101ef366004611417565b6105be565b005b34801561020257600080fd5b5061020b6106d4565b604051908152602001610171565b34801561022557600080fd5b506101f46102343660046112c3565b6106e4565b34801561024557600080fd5b506101f46102543660046112c3565b610715565b34801561026557600080fd5b506101f4610730565b34801561027a57600080fd5b506101bc61028936600461147b565b6107bb565b34801561029a57600080fd5b5061020b6102a936600461126e565b610832565b3480156102ba57600080fd5b506101f46108b9565b3480156102cf57600080fd5b5061020b6102de36600461126e565b600b6020526000908152604090205481565b3480156102fc57600080fd5b5061020b600a5481565b34801561031257600080fd5b506101f46108ed565b34801561032757600080fd5b506006546001600160a01b03166101bc565b34801561034557600080fd5b5061018f61093b565b34801561035a57600080fd5b5061020b60095481565b6101f461037236600461147b565b61094a565b34801561038357600080fd5b506101f46103923660046113db565b6109d1565b3480156103a357600080fd5b506101f46103b23660046112ff565b610a96565b3480156103c357600080fd5b5061018f6103d236600461147b565b610ace565b3480156103e357600080fd5b506101656103f2366004611290565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561042c57600080fd5b506101f461043b36600461126e565b610b6c565b60006001600160e01b031982166380ac58cd60e01b148061047157506001600160e01b03198216635b5e139f60e01b145b8061048c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546104a190611657565b80601f01602080910402602001604051908101604052809291908181526020018280546104cd90611657565b801561051a5780601f106104ef5761010080835404028352916020019161051a565b820191906000526020600020905b8154815290600101906020018083116104fd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105a25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105c9826107bb565b9050806001600160a01b0316836001600160a01b031614156106375760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610599565b336001600160a01b0382161480610653575061065381336103f2565b6106c55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610599565b6106cf8383610c07565b505050565b60006106df60075490565b905090565b6106ee3382610c75565b61070a5760405162461bcd60e51b8152600401610599906115b8565b6106cf838383610d6c565b6106cf83838360405180602001604052806000815250610a96565b600a54336000908152600b6020526040902054106107905760405162461bcd60e51b815260206004820152601e60248201527f43616c6c657220616c7265616479206d696e74656420666f72206672656500006044820152606401610599565b336000908152600b602052604081208054916107ab83611692565b91905055506107b933610f0c565b565b6000818152600260205260408120546001600160a01b03168061048c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610599565b60006001600160a01b03821661089d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610599565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146108e35760405162461bcd60e51b815260040161059990611583565b6107b96000610f31565b6006546001600160a01b031633146109175760405162461bcd60e51b815260040161059990611583565b60405133904780156108fc02916000818181858888f193505050506107b957600080fd5b6060600180546104a190611657565b806009546109589190611621565b3410156109a75760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e6420697320756e646572207072696365000000000000006044820152606401610599565b60005b818110156109cd576109bb33610f0c565b806109c581611692565b9150506109aa565b5050565b6001600160a01b038216331415610a2a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610599565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610aa03383610c75565b610abc5760405162461bcd60e51b8152600401610599906115b8565b610ac884848484610f83565b50505050565b6000818152600260205260409020546060906001600160a01b0316610b4d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610599565b6040518060600160405280604081526020016116f06040913992915050565b6006546001600160a01b03163314610b965760405162461bcd60e51b815260040161059990611583565b6001600160a01b038116610bfb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610599565b610c0481610f31565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c3c826107bb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610cee5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610599565b6000610cf9836107bb565b9050806001600160a01b0316846001600160a01b03161480610d345750836001600160a01b0316610d2984610524565b6001600160a01b0316145b80610d6457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610d7f826107bb565b6001600160a01b031614610de75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610599565b6001600160a01b038216610e495760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610599565b610e54600082610c07565b6001600160a01b0383166000908152600360205260408120805460019290610e7d908490611640565b90915550506001600160a01b0382166000908152600360205260408120805460019290610eab908490611609565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610f1760075490565b9050610f27600780546001019055565b6109cd8282610fb6565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f8e848484610d6c565b610f9a84848484610fd0565b610ac85760405162461bcd60e51b815260040161059990611531565b6109cd8282604051806020016040528060008152506110dd565b60006001600160a01b0384163b156110d257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110149033908990889088906004016114e1565b602060405180830381600087803b15801561102e57600080fd5b505af192505050801561105e575060408051601f3d908101601f1916820190925261105b9181019061145e565b60015b6110b8573d80801561108c576040519150601f19603f3d011682016040523d82523d6000602084013e611091565b606091505b5080516110b05760405162461bcd60e51b815260040161059990611531565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d64565b506001949350505050565b6110e78383611110565b6110f46000848484610fd0565b6106cf5760405162461bcd60e51b815260040161059990611531565b6001600160a01b0382166111665760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610599565b6000818152600260205260409020546001600160a01b0316156111cb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610599565b6001600160a01b03821660009081526003602052604081208054600192906111f4908490611609565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b038116811461126957600080fd5b919050565b60006020828403121561128057600080fd5b61128982611252565b9392505050565b600080604083850312156112a357600080fd5b6112ac83611252565b91506112ba60208401611252565b90509250929050565b6000806000606084860312156112d857600080fd5b6112e184611252565b92506112ef60208501611252565b9150604084013590509250925092565b6000806000806080858703121561131557600080fd5b61131e85611252565b935061132c60208601611252565b925060408501359150606085013567ffffffffffffffff8082111561135057600080fd5b818701915087601f83011261136457600080fd5b813581811115611376576113766116c3565b604051601f8201601f19908116603f0116810190838211818310171561139e5761139e6116c3565b816040528281528a60208487010111156113b757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156113ee57600080fd5b6113f783611252565b91506020830135801515811461140c57600080fd5b809150509250929050565b6000806040838503121561142a57600080fd5b61143383611252565b946020939093013593505050565b60006020828403121561145357600080fd5b8135611289816116d9565b60006020828403121561147057600080fd5b8151611289816116d9565b60006020828403121561148d57600080fd5b5035919050565b6000815180845260005b818110156114ba5760208185018101518683018201520161149e565b818111156114cc576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061151490830184611494565b9695505050505050565b6020815260006112896020830184611494565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561161c5761161c6116ad565b500190565b600081600019048311821515161561163b5761163b6116ad565b500290565b600082821015611652576116526116ad565b500390565b600181811c9082168061166b57607f821691505b6020821081141561168c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116a6576116a66116ad565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c0457600080fdfe697066733a2f2f516d56394d583861724376695970593376663172464d5536506448684273554e4a6b5a706f54465143745a7735632f746f6b656e2e6a736f6ea26469706673582212203ae784e358e3c31bdc7d5abeac2e7cfcd05cf4d2d43dd04664f92c0f9476550d64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101405760003560e01c80637fc46189116100b6578063a0712d681161006f578063a0712d6814610364578063a22cb46514610377578063b88d4fde14610397578063c87b56dd146103b7578063e985e9c5146103d7578063f2fde38b1461042057600080fd5b80637fc46189146102c3578063845bb3bb146102f0578063853828b6146103065780638da5cb5b1461031b57806395d89b4114610339578063a035b1fe1461034e57600080fd5b806323b872dd1161010857806323b872dd1461021957806342842e0e146102395780635b70ea9f146102595780636352211e1461026e57806370a082311461028e578063715018a6146102ae57600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101f6575b600080fd5b34801561015157600080fd5b50610165610160366004611441565b610440565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f610492565b604051610171919061151e565b3480156101a857600080fd5b506101bc6101b736600461147b565b610524565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101f46101ef366004611417565b6105be565b005b34801561020257600080fd5b5061020b6106d4565b604051908152602001610171565b34801561022557600080fd5b506101f46102343660046112c3565b6106e4565b34801561024557600080fd5b506101f46102543660046112c3565b610715565b34801561026557600080fd5b506101f4610730565b34801561027a57600080fd5b506101bc61028936600461147b565b6107bb565b34801561029a57600080fd5b5061020b6102a936600461126e565b610832565b3480156102ba57600080fd5b506101f46108b9565b3480156102cf57600080fd5b5061020b6102de36600461126e565b600b6020526000908152604090205481565b3480156102fc57600080fd5b5061020b600a5481565b34801561031257600080fd5b506101f46108ed565b34801561032757600080fd5b506006546001600160a01b03166101bc565b34801561034557600080fd5b5061018f61093b565b34801561035a57600080fd5b5061020b60095481565b6101f461037236600461147b565b61094a565b34801561038357600080fd5b506101f46103923660046113db565b6109d1565b3480156103a357600080fd5b506101f46103b23660046112ff565b610a96565b3480156103c357600080fd5b5061018f6103d236600461147b565b610ace565b3480156103e357600080fd5b506101656103f2366004611290565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561042c57600080fd5b506101f461043b36600461126e565b610b6c565b60006001600160e01b031982166380ac58cd60e01b148061047157506001600160e01b03198216635b5e139f60e01b145b8061048c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546104a190611657565b80601f01602080910402602001604051908101604052809291908181526020018280546104cd90611657565b801561051a5780601f106104ef5761010080835404028352916020019161051a565b820191906000526020600020905b8154815290600101906020018083116104fd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105a25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105c9826107bb565b9050806001600160a01b0316836001600160a01b031614156106375760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610599565b336001600160a01b0382161480610653575061065381336103f2565b6106c55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610599565b6106cf8383610c07565b505050565b60006106df60075490565b905090565b6106ee3382610c75565b61070a5760405162461bcd60e51b8152600401610599906115b8565b6106cf838383610d6c565b6106cf83838360405180602001604052806000815250610a96565b600a54336000908152600b6020526040902054106107905760405162461bcd60e51b815260206004820152601e60248201527f43616c6c657220616c7265616479206d696e74656420666f72206672656500006044820152606401610599565b336000908152600b602052604081208054916107ab83611692565b91905055506107b933610f0c565b565b6000818152600260205260408120546001600160a01b03168061048c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610599565b60006001600160a01b03821661089d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610599565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146108e35760405162461bcd60e51b815260040161059990611583565b6107b96000610f31565b6006546001600160a01b031633146109175760405162461bcd60e51b815260040161059990611583565b60405133904780156108fc02916000818181858888f193505050506107b957600080fd5b6060600180546104a190611657565b806009546109589190611621565b3410156109a75760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e6420697320756e646572207072696365000000000000006044820152606401610599565b60005b818110156109cd576109bb33610f0c565b806109c581611692565b9150506109aa565b5050565b6001600160a01b038216331415610a2a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610599565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610aa03383610c75565b610abc5760405162461bcd60e51b8152600401610599906115b8565b610ac884848484610f83565b50505050565b6000818152600260205260409020546060906001600160a01b0316610b4d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610599565b6040518060600160405280604081526020016116f06040913992915050565b6006546001600160a01b03163314610b965760405162461bcd60e51b815260040161059990611583565b6001600160a01b038116610bfb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610599565b610c0481610f31565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c3c826107bb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610cee5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610599565b6000610cf9836107bb565b9050806001600160a01b0316846001600160a01b03161480610d345750836001600160a01b0316610d2984610524565b6001600160a01b0316145b80610d6457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610d7f826107bb565b6001600160a01b031614610de75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610599565b6001600160a01b038216610e495760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610599565b610e54600082610c07565b6001600160a01b0383166000908152600360205260408120805460019290610e7d908490611640565b90915550506001600160a01b0382166000908152600360205260408120805460019290610eab908490611609565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610f1760075490565b9050610f27600780546001019055565b6109cd8282610fb6565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f8e848484610d6c565b610f9a84848484610fd0565b610ac85760405162461bcd60e51b815260040161059990611531565b6109cd8282604051806020016040528060008152506110dd565b60006001600160a01b0384163b156110d257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110149033908990889088906004016114e1565b602060405180830381600087803b15801561102e57600080fd5b505af192505050801561105e575060408051601f3d908101601f1916820190925261105b9181019061145e565b60015b6110b8573d80801561108c576040519150601f19603f3d011682016040523d82523d6000602084013e611091565b606091505b5080516110b05760405162461bcd60e51b815260040161059990611531565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d64565b506001949350505050565b6110e78383611110565b6110f46000848484610fd0565b6106cf5760405162461bcd60e51b815260040161059990611531565b6001600160a01b0382166111665760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610599565b6000818152600260205260409020546001600160a01b0316156111cb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610599565b6001600160a01b03821660009081526003602052604081208054600192906111f4908490611609565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b038116811461126957600080fd5b919050565b60006020828403121561128057600080fd5b61128982611252565b9392505050565b600080604083850312156112a357600080fd5b6112ac83611252565b91506112ba60208401611252565b90509250929050565b6000806000606084860312156112d857600080fd5b6112e184611252565b92506112ef60208501611252565b9150604084013590509250925092565b6000806000806080858703121561131557600080fd5b61131e85611252565b935061132c60208601611252565b925060408501359150606085013567ffffffffffffffff8082111561135057600080fd5b818701915087601f83011261136457600080fd5b813581811115611376576113766116c3565b604051601f8201601f19908116603f0116810190838211818310171561139e5761139e6116c3565b816040528281528a60208487010111156113b757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156113ee57600080fd5b6113f783611252565b91506020830135801515811461140c57600080fd5b809150509250929050565b6000806040838503121561142a57600080fd5b61143383611252565b946020939093013593505050565b60006020828403121561145357600080fd5b8135611289816116d9565b60006020828403121561147057600080fd5b8151611289816116d9565b60006020828403121561148d57600080fd5b5035919050565b6000815180845260005b818110156114ba5760208185018101518683018201520161149e565b818111156114cc576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061151490830184611494565b9695505050505050565b6020815260006112896020830184611494565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561161c5761161c6116ad565b500190565b600081600019048311821515161561163b5761163b6116ad565b500290565b600082821015611652576116526116ad565b500390565b600181811c9082168061166b57607f821691505b6020821081141561168c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116a6576116a66116ad565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c0457600080fdfe697066733a2f2f516d56394d583861724376695970593376663172464d5536506448684273554e4a6b5a706f54465143745a7735632f746f6b656e2e6a736f6ea26469706673582212203ae784e358e3c31bdc7d5abeac2e7cfcd05cf4d2d43dd04664f92c0f9476550d64736f6c63430008070033
Deployed Bytecode Sourcemap
36648:1404:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24512:305;;;;;;;;;;-1:-1:-1;24512:305:0;;;;;:::i;:::-;;:::i;:::-;;;4766:14:1;;4759:22;4741:41;;4729:2;4714:18;24512:305:0;;;;;;;;25457:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26998:221::-;;;;;;;;;;-1:-1:-1;26998:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4064:32:1;;;4046:51;;4034:2;4019:18;26998:221:0;3900:203:1;26521:411:0;;;;;;;;;;-1:-1:-1;26521:411:0;;;;;:::i;:::-;;:::i;:::-;;37817:101;;;;;;;;;;;;;:::i;:::-;;;12258:25:1;;;12246:2;12231:18;37817:101:0;12112:177:1;27888:339:0;;;;;;;;;;-1:-1:-1;27888:339:0;;;;;:::i;:::-;;:::i;28298:185::-;;;;;;;;;;-1:-1:-1;28298:185:0;;;;;:::i;:::-;;:::i;37140:232::-;;;;;;;;;;;;;:::i;25151:239::-;;;;;;;;;;-1:-1:-1;25151:239:0;;;;;:::i;:::-;;:::i;24881:208::-;;;;;;;;;;-1:-1:-1;24881:208:0;;;;;:::i;:::-;;:::i;6147:94::-;;;;;;;;;;;;;:::i;36900:51::-;;;;;;;;;;-1:-1:-1;36900:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;36851:36;;;;;;;;;;;;;;;;37932:117;;;;;;;;;;;;;:::i;5496:87::-;;;;;;;;;;-1:-1:-1;5569:6:0;;-1:-1:-1;;;;;5569:6:0;5496:87;;25626:104;;;;;;;;;;;;;:::i;36814:30::-;;;;;;;;;;;;;;;;37384:241;;;;;;:::i;:::-;;:::i;27291:295::-;;;;;;;;;;-1:-1:-1;27291:295:0;;;;;:::i;:::-;;:::i;28554:328::-;;;;;;;;;;-1:-1:-1;28554:328:0;;;;;:::i;:::-;;:::i;25801:316::-;;;;;;;;;;-1:-1:-1;25801:316:0;;;;;:::i;:::-;;:::i;27657:164::-;;;;;;;;;;-1:-1:-1;27657:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27778:25:0;;;27754:4;27778:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27657:164;6396:192;;;;;;;;;;-1:-1:-1;6396:192:0;;;;;:::i;:::-;;:::i;24512:305::-;24614:4;-1:-1:-1;;;;;;24651:40:0;;-1:-1:-1;;;24651:40:0;;:105;;-1:-1:-1;;;;;;;24708:48:0;;-1:-1:-1;;;24708:48:0;24651:105;:158;;;-1:-1:-1;;;;;;;;;;17591:40:0;;;24773:36;24631:178;24512:305;-1:-1:-1;;24512:305:0:o;25457:100::-;25511:13;25544:5;25537:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25457:100;:::o;26998:221::-;27074:7;30481:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30481:16:0;27094:73;;;;-1:-1:-1;;;27094:73:0;;9894:2:1;27094:73:0;;;9876:21:1;9933:2;9913:18;;;9906:30;9972:34;9952:18;;;9945:62;-1:-1:-1;;;10023:18:1;;;10016:42;10075:19;;27094:73:0;;;;;;;;;-1:-1:-1;27187:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27187:24:0;;26998:221::o;26521:411::-;26602:13;26618:23;26633:7;26618:14;:23::i;:::-;26602:39;;26666:5;-1:-1:-1;;;;;26660:11:0;:2;-1:-1:-1;;;;;26660:11:0;;;26652:57;;;;-1:-1:-1;;;26652:57:0;;11494:2:1;26652:57:0;;;11476:21:1;11533:2;11513:18;;;11506:30;11572:34;11552:18;;;11545:62;-1:-1:-1;;;11623:18:1;;;11616:31;11664:19;;26652:57:0;11292:397:1;26652:57:0;4364:10;-1:-1:-1;;;;;26744:21:0;;;;:62;;-1:-1:-1;26769:37:0;26786:5;4364:10;27657:164;:::i;26769:37::-;26722:168;;;;-1:-1:-1;;;26722:168:0;;7933:2:1;26722:168:0;;;7915:21:1;7972:2;7952:18;;;7945:30;8011:34;7991:18;;;7984:62;8082:26;8062:18;;;8055:54;8126:19;;26722:168:0;7731:420:1;26722:168:0;26903:21;26912:2;26916:7;26903:8;:21::i;:::-;26591:341;26521:411;;:::o;37817:101::-;37861:4;37885:25;:15;1088:14;;996:114;37885:25;37878:32;;37817:101;:::o;27888:339::-;28083:41;4364:10;28116:7;28083:18;:41::i;:::-;28075:103;;;;-1:-1:-1;;;28075:103:0;;;;;;;:::i;:::-;28191:28;28201:4;28207:2;28211:7;28191:9;:28::i;28298:185::-;28436:39;28453:4;28459:2;28463:7;28436:39;;;;;;;;;;;;:16;:39::i;37140:232::-;37224:20;;37210:10;37190:31;;;;:19;:31;;;;;;:54;37182:97;;;;-1:-1:-1;;;37182:97:0;;5219:2:1;37182:97:0;;;5201:21:1;5258:2;5238:18;;;5231:30;5297:32;5277:18;;;5270:60;5347:18;;37182:97:0;5017:354:1;37182:97:0;37320:10;37300:31;;;;:19;:31;;;;;:33;;;;;;:::i;:::-;;;;;;37344:20;37353:10;37344:8;:20::i;:::-;37140:232::o;25151:239::-;25223:7;25259:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25259:16:0;25294:19;25286:73;;;;-1:-1:-1;;;25286:73:0;;9123:2:1;25286:73:0;;;9105:21:1;9162:2;9142:18;;;9135:30;9201:34;9181:18;;;9174:62;-1:-1:-1;;;9252:18:1;;;9245:39;9301:19;;25286:73:0;8921:405:1;24881:208:0;24953:7;-1:-1:-1;;;;;24981:19:0;;24973:74;;;;-1:-1:-1;;;24973:74:0;;8712:2:1;24973:74:0;;;8694:21:1;8751:2;8731:18;;;8724:30;8790:34;8770:18;;;8763:62;-1:-1:-1;;;8841:18:1;;;8834:40;8891:19;;24973:74:0;8510:406:1;24973:74:0;-1:-1:-1;;;;;;25065:16:0;;;;;:9;:16;;;;;;;24881:208::o;6147:94::-;5569:6;;-1:-1:-1;;;;;5569:6:0;4364:10;5716:23;5708:68;;;;-1:-1:-1;;;5708:68:0;;;;;;;:::i;:::-;6212:21:::1;6230:1;6212:9;:21::i;37932:117::-:0;5569:6;;-1:-1:-1;;;;;5569:6:0;4364:10;5716:23;5708:68;;;;-1:-1:-1;;;5708:68:0;;;;;;;:::i;:::-;37993:47:::1;::::0;38001:10:::1;::::0;38018:21:::1;37993:47:::0;::::1;;;::::0;::::1;::::0;;;38018:21;38001:10;37993:47;::::1;;;;;;37985:56;;;::::0;::::1;25626:104:::0;25682:13;25715:7;25708:14;;;;;:::i;37384:241::-;37476:8;37468:5;;:16;;;;:::i;:::-;37455:9;:29;;37447:67;;;;-1:-1:-1;;;37447:67:0;;8358:2:1;37447:67:0;;;8340:21:1;8397:2;8377:18;;;8370:30;8436:27;8416:18;;;8409:55;8481:18;;37447:67:0;8156:349:1;37447:67:0;37540:6;37535:83;37556:8;37552:1;:12;37535:83;;;37586:20;37595:10;37586:8;:20::i;:::-;37566:3;;;;:::i;:::-;;;;37535:83;;;;37384:241;:::o;27291:295::-;-1:-1:-1;;;;;27394:24:0;;4364:10;27394:24;;27386:62;;;;-1:-1:-1;;;27386:62:0;;7166:2:1;27386:62:0;;;7148:21:1;7205:2;7185:18;;;7178:30;7244:27;7224:18;;;7217:55;7289:18;;27386:62:0;6964:349:1;27386:62:0;4364:10;27461:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;27461:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;27461:53:0;;;;;;;;;;27530:48;;4741:41:1;;;27461:42:0;;4364:10;27530:48;;4714:18:1;27530:48:0;;;;;;;27291:295;;:::o;28554:328::-;28729:41;4364:10;28762:7;28729:18;:41::i;:::-;28721:103;;;;-1:-1:-1;;;28721:103:0;;;;;;;:::i;:::-;28835:39;28849:4;28855:2;28859:7;28868:5;28835:13;:39::i;:::-;28554:328;;;;:::o;25801:316::-;30457:4;30481:16;;;:7;:16;;;;;;25874:13;;-1:-1:-1;;;;;30481:16:0;25900:76;;;;-1:-1:-1;;;25900:76:0;;11078:2:1;25900:76:0;;;11060:21:1;11117:2;11097:18;;;11090:30;11156:34;11136:18;;;11129:62;-1:-1:-1;;;11207:18:1;;;11200:45;11262:19;;25900:76:0;10876:411:1;25900:76:0;26036:73;;;;;;;;;;;;;;;;;;25801:316;-1:-1:-1;;25801:316:0:o;6396:192::-;5569:6;;-1:-1:-1;;;;;5569:6:0;4364:10;5716:23;5708:68;;;;-1:-1:-1;;;5708:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6485:22:0;::::1;6477:73;;;::::0;-1:-1:-1;;;6477:73:0;;5997:2:1;6477:73:0::1;::::0;::::1;5979:21:1::0;6036:2;6016:18;;;6009:30;6075:34;6055:18;;;6048:62;-1:-1:-1;;;6126:18:1;;;6119:36;6172:19;;6477:73:0::1;5795:402:1::0;6477:73:0::1;6561:19;6571:8;6561:9;:19::i;:::-;6396:192:::0;:::o;34374:174::-;34449:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;34449:29:0;-1:-1:-1;;;;;34449:29:0;;;;;;;;:24;;34503:23;34449:24;34503:14;:23::i;:::-;-1:-1:-1;;;;;34494:46:0;;;;;;;;;;;34374:174;;:::o;30686:348::-;30779:4;30481:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30481:16:0;30796:73;;;;-1:-1:-1;;;30796:73:0;;7520:2:1;30796:73:0;;;7502:21:1;7559:2;7539:18;;;7532:30;7598:34;7578:18;;;7571:62;-1:-1:-1;;;7649:18:1;;;7642:42;7701:19;;30796:73:0;7318:408:1;30796:73:0;30880:13;30896:23;30911:7;30896:14;:23::i;:::-;30880:39;;30949:5;-1:-1:-1;;;;;30938:16:0;:7;-1:-1:-1;;;;;30938:16:0;;:51;;;;30982:7;-1:-1:-1;;;;;30958:31:0;:20;30970:7;30958:11;:20::i;:::-;-1:-1:-1;;;;;30958:31:0;;30938:51;:87;;;-1:-1:-1;;;;;;27778:25:0;;;27754:4;27778:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;30993:32;30930:96;30686:348;-1:-1:-1;;;;30686:348:0:o;33678:578::-;33837:4;-1:-1:-1;;;;;33810:31:0;:23;33825:7;33810:14;:23::i;:::-;-1:-1:-1;;;;;33810:31:0;;33802:85;;;;-1:-1:-1;;;33802:85:0;;10668:2:1;33802:85:0;;;10650:21:1;10707:2;10687:18;;;10680:30;10746:34;10726:18;;;10719:62;-1:-1:-1;;;10797:18:1;;;10790:39;10846:19;;33802:85:0;10466:405:1;33802:85:0;-1:-1:-1;;;;;33906:16:0;;33898:65;;;;-1:-1:-1;;;33898:65:0;;6761:2:1;33898:65:0;;;6743:21:1;6800:2;6780:18;;;6773:30;6839:34;6819:18;;;6812:62;-1:-1:-1;;;6890:18:1;;;6883:34;6934:19;;33898:65:0;6559:400:1;33898:65:0;34080:29;34097:1;34101:7;34080:8;:29::i;:::-;-1:-1:-1;;;;;34122:15:0;;;;;;:9;:15;;;;;:20;;34141:1;;34122:15;:20;;34141:1;;34122:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34153:13:0;;;;;;:9;:13;;;;;:18;;34170:1;;34153:13;:18;;34170:1;;34153:18;:::i;:::-;;;;-1:-1:-1;;34182:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34182:21:0;-1:-1:-1;;;;;34182:21:0;;;;;;;;;34221:27;;34182:16;;34221:27;;;;;;;33678:578;;;:::o;37633:172::-;37683:15;37701:25;:15;1088:14;;996:114;37701:25;37683:43;;37737:27;:15;1207:19;;1225:1;1207:19;;;1118:127;37737:27;37775:22;37785:2;37789:7;37775:9;:22::i;6596:173::-;6671:6;;;-1:-1:-1;;;;;6688:17:0;;;-1:-1:-1;;;;;;6688:17:0;;;;;;;6721:40;;6671:6;;;6688:17;6671:6;;6721:40;;6652:16;;6721:40;6641:128;6596:173;:::o;29764:315::-;29921:28;29931:4;29937:2;29941:7;29921:9;:28::i;:::-;29968:48;29991:4;29997:2;30001:7;30010:5;29968:22;:48::i;:::-;29960:111;;;;-1:-1:-1;;;29960:111:0;;;;;;;:::i;31376:110::-;31452:26;31462:2;31466:7;31452:26;;;;;;;;;;;;:9;:26::i;35113:799::-;35268:4;-1:-1:-1;;;;;35289:13:0;;7865:20;7913:8;35285:620;;35325:72;;-1:-1:-1;;;35325:72:0;;-1:-1:-1;;;;;35325:36:0;;;;;:72;;4364:10;;35376:4;;35382:7;;35391:5;;35325:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35325:72:0;;;;;;;;-1:-1:-1;;35325:72:0;;;;;;;;;;;;:::i;:::-;;;35321:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35567:13:0;;35563:272;;35610:60;;-1:-1:-1;;;35610:60:0;;;;;;;:::i;35563:272::-;35785:6;35779:13;35770:6;35766:2;35762:15;35755:38;35321:529;-1:-1:-1;;;;;;35448:51:0;-1:-1:-1;;;35448:51:0;;-1:-1:-1;35441:58:0;;35285:620;-1:-1:-1;35889:4:0;35113:799;;;;;;:::o;31713:321::-;31843:18;31849:2;31853:7;31843:5;:18::i;:::-;31894:54;31925:1;31929:2;31933:7;31942:5;31894:22;:54::i;:::-;31872:154;;;;-1:-1:-1;;;31872:154:0;;;;;;;:::i;32370:382::-;-1:-1:-1;;;;;32450:16:0;;32442:61;;;;-1:-1:-1;;;32442:61:0;;9533:2:1;32442:61:0;;;9515:21:1;;;9552:18;;;9545:30;9611:34;9591:18;;;9584:62;9663:18;;32442:61:0;9331:356:1;32442:61:0;30457:4;30481:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30481:16:0;:30;32514:58;;;;-1:-1:-1;;;32514:58:0;;6404:2:1;32514:58:0;;;6386:21:1;6443:2;6423:18;;;6416:30;6482;6462:18;;;6455:58;6530:18;;32514:58:0;6202:352:1;32514:58:0;-1:-1:-1;;;;;32643:13:0;;;;;;:9;:13;;;;;:18;;32660:1;;32643:13;:18;;32660:1;;32643:18;:::i;:::-;;;;-1:-1:-1;;32672:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32672:21:0;-1:-1:-1;;;;;32672:21:0;;;;;;;;32711:33;;32672:16;;;32711:33;;32672:16;;32711:33;32370:382;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;:::-;333:39;192:186;-1:-1:-1;;;192:186:1:o;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:180::-;3298:6;3351:2;3339:9;3330:7;3326:23;3322:32;3319:52;;;3367:1;3364;3357:12;3319:52;-1:-1:-1;3390:23:1;;3239:180;-1:-1:-1;3239:180:1:o;3424:471::-;3465:3;3503:5;3497:12;3530:6;3525:3;3518:19;3555:1;3565:162;3579:6;3576:1;3573:13;3565:162;;;3641:4;3697:13;;;3693:22;;3687:29;3669:11;;;3665:20;;3658:59;3594:12;3565:162;;;3745:6;3742:1;3739:13;3736:87;;;3811:1;3804:4;3795:6;3790:3;3786:16;3782:27;3775:38;3736:87;-1:-1:-1;3877:2:1;3856:15;-1:-1:-1;;3852:29:1;3843:39;;;;3884:4;3839:50;;3424:471;-1:-1:-1;;3424:471:1:o;4108:488::-;-1:-1:-1;;;;;4377:15:1;;;4359:34;;4429:15;;4424:2;4409:18;;4402:43;4476:2;4461:18;;4454:34;;;4524:3;4519:2;4504:18;;4497:31;;;4302:4;;4545:45;;4570:19;;4562:6;4545:45;:::i;:::-;4537:53;4108:488;-1:-1:-1;;;;;;4108:488:1:o;4793:219::-;4942:2;4931:9;4924:21;4905:4;4962:44;5002:2;4991:9;4987:18;4979:6;4962:44;:::i;5376:414::-;5578:2;5560:21;;;5617:2;5597:18;;;5590:30;5656:34;5651:2;5636:18;;5629:62;-1:-1:-1;;;5722:2:1;5707:18;;5700:48;5780:3;5765:19;;5376:414::o;10105:356::-;10307:2;10289:21;;;10326:18;;;10319:30;10385:34;10380:2;10365:18;;10358:62;10452:2;10437:18;;10105:356::o;11694:413::-;11896:2;11878:21;;;11935:2;11915:18;;;11908:30;11974:34;11969:2;11954:18;;11947:62;-1:-1:-1;;;12040:2:1;12025:18;;12018:47;12097:3;12082:19;;11694:413::o;12294:128::-;12334:3;12365:1;12361:6;12358:1;12355:13;12352:39;;;12371:18;;:::i;:::-;-1:-1:-1;12407:9:1;;12294:128::o;12427:168::-;12467:7;12533:1;12529;12525:6;12521:14;12518:1;12515:21;12510:1;12503:9;12496:17;12492:45;12489:71;;;12540:18;;:::i;:::-;-1:-1:-1;12580:9:1;;12427:168::o;12600:125::-;12640:4;12668:1;12665;12662:8;12659:34;;;12673:18;;:::i;:::-;-1:-1:-1;12710:9:1;;12600:125::o;12730:380::-;12809:1;12805:12;;;;12852;;;12873:61;;12927:4;12919:6;12915:17;12905:27;;12873:61;12980:2;12972:6;12969:14;12949:18;12946:38;12943:161;;;13026:10;13021:3;13017:20;13014:1;13007:31;13061:4;13058:1;13051:15;13089:4;13086:1;13079:15;12943:161;;12730:380;;;:::o;13115:135::-;13154:3;-1:-1:-1;;13175:17:1;;13172:43;;;13195:18;;:::i;:::-;-1:-1:-1;13242:1:1;13231:13;;13115:135::o;13255:127::-;13316:10;13311:3;13307:20;13304:1;13297:31;13347:4;13344:1;13337:15;13371:4;13368:1;13361:15;13387:127;13448:10;13443:3;13439:20;13436:1;13429:31;13479:4;13476:1;13469:15;13503:4;13500:1;13493:15;13519:131;-1:-1:-1;;;;;;13593:32:1;;13583:43;;13573:71;;13640:1;13637;13630:12
Swarm Source
ipfs://3ae784e358e3c31bdc7d5abeac2e7cfcd05cf4d2d43dd04664f92c0f9476550d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.