Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
912 MONKS2
Holders
312
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 MONKS2Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ImmortalSamaneras
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-26 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (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`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: contracts/ImmortalSamaneras.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; contract ImmortalSamaneras is ERC721Enumerable, Ownable { // project settings bool public isActive = false; address public genesis; string private _baseURIPath; constructor(address monks1) ERC721("ImmortalSamaneras", "MONKS2") { genesis = monks1; } /** * @dev Checks how many tokens the given address is eligible to claim/mint */ function checkClaimByAddress(address owner) public view returns (uint256) { ERC721Enumerable monks1 = ERC721Enumerable(genesis); uint256 nftCount = monks1.balanceOf(owner); if (nftCount == 0) {return 0;} uint256 claimCount = 0; for (uint256 i = 0; i < nftCount; i++) { uint256 nftId = monks1.tokenOfOwnerByIndex(owner, i); if (!_exists(nftId)) { claimCount++; } } return claimCount; } /** * @dev Checks if a given token id has already been claimed/minted */ function checkClaimByTokenId(uint256 id) public view returns (bool) { if (_exists(id)) { return true; } return false; } /** * @dev Genesis owners may claim/mint free tokens, only paying the gas fee */ function mintTokens(uint256 limit) external payable { require(isActive, "Minting is not active"); ERC721Enumerable monks1 = ERC721Enumerable(genesis); uint256 nftCount = monks1.balanceOf(msg.sender); require(nftCount > 0, "Address must own a genesis MONK"); if (limit < 1) { limit = 1; } uint256 minted = 0; for (uint256 i = 0; i < nftCount; i++) { uint256 nftId = monks1.tokenOfOwnerByIndex(msg.sender, i); if (_exists(nftId)) { continue; } _safeMint(_msgSender(), nftId); minted++; // If we hit our limit for this transaction we can break if (minted == limit) { break; } } } /** * @dev Sets the base URI for the metadata */ function setBaseURI(string memory baseURI) external onlyOwner { _baseURIPath = baseURI; } /** * @dev Sets the contract state on and off */ function toggleState() external onlyOwner { isActive = !isActive; } /** * @dev There should not be any ETH to withdraw, but just in case */ function withdraw() external onlyOwner { Address.sendValue(payable(_msgSender()), address(this).balance); } /** * @dev Override the default baseURI path */ function _baseURI() internal view override returns (string memory) { return _baseURIPath; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"monks1","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"checkClaimByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"checkClaimByTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genesis","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","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":"uint256","name":"limit","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleState","outputs":[],"stateMutability":"nonpayable","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805460ff60a01b191690553480156200001e57600080fd5b50604051620024c6380380620024c68339810160408190526200004191620001ed565b6040805180820182526011815270496d6d6f7274616c53616d616e6572617360781b60208083019182528351808501909452600684526526a7a725a99960d11b908401528151919291620000989160009162000147565b508051620000ae90600190602084019062000147565b505050620000cb620000c5620000f160201b60201c565b620000f5565b600b80546001600160a01b0319166001600160a01b03929092169190911790556200025c565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000155906200021f565b90600052602060002090601f016020900481019282620001795760008555620001c4565b82601f106200019457805160ff1916838001178555620001c4565b82800160010185558215620001c4579182015b82811115620001c4578251825591602001919060010190620001a7565b50620001d2929150620001d6565b5090565b5b80821115620001d25760008155600101620001d7565b6000602082840312156200020057600080fd5b81516001600160a01b03811681146200021857600080fd5b9392505050565b600181811c908216806200023457607f821691505b602082108114156200025657634e487b7160e01b600052602260045260246000fd5b50919050565b61225a806200026c6000396000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063a7f0b3de1161008a578063d37e510411610064578063d37e510414610482578063e985e9c514610497578063f2fde38b146104e0578063f7d95d091461050057600080fd5b8063a7f0b3de14610422578063b88d4fde14610442578063c87b56dd1461046257600080fd5b80638da5cb5b116100c65780638da5cb5b146103bc57806395d89b41146103da57806397304ced146103ef578063a22cb4651461040257600080fd5b806370a08231146103675780637110127814610387578063715018a6146103a757600080fd5b806323b872dd1161015957806342842e0e1161013357806342842e0e146102e75780634f6ccce71461030757806355f804b3146103275780636352211e1461034757600080fd5b806323b872dd146102925780632f745c59146102b25780633ccfd60b146102d257600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806318160ddd1461025257806322f3e2d414610271575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611e8f565b610520565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61054b565b6040516101cd9190611fdc565b34801561020457600080fd5b50610218610213366004611f12565b6105dd565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b366004611e65565b61066a565b005b34801561025e57600080fd5b506008545b6040519081526020016101cd565b34801561027d57600080fd5b50600a546101c190600160a01b900460ff1681565b34801561029e57600080fd5b506102506102ad366004611d71565b610780565b3480156102be57600080fd5b506102636102cd366004611e65565b6107b1565b3480156102de57600080fd5b50610250610847565b3480156102f357600080fd5b50610250610302366004611d71565b61087d565b34801561031357600080fd5b50610263610322366004611f12565b610898565b34801561033357600080fd5b50610250610342366004611ec9565b61092b565b34801561035357600080fd5b50610218610362366004611f12565b61096c565b34801561037357600080fd5b50610263610382366004611d23565b6109e3565b34801561039357600080fd5b506102636103a2366004611d23565b610a6a565b3480156103b357600080fd5b50610250610bc6565b3480156103c857600080fd5b50600a546001600160a01b0316610218565b3480156103e657600080fd5b506101eb610bfa565b6102506103fd366004611f12565b610c09565b34801561040e57600080fd5b5061025061041d366004611e29565b610e1d565b34801561042e57600080fd5b50600b54610218906001600160a01b031681565b34801561044e57600080fd5b5061025061045d366004611dad565b610e28565b34801561046e57600080fd5b506101eb61047d366004611f12565b610e60565b34801561048e57600080fd5b50610250610f2b565b3480156104a357600080fd5b506101c16104b2366004611d3e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156104ec57600080fd5b506102506104fb366004611d23565b610f76565b34801561050c57600080fd5b506101c161051b366004611f12565b611011565b60006001600160e01b0319821663780e9d6360e01b1480610545575061054582611031565b92915050565b60606000805461055a90612136565b80601f016020809104026020016040519081016040528092919081815260200182805461058690612136565b80156105d35780601f106105a8576101008083540402835291602001916105d3565b820191906000526020600020905b8154815290600101906020018083116105b657829003601f168201915b5050505050905090565b60006105e882611081565b61064e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106758261096c565b9050806001600160a01b0316836001600160a01b031614156106e35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610645565b336001600160a01b03821614806106ff57506106ff81336104b2565b6107715760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610645565b61077b838361109e565b505050565b61078a338261110c565b6107a65760405162461bcd60e51b815260040161064590612076565b61077b8383836111f6565b60006107bc836109e3565b821061081e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610645565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146108715760405162461bcd60e51b815260040161064590612041565b61087b334761139d565b565b61077b83838360405180602001604052806000815250610e28565b60006108a360085490565b82106109065760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610645565b60088281548110610919576109196121e2565b90600052602060002001549050919050565b600a546001600160a01b031633146109555760405162461bcd60e51b815260040161064590612041565b805161096890600c906020840190611bf8565b5050565b6000818152600260205260408120546001600160a01b0316806105455760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610645565b60006001600160a01b038216610a4e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610645565b506001600160a01b031660009081526003602052604090205490565b600b546040516370a0823160e01b81526001600160a01b0383811660048301526000921690829082906370a082319060240160206040518083038186803b158015610ab457600080fd5b505afa158015610ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aec9190611f2b565b905080610afd575060009392505050565b6000805b82811015610bbd57604051632f745c5960e01b81526001600160a01b0387811660048301526024820183905260009190861690632f745c599060440160206040518083038186803b158015610b5557600080fd5b505afa158015610b69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8d9190611f2b565b9050610b9881611081565b610baa5782610ba681612171565b9350505b5080610bb581612171565b915050610b01565b50949350505050565b600a546001600160a01b03163314610bf05760405162461bcd60e51b815260040161064590612041565b61087b60006114b6565b60606001805461055a90612136565b600a54600160a01b900460ff16610c5a5760405162461bcd60e51b81526020600482015260156024820152744d696e74696e67206973206e6f742061637469766560581b6044820152606401610645565b600b546040516370a0823160e01b81523360048201526001600160a01b039091169060009082906370a082319060240160206040518083038186803b158015610ca257600080fd5b505afa158015610cb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cda9190611f2b565b905060008111610d2c5760405162461bcd60e51b815260206004820152601f60248201527f41646472657373206d757374206f776e20612067656e65736973204d4f4e4b006044820152606401610645565b6001831015610d3a57600192505b6000805b82811015610e1657604051632f745c5960e01b8152336004820152602481018290526000906001600160a01b03861690632f745c599060440160206040518083038186803b158015610d8f57600080fd5b505afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611f2b565b9050610dd281611081565b15610ddd5750610e04565b610de73382611508565b82610df181612171565b93505085831415610e025750610e16565b505b80610e0e81612171565b915050610d3e565b5050505050565b610968338383611522565b610e32338361110c565b610e4e5760405162461bcd60e51b815260040161064590612076565b610e5a848484846115f1565b50505050565b6060610e6b82611081565b610ecf5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610645565b6000610ed9611624565b90506000815111610ef95760405180602001604052806000815250610f24565b80610f0384611633565b604051602001610f14929190611f70565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610f555760405162461bcd60e51b815260040161064590612041565b600a805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600a546001600160a01b03163314610fa05760405162461bcd60e51b815260040161064590612041565b6001600160a01b0381166110055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610645565b61100e816114b6565b50565b600061101c82611081565b1561102957506001919050565b506000919050565b60006001600160e01b031982166380ac58cd60e01b148061106257506001600160e01b03198216635b5e139f60e01b145b8061054557506301ffc9a760e01b6001600160e01b0319831614610545565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110d38261096c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061111782611081565b6111785760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610645565b60006111838361096c565b9050806001600160a01b0316846001600160a01b031614806111ca57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806111ee5750836001600160a01b03166111e3846105dd565b6001600160a01b0316145b949350505050565b826001600160a01b03166112098261096c565b6001600160a01b03161461126d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610645565b6001600160a01b0382166112cf5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610645565b6112da838383611731565b6112e560008261109e565b6001600160a01b038316600090815260036020526040812080546001929061130e9084906120f3565b90915550506001600160a01b038216600090815260036020526040812080546001929061133c9084906120c7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156113ed5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610645565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461143a576040519150601f19603f3d011682016040523d82523d6000602084013e61143f565b606091505b505090508061077b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610645565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109688282604051806020016040528060008152506117e9565b816001600160a01b0316836001600160a01b031614156115845760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610645565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6115fc8484846111f6565b6116088484848461181c565b610e5a5760405162461bcd60e51b815260040161064590611fef565b6060600c805461055a90612136565b6060816116575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611681578061166b81612171565b915061167a9050600a836120df565b915061165b565b60008167ffffffffffffffff81111561169c5761169c6121f8565b6040519080825280601f01601f1916602001820160405280156116c6576020820181803683370190505b5090505b84156111ee576116db6001836120f3565b91506116e8600a8661218c565b6116f39060306120c7565b60f81b818381518110611708576117086121e2565b60200101906001600160f81b031916908160001a90535061172a600a866120df565b94506116ca565b6001600160a01b03831661178c5761178781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6117af565b816001600160a01b0316836001600160a01b0316146117af576117af8382611929565b6001600160a01b0382166117c65761077b816119c6565b826001600160a01b0316826001600160a01b03161461077b5761077b8282611a75565b6117f38383611ab9565b611800600084848461181c565b61077b5760405162461bcd60e51b815260040161064590611fef565b60006001600160a01b0384163b1561191e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611860903390899088908890600401611f9f565b602060405180830381600087803b15801561187a57600080fd5b505af19250505080156118aa575060408051601f3d908101601f191682019092526118a791810190611eac565b60015b611904573d8080156118d8576040519150601f19603f3d011682016040523d82523d6000602084013e6118dd565b606091505b5080516118fc5760405162461bcd60e51b815260040161064590611fef565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111ee565b506001949350505050565b60006001611936846109e3565b61194091906120f3565b600083815260076020526040902054909150808214611993576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906119d8906001906120f3565b60008381526009602052604081205460088054939450909284908110611a0057611a006121e2565b906000526020600020015490508060088381548110611a2157611a216121e2565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611a5957611a596121cc565b6001900381819060005260206000200160009055905550505050565b6000611a80836109e3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611b0f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610645565b611b1881611081565b15611b655760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610645565b611b7160008383611731565b6001600160a01b0382166000908152600360205260408120805460019290611b9a9084906120c7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c0490612136565b90600052602060002090601f016020900481019282611c265760008555611c6c565b82601f10611c3f57805160ff1916838001178555611c6c565b82800160010185558215611c6c579182015b82811115611c6c578251825591602001919060010190611c51565b50611c78929150611c7c565b5090565b5b80821115611c785760008155600101611c7d565b600067ffffffffffffffff80841115611cac57611cac6121f8565b604051601f8501601f19908116603f01168101908282118183101715611cd457611cd46121f8565b81604052809350858152868686011115611ced57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d1e57600080fd5b919050565b600060208284031215611d3557600080fd5b610f2482611d07565b60008060408385031215611d5157600080fd5b611d5a83611d07565b9150611d6860208401611d07565b90509250929050565b600080600060608486031215611d8657600080fd5b611d8f84611d07565b9250611d9d60208501611d07565b9150604084013590509250925092565b60008060008060808587031215611dc357600080fd5b611dcc85611d07565b9350611dda60208601611d07565b925060408501359150606085013567ffffffffffffffff811115611dfd57600080fd5b8501601f81018713611e0e57600080fd5b611e1d87823560208401611c91565b91505092959194509250565b60008060408385031215611e3c57600080fd5b611e4583611d07565b915060208301358015158114611e5a57600080fd5b809150509250929050565b60008060408385031215611e7857600080fd5b611e8183611d07565b946020939093013593505050565b600060208284031215611ea157600080fd5b8135610f248161220e565b600060208284031215611ebe57600080fd5b8151610f248161220e565b600060208284031215611edb57600080fd5b813567ffffffffffffffff811115611ef257600080fd5b8201601f81018413611f0357600080fd5b6111ee84823560208401611c91565b600060208284031215611f2457600080fd5b5035919050565b600060208284031215611f3d57600080fd5b5051919050565b60008151808452611f5c81602086016020860161210a565b601f01601f19169290920160200192915050565b60008351611f8281846020880161210a565b835190830190611f9681836020880161210a565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fd290830184611f44565b9695505050505050565b602081526000610f246020830184611f44565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156120da576120da6121a0565b500190565b6000826120ee576120ee6121b6565b500490565b600082821015612105576121056121a0565b500390565b60005b8381101561212557818101518382015260200161210d565b83811115610e5a5750506000910152565b600181811c9082168061214a57607f821691505b6020821081141561216b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612185576121856121a0565b5060010190565b60008261219b5761219b6121b6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461100e57600080fdfea264697066735822122043df3d08546c6c189e419685a25546acd52873a43659c6df6a07c85569906dec64736f6c634300080700330000000000000000000000006faa985dc84619c689509a55cee7ccc36251b4c0
Deployed Bytecode
0x60806040526004361061019c5760003560e01c806370a08231116100ec578063a7f0b3de1161008a578063d37e510411610064578063d37e510414610482578063e985e9c514610497578063f2fde38b146104e0578063f7d95d091461050057600080fd5b8063a7f0b3de14610422578063b88d4fde14610442578063c87b56dd1461046257600080fd5b80638da5cb5b116100c65780638da5cb5b146103bc57806395d89b41146103da57806397304ced146103ef578063a22cb4651461040257600080fd5b806370a08231146103675780637110127814610387578063715018a6146103a757600080fd5b806323b872dd1161015957806342842e0e1161013357806342842e0e146102e75780634f6ccce71461030757806355f804b3146103275780636352211e1461034757600080fd5b806323b872dd146102925780632f745c59146102b25780633ccfd60b146102d257600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806318160ddd1461025257806322f3e2d414610271575b600080fd5b3480156101ad57600080fd5b506101c16101bc366004611e8f565b610520565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61054b565b6040516101cd9190611fdc565b34801561020457600080fd5b50610218610213366004611f12565b6105dd565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b366004611e65565b61066a565b005b34801561025e57600080fd5b506008545b6040519081526020016101cd565b34801561027d57600080fd5b50600a546101c190600160a01b900460ff1681565b34801561029e57600080fd5b506102506102ad366004611d71565b610780565b3480156102be57600080fd5b506102636102cd366004611e65565b6107b1565b3480156102de57600080fd5b50610250610847565b3480156102f357600080fd5b50610250610302366004611d71565b61087d565b34801561031357600080fd5b50610263610322366004611f12565b610898565b34801561033357600080fd5b50610250610342366004611ec9565b61092b565b34801561035357600080fd5b50610218610362366004611f12565b61096c565b34801561037357600080fd5b50610263610382366004611d23565b6109e3565b34801561039357600080fd5b506102636103a2366004611d23565b610a6a565b3480156103b357600080fd5b50610250610bc6565b3480156103c857600080fd5b50600a546001600160a01b0316610218565b3480156103e657600080fd5b506101eb610bfa565b6102506103fd366004611f12565b610c09565b34801561040e57600080fd5b5061025061041d366004611e29565b610e1d565b34801561042e57600080fd5b50600b54610218906001600160a01b031681565b34801561044e57600080fd5b5061025061045d366004611dad565b610e28565b34801561046e57600080fd5b506101eb61047d366004611f12565b610e60565b34801561048e57600080fd5b50610250610f2b565b3480156104a357600080fd5b506101c16104b2366004611d3e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156104ec57600080fd5b506102506104fb366004611d23565b610f76565b34801561050c57600080fd5b506101c161051b366004611f12565b611011565b60006001600160e01b0319821663780e9d6360e01b1480610545575061054582611031565b92915050565b60606000805461055a90612136565b80601f016020809104026020016040519081016040528092919081815260200182805461058690612136565b80156105d35780601f106105a8576101008083540402835291602001916105d3565b820191906000526020600020905b8154815290600101906020018083116105b657829003601f168201915b5050505050905090565b60006105e882611081565b61064e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106758261096c565b9050806001600160a01b0316836001600160a01b031614156106e35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610645565b336001600160a01b03821614806106ff57506106ff81336104b2565b6107715760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610645565b61077b838361109e565b505050565b61078a338261110c565b6107a65760405162461bcd60e51b815260040161064590612076565b61077b8383836111f6565b60006107bc836109e3565b821061081e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610645565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146108715760405162461bcd60e51b815260040161064590612041565b61087b334761139d565b565b61077b83838360405180602001604052806000815250610e28565b60006108a360085490565b82106109065760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610645565b60088281548110610919576109196121e2565b90600052602060002001549050919050565b600a546001600160a01b031633146109555760405162461bcd60e51b815260040161064590612041565b805161096890600c906020840190611bf8565b5050565b6000818152600260205260408120546001600160a01b0316806105455760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610645565b60006001600160a01b038216610a4e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610645565b506001600160a01b031660009081526003602052604090205490565b600b546040516370a0823160e01b81526001600160a01b0383811660048301526000921690829082906370a082319060240160206040518083038186803b158015610ab457600080fd5b505afa158015610ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aec9190611f2b565b905080610afd575060009392505050565b6000805b82811015610bbd57604051632f745c5960e01b81526001600160a01b0387811660048301526024820183905260009190861690632f745c599060440160206040518083038186803b158015610b5557600080fd5b505afa158015610b69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8d9190611f2b565b9050610b9881611081565b610baa5782610ba681612171565b9350505b5080610bb581612171565b915050610b01565b50949350505050565b600a546001600160a01b03163314610bf05760405162461bcd60e51b815260040161064590612041565b61087b60006114b6565b60606001805461055a90612136565b600a54600160a01b900460ff16610c5a5760405162461bcd60e51b81526020600482015260156024820152744d696e74696e67206973206e6f742061637469766560581b6044820152606401610645565b600b546040516370a0823160e01b81523360048201526001600160a01b039091169060009082906370a082319060240160206040518083038186803b158015610ca257600080fd5b505afa158015610cb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cda9190611f2b565b905060008111610d2c5760405162461bcd60e51b815260206004820152601f60248201527f41646472657373206d757374206f776e20612067656e65736973204d4f4e4b006044820152606401610645565b6001831015610d3a57600192505b6000805b82811015610e1657604051632f745c5960e01b8152336004820152602481018290526000906001600160a01b03861690632f745c599060440160206040518083038186803b158015610d8f57600080fd5b505afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611f2b565b9050610dd281611081565b15610ddd5750610e04565b610de73382611508565b82610df181612171565b93505085831415610e025750610e16565b505b80610e0e81612171565b915050610d3e565b5050505050565b610968338383611522565b610e32338361110c565b610e4e5760405162461bcd60e51b815260040161064590612076565b610e5a848484846115f1565b50505050565b6060610e6b82611081565b610ecf5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610645565b6000610ed9611624565b90506000815111610ef95760405180602001604052806000815250610f24565b80610f0384611633565b604051602001610f14929190611f70565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610f555760405162461bcd60e51b815260040161064590612041565b600a805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600a546001600160a01b03163314610fa05760405162461bcd60e51b815260040161064590612041565b6001600160a01b0381166110055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610645565b61100e816114b6565b50565b600061101c82611081565b1561102957506001919050565b506000919050565b60006001600160e01b031982166380ac58cd60e01b148061106257506001600160e01b03198216635b5e139f60e01b145b8061054557506301ffc9a760e01b6001600160e01b0319831614610545565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110d38261096c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061111782611081565b6111785760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610645565b60006111838361096c565b9050806001600160a01b0316846001600160a01b031614806111ca57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806111ee5750836001600160a01b03166111e3846105dd565b6001600160a01b0316145b949350505050565b826001600160a01b03166112098261096c565b6001600160a01b03161461126d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610645565b6001600160a01b0382166112cf5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610645565b6112da838383611731565b6112e560008261109e565b6001600160a01b038316600090815260036020526040812080546001929061130e9084906120f3565b90915550506001600160a01b038216600090815260036020526040812080546001929061133c9084906120c7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156113ed5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610645565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461143a576040519150601f19603f3d011682016040523d82523d6000602084013e61143f565b606091505b505090508061077b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610645565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109688282604051806020016040528060008152506117e9565b816001600160a01b0316836001600160a01b031614156115845760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610645565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6115fc8484846111f6565b6116088484848461181c565b610e5a5760405162461bcd60e51b815260040161064590611fef565b6060600c805461055a90612136565b6060816116575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611681578061166b81612171565b915061167a9050600a836120df565b915061165b565b60008167ffffffffffffffff81111561169c5761169c6121f8565b6040519080825280601f01601f1916602001820160405280156116c6576020820181803683370190505b5090505b84156111ee576116db6001836120f3565b91506116e8600a8661218c565b6116f39060306120c7565b60f81b818381518110611708576117086121e2565b60200101906001600160f81b031916908160001a90535061172a600a866120df565b94506116ca565b6001600160a01b03831661178c5761178781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6117af565b816001600160a01b0316836001600160a01b0316146117af576117af8382611929565b6001600160a01b0382166117c65761077b816119c6565b826001600160a01b0316826001600160a01b03161461077b5761077b8282611a75565b6117f38383611ab9565b611800600084848461181c565b61077b5760405162461bcd60e51b815260040161064590611fef565b60006001600160a01b0384163b1561191e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611860903390899088908890600401611f9f565b602060405180830381600087803b15801561187a57600080fd5b505af19250505080156118aa575060408051601f3d908101601f191682019092526118a791810190611eac565b60015b611904573d8080156118d8576040519150601f19603f3d011682016040523d82523d6000602084013e6118dd565b606091505b5080516118fc5760405162461bcd60e51b815260040161064590611fef565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111ee565b506001949350505050565b60006001611936846109e3565b61194091906120f3565b600083815260076020526040902054909150808214611993576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906119d8906001906120f3565b60008381526009602052604081205460088054939450909284908110611a0057611a006121e2565b906000526020600020015490508060088381548110611a2157611a216121e2565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611a5957611a596121cc565b6001900381819060005260206000200160009055905550505050565b6000611a80836109e3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611b0f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610645565b611b1881611081565b15611b655760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610645565b611b7160008383611731565b6001600160a01b0382166000908152600360205260408120805460019290611b9a9084906120c7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c0490612136565b90600052602060002090601f016020900481019282611c265760008555611c6c565b82601f10611c3f57805160ff1916838001178555611c6c565b82800160010185558215611c6c579182015b82811115611c6c578251825591602001919060010190611c51565b50611c78929150611c7c565b5090565b5b80821115611c785760008155600101611c7d565b600067ffffffffffffffff80841115611cac57611cac6121f8565b604051601f8501601f19908116603f01168101908282118183101715611cd457611cd46121f8565b81604052809350858152868686011115611ced57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d1e57600080fd5b919050565b600060208284031215611d3557600080fd5b610f2482611d07565b60008060408385031215611d5157600080fd5b611d5a83611d07565b9150611d6860208401611d07565b90509250929050565b600080600060608486031215611d8657600080fd5b611d8f84611d07565b9250611d9d60208501611d07565b9150604084013590509250925092565b60008060008060808587031215611dc357600080fd5b611dcc85611d07565b9350611dda60208601611d07565b925060408501359150606085013567ffffffffffffffff811115611dfd57600080fd5b8501601f81018713611e0e57600080fd5b611e1d87823560208401611c91565b91505092959194509250565b60008060408385031215611e3c57600080fd5b611e4583611d07565b915060208301358015158114611e5a57600080fd5b809150509250929050565b60008060408385031215611e7857600080fd5b611e8183611d07565b946020939093013593505050565b600060208284031215611ea157600080fd5b8135610f248161220e565b600060208284031215611ebe57600080fd5b8151610f248161220e565b600060208284031215611edb57600080fd5b813567ffffffffffffffff811115611ef257600080fd5b8201601f81018413611f0357600080fd5b6111ee84823560208401611c91565b600060208284031215611f2457600080fd5b5035919050565b600060208284031215611f3d57600080fd5b5051919050565b60008151808452611f5c81602086016020860161210a565b601f01601f19169290920160200192915050565b60008351611f8281846020880161210a565b835190830190611f9681836020880161210a565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fd290830184611f44565b9695505050505050565b602081526000610f246020830184611f44565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156120da576120da6121a0565b500190565b6000826120ee576120ee6121b6565b500490565b600082821015612105576121056121a0565b500390565b60005b8381101561212557818101518382015260200161210d565b83811115610e5a5750506000910152565b600181811c9082168061214a57607f821691505b6020821081141561216b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612185576121856121a0565b5060010190565b60008261219b5761219b6121b6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461100e57600080fdfea264697066735822122043df3d08546c6c189e419685a25546acd52873a43659c6df6a07c85569906dec64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006faa985dc84619c689509a55cee7ccc36251b4c0
-----Decoded View---------------
Arg [0] : monks1 (address): 0x6FAA985Dc84619C689509a55cEE7Ccc36251b4C0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006faa985dc84619c689509a55cee7ccc36251b4c0
Deployed Bytecode Sourcemap
45599:2837:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39341:224;;;;;;;;;;-1:-1:-1;39341:224:0;;;;;:::i;:::-;;:::i;:::-;;;6324:14:1;;6317:22;6299:41;;6287:2;6272:18;39341:224:0;;;;;;;;26160:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27720:221::-;;;;;;;;;;-1:-1:-1;27720:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5343:32:1;;;5325:51;;5313:2;5298:18;27720:221:0;5179:203:1;27243:411:0;;;;;;;;;;-1:-1:-1;27243:411:0;;;;;:::i;:::-;;:::i;:::-;;39981:113;;;;;;;;;;-1:-1:-1;40069:10:0;:17;39981:113;;;15419:25:1;;;15407:2;15392:18;39981:113:0;15273:177:1;45689:28:0;;;;;;;;;;-1:-1:-1;45689:28:0;;;;-1:-1:-1;;;45689:28:0;;;;;;28470:339;;;;;;;;;;-1:-1:-1;28470:339:0;;;;;:::i;:::-;;:::i;39649:256::-;;;;;;;;;;-1:-1:-1;39649:256:0;;;;;:::i;:::-;;:::i;48134:121::-;;;;;;;;;;;;;:::i;28880:185::-;;;;;;;;;;-1:-1:-1;28880:185:0;;;;;:::i;:::-;;:::i;40171:233::-;;;;;;;;;;-1:-1:-1;40171:233:0;;;;;:::i;:::-;;:::i;47779:103::-;;;;;;;;;;-1:-1:-1;47779:103:0;;;;;:::i;:::-;;:::i;25854:239::-;;;;;;;;;;-1:-1:-1;25854:239:0;;;;;:::i;:::-;;:::i;25584:208::-;;;;;;;;;;-1:-1:-1;25584:208:0;;;;;:::i;:::-;;:::i;45998:512::-;;;;;;;;;;-1:-1:-1;45998:512:0;;;;;:::i;:::-;;:::i;4730:103::-;;;;;;;;;;;;;:::i;4079:87::-;;;;;;;;;;-1:-1:-1;4152:6:0;;-1:-1:-1;;;;;4152:6:0;4079:87;;26329:104;;;;;;;;;;;;;:::i;46878:827::-;;;;;;:::i;:::-;;:::i;28013:155::-;;;;;;;;;;-1:-1:-1;28013:155:0;;;;;:::i;:::-;;:::i;45724:22::-;;;;;;;;;;-1:-1:-1;45724:22:0;;;;-1:-1:-1;;;;;45724:22:0;;;29136:328;;;;;;;;;;-1:-1:-1;29136:328:0;;;;;:::i;:::-;;:::i;26504:334::-;;;;;;;;;;-1:-1:-1;26504:334:0;;;;;:::i;:::-;;:::i;47956:81::-;;;;;;;;;;;;;:::i;28239:164::-;;;;;;;;;;-1:-1:-1;28239:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;28360:25:0;;;28336:4;28360:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28239:164;4988:201;;;;;;;;;;-1:-1:-1;4988:201:0;;;;;:::i;:::-;;:::i;46608:164::-;;;;;;;;;;-1:-1:-1;46608:164:0;;;;;:::i;:::-;;:::i;39341:224::-;39443:4;-1:-1:-1;;;;;;39467:50:0;;-1:-1:-1;;;39467:50:0;;:90;;;39521:36;39545:11;39521:23;:36::i;:::-;39460:97;39341:224;-1:-1:-1;;39341:224:0:o;26160:100::-;26214:13;26247:5;26240:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26160:100;:::o;27720:221::-;27796:7;27824:16;27832:7;27824;:16::i;:::-;27816:73;;;;-1:-1:-1;;;27816:73:0;;12702:2:1;27816:73:0;;;12684:21:1;12741:2;12721:18;;;12714:30;12780:34;12760:18;;;12753:62;-1:-1:-1;;;12831:18:1;;;12824:42;12883:19;;27816:73:0;;;;;;;;;-1:-1:-1;27909:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27909:24:0;;27720:221::o;27243:411::-;27324:13;27340:23;27355:7;27340:14;:23::i;:::-;27324:39;;27388:5;-1:-1:-1;;;;;27382:11:0;:2;-1:-1:-1;;;;;27382:11:0;;;27374:57;;;;-1:-1:-1;;;27374:57:0;;14242:2:1;27374:57:0;;;14224:21:1;14281:2;14261:18;;;14254:30;14320:34;14300:18;;;14293:62;-1:-1:-1;;;14371:18:1;;;14364:31;14412:19;;27374:57:0;14040:397:1;27374:57:0;2883:10;-1:-1:-1;;;;;27466:21:0;;;;:62;;-1:-1:-1;27491:37:0;27508:5;2883:10;28239:164;:::i;27491:37::-;27444:168;;;;-1:-1:-1;;;27444:168:0;;11095:2:1;27444:168:0;;;11077:21:1;11134:2;11114:18;;;11107:30;11173:34;11153:18;;;11146:62;11244:26;11224:18;;;11217:54;11288:19;;27444:168:0;10893:420:1;27444:168:0;27625:21;27634:2;27638:7;27625:8;:21::i;:::-;27313:341;27243:411;;:::o;28470:339::-;28665:41;2883:10;28698:7;28665:18;:41::i;:::-;28657:103;;;;-1:-1:-1;;;28657:103:0;;;;;;;:::i;:::-;28773:28;28783:4;28789:2;28793:7;28773:9;:28::i;39649:256::-;39746:7;39782:23;39799:5;39782:16;:23::i;:::-;39774:5;:31;39766:87;;;;-1:-1:-1;;;39766:87:0;;7137:2:1;39766:87:0;;;7119:21:1;7176:2;7156:18;;;7149:30;7215:34;7195:18;;;7188:62;-1:-1:-1;;;7266:18:1;;;7259:41;7317:19;;39766:87:0;6935:407:1;39766:87:0;-1:-1:-1;;;;;;39871:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;39649:256::o;48134:121::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;48184:63:::1;2883:10:::0;48225:21:::1;48184:17;:63::i;:::-;48134:121::o:0;28880:185::-;29018:39;29035:4;29041:2;29045:7;29018:39;;;;;;;;;;;;:16;:39::i;40171:233::-;40246:7;40282:30;40069:10;:17;;39981:113;40282:30;40274:5;:38;40266:95;;;;-1:-1:-1;;;40266:95:0;;15062:2:1;40266:95:0;;;15044:21:1;15101:2;15081:18;;;15074:30;15140:34;15120:18;;;15113:62;-1:-1:-1;;;15191:18:1;;;15184:42;15243:19;;40266:95:0;14860:408:1;40266:95:0;40379:10;40390:5;40379:17;;;;;;;;:::i;:::-;;;;;;;;;40372:24;;40171:233;;;:::o;47779:103::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;47852:22;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47779:103:::0;:::o;25854:239::-;25926:7;25962:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25962:16:0;25997:19;25989:73;;;;-1:-1:-1;;;25989:73:0;;11931:2:1;25989:73:0;;;11913:21:1;11970:2;11950:18;;;11943:30;12009:34;11989:18;;;11982:62;-1:-1:-1;;;12060:18:1;;;12053:39;12109:19;;25989:73:0;11729:405:1;25584:208:0;25656:7;-1:-1:-1;;;;;25684:19:0;;25676:74;;;;-1:-1:-1;;;25676:74:0;;11520:2:1;25676:74:0;;;11502:21:1;11559:2;11539:18;;;11532:30;11598:34;11578:18;;;11571:62;-1:-1:-1;;;11649:18:1;;;11642:40;11699:19;;25676:74:0;11318:406:1;25676:74:0;-1:-1:-1;;;;;;25768:16:0;;;;;:9;:16;;;;;;;25584:208::o;45998:512::-;46126:7;;46164:23;;-1:-1:-1;;;46164:23:0;;-1:-1:-1;;;;;5343:32:1;;;46164:23:0;;;5325:51:1;46063:7:0;;46126;;46063;;46126;;46164:16;;5298:18:1;;46164:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46145:42;-1:-1:-1;46204:13:0;46200:30;;-1:-1:-1;46227:1:0;;45998:512;-1:-1:-1;;;45998:512:0:o;46200:30::-;46242:18;46280:9;46275:200;46299:8;46295:1;:12;46275:200;;;46345:36;;-1:-1:-1;;;46345:36:0;;-1:-1:-1;;;;;6072:32:1;;;46345:36:0;;;6054:51:1;6121:18;;;6114:34;;;46329:13:0;;46345:26;;;;;;6027:18:1;;46345:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46329:52;;46401:14;46409:5;46401:7;:14::i;:::-;46396:68;;46436:12;;;;:::i;:::-;;;;46396:68;-1:-1:-1;46309:3:0;;;;:::i;:::-;;;;46275:200;;;-1:-1:-1;46492:10:0;45998:512;-1:-1:-1;;;;45998:512:0:o;4730:103::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;4795:30:::1;4822:1;4795:18;:30::i;26329:104::-:0;26385:13;26418:7;26411:14;;;;;:::i;46878:827::-;46949:8;;-1:-1:-1;;;46949:8:0;;;;46941:42;;;;-1:-1:-1;;;46941:42:0;;13476:2:1;46941:42:0;;;13458:21:1;13515:2;13495:18;;;13488:30;-1:-1:-1;;;13534:18:1;;;13527:51;13595:18;;46941:42:0;13274:345:1;46941:42:0;47039:7;;47077:28;;-1:-1:-1;;;47077:28:0;;47094:10;47077:28;;;5325:51:1;-1:-1:-1;;;;;47039:7:0;;;;46996:23;;47039:7;;47077:16;;5298:18:1;;47077:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47058:47;;47137:1;47126:8;:12;47118:56;;;;-1:-1:-1;;;47118:56:0;;6777:2:1;47118:56:0;;;6759:21:1;6816:2;6796:18;;;6789:30;6855:33;6835:18;;;6828:61;6906:18;;47118:56:0;6575:355:1;47118:56:0;47199:1;47191:5;:9;47187:51;;;47225:1;47217:9;;47187:51;47250:14;47284:9;47279:419;47303:8;47299:1;:12;47279:419;;;47349:41;;-1:-1:-1;;;47349:41:0;;47376:10;47349:41;;;6054:51:1;6121:18;;;6114:34;;;47333:13:0;;-1:-1:-1;;;;;47349:26:0;;;;;6027:18:1;;47349:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47333:57;;47411:14;47419:5;47411:7;:14::i;:::-;47407:63;;;47446:8;;;47407:63;47486:30;2883:10;47510:5;47486:9;:30::i;:::-;47531:8;;;;:::i;:::-;;;;47640:5;47630:6;:15;47626:61;;;47666:5;;;47626:61;47318:380;47279:419;47313:3;;;;:::i;:::-;;;;47279:419;;;;46930:775;;;46878:827;:::o;28013:155::-;28108:52;2883:10;28141:8;28151;28108:18;:52::i;29136:328::-;29311:41;2883:10;29344:7;29311:18;:41::i;:::-;29303:103;;;;-1:-1:-1;;;29303:103:0;;;;;;;:::i;:::-;29417:39;29431:4;29437:2;29441:7;29450:5;29417:13;:39::i;:::-;29136:328;;;;:::o;26504:334::-;26577:13;26611:16;26619:7;26611;:16::i;:::-;26603:76;;;;-1:-1:-1;;;26603:76:0;;13826:2:1;26603:76:0;;;13808:21:1;13865:2;13845:18;;;13838:30;13904:34;13884:18;;;13877:62;-1:-1:-1;;;13955:18:1;;;13948:45;14010:19;;26603:76:0;13624:411:1;26603:76:0;26692:21;26716:10;:8;:10::i;:::-;26692:34;;26768:1;26750:7;26744:21;:25;:86;;;;;;;;;;;;;;;;;26796:7;26805:18;:7;:16;:18::i;:::-;26779:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;26744:86;26737:93;26504:334;-1:-1:-1;;;26504:334:0:o;47956:81::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;48021:8:::1;::::0;;-1:-1:-1;;;;48009:20:0;::::1;-1:-1:-1::0;;;48021:8:0;;;::::1;;;48020:9;48009:20:::0;;::::1;;::::0;;47956:81::o;4988:201::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5077:22:0;::::1;5069:73;;;::::0;-1:-1:-1;;;5069:73:0;;7968:2:1;5069:73:0::1;::::0;::::1;7950:21:1::0;8007:2;7987:18;;;7980:30;8046:34;8026:18;;;8019:62;-1:-1:-1;;;8097:18:1;;;8090:36;8143:19;;5069:73:0::1;7766:402:1::0;5069:73:0::1;5153:28;5172:8;5153:18;:28::i;:::-;4988:201:::0;:::o;46608:164::-;46670:4;46691:11;46699:2;46691:7;:11::i;:::-;46687:55;;;-1:-1:-1;46726:4:0;;46608:164;-1:-1:-1;46608:164:0:o;46687:55::-;-1:-1:-1;46759:5:0;;46608:164;-1:-1:-1;46608:164:0:o;25227:293::-;25329:4;-1:-1:-1;;;;;;25362:40:0;;-1:-1:-1;;;25362:40:0;;:101;;-1:-1:-1;;;;;;;25415:48:0;;-1:-1:-1;;;25415:48:0;25362:101;:150;;;-1:-1:-1;;;;;;;;;;16995:40:0;;;25476:36;16886:157;30974:127;31039:4;31063:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31063:16:0;:30;;;30974:127::o;35120:174::-;35195:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35195:29:0;-1:-1:-1;;;;;35195:29:0;;;;;;;;:24;;35249:23;35195:24;35249:14;:23::i;:::-;-1:-1:-1;;;;;35240:46:0;;;;;;;;;;;35120:174;;:::o;31268:348::-;31361:4;31386:16;31394:7;31386;:16::i;:::-;31378:73;;;;-1:-1:-1;;;31378:73:0;;10682:2:1;31378:73:0;;;10664:21:1;10721:2;10701:18;;;10694:30;10760:34;10740:18;;;10733:62;-1:-1:-1;;;10811:18:1;;;10804:42;10863:19;;31378:73:0;10480:408:1;31378:73:0;31462:13;31478:23;31493:7;31478:14;:23::i;:::-;31462:39;;31531:5;-1:-1:-1;;;;;31520:16:0;:7;-1:-1:-1;;;;;31520:16:0;;:52;;;-1:-1:-1;;;;;;28360:25:0;;;28336:4;28360:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;31540:32;31520:87;;;;31600:7;-1:-1:-1;;;;;31576:31:0;:20;31588:7;31576:11;:20::i;:::-;-1:-1:-1;;;;;31576:31:0;;31520:87;31512:96;31268:348;-1:-1:-1;;;;31268:348:0:o;34377:625::-;34536:4;-1:-1:-1;;;;;34509:31:0;:23;34524:7;34509:14;:23::i;:::-;-1:-1:-1;;;;;34509:31:0;;34501:81;;;;-1:-1:-1;;;34501:81:0;;8375:2:1;34501:81:0;;;8357:21:1;8414:2;8394:18;;;8387:30;8453:34;8433:18;;;8426:62;-1:-1:-1;;;8504:18:1;;;8497:35;8549:19;;34501:81:0;8173:401:1;34501:81:0;-1:-1:-1;;;;;34601:16:0;;34593:65;;;;-1:-1:-1;;;34593:65:0;;9138:2:1;34593:65:0;;;9120:21:1;9177:2;9157:18;;;9150:30;9216:34;9196:18;;;9189:62;-1:-1:-1;;;9267:18:1;;;9260:34;9311:19;;34593:65:0;8936:400:1;34593:65:0;34671:39;34692:4;34698:2;34702:7;34671:20;:39::i;:::-;34775:29;34792:1;34796:7;34775:8;:29::i;:::-;-1:-1:-1;;;;;34817:15:0;;;;;;:9;:15;;;;;:20;;34836:1;;34817:15;:20;;34836:1;;34817:20;:::i;:::-;;;;-1:-1:-1;;;;;;;34848:13:0;;;;;;:9;:13;;;;;:18;;34865:1;;34848:13;:18;;34865:1;;34848:18;:::i;:::-;;;;-1:-1:-1;;34877:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34877:21:0;-1:-1:-1;;;;;34877:21:0;;;;;;;;;34916:27;;34877:16;;34916:27;;;;;;;27313:341;27243:411;;:::o;8041:317::-;8156:6;8131:21;:31;;8123:73;;;;-1:-1:-1;;;8123:73:0;;10324:2:1;8123:73:0;;;10306:21:1;10363:2;10343:18;;;10336:30;10402:31;10382:18;;;10375:59;10451:18;;8123:73:0;10122:353:1;8123:73:0;8210:12;8228:9;-1:-1:-1;;;;;8228:14:0;8250:6;8228:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8209:52;;;8280:7;8272:78;;;;-1:-1:-1;;;8272:78:0;;9897:2:1;8272:78:0;;;9879:21:1;9936:2;9916:18;;;9909:30;9975:34;9955:18;;;9948:62;10046:28;10026:18;;;10019:56;10092:19;;8272:78:0;9695:422:1;5349:191:0;5442:6;;;-1:-1:-1;;;;;5459:17:0;;;-1:-1:-1;;;;;;5459:17:0;;;;;;;5492:40;;5442:6;;;5459:17;5442:6;;5492:40;;5423:16;;5492:40;5412:128;5349:191;:::o;31958:110::-;32034:26;32044:2;32048:7;32034:26;;;;;;;;;;;;:9;:26::i;35436:315::-;35591:8;-1:-1:-1;;;;;35582:17:0;:5;-1:-1:-1;;;;;35582:17:0;;;35574:55;;;;-1:-1:-1;;;35574:55:0;;9543:2:1;35574:55:0;;;9525:21:1;9582:2;9562:18;;;9555:30;9621:27;9601:18;;;9594:55;9666:18;;35574:55:0;9341:349:1;35574:55:0;-1:-1:-1;;;;;35640:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;35640:46:0;;;;;;;;;;35702:41;;6299::1;;;35702::0;;6272:18:1;35702:41:0;;;;;;;35436:315;;;:::o;30346:::-;30503:28;30513:4;30519:2;30523:7;30503:9;:28::i;:::-;30550:48;30573:4;30579:2;30583:7;30592:5;30550:22;:48::i;:::-;30542:111;;;;-1:-1:-1;;;30542:111:0;;;;;;;:::i;48328:105::-;48380:13;48413:12;48406:19;;;;;:::i;365:723::-;421:13;642:10;638:53;;-1:-1:-1;;669:10:0;;;;;;;;;;;;-1:-1:-1;;;669:10:0;;;;;365:723::o;638:53::-;716:5;701:12;757:78;764:9;;757:78;;790:8;;;;:::i;:::-;;-1:-1:-1;813:10:0;;-1:-1:-1;821:2:0;813:10;;:::i;:::-;;;757:78;;;845:19;877:6;867:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;867:17:0;;845:39;;895:154;902:10;;895:154;;929:11;939:1;929:11;;:::i;:::-;;-1:-1:-1;998:10:0;1006:2;998:5;:10;:::i;:::-;985:24;;:2;:24;:::i;:::-;972:39;;955:6;962;955:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;955:56:0;;;;;;;;-1:-1:-1;1026:11:0;1035:2;1026:11;;:::i;:::-;;;895:154;;41017:589;-1:-1:-1;;;;;41223:18:0;;41219:187;;41258:40;41290:7;42433:10;:17;;42406:24;;;;:15;:24;;;;;:44;;;42461:24;;;;;;;;;;;;42329:164;41258:40;41219:187;;;41328:2;-1:-1:-1;;;;;41320:10:0;:4;-1:-1:-1;;;;;41320:10:0;;41316:90;;41347:47;41380:4;41386:7;41347:32;:47::i;:::-;-1:-1:-1;;;;;41420:16:0;;41416:183;;41453:45;41490:7;41453:36;:45::i;41416:183::-;41526:4;-1:-1:-1;;;;;41520:10:0;:2;-1:-1:-1;;;;;41520:10:0;;41516:83;;41547:40;41575:2;41579:7;41547:27;:40::i;32295:321::-;32425:18;32431:2;32435:7;32425:5;:18::i;:::-;32476:54;32507:1;32511:2;32515:7;32524:5;32476:22;:54::i;:::-;32454:154;;;;-1:-1:-1;;;32454:154:0;;;;;;;:::i;36316:799::-;36471:4;-1:-1:-1;;;;;36492:13:0;;7075:19;:23;36488:620;;36528:72;;-1:-1:-1;;;36528:72:0;;-1:-1:-1;;;;;36528:36:0;;;;;:72;;2883:10;;36579:4;;36585:7;;36594:5;;36528:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36528:72:0;;;;;;;;-1:-1:-1;;36528:72:0;;;;;;;;;;;;:::i;:::-;;;36524:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36770:13:0;;36766:272;;36813:60;;-1:-1:-1;;;36813:60:0;;;;;;;:::i;36766:272::-;36988:6;36982:13;36973:6;36969:2;36965:15;36958:38;36524:529;-1:-1:-1;;;;;;36651:51:0;-1:-1:-1;;;36651:51:0;;-1:-1:-1;36644:58:0;;36488:620;-1:-1:-1;37092:4:0;36316:799;;;;;;:::o;43120:988::-;43386:22;43436:1;43411:22;43428:4;43411:16;:22::i;:::-;:26;;;;:::i;:::-;43448:18;43469:26;;;:17;:26;;;;;;43386:51;;-1:-1:-1;43602:28:0;;;43598:328;;-1:-1:-1;;;;;43669:18:0;;43647:19;43669:18;;;:12;:18;;;;;;;;:34;;;;;;;;;43720:30;;;;;;:44;;;43837:30;;:17;:30;;;;;:43;;;43598:328;-1:-1:-1;44022:26:0;;;;:17;:26;;;;;;;;44015:33;;;-1:-1:-1;;;;;44066:18:0;;;;;:12;:18;;;;;:34;;;;;;;44059:41;43120:988::o;44403:1079::-;44681:10;:17;44656:22;;44681:21;;44701:1;;44681:21;:::i;:::-;44713:18;44734:24;;;:15;:24;;;;;;45107:10;:26;;44656:46;;-1:-1:-1;44734:24:0;;44656:46;;45107:26;;;;;;:::i;:::-;;;;;;;;;45085:48;;45171:11;45146:10;45157;45146:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;45251:28;;;:15;:28;;;;;;;:41;;;45423:24;;;;;45416:31;45458:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;44474:1008;;;44403:1079;:::o;41907:221::-;41992:14;42009:20;42026:2;42009:16;:20::i;:::-;-1:-1:-1;;;;;42040:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;42085:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41907:221:0:o;32952:439::-;-1:-1:-1;;;;;33032:16:0;;33024:61;;;;-1:-1:-1;;;33024:61:0;;12341:2:1;33024:61:0;;;12323:21:1;;;12360:18;;;12353:30;12419:34;12399:18;;;12392:62;12471:18;;33024:61:0;12139:356:1;33024:61:0;33105:16;33113:7;33105;:16::i;:::-;33104:17;33096:58;;;;-1:-1:-1;;;33096:58:0;;8781:2:1;33096:58:0;;;8763:21:1;8820:2;8800:18;;;8793:30;8859;8839:18;;;8832:58;8907:18;;33096:58:0;8579:352:1;33096:58:0;33167:45;33196:1;33200:2;33204:7;33167:20;:45::i;:::-;-1:-1:-1;;;;;33225:13:0;;;;;;:9;:13;;;;;:18;;33242:1;;33225:13;:18;;33242:1;;33225:18;:::i;:::-;;;;-1:-1:-1;;33254:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33254:21:0;-1:-1:-1;;;;;33254:21:0;;;;;;;;33293:33;;33254:16;;;33293:33;;33254:16;;33293:33;47852:22:::1;47779:103:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650: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:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:184::-;4113:6;4166:2;4154:9;4145:7;4141:23;4137:32;4134:52;;;4182:1;4179;4172:12;4134:52;-1:-1:-1;4205:16:1;;4043:184;-1:-1:-1;4043:184:1:o;4232:257::-;4273:3;4311:5;4305:12;4338:6;4333:3;4326:19;4354:63;4410:6;4403:4;4398:3;4394:14;4387:4;4380:5;4376:16;4354:63;:::i;:::-;4471:2;4450:15;-1:-1:-1;;4446:29:1;4437:39;;;;4478:4;4433:50;;4232:257;-1:-1:-1;;4232:257:1:o;4494:470::-;4673:3;4711:6;4705:13;4727:53;4773:6;4768:3;4761:4;4753:6;4749:17;4727:53;:::i;:::-;4843:13;;4802:16;;;;4865:57;4843:13;4802:16;4899:4;4887:17;;4865:57;:::i;:::-;4938:20;;4494:470;-1:-1:-1;;;;4494:470:1:o;5387:488::-;-1:-1:-1;;;;;5656:15:1;;;5638:34;;5708:15;;5703:2;5688:18;;5681:43;5755:2;5740:18;;5733:34;;;5803:3;5798:2;5783:18;;5776:31;;;5581:4;;5824:45;;5849:19;;5841:6;5824:45;:::i;:::-;5816:53;5387:488;-1:-1:-1;;;;;;5387:488:1:o;6351:219::-;6500:2;6489:9;6482:21;6463:4;6520:44;6560:2;6549:9;6545:18;6537:6;6520:44;:::i;7347:414::-;7549:2;7531:21;;;7588:2;7568:18;;;7561:30;7627:34;7622:2;7607:18;;7600:62;-1:-1:-1;;;7693:2:1;7678:18;;7671:48;7751:3;7736:19;;7347:414::o;12913:356::-;13115:2;13097:21;;;13134:18;;;13127:30;13193:34;13188:2;13173:18;;13166:62;13260:2;13245:18;;12913:356::o;14442:413::-;14644:2;14626:21;;;14683:2;14663:18;;;14656:30;14722:34;14717:2;14702:18;;14695:62;-1:-1:-1;;;14788:2:1;14773:18;;14766:47;14845:3;14830:19;;14442:413::o;15455:128::-;15495:3;15526:1;15522:6;15519:1;15516:13;15513:39;;;15532:18;;:::i;:::-;-1:-1:-1;15568:9:1;;15455:128::o;15588:120::-;15628:1;15654;15644:35;;15659:18;;:::i;:::-;-1:-1:-1;15693:9:1;;15588:120::o;15713:125::-;15753:4;15781:1;15778;15775:8;15772:34;;;15786:18;;:::i;:::-;-1:-1:-1;15823:9:1;;15713:125::o;15843:258::-;15915:1;15925:113;15939:6;15936:1;15933:13;15925:113;;;16015:11;;;16009:18;15996:11;;;15989:39;15961:2;15954:10;15925:113;;;16056:6;16053:1;16050:13;16047:48;;;-1:-1:-1;;16091:1:1;16073:16;;16066:27;15843:258::o;16106:380::-;16185:1;16181:12;;;;16228;;;16249:61;;16303:4;16295:6;16291:17;16281:27;;16249:61;16356:2;16348:6;16345:14;16325:18;16322:38;16319:161;;;16402:10;16397:3;16393:20;16390:1;16383:31;16437:4;16434:1;16427:15;16465:4;16462:1;16455:15;16319:161;;16106:380;;;:::o;16491:135::-;16530:3;-1:-1:-1;;16551:17:1;;16548:43;;;16571:18;;:::i;:::-;-1:-1:-1;16618:1:1;16607:13;;16491:135::o;16631:112::-;16663:1;16689;16679:35;;16694:18;;:::i;:::-;-1:-1:-1;16728:9:1;;16631:112::o;16748:127::-;16809:10;16804:3;16800:20;16797:1;16790:31;16840:4;16837:1;16830:15;16864:4;16861:1;16854:15;16880:127;16941:10;16936:3;16932:20;16929:1;16922:31;16972:4;16969:1;16962:15;16996:4;16993:1;16986:15;17012:127;17073:10;17068:3;17064:20;17061:1;17054:31;17104:4;17101:1;17094:15;17128:4;17125:1;17118:15;17144:127;17205:10;17200:3;17196:20;17193:1;17186:31;17236:4;17233:1;17226:15;17260:4;17257:1;17250:15;17276:127;17337:10;17332:3;17328:20;17325:1;17318:31;17368:4;17365:1;17358:15;17392:4;17389:1;17382:15;17408:131;-1:-1:-1;;;;;;17482:32:1;;17472:43;;17462:71;;17529:1;17526;17519:12
Swarm Source
ipfs://43df3d08546c6c189e419685a25546acd52873a43659c6df6a07c85569906dec
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.