Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
5,868 KOC
Holders
1,781
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 KOCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KnightsOfChain
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-12-05 */ // SPDX-License-Identifier: GPL-3.0 // _ ____ _ _ __ _ _ _____ __ __ ___ ____ _ __ _ __ _ // | |/ / \| | |/ _] || |_ _/' _/ /__\| __| / _/ || |/ \| | \| | // | <| | ' | | [/\ >< | | | `._`. | \/ | _| | \_| >< | /\ | | | ' | // |_|\_\_|\__|_|\__/_||_| |_| |___/ \__/|_| \__/_||_|_||_|_|_|\__| // Website: https://www.knightsofchain.com // Discord: https://discord.gg/vnhHUxg9WJ // Twitter: https://twitter.com/Knightsofchain // // 9,9999 Knights living on the Ethereum Blockchain, charged with protecting the NFT Realm. // // // Launched by NFTRealm.io // SPDX-License-Identifier: GPL-3.0 // 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/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/utils/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/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/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/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/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/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/utils/Math.sol pragma solidity ^0.8.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // 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) external 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.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 {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: @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); } } pragma solidity >=0.7.0 <0.9.0; contract KnightsOfChain is ERC721Enumerable, Ownable { using Strings for uint256; using SafeMath for uint256; string private baseURI; uint256 public cost = 0.10 ether; uint256 public maxSupply = 9999; uint256 public maxMintAmount = 2; uint256 public nftPerAddressLimit = 2; uint256 public nftGiveawayLimit = 1; bool public paused = false; bool public revealed = false; bool public onlyWhitelisted = true; mapping(address => uint256) public addressMintedBalance; mapping(address=>bool) public whitelistedAddresses; mapping(address=>bool) public giveawayAddresses; constructor( string memory _name, string memory _symbol ) ERC721(_name, _symbol) { } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function mint(uint256 _mintAmount) external payable { require(!paused, "the contract is paused"); uint256 supply = totalSupply(); uint256 differCost = cost; require(_mintAmount > 0, "Need to mint at least 1 NFT"); require(_mintAmount <= maxMintAmount, "Maximum mint amount per session exceeded - please try again."); require(supply.add(_mintAmount) <= maxSupply, "All NFTs have been minted."); if (msg.sender != owner()) { uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount.add(_mintAmount) <= nftPerAddressLimit, "You have reached the maximum number of NFTs allowed."); if(onlyWhitelisted) { require(isWhitelisted(msg.sender), "This wallet ID has not been whitelisted"); } if(giveawayList(msg.sender) ){ require(_mintAmount <= nftGiveawayLimit, "We only offer 1 free giveaway per address."); giveawayAddresses[msg.sender] = false; differCost = 0; } uint256 totalCost = differCost.mul(_mintAmount); require(msg.value >= totalCost, "insufficient funds"); //return dust eth to the sender if(msg.value > totalCost){ uint256 dustEth = msg.value - totalCost; (bool success,) = msg.sender.call{value: dustEth}(""); require(success); } } addressMintedBalance[msg.sender] = addressMintedBalance[msg.sender].add(_mintAmount); for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(msg.sender, supply.add(i)); } } function isWhitelisted(address _user) public view returns (bool) { return whitelistedAddresses[_user]; } function giveawayList(address _user) public view returns (bool) { return giveawayAddresses[_user]; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) external view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(revealed == false) { return "ipfs://QmRrYSUH8TZUvkPqxXyMcpAcnLNb6sYtPLbmMp3TtnZMU9/hidden.json"; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json")) : ""; } //only owner function reveal() external onlyOwner { revealed = true; } function setNftPerAddressLimit(uint256 _limit) external onlyOwner { nftPerAddressLimit = _limit; } function setCost(uint256 _newCost) external onlyOwner { cost = _newCost; } function setmaxMintAmount(uint256 _newmaxMintAmount) external onlyOwner { maxMintAmount = _newmaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function pause() external onlyOwner { paused = !paused; } function setOnlyWhitelisted() external onlyOwner { onlyWhitelisted = !onlyWhitelisted; } function addWhitelistUsers(address[] calldata _users) external onlyOwner { for(uint i=0; i<_users.length; i++){ whitelistedAddresses[_users[i]] = true; } } function addGiveawayUsers(address[] calldata _users) external onlyOwner { for (uint i = 0; i < _users.length; i++) { giveawayAddresses[_users[i]] = true; } } function withdraw() external payable onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"addGiveawayUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"addWhitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"giveawayAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"giveawayList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftGiveawayLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405267016345785d8a0000600c5561270f600d556002600e819055600f5560016010556011805462ffffff1916620100001790553480156200004357600080fd5b5060405162002da138038062002da183398101604081905262000066916200026d565b8151829082906200007f90600090602085019062000110565b5080516200009590600190602084019062000110565b505050620000b2620000ac620000ba60201b60201c565b620000be565b50506200032a565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011e90620002d7565b90600052602060002090601f0160209004810192826200014257600085556200018d565b82601f106200015d57805160ff19168380011785556200018d565b828001600101855582156200018d579182015b828111156200018d57825182559160200191906001019062000170565b506200019b9291506200019f565b5090565b5b808211156200019b5760008155600101620001a0565b600082601f830112620001c857600080fd5b81516001600160401b0380821115620001e557620001e562000314565b604051601f8301601f19908116603f0116810190828211818310171562000210576200021062000314565b816040528381526020925086838588010111156200022d57600080fd5b600091505b8382101562000251578582018301518183018401529082019062000232565b83821115620002635760008385830101525b9695505050505050565b600080604083850312156200028157600080fd5b82516001600160401b03808211156200029957600080fd5b620002a786838701620001b6565b93506020850151915080821115620002be57600080fd5b50620002cd85828601620001b6565b9150509250929050565b600181811c90821680620002ec57607f821691505b602082108114156200030e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612a67806200033a6000396000f3fe6080604052600436106102675760003560e01c80635c975abb11610144578063a0712d68116100b6578063c87b56dd1161007a578063c87b56dd14610749578063d0eb26b014610769578063d5abeb0114610789578063e985e9c51461079f578063f2fde38b146107e8578063f871b3b81461080857600080fd5b8063a0712d68146106cb578063a22cb465146106de578063a475b5dd146106fe578063b88d4fde14610713578063ba7d2c761461073357600080fd5b80637f00c7a6116101085780637f00c7a61461060a5780638456cb591461062a5780638d55e1eb1461063f5780638da5cb5b1461067857806395d89b41146106965780639c70b512146106ab57600080fd5b80635c975abb1461057b5780636352211e14610595578063686b2812146105b557806370a08231146105d5578063715018a6146105f557600080fd5b8063295e4c33116101dd57806342842e0e116101a157806342842e0e146104af578063438b6300146104cf57806344a0d68a146104fc5780634f6ccce71461051c578063518302271461053c57806355f804b31461055b57600080fd5b8063295e4c33146104095780632f745c591461041e5780633af32abf1461043e5780633ccfd60b146104775780634001d92c1461047f57600080fd5b806313faede61161022f57806313faede61461034d57806318160ddd1461037157806318cae269146103865780631cfba3c1146103b3578063239c70ae146103d357806323b872dd146103e957600080fd5b806301ffc9a71461026c57806306c933d8146102a157806306fdde03146102d1578063081812fc146102f3578063095ea7b31461032b575b600080fd5b34801561027857600080fd5b5061028c610287366004612601565b61081e565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b5061028c6102bc366004612420565b60136020526000908152604090205460ff1681565b3480156102dd57600080fd5b506102e6610849565b6040516102989190612789565b3480156102ff57600080fd5b5061031361030e366004612684565b6108db565b6040516001600160a01b039091168152602001610298565b34801561033757600080fd5b5061034b610346366004612562565b610975565b005b34801561035957600080fd5b50610363600c5481565b604051908152602001610298565b34801561037d57600080fd5b50600854610363565b34801561039257600080fd5b506103636103a1366004612420565b60126020526000908152604090205481565b3480156103bf57600080fd5b5061034b6103ce36600461258c565b610a8b565b3480156103df57600080fd5b50610363600e5481565b3480156103f557600080fd5b5061034b61040436600461246e565b610b27565b34801561041557600080fd5b5061034b610b58565b34801561042a57600080fd5b50610363610439366004612562565b610ba1565b34801561044a57600080fd5b5061028c610459366004612420565b6001600160a01b031660009081526013602052604090205460ff1690565b61034b610c37565b34801561048b57600080fd5b5061028c61049a366004612420565b60146020526000908152604090205460ff1681565b3480156104bb57600080fd5b5061034b6104ca36600461246e565b610cd5565b3480156104db57600080fd5b506104ef6104ea366004612420565b610cf0565b6040516102989190612745565b34801561050857600080fd5b5061034b610517366004612684565b610d92565b34801561052857600080fd5b50610363610537366004612684565b610dc1565b34801561054857600080fd5b5060115461028c90610100900460ff1681565b34801561056757600080fd5b5061034b61057636600461263b565b610e54565b34801561058757600080fd5b5060115461028c9060ff1681565b3480156105a157600080fd5b506103136105b0366004612684565b610e95565b3480156105c157600080fd5b5061034b6105d036600461258c565b610f0c565b3480156105e157600080fd5b506103636105f0366004612420565b610fa8565b34801561060157600080fd5b5061034b61102f565b34801561061657600080fd5b5061034b610625366004612684565b611065565b34801561063657600080fd5b5061034b611094565b34801561064b57600080fd5b5061028c61065a366004612420565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561068457600080fd5b50600a546001600160a01b0316610313565b3480156106a257600080fd5b506102e66110d2565b3480156106b757600080fd5b5060115461028c9062010000900460ff1681565b61034b6106d9366004612684565b6110e1565b3480156106ea57600080fd5b5061034b6106f9366004612526565b611533565b34801561070a57600080fd5b5061034b6115f8565b34801561071f57600080fd5b5061034b61072e3660046124aa565b611633565b34801561073f57600080fd5b50610363600f5481565b34801561075557600080fd5b506102e6610764366004612684565b611665565b34801561077557600080fd5b5061034b610784366004612684565b61176e565b34801561079557600080fd5b50610363600d5481565b3480156107ab57600080fd5b5061028c6107ba36600461243b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107f457600080fd5b5061034b610803366004612420565b61179d565b34801561081457600080fd5b5061036360105481565b60006001600160e01b0319821663780e9d6360e01b1480610843575061084382611835565b92915050565b60606000805461085890612902565b80601f016020809104026020016040519081016040528092919081815260200182805461088490612902565b80156108d15780601f106108a6576101008083540402835291602001916108d1565b820191906000526020600020905b8154815290600101906020018083116108b457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109595760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061098082610e95565b9050806001600160a01b0316836001600160a01b031614156109ee5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610950565b336001600160a01b0382161480610a0a5750610a0a81336107ba565b610a7c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610950565b610a868383611885565b505050565b600a546001600160a01b03163314610ab55760405162461bcd60e51b8152600401610950906127ee565b60005b81811015610a8657600160146000858585818110610ad857610ad86129ae565b9050602002016020810190610aed9190612420565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610b1f8161293d565b915050610ab8565b610b3133826118f3565b610b4d5760405162461bcd60e51b815260040161095090612823565b610a868383836119ea565b600a546001600160a01b03163314610b825760405162461bcd60e51b8152600401610950906127ee565b6011805462ff0000198116620100009182900460ff1615909102179055565b6000610bac83610fa8565b8210610c0e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610950565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610c615760405162461bcd60e51b8152600401610950906127ee565b6000610c75600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cbf576040519150601f19603f3d011682016040523d82523d6000602084013e610cc4565b606091505b5050905080610cd257600080fd5b50565b610a8683838360405180602001604052806000815250611633565b60606000610cfd83610fa8565b905060008167ffffffffffffffff811115610d1a57610d1a6129c4565b604051908082528060200260200182016040528015610d43578160200160208202803683370190505b50905060005b82811015610d8a57610d5b8582610ba1565b828281518110610d6d57610d6d6129ae565b602090810291909101015280610d828161293d565b915050610d49565b509392505050565b600a546001600160a01b03163314610dbc5760405162461bcd60e51b8152600401610950906127ee565b600c55565b6000610dcc60085490565b8210610e2f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610950565b60088281548110610e4257610e426129ae565b90600052602060002001549050919050565b600a546001600160a01b03163314610e7e5760405162461bcd60e51b8152600401610950906127ee565b8051610e9190600b9060208401906122f5565b5050565b6000818152600260205260408120546001600160a01b0316806108435760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610950565b600a546001600160a01b03163314610f365760405162461bcd60e51b8152600401610950906127ee565b60005b81811015610a8657600160136000858585818110610f5957610f596129ae565b9050602002016020810190610f6e9190612420565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610fa08161293d565b915050610f39565b60006001600160a01b0382166110135760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610950565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110595760405162461bcd60e51b8152600401610950906127ee565b6110636000611b95565b565b600a546001600160a01b0316331461108f5760405162461bcd60e51b8152600401610950906127ee565b600e55565b600a546001600160a01b031633146110be5760405162461bcd60e51b8152600401610950906127ee565b6011805460ff19811660ff90911615179055565b60606001805461085890612902565b60115460ff161561112d5760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610950565b600061113860085490565b600c549091508261118b5760405162461bcd60e51b815260206004820152601b60248201527f4e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610950565b600e548311156112035760405162461bcd60e51b815260206004820152603c60248201527f4d6178696d756d206d696e7420616d6f756e74207065722073657373696f6e2060448201527f6578636565646564202d20706c656173652074727920616761696e2e000000006064820152608401610950565b600d546112108385611be7565b111561125e5760405162461bcd60e51b815260206004820152601a60248201527f416c6c204e4654732068617665206265656e206d696e7465642e0000000000006044820152606401610950565b600a546001600160a01b031633146114d45733600090815260126020526040902054600f5461128d8286611be7565b11156112f85760405162461bcd60e51b815260206004820152603460248201527f596f752068617665207265616368656420746865206d6178696d756d206e756d6044820152733132b91037b31027232a399030b63637bbb2b21760611b6064820152608401610950565b60115462010000900460ff1615611378573360009081526013602052604090205460ff166113785760405162461bcd60e51b815260206004820152602760248201527f546869732077616c6c657420494420686173206e6f74206265656e2077686974604482015266195b1a5cdd195960ca1b6064820152608401610950565b3360009081526014602052604090205460ff161561140f576010548411156113f55760405162461bcd60e51b815260206004820152602a60248201527f5765206f6e6c79206f6666657220312066726565206769766561776179207065604482015269391030b2323932b9b99760b11b6064820152608401610950565b336000908152601460205260408120805460ff1916905591505b600061141b8386611c46565b9050803410156114625760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610950565b803411156114d157600061147682346128bf565b604051909150600090339083908381818185875af1925050503d80600081146114bb576040519150601f19603f3d011682016040523d82523d6000602084013e6114c0565b606091505b50509050806114ce57600080fd5b50505b50505b336000908152601260205260409020546114ee9084611be7565b3360009081526012602052604090205560015b83811161152d5761151b336115168584611be7565b611cc5565b806115258161293d565b915050611501565b50505050565b6001600160a01b03821633141561158c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610950565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146116225760405162461bcd60e51b8152600401610950906127ee565b6011805461ff001916610100179055565b61163d33836118f3565b6116595760405162461bcd60e51b815260040161095090612823565b61152d84848484611cdf565b6000818152600260205260409020546060906001600160a01b03166116e45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610950565b601154610100900460ff16611712576040518060800160405280604181526020016129f16041913992915050565b600061171c611d12565b9050600081511161173c5760405180602001604052806000815250611767565b8061174684611d21565b6040516020016117579291906126c9565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146117985760405162461bcd60e51b8152600401610950906127ee565b600f55565b600a546001600160a01b031633146117c75760405162461bcd60e51b8152600401610950906127ee565b6001600160a01b03811661182c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610950565b610cd281611b95565b60006001600160e01b031982166380ac58cd60e01b148061186657506001600160e01b03198216635b5e139f60e01b145b8061084357506301ffc9a760e01b6001600160e01b0319831614610843565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118ba82610e95565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661196c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610950565b600061197783610e95565b9050806001600160a01b0316846001600160a01b031614806119b25750836001600160a01b03166119a7846108db565b6001600160a01b0316145b806119e257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166119fd82610e95565b6001600160a01b031614611a655760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610950565b6001600160a01b038216611ac75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610950565b611ad2838383611e1f565b611add600082611885565b6001600160a01b0383166000908152600360205260408120805460019290611b069084906128bf565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b34908490612874565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080611bf48385612874565b9050838110156117675760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610950565b600082611c5557506000610843565b6000611c6183856128a0565b905082611c6e858361288c565b146117675760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610950565b610e91828260405180602001604052806000815250611ed7565b611cea8484846119ea565b611cf684848484611f0a565b61152d5760405162461bcd60e51b81526004016109509061279c565b6060600b805461085890612902565b606081611d455750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d6f5780611d598161293d565b9150611d689050600a8361288c565b9150611d49565b60008167ffffffffffffffff811115611d8a57611d8a6129c4565b6040519080825280601f01601f191660200182016040528015611db4576020820181803683370190505b5090505b84156119e257611dc96001836128bf565b9150611dd6600a86612958565b611de1906030612874565b60f81b818381518110611df657611df66129ae565b60200101906001600160f81b031916908160001a905350611e18600a8661288c565b9450611db8565b6001600160a01b038316611e7a57611e7581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611e9d565b816001600160a01b0316836001600160a01b031614611e9d57611e9d8382612017565b6001600160a01b038216611eb457610a86816120b4565b826001600160a01b0316826001600160a01b031614610a8657610a868282612163565b611ee183836121a7565b611eee6000848484611f0a565b610a865760405162461bcd60e51b81526004016109509061279c565b60006001600160a01b0384163b1561200c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f4e903390899088908890600401612708565b602060405180830381600087803b158015611f6857600080fd5b505af1925050508015611f98575060408051601f3d908101601f19168201909252611f959181019061261e565b60015b611ff2573d808015611fc6576040519150601f19603f3d011682016040523d82523d6000602084013e611fcb565b606091505b508051611fea5760405162461bcd60e51b81526004016109509061279c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119e2565b506001949350505050565b6000600161202484610fa8565b61202e91906128bf565b600083815260076020526040902054909150808214612081576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906120c6906001906128bf565b600083815260096020526040812054600880549394509092849081106120ee576120ee6129ae565b90600052602060002001549050806008838154811061210f5761210f6129ae565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061214757612147612998565b6001900381819060005260206000200160009055905550505050565b600061216e83610fa8565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166121fd5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610950565b6000818152600260205260409020546001600160a01b0316156122625760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610950565b61226e60008383611e1f565b6001600160a01b0382166000908152600360205260408120805460019290612297908490612874565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461230190612902565b90600052602060002090601f0160209004810192826123235760008555612369565b82601f1061233c57805160ff1916838001178555612369565b82800160010185558215612369579182015b8281111561236957825182559160200191906001019061234e565b50612375929150612379565b5090565b5b80821115612375576000815560010161237a565b600067ffffffffffffffff808411156123a9576123a96129c4565b604051601f8501601f19908116603f011681019082821181831017156123d1576123d16129c4565b816040528093508581528686860111156123ea57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461241b57600080fd5b919050565b60006020828403121561243257600080fd5b61176782612404565b6000806040838503121561244e57600080fd5b61245783612404565b915061246560208401612404565b90509250929050565b60008060006060848603121561248357600080fd5b61248c84612404565b925061249a60208501612404565b9150604084013590509250925092565b600080600080608085870312156124c057600080fd5b6124c985612404565b93506124d760208601612404565b925060408501359150606085013567ffffffffffffffff8111156124fa57600080fd5b8501601f8101871361250b57600080fd5b61251a8782356020840161238e565b91505092959194509250565b6000806040838503121561253957600080fd5b61254283612404565b91506020830135801515811461255757600080fd5b809150509250929050565b6000806040838503121561257557600080fd5b61257e83612404565b946020939093013593505050565b6000806020838503121561259f57600080fd5b823567ffffffffffffffff808211156125b757600080fd5b818501915085601f8301126125cb57600080fd5b8135818111156125da57600080fd5b8660208260051b85010111156125ef57600080fd5b60209290920196919550909350505050565b60006020828403121561261357600080fd5b8135611767816129da565b60006020828403121561263057600080fd5b8151611767816129da565b60006020828403121561264d57600080fd5b813567ffffffffffffffff81111561266457600080fd5b8201601f8101841361267557600080fd5b6119e28482356020840161238e565b60006020828403121561269657600080fd5b5035919050565b600081518084526126b58160208601602086016128d6565b601f01601f19169290920160200192915050565b600083516126db8184602088016128d6565b8351908301906126ef8183602088016128d6565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061273b9083018461269d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561277d57835183529284019291840191600101612761565b50909695505050505050565b602081526000611767602083018461269d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156128875761288761296c565b500190565b60008261289b5761289b612982565b500490565b60008160001904831182151516156128ba576128ba61296c565b500290565b6000828210156128d1576128d161296c565b500390565b60005b838110156128f15781810151838201526020016128d9565b8381111561152d5750506000910152565b600181811c9082168061291657607f821691505b6020821081141561293757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129515761295161296c565b5060010190565b60008261296757612967612982565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cd257600080fdfe697066733a2f2f516d52725953554838545a55766b50717858794d637041636e4c4e6236735974504c626d4d703354746e5a4d55392f68696464656e2e6a736f6ea26469706673582212203f85fba9f91977800fe7afe140f075277492ffbd5e89bb4a30a95dc3d313833164736f6c634300080700330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000104b6e6967687473206f6620436861696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b4f430000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102675760003560e01c80635c975abb11610144578063a0712d68116100b6578063c87b56dd1161007a578063c87b56dd14610749578063d0eb26b014610769578063d5abeb0114610789578063e985e9c51461079f578063f2fde38b146107e8578063f871b3b81461080857600080fd5b8063a0712d68146106cb578063a22cb465146106de578063a475b5dd146106fe578063b88d4fde14610713578063ba7d2c761461073357600080fd5b80637f00c7a6116101085780637f00c7a61461060a5780638456cb591461062a5780638d55e1eb1461063f5780638da5cb5b1461067857806395d89b41146106965780639c70b512146106ab57600080fd5b80635c975abb1461057b5780636352211e14610595578063686b2812146105b557806370a08231146105d5578063715018a6146105f557600080fd5b8063295e4c33116101dd57806342842e0e116101a157806342842e0e146104af578063438b6300146104cf57806344a0d68a146104fc5780634f6ccce71461051c578063518302271461053c57806355f804b31461055b57600080fd5b8063295e4c33146104095780632f745c591461041e5780633af32abf1461043e5780633ccfd60b146104775780634001d92c1461047f57600080fd5b806313faede61161022f57806313faede61461034d57806318160ddd1461037157806318cae269146103865780631cfba3c1146103b3578063239c70ae146103d357806323b872dd146103e957600080fd5b806301ffc9a71461026c57806306c933d8146102a157806306fdde03146102d1578063081812fc146102f3578063095ea7b31461032b575b600080fd5b34801561027857600080fd5b5061028c610287366004612601565b61081e565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b5061028c6102bc366004612420565b60136020526000908152604090205460ff1681565b3480156102dd57600080fd5b506102e6610849565b6040516102989190612789565b3480156102ff57600080fd5b5061031361030e366004612684565b6108db565b6040516001600160a01b039091168152602001610298565b34801561033757600080fd5b5061034b610346366004612562565b610975565b005b34801561035957600080fd5b50610363600c5481565b604051908152602001610298565b34801561037d57600080fd5b50600854610363565b34801561039257600080fd5b506103636103a1366004612420565b60126020526000908152604090205481565b3480156103bf57600080fd5b5061034b6103ce36600461258c565b610a8b565b3480156103df57600080fd5b50610363600e5481565b3480156103f557600080fd5b5061034b61040436600461246e565b610b27565b34801561041557600080fd5b5061034b610b58565b34801561042a57600080fd5b50610363610439366004612562565b610ba1565b34801561044a57600080fd5b5061028c610459366004612420565b6001600160a01b031660009081526013602052604090205460ff1690565b61034b610c37565b34801561048b57600080fd5b5061028c61049a366004612420565b60146020526000908152604090205460ff1681565b3480156104bb57600080fd5b5061034b6104ca36600461246e565b610cd5565b3480156104db57600080fd5b506104ef6104ea366004612420565b610cf0565b6040516102989190612745565b34801561050857600080fd5b5061034b610517366004612684565b610d92565b34801561052857600080fd5b50610363610537366004612684565b610dc1565b34801561054857600080fd5b5060115461028c90610100900460ff1681565b34801561056757600080fd5b5061034b61057636600461263b565b610e54565b34801561058757600080fd5b5060115461028c9060ff1681565b3480156105a157600080fd5b506103136105b0366004612684565b610e95565b3480156105c157600080fd5b5061034b6105d036600461258c565b610f0c565b3480156105e157600080fd5b506103636105f0366004612420565b610fa8565b34801561060157600080fd5b5061034b61102f565b34801561061657600080fd5b5061034b610625366004612684565b611065565b34801561063657600080fd5b5061034b611094565b34801561064b57600080fd5b5061028c61065a366004612420565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561068457600080fd5b50600a546001600160a01b0316610313565b3480156106a257600080fd5b506102e66110d2565b3480156106b757600080fd5b5060115461028c9062010000900460ff1681565b61034b6106d9366004612684565b6110e1565b3480156106ea57600080fd5b5061034b6106f9366004612526565b611533565b34801561070a57600080fd5b5061034b6115f8565b34801561071f57600080fd5b5061034b61072e3660046124aa565b611633565b34801561073f57600080fd5b50610363600f5481565b34801561075557600080fd5b506102e6610764366004612684565b611665565b34801561077557600080fd5b5061034b610784366004612684565b61176e565b34801561079557600080fd5b50610363600d5481565b3480156107ab57600080fd5b5061028c6107ba36600461243b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107f457600080fd5b5061034b610803366004612420565b61179d565b34801561081457600080fd5b5061036360105481565b60006001600160e01b0319821663780e9d6360e01b1480610843575061084382611835565b92915050565b60606000805461085890612902565b80601f016020809104026020016040519081016040528092919081815260200182805461088490612902565b80156108d15780601f106108a6576101008083540402835291602001916108d1565b820191906000526020600020905b8154815290600101906020018083116108b457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109595760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061098082610e95565b9050806001600160a01b0316836001600160a01b031614156109ee5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610950565b336001600160a01b0382161480610a0a5750610a0a81336107ba565b610a7c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610950565b610a868383611885565b505050565b600a546001600160a01b03163314610ab55760405162461bcd60e51b8152600401610950906127ee565b60005b81811015610a8657600160146000858585818110610ad857610ad86129ae565b9050602002016020810190610aed9190612420565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610b1f8161293d565b915050610ab8565b610b3133826118f3565b610b4d5760405162461bcd60e51b815260040161095090612823565b610a868383836119ea565b600a546001600160a01b03163314610b825760405162461bcd60e51b8152600401610950906127ee565b6011805462ff0000198116620100009182900460ff1615909102179055565b6000610bac83610fa8565b8210610c0e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610950565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610c615760405162461bcd60e51b8152600401610950906127ee565b6000610c75600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cbf576040519150601f19603f3d011682016040523d82523d6000602084013e610cc4565b606091505b5050905080610cd257600080fd5b50565b610a8683838360405180602001604052806000815250611633565b60606000610cfd83610fa8565b905060008167ffffffffffffffff811115610d1a57610d1a6129c4565b604051908082528060200260200182016040528015610d43578160200160208202803683370190505b50905060005b82811015610d8a57610d5b8582610ba1565b828281518110610d6d57610d6d6129ae565b602090810291909101015280610d828161293d565b915050610d49565b509392505050565b600a546001600160a01b03163314610dbc5760405162461bcd60e51b8152600401610950906127ee565b600c55565b6000610dcc60085490565b8210610e2f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610950565b60088281548110610e4257610e426129ae565b90600052602060002001549050919050565b600a546001600160a01b03163314610e7e5760405162461bcd60e51b8152600401610950906127ee565b8051610e9190600b9060208401906122f5565b5050565b6000818152600260205260408120546001600160a01b0316806108435760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610950565b600a546001600160a01b03163314610f365760405162461bcd60e51b8152600401610950906127ee565b60005b81811015610a8657600160136000858585818110610f5957610f596129ae565b9050602002016020810190610f6e9190612420565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610fa08161293d565b915050610f39565b60006001600160a01b0382166110135760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610950565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110595760405162461bcd60e51b8152600401610950906127ee565b6110636000611b95565b565b600a546001600160a01b0316331461108f5760405162461bcd60e51b8152600401610950906127ee565b600e55565b600a546001600160a01b031633146110be5760405162461bcd60e51b8152600401610950906127ee565b6011805460ff19811660ff90911615179055565b60606001805461085890612902565b60115460ff161561112d5760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610950565b600061113860085490565b600c549091508261118b5760405162461bcd60e51b815260206004820152601b60248201527f4e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610950565b600e548311156112035760405162461bcd60e51b815260206004820152603c60248201527f4d6178696d756d206d696e7420616d6f756e74207065722073657373696f6e2060448201527f6578636565646564202d20706c656173652074727920616761696e2e000000006064820152608401610950565b600d546112108385611be7565b111561125e5760405162461bcd60e51b815260206004820152601a60248201527f416c6c204e4654732068617665206265656e206d696e7465642e0000000000006044820152606401610950565b600a546001600160a01b031633146114d45733600090815260126020526040902054600f5461128d8286611be7565b11156112f85760405162461bcd60e51b815260206004820152603460248201527f596f752068617665207265616368656420746865206d6178696d756d206e756d6044820152733132b91037b31027232a399030b63637bbb2b21760611b6064820152608401610950565b60115462010000900460ff1615611378573360009081526013602052604090205460ff166113785760405162461bcd60e51b815260206004820152602760248201527f546869732077616c6c657420494420686173206e6f74206265656e2077686974604482015266195b1a5cdd195960ca1b6064820152608401610950565b3360009081526014602052604090205460ff161561140f576010548411156113f55760405162461bcd60e51b815260206004820152602a60248201527f5765206f6e6c79206f6666657220312066726565206769766561776179207065604482015269391030b2323932b9b99760b11b6064820152608401610950565b336000908152601460205260408120805460ff1916905591505b600061141b8386611c46565b9050803410156114625760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610950565b803411156114d157600061147682346128bf565b604051909150600090339083908381818185875af1925050503d80600081146114bb576040519150601f19603f3d011682016040523d82523d6000602084013e6114c0565b606091505b50509050806114ce57600080fd5b50505b50505b336000908152601260205260409020546114ee9084611be7565b3360009081526012602052604090205560015b83811161152d5761151b336115168584611be7565b611cc5565b806115258161293d565b915050611501565b50505050565b6001600160a01b03821633141561158c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610950565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146116225760405162461bcd60e51b8152600401610950906127ee565b6011805461ff001916610100179055565b61163d33836118f3565b6116595760405162461bcd60e51b815260040161095090612823565b61152d84848484611cdf565b6000818152600260205260409020546060906001600160a01b03166116e45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610950565b601154610100900460ff16611712576040518060800160405280604181526020016129f16041913992915050565b600061171c611d12565b9050600081511161173c5760405180602001604052806000815250611767565b8061174684611d21565b6040516020016117579291906126c9565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146117985760405162461bcd60e51b8152600401610950906127ee565b600f55565b600a546001600160a01b031633146117c75760405162461bcd60e51b8152600401610950906127ee565b6001600160a01b03811661182c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610950565b610cd281611b95565b60006001600160e01b031982166380ac58cd60e01b148061186657506001600160e01b03198216635b5e139f60e01b145b8061084357506301ffc9a760e01b6001600160e01b0319831614610843565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118ba82610e95565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661196c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610950565b600061197783610e95565b9050806001600160a01b0316846001600160a01b031614806119b25750836001600160a01b03166119a7846108db565b6001600160a01b0316145b806119e257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166119fd82610e95565b6001600160a01b031614611a655760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610950565b6001600160a01b038216611ac75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610950565b611ad2838383611e1f565b611add600082611885565b6001600160a01b0383166000908152600360205260408120805460019290611b069084906128bf565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b34908490612874565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080611bf48385612874565b9050838110156117675760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610950565b600082611c5557506000610843565b6000611c6183856128a0565b905082611c6e858361288c565b146117675760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610950565b610e91828260405180602001604052806000815250611ed7565b611cea8484846119ea565b611cf684848484611f0a565b61152d5760405162461bcd60e51b81526004016109509061279c565b6060600b805461085890612902565b606081611d455750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d6f5780611d598161293d565b9150611d689050600a8361288c565b9150611d49565b60008167ffffffffffffffff811115611d8a57611d8a6129c4565b6040519080825280601f01601f191660200182016040528015611db4576020820181803683370190505b5090505b84156119e257611dc96001836128bf565b9150611dd6600a86612958565b611de1906030612874565b60f81b818381518110611df657611df66129ae565b60200101906001600160f81b031916908160001a905350611e18600a8661288c565b9450611db8565b6001600160a01b038316611e7a57611e7581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611e9d565b816001600160a01b0316836001600160a01b031614611e9d57611e9d8382612017565b6001600160a01b038216611eb457610a86816120b4565b826001600160a01b0316826001600160a01b031614610a8657610a868282612163565b611ee183836121a7565b611eee6000848484611f0a565b610a865760405162461bcd60e51b81526004016109509061279c565b60006001600160a01b0384163b1561200c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f4e903390899088908890600401612708565b602060405180830381600087803b158015611f6857600080fd5b505af1925050508015611f98575060408051601f3d908101601f19168201909252611f959181019061261e565b60015b611ff2573d808015611fc6576040519150601f19603f3d011682016040523d82523d6000602084013e611fcb565b606091505b508051611fea5760405162461bcd60e51b81526004016109509061279c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119e2565b506001949350505050565b6000600161202484610fa8565b61202e91906128bf565b600083815260076020526040902054909150808214612081576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906120c6906001906128bf565b600083815260096020526040812054600880549394509092849081106120ee576120ee6129ae565b90600052602060002001549050806008838154811061210f5761210f6129ae565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061214757612147612998565b6001900381819060005260206000200160009055905550505050565b600061216e83610fa8565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166121fd5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610950565b6000818152600260205260409020546001600160a01b0316156122625760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610950565b61226e60008383611e1f565b6001600160a01b0382166000908152600360205260408120805460019290612297908490612874565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461230190612902565b90600052602060002090601f0160209004810192826123235760008555612369565b82601f1061233c57805160ff1916838001178555612369565b82800160010185558215612369579182015b8281111561236957825182559160200191906001019061234e565b50612375929150612379565b5090565b5b80821115612375576000815560010161237a565b600067ffffffffffffffff808411156123a9576123a96129c4565b604051601f8501601f19908116603f011681019082821181831017156123d1576123d16129c4565b816040528093508581528686860111156123ea57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461241b57600080fd5b919050565b60006020828403121561243257600080fd5b61176782612404565b6000806040838503121561244e57600080fd5b61245783612404565b915061246560208401612404565b90509250929050565b60008060006060848603121561248357600080fd5b61248c84612404565b925061249a60208501612404565b9150604084013590509250925092565b600080600080608085870312156124c057600080fd5b6124c985612404565b93506124d760208601612404565b925060408501359150606085013567ffffffffffffffff8111156124fa57600080fd5b8501601f8101871361250b57600080fd5b61251a8782356020840161238e565b91505092959194509250565b6000806040838503121561253957600080fd5b61254283612404565b91506020830135801515811461255757600080fd5b809150509250929050565b6000806040838503121561257557600080fd5b61257e83612404565b946020939093013593505050565b6000806020838503121561259f57600080fd5b823567ffffffffffffffff808211156125b757600080fd5b818501915085601f8301126125cb57600080fd5b8135818111156125da57600080fd5b8660208260051b85010111156125ef57600080fd5b60209290920196919550909350505050565b60006020828403121561261357600080fd5b8135611767816129da565b60006020828403121561263057600080fd5b8151611767816129da565b60006020828403121561264d57600080fd5b813567ffffffffffffffff81111561266457600080fd5b8201601f8101841361267557600080fd5b6119e28482356020840161238e565b60006020828403121561269657600080fd5b5035919050565b600081518084526126b58160208601602086016128d6565b601f01601f19169290920160200192915050565b600083516126db8184602088016128d6565b8351908301906126ef8183602088016128d6565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061273b9083018461269d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561277d57835183529284019291840191600101612761565b50909695505050505050565b602081526000611767602083018461269d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156128875761288761296c565b500190565b60008261289b5761289b612982565b500490565b60008160001904831182151516156128ba576128ba61296c565b500290565b6000828210156128d1576128d161296c565b500390565b60005b838110156128f15781810151838201526020016128d9565b8381111561152d5750506000910152565b600181811c9082168061291657607f821691505b6020821081141561293757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129515761295161296c565b5060010190565b60008261296757612967612982565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cd257600080fdfe697066733a2f2f516d52725953554838545a55766b50717858794d637041636e4c4e6236735974504c626d4d703354746e5a4d55392f68696464656e2e6a736f6ea26469706673582212203f85fba9f91977800fe7afe140f075277492ffbd5e89bb4a30a95dc3d313833164736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000104b6e6967687473206f6620436861696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b4f430000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Knights of Chain
Arg [1] : _symbol (string): KOC
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 4b6e6967687473206f6620436861696e00000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4b4f430000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
45643:4849:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37188:224;;;;;;;;;;-1:-1:-1;37188:224:0;;;;;:::i;:::-;;:::i;:::-;;;7280:14:1;;7273:22;7255:41;;7243:2;7228:18;37188:224:0;;;;;;;;46148:50;;;;;;;;;;-1:-1:-1;46148:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;25088:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26649:221::-;;;;;;;;;;-1:-1:-1;26649:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5941:32:1;;;5923:51;;5911:2;5896:18;26649:221:0;5777:203:1;26172:411:0;;;;;;;;;;-1:-1:-1;26172:411:0;;;;;:::i;:::-;;:::i;:::-;;45791:32;;;;;;;;;;;;;;;;;;;18720:25:1;;;18708:2;18693:18;45791:32:0;18574:177:1;37828:113:0;;;;;;;;;;-1:-1:-1;37916:10:0;:17;37828:113;;46088:55;;;;;;;;;;-1:-1:-1;46088:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;50156:177;;;;;;;;;;-1:-1:-1;50156:177:0;;;;;:::i;:::-;;:::i;45864:32::-;;;;;;;;;;;;;;;;27539:339;;;;;;;;;;-1:-1:-1;27539:339:0;;;;;:::i;:::-;;:::i;49867:96::-;;;;;;;;;;;;;:::i;37496:256::-;;;;;;;;;;-1:-1:-1;37496:256:0;;;;;:::i;:::-;;:::i;48119:114::-;;;;;;;;;;-1:-1:-1;48119:114:0;;;;;:::i;:::-;-1:-1:-1;;;;;48200:27:0;48178:4;48200:27;;;:20;:27;;;;;;;;;48119:114;50342:147;;;:::i;46203:47::-;;;;;;;;;;-1:-1:-1;46203:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;27949:185;;;;;;;;;;-1:-1:-1;27949:185:0;;;;;:::i;:::-;;:::i;48357:348::-;;;;;;;;;;-1:-1:-1;48357:348:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;49478:82::-;;;;;;;;;;-1:-1:-1;49478:82:0;;;;;:::i;:::-;;:::i;38018:233::-;;;;;;;;;;-1:-1:-1;38018:233:0;;;;;:::i;:::-;;:::i;46014:28::-;;;;;;;;;;-1:-1:-1;46014:28:0;;;;;;;;;;;49690:98;;;;;;;;;;-1:-1:-1;49690:98:0;;;;;:::i;:::-;;:::i;45983:26::-;;;;;;;;;;-1:-1:-1;45983:26:0;;;;;;;;24782:239;;;;;;;;;;-1:-1:-1;24782:239:0;;;;;:::i;:::-;;:::i;49971:177::-;;;;;;;;;;-1:-1:-1;49971:177:0;;;;;:::i;:::-;;:::i;24512:208::-;;;;;;;;;;-1:-1:-1;24512:208:0;;;;;:::i;:::-;;:::i;44977:94::-;;;;;;;;;;;;;:::i;49566:118::-;;;;;;;;;;-1:-1:-1;49566:118:0;;;;;:::i;:::-;;:::i;49794:65::-;;;;;;;;;;;;;:::i;48241:110::-;;;;;;;;;;-1:-1:-1;48241:110:0;;;;;:::i;:::-;-1:-1:-1;;;;;48321:24:0;48299:4;48321:24;;;:17;:24;;;;;;;;;48241:110;44326:87;;;;;;;;;;-1:-1:-1;44399:6:0;;-1:-1:-1;;;;;44399:6:0;44326:87;;25257:104;;;;;;;;;;;;;:::i;46047:34::-;;;;;;;;;;-1:-1:-1;46047:34:0;;;;;;;;;;;46471:1630;;;;;;:::i;:::-;;:::i;26942:295::-;;;;;;;;;;-1:-1:-1;26942:295:0;;;;;:::i;:::-;;:::i;49289:67::-;;;;;;;;;;;;;:::i;28205:328::-;;;;;;;;;;-1:-1:-1;28205:328:0;;;;;:::i;:::-;;:::i;45901:37::-;;;;;;;;;;;;;;;;48711:556;;;;;;;;;;-1:-1:-1;48711:556:0;;;;;:::i;:::-;;:::i;49364:106::-;;;;;;;;;;-1:-1:-1;49364:106:0;;;;;:::i;:::-;;:::i;45828:31::-;;;;;;;;;;;;;;;;27308:164;;;;;;;;;;-1:-1:-1;27308:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27429:25:0;;;27405:4;27429:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27308:164;45226:192;;;;;;;;;;-1:-1:-1;45226:192:0;;;;;:::i;:::-;;:::i;45943:35::-;;;;;;;;;;;;;;;;37188:224;37290:4;-1:-1:-1;;;;;;37314:50:0;;-1:-1:-1;;;37314:50:0;;:90;;;37368:36;37392:11;37368:23;:36::i;:::-;37307:97;37188:224;-1:-1:-1;;37188:224:0:o;25088:100::-;25142:13;25175:5;25168:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25088:100;:::o;26649:221::-;26725:7;30132:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30132:16:0;26745:73;;;;-1:-1:-1;;;26745:73:0;;14057:2:1;26745:73:0;;;14039:21:1;14096:2;14076:18;;;14069:30;14135:34;14115:18;;;14108:62;-1:-1:-1;;;14186:18:1;;;14179:42;14238:19;;26745:73:0;;;;;;;;;-1:-1:-1;26838:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26838:24:0;;26649:221::o;26172:411::-;26253:13;26269:23;26284:7;26269:14;:23::i;:::-;26253:39;;26317:5;-1:-1:-1;;;;;26311:11:0;:2;-1:-1:-1;;;;;26311:11:0;;;26303:57;;;;-1:-1:-1;;;26303:57:0;;16008:2:1;26303:57:0;;;15990:21:1;16047:2;16027:18;;;16020:30;16086:34;16066:18;;;16059:62;-1:-1:-1;;;16137:18:1;;;16130:31;16178:19;;26303:57:0;15806:397:1;26303:57:0;20779:10;-1:-1:-1;;;;;26395:21:0;;;;:62;;-1:-1:-1;26420:37:0;26437:5;20779:10;27308:164;:::i;26420:37::-;26373:168;;;;-1:-1:-1;;;26373:168:0;;12048:2:1;26373:168:0;;;12030:21:1;12087:2;12067:18;;;12060:30;12126:34;12106:18;;;12099:62;12197:26;12177:18;;;12170:54;12241:19;;26373:168:0;11846:420:1;26373:168:0;26554:21;26563:2;26567:7;26554:8;:21::i;:::-;26242:341;26172:411;;:::o;50156:177::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;50240:6:::1;50235:93;50252:17:::0;;::::1;50235:93;;;50316:4;50285:17;:28;50303:6;;50310:1;50303:9;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;50285:28:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;50285:28:0;:35;;-1:-1:-1;;50285:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50271:3;::::1;::::0;::::1;:::i;:::-;;;;50235:93;;27539:339:::0;27734:41;20779:10;27767:7;27734:18;:41::i;:::-;27726:103;;;;-1:-1:-1;;;27726:103:0;;;;;;;:::i;:::-;27842:28;27852:4;27858:2;27862:7;27842:9;:28::i;49867:96::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;49942:15:::1;::::0;;-1:-1:-1;;49923:34:0;::::1;49942:15:::0;;;;::::1;;;49941:16;49923:34:::0;;::::1;;::::0;;49867:96::o;37496:256::-;37593:7;37629:23;37646:5;37629:16;:23::i;:::-;37621:5;:31;37613:87;;;;-1:-1:-1;;;37613:87:0;;7733:2:1;37613:87:0;;;7715:21:1;7772:2;7752:18;;;7745:30;7811:34;7791:18;;;7784:62;-1:-1:-1;;;7862:18:1;;;7855:41;7913:19;;37613:87:0;7531:407:1;37613:87:0;-1:-1:-1;;;;;;37718:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;37496:256::o;50342:147::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;50397:7:::1;50418;44399:6:::0;;-1:-1:-1;;;;;44399:6:0;;44326:87;50418:7:::1;-1:-1:-1::0;;;;;50410:21:0::1;50439;50410:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50396:69;;;50480:2;50472:11;;;::::0;::::1;;50389:100;50342:147::o:0;27949:185::-;28087:39;28104:4;28110:2;28114:7;28087:39;;;;;;;;;;;;:16;:39::i;48357:348::-;48432:16;48460:23;48486:17;48496:6;48486:9;:17::i;:::-;48460:43;;48510:25;48552:15;48538:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48538:30:0;;48510:58;;48580:9;48575:103;48595:15;48591:1;:19;48575:103;;;48640:30;48660:6;48668:1;48640:19;:30::i;:::-;48626:8;48635:1;48626:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;48612:3;;;;:::i;:::-;;;;48575:103;;;-1:-1:-1;48691:8:0;48357:348;-1:-1:-1;;;48357:348:0:o;49478:82::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;49539:4:::1;:15:::0;49478:82::o;38018:233::-;38093:7;38129:30;37916:10;:17;;37828:113;38129:30;38121:5;:38;38113:95;;;;-1:-1:-1;;;38113:95:0;;18007:2:1;38113:95:0;;;17989:21:1;18046:2;18026:18;;;18019:30;18085:34;18065:18;;;18058:62;-1:-1:-1;;;18136:18:1;;;18129:42;18188:19;;38113:95:0;17805:408:1;38113:95:0;38226:10;38237:5;38226:17;;;;;;;;:::i;:::-;;;;;;;;;38219:24;;38018:233;;;:::o;49690:98::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;49761:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;49690:98:::0;:::o;24782:239::-;24854:7;24890:16;;;:7;:16;;;;;;-1:-1:-1;;;;;24890:16:0;24925:19;24917:73;;;;-1:-1:-1;;;24917:73:0;;12884:2:1;24917:73:0;;;12866:21:1;12923:2;12903:18;;;12896:30;12962:34;12942:18;;;12935:62;-1:-1:-1;;;13013:18:1;;;13006:39;13062:19;;24917:73:0;12682:405:1;49971:177:0;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;50055:6:::1;50051:92;50065:15:::0;;::::1;50051:92;;;50131:4;50097:20;:31;50118:6;;50125:1;50118:9;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;50097:31:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;50097:31:0;:38;;-1:-1:-1;;50097:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50082:3;::::1;::::0;::::1;:::i;:::-;;;;50051:92;;24512:208:::0;24584:7;-1:-1:-1;;;;;24612:19:0;;24604:74;;;;-1:-1:-1;;;24604:74:0;;12473:2:1;24604:74:0;;;12455:21:1;12512:2;12492:18;;;12485:30;12551:34;12531:18;;;12524:62;-1:-1:-1;;;12602:18:1;;;12595:40;12652:19;;24604:74:0;12271:406:1;24604:74:0;-1:-1:-1;;;;;;24696:16:0;;;;;:9;:16;;;;;;;24512:208::o;44977:94::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;45042:21:::1;45060:1;45042:9;:21::i;:::-;44977:94::o:0;49566:118::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;49645:13:::1;:33:::0;49566:118::o;49794:65::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;49847:6:::1;::::0;;-1:-1:-1;;49837:16:0;::::1;49847:6;::::0;;::::1;49846:7;49837:16;::::0;;49794:65::o;25257:104::-;25313:13;25346:7;25339:14;;;;;:::i;46471:1630::-;46539:6;;;;46538:7;46530:42;;;;-1:-1:-1;;;46530:42:0;;14831:2:1;46530:42:0;;;14813:21:1;14870:2;14850:18;;;14843:30;-1:-1:-1;;;14889:18:1;;;14882:52;14951:18;;46530:42:0;14629:346:1;46530:42:0;46579:14;46596:13;37916:10;:17;;37828:113;46596:13;46637:4;;46579:30;;-1:-1:-1;46658:15:0;46650:55;;;;-1:-1:-1;;;46650:55:0;;18420:2:1;46650:55:0;;;18402:21:1;18459:2;18439:18;;;18432:30;18498:29;18478:18;;;18471:57;18545:18;;46650:55:0;18218:351:1;46650:55:0;46735:13;;46720:11;:28;;46712:101;;;;-1:-1:-1;;;46712:101:0;;11211:2:1;46712:101:0;;;11193:21:1;11250:2;11230:18;;;11223:30;11289:34;11269:18;;;11262:62;11360:30;11340:18;;;11333:58;11408:19;;46712:101:0;11009:424:1;46712:101:0;46855:9;;46828:23;:6;46839:11;46828:10;:23::i;:::-;:36;;46820:75;;;;-1:-1:-1;;;46820:75:0;;10443:2:1;46820:75:0;;;10425:21:1;10482:2;10462:18;;;10455:30;10521:28;10501:18;;;10494:56;10567:18;;46820:75:0;10241:350:1;46820:75:0;44399:6;;-1:-1:-1;;;;;44399:6:0;46908:10;:21;46904:989;;46992:10;46944:24;46971:32;;;:20;:32;;;;;;47059:18;;47022:33;46971:32;47043:11;47022:20;:33::i;:::-;:55;;47014:120;;;;-1:-1:-1;;;47014:120:0;;16410:2:1;47014:120:0;;;16392:21:1;16449:2;16429:18;;;16422:30;16488:34;16468:18;;;16461:62;-1:-1:-1;;;16539:18:1;;;16532:50;16599:19;;47014:120:0;16208:416:1;47014:120:0;47158:15;;;;;;;47155:137;;;47212:10;48178:4;48200:27;;;:20;:27;;;;;;;;47190:77;;;;-1:-1:-1;;;47190:77:0;;11640:2:1;47190:77:0;;;11622:21:1;11679:2;11659:18;;;11652:30;11718:34;11698:18;;;11691:62;-1:-1:-1;;;11769:18:1;;;11762:37;11816:19;;47190:77:0;11438:403:1;47190:77:0;47320:10;48299:4;48321:24;;;:17;:24;;;;;;;;47304:223;;;47371:16;;47356:11;:31;;47348:86;;;;-1:-1:-1;;;47348:86:0;;16831:2:1;47348:86:0;;;16813:21:1;16870:2;16850:18;;;16843:30;16909:34;16889:18;;;16882:62;-1:-1:-1;;;16960:18:1;;;16953:40;17010:19;;47348:86:0;16629:406:1;47348:86:0;47467:10;47481:5;47449:29;;;:17;:29;;;;;:37;;-1:-1:-1;;47449:37:0;;;47481:5;-1:-1:-1;47304:223:0;47539:17;47559:27;:10;47574:11;47559:14;:27::i;:::-;47539:47;;47618:9;47605;:22;;47597:53;;;;-1:-1:-1;;;47597:53:0;;17242:2:1;47597:53:0;;;17224:21:1;17281:2;17261:18;;;17254:30;-1:-1:-1;;;17300:18:1;;;17293:48;17358:18;;47597:53:0;17040:342:1;47597:53:0;47717:9;47705;:21;47702:184;;;47740:15;47758:21;47770:9;47758;:21;:::i;:::-;47810:35;;47740:39;;-1:-1:-1;47793:12:0;;47810:10;;47740:39;;47793:12;47810:35;47793:12;47810:35;47740:39;47810:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47792:53;;;47866:7;47858:16;;;;;;47727:159;;47702:184;46931:962;;46904:989;47957:10;47936:32;;;;:20;:32;;;;;;:49;;47973:11;47936:36;:49::i;:::-;47922:10;47901:32;;;;:20;:32;;;;;:84;48015:1;47998:96;48023:11;48018:1;:16;47998:96;;48050:36;48060:10;48072:13;:6;48083:1;48072:10;:13::i;:::-;48050:9;:36::i;:::-;48036:3;;;;:::i;:::-;;;;47998:96;;;;46523:1578;;46471:1630;:::o;26942:295::-;-1:-1:-1;;;;;27045:24:0;;20779:10;27045:24;;27037:62;;;;-1:-1:-1;;;27037:62:0;;10089:2:1;27037:62:0;;;10071:21:1;10128:2;10108:18;;;10101:30;10167:27;10147:18;;;10140:55;10212:18;;27037:62:0;9887:349:1;27037:62:0;20779:10;27112:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;27112:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;27112:53:0;;;;;;;;;;27181:48;;7255:41:1;;;27112:42:0;;20779:10;27181:48;;7228:18:1;27181:48:0;;;;;;;26942:295;;:::o;49289:67::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;49335:8:::1;:15:::0;;-1:-1:-1;;49335:15:0::1;;;::::0;;49289:67::o;28205:328::-;28380:41;20779:10;28413:7;28380:18;:41::i;:::-;28372:103;;;;-1:-1:-1;;;28372:103:0;;;;;;;:::i;:::-;28486:39;28500:4;28506:2;28510:7;28519:5;28486:13;:39::i;48711:556::-;30108:4;30132:16;;;:7;:16;;;;;;48811:13;;-1:-1:-1;;;;;30132:16:0;48836:97;;;;-1:-1:-1;;;48836:97:0;;15592:2:1;48836:97:0;;;15574:21:1;15631:2;15611:18;;;15604:30;15670:34;15650:18;;;15643:62;-1:-1:-1;;;15721:18:1;;;15714:45;15776:19;;48836:97:0;15390:411:1;48836:97:0;48949:8;;;;;;;48946:125;;48989:74;;;;;;;;;;;;;;;;;;48711:556;-1:-1:-1;;48711:556:0:o;48946:125::-;49079:28;49110:10;:8;:10::i;:::-;49079:41;;49165:1;49140:14;49134:28;:32;:127;;;;;;;;;;;;;;;;;49202:14;49218:18;:7;:16;:18::i;:::-;49185:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49134:127;49127:134;48711:556;-1:-1:-1;;;48711:556:0:o;49364:106::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;49437:18:::1;:27:::0;49364:106::o;45226:192::-;44399:6;;-1:-1:-1;;;;;44399:6:0;20779:10;44546:23;44538:68;;;;-1:-1:-1;;;44538:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45315:22:0;::::1;45307:73;;;::::0;-1:-1:-1;;;45307:73:0;;8564:2:1;45307:73:0::1;::::0;::::1;8546:21:1::0;8603:2;8583:18;;;8576:30;8642:34;8622:18;;;8615:62;-1:-1:-1;;;8693:18:1;;;8686:36;8739:19;;45307:73:0::1;8362:402:1::0;45307:73:0::1;45391:19;45401:8;45391:9;:19::i;24143:305::-:0;24245:4;-1:-1:-1;;;;;;24282:40:0;;-1:-1:-1;;;24282:40:0;;:105;;-1:-1:-1;;;;;;;24339:48:0;;-1:-1:-1;;;24339:48:0;24282:105;:158;;;-1:-1:-1;;;;;;;;;;8165:40:0;;;24404:36;8056:157;34025:174;34100:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;34100:29:0;-1:-1:-1;;;;;34100:29:0;;;;;;;;:24;;34154:23;34100:24;34154:14;:23::i;:::-;-1:-1:-1;;;;;34145:46:0;;;;;;;;;;;34025:174;;:::o;30337:348::-;30430:4;30132:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30132:16:0;30447:73;;;;-1:-1:-1;;;30447:73:0;;10798:2:1;30447:73:0;;;10780:21:1;10837:2;10817:18;;;10810:30;10876:34;10856:18;;;10849:62;-1:-1:-1;;;10927:18:1;;;10920:42;10979:19;;30447:73:0;10596:408:1;30447:73:0;30531:13;30547:23;30562:7;30547:14;:23::i;:::-;30531:39;;30600:5;-1:-1:-1;;;;;30589:16:0;:7;-1:-1:-1;;;;;30589:16:0;;:51;;;;30633:7;-1:-1:-1;;;;;30609:31:0;:20;30621:7;30609:11;:20::i;:::-;-1:-1:-1;;;;;30609:31:0;;30589:51;:87;;;-1:-1:-1;;;;;;27429:25:0;;;27405:4;27429:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;30644:32;30581:96;30337:348;-1:-1:-1;;;;30337:348:0:o;33329:578::-;33488:4;-1:-1:-1;;;;;33461:31:0;:23;33476:7;33461:14;:23::i;:::-;-1:-1:-1;;;;;33461:31:0;;33453:85;;;;-1:-1:-1;;;33453:85:0;;15182:2:1;33453:85:0;;;15164:21:1;15221:2;15201:18;;;15194:30;15260:34;15240:18;;;15233:62;-1:-1:-1;;;15311:18:1;;;15304:39;15360:19;;33453:85:0;14980:405:1;33453:85:0;-1:-1:-1;;;;;33557:16:0;;33549:65;;;;-1:-1:-1;;;33549:65:0;;9684:2:1;33549:65:0;;;9666:21:1;9723:2;9703:18;;;9696:30;9762:34;9742:18;;;9735:62;-1:-1:-1;;;9813:18:1;;;9806:34;9857:19;;33549:65:0;9482:400:1;33549:65:0;33627:39;33648:4;33654:2;33658:7;33627:20;:39::i;:::-;33731:29;33748:1;33752:7;33731:8;:29::i;:::-;-1:-1:-1;;;;;33773:15:0;;;;;;:9;:15;;;;;:20;;33792:1;;33773:15;:20;;33792:1;;33773:20;:::i;:::-;;;;-1:-1:-1;;;;;;;33804:13:0;;;;;;:9;:13;;;;;:18;;33821:1;;33804:13;:18;;33821:1;;33804:18;:::i;:::-;;;;-1:-1:-1;;33833:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33833:21:0;-1:-1:-1;;;;;33833:21:0;;;;;;;;;33872:27;;33833:16;;33872:27;;;;;;;33329:578;;;:::o;45426:173::-;45501:6;;;-1:-1:-1;;;;;45518:17:0;;;-1:-1:-1;;;;;;45518:17:0;;;;;;;45551:40;;45501:6;;;45518:17;45501:6;;45551:40;;45482:16;;45551:40;45471:128;45426:173;:::o;21015:181::-;21073:7;;21105:5;21109:1;21105;:5;:::i;:::-;21093:17;;21134:1;21129;:6;;21121:46;;;;-1:-1:-1;;;21121:46:0;;9328:2:1;21121:46:0;;;9310:21:1;9367:2;9347:18;;;9340:30;9406:29;9386:18;;;9379:57;9453:18;;21121:46:0;9126:351:1;21548:471:0;21606:7;21851:6;21847:47;;-1:-1:-1;21881:1:0;21874:8;;21847:47;21906:9;21918:5;21922:1;21918;:5;:::i;:::-;21906:17;-1:-1:-1;21951:1:0;21942:5;21946:1;21906:17;21942:5;:::i;:::-;:10;21934:56;;;;-1:-1:-1;;;21934:56:0;;13655:2:1;21934:56:0;;;13637:21:1;13694:2;13674:18;;;13667:30;13733:34;13713:18;;;13706:62;-1:-1:-1;;;13784:18:1;;;13777:31;13825:19;;21934:56:0;13453:397:1;31027:110:0;31103:26;31113:2;31117:7;31103:26;;;;;;;;;;;;:9;:26::i;29415:315::-;29572:28;29582:4;29588:2;29592:7;29572:9;:28::i;:::-;29619:48;29642:4;29648:2;29652:7;29661:5;29619:22;:48::i;:::-;29611:111;;;;-1:-1:-1;;;29611:111:0;;;;;;;:::i;46363:102::-;46423:13;46452:7;46445:14;;;;;:::i;8531:723::-;8587:13;8808:10;8804:53;;-1:-1:-1;;8835:10:0;;;;;;;;;;;;-1:-1:-1;;;8835:10:0;;;;;8531:723::o;8804:53::-;8882:5;8867:12;8923:78;8930:9;;8923:78;;8956:8;;;;:::i;:::-;;-1:-1:-1;8979:10:0;;-1:-1:-1;8987:2:0;8979:10;;:::i;:::-;;;8923:78;;;9011:19;9043:6;9033:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9033:17:0;;9011:39;;9061:154;9068:10;;9061:154;;9095:11;9105:1;9095:11;;:::i;:::-;;-1:-1:-1;9164:10:0;9172:2;9164:5;:10;:::i;:::-;9151:24;;:2;:24;:::i;:::-;9138:39;;9121:6;9128;9121:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;9121:56:0;;;;;;;;-1:-1:-1;9192:11:0;9201:2;9192:11;;:::i;:::-;;;9061:154;;38864:589;-1:-1:-1;;;;;39070:18:0;;39066:187;;39105:40;39137:7;40280:10;:17;;40253:24;;;;:15;:24;;;;;:44;;;40308:24;;;;;;;;;;;;40176:164;39105:40;39066:187;;;39175:2;-1:-1:-1;;;;;39167:10:0;:4;-1:-1:-1;;;;;39167:10:0;;39163:90;;39194:47;39227:4;39233:7;39194:32;:47::i;:::-;-1:-1:-1;;;;;39267:16:0;;39263:183;;39300:45;39337:7;39300:36;:45::i;39263:183::-;39373:4;-1:-1:-1;;;;;39367:10:0;:2;-1:-1:-1;;;;;39367:10:0;;39363:83;;39394:40;39422:2;39426:7;39394:27;:40::i;31364:321::-;31494:18;31500:2;31504:7;31494:5;:18::i;:::-;31545:54;31576:1;31580:2;31584:7;31593:5;31545:22;:54::i;:::-;31523:154;;;;-1:-1:-1;;;31523:154:0;;;;;;;:::i;34764:799::-;34919:4;-1:-1:-1;;;;;34940:13:0;;11379:20;11427:8;34936:620;;34976:72;;-1:-1:-1;;;34976:72:0;;-1:-1:-1;;;;;34976:36:0;;;;;:72;;20779:10;;35027:4;;35033:7;;35042:5;;34976:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34976:72:0;;;;;;;;-1:-1:-1;;34976:72:0;;;;;;;;;;;;:::i;:::-;;;34972:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35218:13:0;;35214:272;;35261:60;;-1:-1:-1;;;35261:60:0;;;;;;;:::i;35214:272::-;35436:6;35430:13;35421:6;35417:2;35413:15;35406:38;34972:529;-1:-1:-1;;;;;;35099:51:0;-1:-1:-1;;;35099:51:0;;-1:-1:-1;35092:58:0;;34936:620;-1:-1:-1;35540:4:0;34764:799;;;;;;:::o;40967:988::-;41233:22;41283:1;41258:22;41275:4;41258:16;:22::i;:::-;:26;;;;:::i;:::-;41295:18;41316:26;;;:17;:26;;;;;;41233:51;;-1:-1:-1;41449:28:0;;;41445:328;;-1:-1:-1;;;;;41516:18:0;;41494:19;41516:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41567:30;;;;;;:44;;;41684:30;;:17;:30;;;;;:43;;;41445:328;-1:-1:-1;41869:26:0;;;;:17;:26;;;;;;;;41862:33;;;-1:-1:-1;;;;;41913:18:0;;;;;:12;:18;;;;;:34;;;;;;;41906:41;40967:988::o;42250:1079::-;42528:10;:17;42503:22;;42528:21;;42548:1;;42528:21;:::i;:::-;42560:18;42581:24;;;:15;:24;;;;;;42954:10;:26;;42503:46;;-1:-1:-1;42581:24:0;;42503:46;;42954:26;;;;;;:::i;:::-;;;;;;;;;42932:48;;43018:11;42993:10;43004;42993:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;43098:28;;;:15;:28;;;;;;;:41;;;43270:24;;;;;43263:31;43305:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;42321:1008;;;42250:1079;:::o;39754:221::-;39839:14;39856:20;39873:2;39856:16;:20::i;:::-;-1:-1:-1;;;;;39887:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39932:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39754:221:0:o;32021:382::-;-1:-1:-1;;;;;32101:16:0;;32093:61;;;;-1:-1:-1;;;32093:61:0;;13294:2:1;32093:61:0;;;13276:21:1;;;13313:18;;;13306:30;13372:34;13352:18;;;13345:62;13424:18;;32093:61:0;13092:356:1;32093:61:0;30108:4;30132:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30132:16:0;:30;32165:58;;;;-1:-1:-1;;;32165:58:0;;8971:2:1;32165:58:0;;;8953:21:1;9010:2;8990:18;;;8983:30;9049;9029:18;;;9022:58;9097:18;;32165:58:0;8769:352:1;32165:58:0;32236:45;32265:1;32269:2;32273:7;32236:20;:45::i;:::-;-1:-1:-1;;;;;32294:13:0;;;;;;:9;:13;;;;;:18;;32311:1;;32294:13;:18;;32311:1;;32294:18;:::i;:::-;;;;-1:-1:-1;;32323:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32323:21:0;-1:-1:-1;;;;;32323:21:0;;;;;;;;32362:33;;32323:16;;;32362:33;;32323:16;;32362:33;32021:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:615::-;2985:6;2993;3046:2;3034:9;3025:7;3021:23;3017:32;3014:52;;;3062:1;3059;3052:12;3014:52;3102:9;3089:23;3131:18;3172:2;3164:6;3161:14;3158:34;;;3188:1;3185;3178:12;3158:34;3226:6;3215:9;3211:22;3201:32;;3271:7;3264:4;3260:2;3256:13;3252:27;3242:55;;3293:1;3290;3283:12;3242:55;3333:2;3320:16;3359:2;3351:6;3348:14;3345:34;;;3375:1;3372;3365:12;3345:34;3428:7;3423:2;3413:6;3410:1;3406:14;3402:2;3398:23;3394:32;3391:45;3388:65;;;3449:1;3446;3439:12;3388:65;3480:2;3472:11;;;;;3502:6;;-1:-1:-1;2899:615:1;;-1:-1:-1;;;;2899:615:1:o;3519:245::-;3577:6;3630:2;3618:9;3609:7;3605:23;3601:32;3598:52;;;3646:1;3643;3636:12;3598:52;3685:9;3672:23;3704:30;3728:5;3704:30;:::i;3769:249::-;3838:6;3891:2;3879:9;3870:7;3866:23;3862:32;3859:52;;;3907:1;3904;3897:12;3859:52;3939:9;3933:16;3958:30;3982:5;3958:30;:::i;4023:450::-;4092:6;4145:2;4133:9;4124:7;4120:23;4116:32;4113:52;;;4161:1;4158;4151:12;4113:52;4201:9;4188:23;4234:18;4226:6;4223:30;4220:50;;;4266:1;4263;4256:12;4220:50;4289:22;;4342:4;4334:13;;4330:27;-1:-1:-1;4320:55:1;;4371:1;4368;4361:12;4320:55;4394:73;4459:7;4454:2;4441:16;4436:2;4432;4428:11;4394:73;:::i;4478:180::-;4537:6;4590:2;4578:9;4569:7;4565:23;4561:32;4558:52;;;4606:1;4603;4596:12;4558:52;-1:-1:-1;4629:23:1;;4478:180;-1:-1:-1;4478:180:1:o;4663:257::-;4704:3;4742:5;4736:12;4769:6;4764:3;4757:19;4785:63;4841:6;4834:4;4829:3;4825:14;4818:4;4811:5;4807:16;4785:63;:::i;:::-;4902:2;4881:15;-1:-1:-1;;4877:29:1;4868:39;;;;4909:4;4864:50;;4663:257;-1:-1:-1;;4663:257:1:o;4925:637::-;5205:3;5243:6;5237:13;5259:53;5305:6;5300:3;5293:4;5285:6;5281:17;5259:53;:::i;:::-;5375:13;;5334:16;;;;5397:57;5375:13;5334:16;5431:4;5419:17;;5397:57;:::i;:::-;-1:-1:-1;;;5476:20:1;;5505:22;;;5554:1;5543:13;;4925:637;-1:-1:-1;;;;4925:637:1:o;5985:488::-;-1:-1:-1;;;;;6254:15:1;;;6236:34;;6306:15;;6301:2;6286:18;;6279:43;6353:2;6338:18;;6331:34;;;6401:3;6396:2;6381:18;;6374:31;;;6179:4;;6422:45;;6447:19;;6439:6;6422:45;:::i;:::-;6414:53;5985:488;-1:-1:-1;;;;;;5985:488:1:o;6478:632::-;6649:2;6701:21;;;6771:13;;6674:18;;;6793:22;;;6620:4;;6649:2;6872:15;;;;6846:2;6831:18;;;6620:4;6915:169;6929:6;6926:1;6923:13;6915:169;;;6990:13;;6978:26;;7059:15;;;;7024:12;;;;6951:1;6944:9;6915:169;;;-1:-1:-1;7101:3:1;;6478:632;-1:-1:-1;;;;;;6478:632:1:o;7307:219::-;7456:2;7445:9;7438:21;7419:4;7476:44;7516:2;7505:9;7501:18;7493:6;7476:44;:::i;7943:414::-;8145:2;8127:21;;;8184:2;8164:18;;;8157:30;8223:34;8218:2;8203:18;;8196:62;-1:-1:-1;;;8289:2:1;8274:18;;8267:48;8347:3;8332:19;;7943:414::o;14268:356::-;14470:2;14452:21;;;14489:18;;;14482:30;14548:34;14543:2;14528:18;;14521:62;14615:2;14600:18;;14268:356::o;17387:413::-;17589:2;17571:21;;;17628:2;17608:18;;;17601:30;17667:34;17662:2;17647:18;;17640:62;-1:-1:-1;;;17733:2:1;17718:18;;17711:47;17790:3;17775:19;;17387:413::o;18756:128::-;18796:3;18827:1;18823:6;18820:1;18817:13;18814:39;;;18833:18;;:::i;:::-;-1:-1:-1;18869:9:1;;18756:128::o;18889:120::-;18929:1;18955;18945:35;;18960:18;;:::i;:::-;-1:-1:-1;18994:9:1;;18889:120::o;19014:168::-;19054:7;19120:1;19116;19112:6;19108:14;19105:1;19102:21;19097:1;19090:9;19083:17;19079:45;19076:71;;;19127:18;;:::i;:::-;-1:-1:-1;19167:9:1;;19014:168::o;19187:125::-;19227:4;19255:1;19252;19249:8;19246:34;;;19260:18;;:::i;:::-;-1:-1:-1;19297:9:1;;19187:125::o;19317:258::-;19389:1;19399:113;19413:6;19410:1;19407:13;19399:113;;;19489:11;;;19483:18;19470:11;;;19463:39;19435:2;19428:10;19399:113;;;19530:6;19527:1;19524:13;19521:48;;;-1:-1:-1;;19565:1:1;19547:16;;19540:27;19317:258::o;19580:380::-;19659:1;19655:12;;;;19702;;;19723:61;;19777:4;19769:6;19765:17;19755:27;;19723:61;19830:2;19822:6;19819:14;19799:18;19796:38;19793:161;;;19876:10;19871:3;19867:20;19864:1;19857:31;19911:4;19908:1;19901:15;19939:4;19936:1;19929:15;19793:161;;19580:380;;;:::o;19965:135::-;20004:3;-1:-1:-1;;20025:17:1;;20022:43;;;20045:18;;:::i;:::-;-1:-1:-1;20092:1:1;20081:13;;19965:135::o;20105:112::-;20137:1;20163;20153:35;;20168:18;;:::i;:::-;-1:-1:-1;20202:9:1;;20105:112::o;20222:127::-;20283:10;20278:3;20274:20;20271:1;20264:31;20314:4;20311:1;20304:15;20338:4;20335:1;20328:15;20354:127;20415:10;20410:3;20406:20;20403:1;20396:31;20446:4;20443:1;20436:15;20470:4;20467:1;20460:15;20486:127;20547:10;20542:3;20538:20;20535:1;20528:31;20578:4;20575:1;20568:15;20602:4;20599:1;20592:15;20618:127;20679:10;20674:3;20670:20;20667:1;20660:31;20710:4;20707:1;20700:15;20734:4;20731:1;20724:15;20750:127;20811:10;20806:3;20802:20;20799:1;20792:31;20842:4;20839:1;20832:15;20866:4;20863:1;20856:15;20882:131;-1:-1:-1;;;;;;20956:32:1;;20946:43;;20936:71;;21003:1;21000;20993:12
Swarm Source
ipfs://3f85fba9f91977800fe7afe140f075277492ffbd5e89bb4a30a95dc3d3138331
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.