ERC-721
NFT
Overview
Max Total Supply
105 RAPS
Holders
59
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 RAPSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
theRapsNft
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-09-15 */ /** *Submitted for verification at Etherscan.io on 2021-09-14 */ // File: @openzeppelin/contracts/utils/Context.sol pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/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/math/SafeMath.sol pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/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/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/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/utils/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/ 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/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 overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } /** _______ __ __ _______ ______ _______ _______ _______ | || | | || | | _ | | _ || || | |_ _|| |_| || ___| | | || | |_| || _ || _____| | | | || |___ | |_||_ | || |_| || |_____ | | | || ___| | __ || || ___||_____ | | | | _ || |___ | | | || _ || | _____| | |___| |__| |__||_______| |___| |_||__| |__||___| |_______| [email protected] - Solidity dev , NFT deployments from 0 to Hero */ pragma solidity ^0.8.4; // SPDX-License-Identifier: UNLICENSED contract theRapsNft is ERC721, ERC721Enumerable, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public rapsPrice = 60000000000000000; uint256 public constant maxRapsPurchase = 10; uint256 public constant MAX_RAPS = 10000; uint256 public rapsReserve = 150; // Reserve Raps uint256 public rapsRsrvMntd; bool public mintIsActive = false; bool public revealIsActive = false; string private baseURI; string private blindURI; constructor() ERC721("The RAPSCALLIONS", "RAPS") {_safeMint(msg.sender, 0);} /* * Function to withdraw collected amount during minting */ function withdraw(address _to) public onlyOwner { uint balance = address(this).balance; payable(_to).transfer(balance); } function mintRaps(uint256 numberOfTokens) public payable { require(mintIsActive, "Minting is not active"); require(numberOfTokens > 0, "Must mint atleast 1 RAPS"); uint256 supply = totalSupply() - rapsRsrvMntd; require(supply + numberOfTokens <= MAX_RAPS, "Exceeds max supply of RAPS"); require(numberOfTokens <= maxRapsPurchase, "Can mint 10 RAPS at a time"); uint256 costToMint = rapsPrice * numberOfTokens; require(msg.value >= costToMint, "Ether value sent is not correct"); supply = supply + rapsRsrvMntd ; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, supply + i); } } function reserveRaps(address _to, uint256 _reserveAmount) public onlyOwner { require(_reserveAmount > 0, "Must reserve atleast 1 RAPS"); require(_reserveAmount <= rapsReserve, "Not enough reserve RAPS left"); uint256 supply = totalSupply(); for (uint256 i = 0; i < _reserveAmount; i++) { _safeMint(_to, supply + i); } rapsRsrvMntd = rapsRsrvMntd.add(_reserveAmount); rapsReserve = rapsReserve.sub(_reserveAmount); } function flipSaleState() public onlyOwner { mintIsActive = !mintIsActive; } function flipRevealState() public onlyOwner { revealIsActive = !revealIsActive; } function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function setRapsPrice(uint256 newPrice) public onlyOwner { rapsPrice = newPrice; } function setURIs(string memory _blindURI, string memory _URIs) external onlyOwner { blindURI = _blindURI; baseURI = _URIs; } /* * Function to get token URI of given token ID * URI will be blank untill totalSupply reaches MAX_NFT */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealIsActive){ return bytes(baseURI).length > 0 && totalSupply() >= 5 ? string(abi.encodePacked(baseURI, tokenId.toString())) : string(abi.encodePacked(blindURI, tokenId.toString())); } else if (tokenId < 1000) { return bytes(baseURI).length > 0 && totalSupply() >= 1000 ? string(abi.encodePacked(baseURI, tokenId.toString())) : string(abi.encodePacked(blindURI, tokenId.toString())); } else { return bytes(baseURI).length > 0 && totalSupply() >= 1000 ? string(abi.encodePacked(baseURI, tokenId.toString())) : string(abi.encodePacked(blindURI, tokenId.toString())); } } // Standard functions to be overridden function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_RAPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipRevealState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRapsPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintRaps","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":"rapsPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rapsReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rapsRsrvMntd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveRaps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setRapsPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_blindURI","type":"string"},{"internalType":"string","name":"_URIs","type":"string"}],"name":"setURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266d529ae9e860000600b556096600c55600e805461ffff191690553480156200002c57600080fd5b50604080518082018252601081526f546865205241505343414c4c494f4e5360801b6020808301918252835180850190945260048452635241505360e01b9084015281519192916200008191600091620007dd565b50805162000097906001906020840190620007dd565b505050620000b4620000ae620000c760201b60201c565b620000cb565b620000c13360006200011d565b620009b5565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200013f8282604051806020016040528060008152506200014360201b60201c565b5050565b6200014f8383620001bf565b6200015e600084848462000315565b620001ba5760405162461bcd60e51b815260206004820152603260248201526000805160206200353783398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b038216620002175760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001b1565b6000818152600260205260409020546001600160a01b0316156200027e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001b1565b6200028c600083836200047e565b6001600160a01b0382166000908152600360205260408120805460019290620002b79084906200092d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000336846001600160a01b03166200049660201b620016f81760201c565b156200047257604051630a85bd0160e11b81526001600160a01b0385169063150b7a029062000370903390899088908890600401620008b4565b602060405180830381600087803b1580156200038b57600080fd5b505af1925050508015620003be575060408051601f3d908101601f19168201909252620003bb9181019062000883565b60015b62000457573d808015620003ef576040519150601f19603f3d011682016040523d82523d6000602084013e620003f4565b606091505b5080516200044f5760405162461bcd60e51b815260206004820152603260248201526000805160206200353783398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001b1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000476565b5060015b949350505050565b620001ba8383836200049c60201b620016fe1760201c565b3b151590565b620004b4838383620001ba60201b620008ce1760201c565b6001600160a01b03831662000512576200050c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62000538565b816001600160a01b0316836001600160a01b031614620005385762000538838262000578565b6001600160a01b0382166200055257620001ba8162000625565b826001600160a01b0316826001600160a01b031614620001ba57620001ba828262000703565b6000600162000592846200075460201b62000f7a1760201c565b6200059e919062000948565b600083815260076020526040902054909150808214620005f2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620006399060019062000948565b600083815260096020526040812054600880549394509092849081106200067057634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110620006a057634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480620006e757634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006200071b836200075460201b62000f7a1760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620007c15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401620001b1565b506001600160a01b031660009081526003602052604090205490565b828054620007eb9062000962565b90600052602060002090601f0160209004810192826200080f57600085556200085a565b82601f106200082a57805160ff19168380011785556200085a565b828001600101855582156200085a579182015b828111156200085a5782518255916020019190600101906200083d565b50620008689291506200086c565b5090565b5b808211156200086857600081556001016200086d565b60006020828403121562000895578081fd5b81516001600160e01b031981168114620008ad578182fd5b9392505050565b600060018060a01b0380871683526020818716818501528560408501526080606085015284519150816080850152825b82811015620009025785810182015185820160a001528101620008e4565b8281111562000914578360a084870101525b5050601f01601f19169190910160a00195945050505050565b600082198211156200094357620009436200099f565b500190565b6000828210156200095d576200095d6200099f565b500390565b600181811c908216806200097757607f821691505b602082108114156200099957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b612b7280620009c56000396000f3fe6080604052600436106102195760003560e01c806351cff8d91161011d578063b88d4fde116100b0578063e82541741161007f578063f2e1f50011610064578063f2e1f500146105ff578063f2fde38b1461061e578063fb7e6c021461063e57600080fd5b8063e825417414610596578063e985e9c5146105b657600080fd5b8063b88d4fde14610520578063b8cac29f14610540578063c87b56dd14610560578063dd6172b81461058057600080fd5b80638462151c116100ec5780638462151c146104a05780638da5cb5b146104cd57806395d89b41146104eb578063a22cb4651461050057600080fd5b806351cff8d91461042b5780636352211e1461044b57806370a082311461046b578063715018a61461048b57600080fd5b806323b872dd116101b05780633e50000b1161017f57806342842e0e1161016457806342842e0e146103d1578063471a4294146103f15780634f6ccce71461040b57600080fd5b80633e50000b1461039e578063407eb917146103be57600080fd5b806323b872dd146103345780632714ce92146103545780632f745c591461036957806334918dfd1461038957600080fd5b80630b418e8a116101ec5780630b418e8a146102cf5780630cfabb08146102f357806318160ddd146103095780631c7acc981461031e57600080fd5b806301ffc9a71461021e57806306fdde0314610253578063081812fc14610275578063095ea7b3146102ad575b600080fd5b34801561022a57600080fd5b5061023e610239366004612730565b610653565b60405190151581526020015b60405180910390f35b34801561025f57600080fd5b50610268610664565b60405161024a919061298b565b34801561028157600080fd5b506102956102903660046127c9565b6106f6565b6040516001600160a01b03909116815260200161024a565b3480156102b957600080fd5b506102cd6102c8366004612707565b6107a1565b005b3480156102db57600080fd5b506102e5600c5481565b60405190815260200161024a565b3480156102ff57600080fd5b506102e5600b5481565b34801561031557600080fd5b506008546102e5565b34801561032a57600080fd5b506102e5600d5481565b34801561034057600080fd5b506102cd61034f366004612619565b6108d3565b34801561036057600080fd5b506102cd61095a565b34801561037557600080fd5b506102e5610384366004612707565b6109ee565b34801561039557600080fd5b506102cd610a96565b3480156103aa57600080fd5b506102cd6103b93660046127c9565b610b22565b6102cd6103cc3660046127c9565b610b81565b3480156103dd57600080fd5b506102cd6103ec366004612619565b610d90565b3480156103fd57600080fd5b50600e5461023e9060ff1681565b34801561041757600080fd5b506102e56104263660046127c9565b610dab565b34801561043757600080fd5b506102cd6104463660046125cd565b610e5d565b34801561045757600080fd5b506102956104663660046127c9565b610eef565b34801561047757600080fd5b506102e56104863660046125cd565b610f7a565b34801561049757600080fd5b506102cd611014565b3480156104ac57600080fd5b506104c06104bb3660046125cd565b61107a565b60405161024a9190612947565b3480156104d957600080fd5b50600a546001600160a01b0316610295565b3480156104f757600080fd5b50610268611155565b34801561050c57600080fd5b506102cd61051b3660046126cd565b611164565b34801561052c57600080fd5b506102cd61053b366004612654565b611247565b34801561054c57600080fd5b506102cd61055b366004612707565b6112cf565b34801561056c57600080fd5b5061026861057b3660046127c9565b611429565b34801561058c57600080fd5b506102e561271081565b3480156105a257600080fd5b506102cd6105b1366004612768565b611595565b3480156105c257600080fd5b5061023e6105d13660046125e7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561060b57600080fd5b50600e5461023e90610100900460ff1681565b34801561062a57600080fd5b506102cd6106393660046125cd565b611616565b34801561064a57600080fd5b506102e5600a81565b600061065e826117b6565b92915050565b60606000805461067390612a4a565b80601f016020809104026020016040519081016040528092919081815260200182805461069f90612a4a565b80156106ec5780601f106106c1576101008083540402835291602001916106ec565b820191906000526020600020905b8154815290600101906020018083116106cf57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107ac82610eef565b9050806001600160a01b0316836001600160a01b031614156108365760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161077c565b336001600160a01b0382161480610852575061085281336105d1565b6108c45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161077c565b6108ce838361180c565b505050565b6108dd3382611892565b61094f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161077c565b6108ce83838361199a565b600a546001600160a01b031633146109b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b60006109f983610f7a565b8210610a6d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161077c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610af05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b600a546001600160a01b03163314610b7c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b600b55565b600e5460ff16610bd35760405162461bcd60e51b815260206004820152601560248201527f4d696e74696e67206973206e6f74206163746976650000000000000000000000604482015260640161077c565b60008111610c235760405162461bcd60e51b815260206004820152601860248201527f4d757374206d696e742061746c65617374203120524150530000000000000000604482015260640161077c565b6000600d54610c3160085490565b610c3b9190612a07565b9050612710610c4a838361299e565b1115610c985760405162461bcd60e51b815260206004820152601a60248201527f45786365656473206d617820737570706c79206f662052415053000000000000604482015260640161077c565b600a821115610ce95760405162461bcd60e51b815260206004820152601a60248201527f43616e206d696e74203130205241505320617420612074696d65000000000000604482015260640161077c565b600082600b54610cf991906129ca565b905080341015610d4b5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161077c565b600d54610d58908361299e565b915060005b83811015610d8a57610d7833610d73838661299e565b611b8a565b80610d8281612a7f565b915050610d5d565b50505050565b6108ce83838360405180602001604052806000815250611247565b6000610db660085490565b8210610e2a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161077c565b60088281548110610e4b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610eb75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b60405147906001600160a01b0383169082156108fc029083906000818181858888f193505050501580156108ce573d6000803e3d6000fd5b6000818152600260205260408120546001600160a01b03168061065e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161077c565b60006001600160a01b038216610ff85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161077c565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461106e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b6110786000611ba8565b565b6060600061108783610f7a565b9050806110a85760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156110d157634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156110fa578160200160208202803683370190505b50905060005b828110156110a05761111285826109ee565b82828151811061113257634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061114781612a7f565b915050611100565b50919050565b60606001805461067390612a4a565b6001600160a01b0382163314156111bd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161077c565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112513383611892565b6112c35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161077c565b610d8a84848484611c12565b600a546001600160a01b031633146113295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b600081116113795760405162461bcd60e51b815260206004820152601b60248201527f4d75737420726573657276652061746c65617374203120524150530000000000604482015260640161077c565b600c548111156113cb5760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f75676820726573657276652052415053206c65667400000000604482015260640161077c565b60006113d660085490565b905060005b82811015611403576113f184610d73838561299e565b806113fb81612a7f565b9150506113db565b50600d546114119083611c9b565b600d55600c546114219083611cae565b600c55505050565b6000818152600260205260409020546060906001600160a01b03166114b65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161077c565b600e54610100900460ff1615611552576000600f80546114d590612a4a565b90501180156114ed575060056114ea60085490565b10155b6115215760106114fc83611cba565b60405160200161150d929190612847565b60405160208183030381529060405261065e565b600f61152c83611cba565b60405160200161153d929190612847565b60405160208183030381529060405292915050565b6103e8821015611581576000600f805461156b90612a4a565b90501180156114ed57506103e86114ea60085490565b6000600f805461156b90612a4a565b919050565b600a546001600160a01b031633146115ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b815161160290601090602085019061246a565b5080516108ce90600f90602084019061246a565b600a546001600160a01b031633146116705760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b6001600160a01b0381166116ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161077c565b6116f581611ba8565b50565b3b151590565b6001600160a01b0383166117595761175481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61177c565b816001600160a01b0316836001600160a01b03161461177c5761177c8382611e08565b6001600160a01b038216611793576108ce81611ea5565b826001600160a01b0316826001600160a01b0316146108ce576108ce8282611f7e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061065e575061065e82611fc2565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061185982610eef565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661191c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161077c565b600061192783610eef565b9050806001600160a01b0316846001600160a01b031614806119625750836001600160a01b0316611957846106f6565b6001600160a01b0316145b8061199257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166119ad82610eef565b6001600160a01b031614611a295760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161077c565b6001600160a01b038216611aa45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161077c565b611aaf8383836120a5565b611aba60008261180c565b6001600160a01b0383166000908152600360205260408120805460019290611ae3908490612a07565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b1190849061299e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611ba48282604051806020016040528060008152506120b0565b5050565b600a80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c1d84848461199a565b611c2984848484612139565b610d8a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161077c565b6000611ca7828461299e565b9392505050565b6000611ca78284612a07565b606081611cfa57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611d245780611d0e81612a7f565b9150611d1d9050600a836129b6565b9150611cfe565b60008167ffffffffffffffff811115611d4d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d77576020820181803683370190505b5090505b841561199257611d8c600183612a07565b9150611d99600a86612ab8565b611da490603061299e565b60f81b818381518110611dc757634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e01600a866129b6565b9450611d7b565b60006001611e1584610f7a565b611e1f9190612a07565b600083815260076020526040902054909150808214611e72576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611eb790600190612a07565b60008381526009602052604081205460088054939450909284908110611eed57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611f1c57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f6257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611f8983610f7a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061205557507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061065e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461065e565b6108ce8383836116fe565b6120ba8383612304565b6120c76000848484612139565b6108ce5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161077c565b60006001600160a01b0384163b156122f9576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061219690339089908890889060040161290b565b602060405180830381600087803b1580156121b057600080fd5b505af19250505080156121fe575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526121fb9181019061274c565b60015b6122ae573d80801561222c576040519150601f19603f3d011682016040523d82523d6000602084013e612231565b606091505b5080516122a65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161077c565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611992565b506001949350505050565b6001600160a01b03821661235a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161077c565b6000818152600260205260409020546001600160a01b0316156123bf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161077c565b6123cb600083836120a5565b6001600160a01b03821660009081526003602052604081208054600192906123f490849061299e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461247690612a4a565b90600052602060002090601f01602090048101928261249857600085556124de565b82601f106124b157805160ff19168380011785556124de565b828001600101855582156124de579182015b828111156124de5782518255916020019190600101906124c3565b506124ea9291506124ee565b5090565b5b808211156124ea57600081556001016124ef565b600067ffffffffffffffff8084111561251e5761251e612af8565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561256457612564612af8565b8160405280935085815286868601111561257d57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461159057600080fd5b600082601f8301126125be578081fd5b611ca783833560208501612503565b6000602082840312156125de578081fd5b611ca782612597565b600080604083850312156125f9578081fd5b61260283612597565b915061261060208401612597565b90509250929050565b60008060006060848603121561262d578081fd5b61263684612597565b925061264460208501612597565b9150604084013590509250925092565b60008060008060808587031215612669578081fd5b61267285612597565b935061268060208601612597565b925060408501359150606085013567ffffffffffffffff8111156126a2578182fd5b8501601f810187136126b2578182fd5b6126c187823560208401612503565b91505092959194509250565b600080604083850312156126df578182fd5b6126e883612597565b9150602083013580151581146126fc578182fd5b809150509250929050565b60008060408385031215612719578182fd5b61272283612597565b946020939093013593505050565b600060208284031215612741578081fd5b8135611ca781612b0e565b60006020828403121561275d578081fd5b8151611ca781612b0e565b6000806040838503121561277a578182fd5b823567ffffffffffffffff80821115612791578384fd5b61279d868387016125ae565b935060208501359150808211156127b2578283fd5b506127bf858286016125ae565b9150509250929050565b6000602082840312156127da578081fd5b5035919050565b600081518084526127f9816020860160208601612a1e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000815161283d818560208601612a1e565b9290920192915050565b600080845482600182811c91508083168061286357607f831692505b602080841082141561288357634e487b7160e01b87526022600452602487fd5b81801561289757600181146128c6576128f2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616895284890196506128f2565b60008b815260209020885b868110156128ea5781548b8201529085019083016128d1565b505084890196505b505050505050612902818561282b565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261293d60808301846127e1565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561297f57835183529284019291840191600101612963565b50909695505050505050565b602081526000611ca760208301846127e1565b600082198211156129b1576129b1612acc565b500190565b6000826129c5576129c5612ae2565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a0257612a02612acc565b500290565b600082821015612a1957612a19612acc565b500390565b60005b83811015612a39578181015183820152602001612a21565b83811115610d8a5750506000910152565b600181811c90821680612a5e57607f821691505b6020821081141561114f57634e487b7160e01b600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612ab157612ab1612acc565b5060010190565b600082612ac757612ac7612ae2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146116f557600080fdfea2646970667358221220bfeb4f7e19c8fbd5fc36e3f43a4da2fb2adfd7479cbcdcaf10d6bc3f3961146b64736f6c634300080400334552433732313a207472616e7366657220746f206e6f6e204552433732315265
Deployed Bytecode
0x6080604052600436106102195760003560e01c806351cff8d91161011d578063b88d4fde116100b0578063e82541741161007f578063f2e1f50011610064578063f2e1f500146105ff578063f2fde38b1461061e578063fb7e6c021461063e57600080fd5b8063e825417414610596578063e985e9c5146105b657600080fd5b8063b88d4fde14610520578063b8cac29f14610540578063c87b56dd14610560578063dd6172b81461058057600080fd5b80638462151c116100ec5780638462151c146104a05780638da5cb5b146104cd57806395d89b41146104eb578063a22cb4651461050057600080fd5b806351cff8d91461042b5780636352211e1461044b57806370a082311461046b578063715018a61461048b57600080fd5b806323b872dd116101b05780633e50000b1161017f57806342842e0e1161016457806342842e0e146103d1578063471a4294146103f15780634f6ccce71461040b57600080fd5b80633e50000b1461039e578063407eb917146103be57600080fd5b806323b872dd146103345780632714ce92146103545780632f745c591461036957806334918dfd1461038957600080fd5b80630b418e8a116101ec5780630b418e8a146102cf5780630cfabb08146102f357806318160ddd146103095780631c7acc981461031e57600080fd5b806301ffc9a71461021e57806306fdde0314610253578063081812fc14610275578063095ea7b3146102ad575b600080fd5b34801561022a57600080fd5b5061023e610239366004612730565b610653565b60405190151581526020015b60405180910390f35b34801561025f57600080fd5b50610268610664565b60405161024a919061298b565b34801561028157600080fd5b506102956102903660046127c9565b6106f6565b6040516001600160a01b03909116815260200161024a565b3480156102b957600080fd5b506102cd6102c8366004612707565b6107a1565b005b3480156102db57600080fd5b506102e5600c5481565b60405190815260200161024a565b3480156102ff57600080fd5b506102e5600b5481565b34801561031557600080fd5b506008546102e5565b34801561032a57600080fd5b506102e5600d5481565b34801561034057600080fd5b506102cd61034f366004612619565b6108d3565b34801561036057600080fd5b506102cd61095a565b34801561037557600080fd5b506102e5610384366004612707565b6109ee565b34801561039557600080fd5b506102cd610a96565b3480156103aa57600080fd5b506102cd6103b93660046127c9565b610b22565b6102cd6103cc3660046127c9565b610b81565b3480156103dd57600080fd5b506102cd6103ec366004612619565b610d90565b3480156103fd57600080fd5b50600e5461023e9060ff1681565b34801561041757600080fd5b506102e56104263660046127c9565b610dab565b34801561043757600080fd5b506102cd6104463660046125cd565b610e5d565b34801561045757600080fd5b506102956104663660046127c9565b610eef565b34801561047757600080fd5b506102e56104863660046125cd565b610f7a565b34801561049757600080fd5b506102cd611014565b3480156104ac57600080fd5b506104c06104bb3660046125cd565b61107a565b60405161024a9190612947565b3480156104d957600080fd5b50600a546001600160a01b0316610295565b3480156104f757600080fd5b50610268611155565b34801561050c57600080fd5b506102cd61051b3660046126cd565b611164565b34801561052c57600080fd5b506102cd61053b366004612654565b611247565b34801561054c57600080fd5b506102cd61055b366004612707565b6112cf565b34801561056c57600080fd5b5061026861057b3660046127c9565b611429565b34801561058c57600080fd5b506102e561271081565b3480156105a257600080fd5b506102cd6105b1366004612768565b611595565b3480156105c257600080fd5b5061023e6105d13660046125e7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561060b57600080fd5b50600e5461023e90610100900460ff1681565b34801561062a57600080fd5b506102cd6106393660046125cd565b611616565b34801561064a57600080fd5b506102e5600a81565b600061065e826117b6565b92915050565b60606000805461067390612a4a565b80601f016020809104026020016040519081016040528092919081815260200182805461069f90612a4a565b80156106ec5780601f106106c1576101008083540402835291602001916106ec565b820191906000526020600020905b8154815290600101906020018083116106cf57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107ac82610eef565b9050806001600160a01b0316836001600160a01b031614156108365760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161077c565b336001600160a01b0382161480610852575061085281336105d1565b6108c45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161077c565b6108ce838361180c565b505050565b6108dd3382611892565b61094f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161077c565b6108ce83838361199a565b600a546001600160a01b031633146109b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b60006109f983610f7a565b8210610a6d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161077c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610af05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b600a546001600160a01b03163314610b7c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b600b55565b600e5460ff16610bd35760405162461bcd60e51b815260206004820152601560248201527f4d696e74696e67206973206e6f74206163746976650000000000000000000000604482015260640161077c565b60008111610c235760405162461bcd60e51b815260206004820152601860248201527f4d757374206d696e742061746c65617374203120524150530000000000000000604482015260640161077c565b6000600d54610c3160085490565b610c3b9190612a07565b9050612710610c4a838361299e565b1115610c985760405162461bcd60e51b815260206004820152601a60248201527f45786365656473206d617820737570706c79206f662052415053000000000000604482015260640161077c565b600a821115610ce95760405162461bcd60e51b815260206004820152601a60248201527f43616e206d696e74203130205241505320617420612074696d65000000000000604482015260640161077c565b600082600b54610cf991906129ca565b905080341015610d4b5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161077c565b600d54610d58908361299e565b915060005b83811015610d8a57610d7833610d73838661299e565b611b8a565b80610d8281612a7f565b915050610d5d565b50505050565b6108ce83838360405180602001604052806000815250611247565b6000610db660085490565b8210610e2a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161077c565b60088281548110610e4b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610eb75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b60405147906001600160a01b0383169082156108fc029083906000818181858888f193505050501580156108ce573d6000803e3d6000fd5b6000818152600260205260408120546001600160a01b03168061065e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161077c565b60006001600160a01b038216610ff85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161077c565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461106e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b6110786000611ba8565b565b6060600061108783610f7a565b9050806110a85760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156110d157634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156110fa578160200160208202803683370190505b50905060005b828110156110a05761111285826109ee565b82828151811061113257634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061114781612a7f565b915050611100565b50919050565b60606001805461067390612a4a565b6001600160a01b0382163314156111bd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161077c565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112513383611892565b6112c35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161077c565b610d8a84848484611c12565b600a546001600160a01b031633146113295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b600081116113795760405162461bcd60e51b815260206004820152601b60248201527f4d75737420726573657276652061746c65617374203120524150530000000000604482015260640161077c565b600c548111156113cb5760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420656e6f75676820726573657276652052415053206c65667400000000604482015260640161077c565b60006113d660085490565b905060005b82811015611403576113f184610d73838561299e565b806113fb81612a7f565b9150506113db565b50600d546114119083611c9b565b600d55600c546114219083611cae565b600c55505050565b6000818152600260205260409020546060906001600160a01b03166114b65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161077c565b600e54610100900460ff1615611552576000600f80546114d590612a4a565b90501180156114ed575060056114ea60085490565b10155b6115215760106114fc83611cba565b60405160200161150d929190612847565b60405160208183030381529060405261065e565b600f61152c83611cba565b60405160200161153d929190612847565b60405160208183030381529060405292915050565b6103e8821015611581576000600f805461156b90612a4a565b90501180156114ed57506103e86114ea60085490565b6000600f805461156b90612a4a565b919050565b600a546001600160a01b031633146115ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b815161160290601090602085019061246a565b5080516108ce90600f90602084019061246a565b600a546001600160a01b031633146116705760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077c565b6001600160a01b0381166116ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161077c565b6116f581611ba8565b50565b3b151590565b6001600160a01b0383166117595761175481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61177c565b816001600160a01b0316836001600160a01b03161461177c5761177c8382611e08565b6001600160a01b038216611793576108ce81611ea5565b826001600160a01b0316826001600160a01b0316146108ce576108ce8282611f7e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061065e575061065e82611fc2565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061185982610eef565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661191c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161077c565b600061192783610eef565b9050806001600160a01b0316846001600160a01b031614806119625750836001600160a01b0316611957846106f6565b6001600160a01b0316145b8061199257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166119ad82610eef565b6001600160a01b031614611a295760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161077c565b6001600160a01b038216611aa45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161077c565b611aaf8383836120a5565b611aba60008261180c565b6001600160a01b0383166000908152600360205260408120805460019290611ae3908490612a07565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b1190849061299e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611ba48282604051806020016040528060008152506120b0565b5050565b600a80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c1d84848461199a565b611c2984848484612139565b610d8a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161077c565b6000611ca7828461299e565b9392505050565b6000611ca78284612a07565b606081611cfa57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611d245780611d0e81612a7f565b9150611d1d9050600a836129b6565b9150611cfe565b60008167ffffffffffffffff811115611d4d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d77576020820181803683370190505b5090505b841561199257611d8c600183612a07565b9150611d99600a86612ab8565b611da490603061299e565b60f81b818381518110611dc757634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e01600a866129b6565b9450611d7b565b60006001611e1584610f7a565b611e1f9190612a07565b600083815260076020526040902054909150808214611e72576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611eb790600190612a07565b60008381526009602052604081205460088054939450909284908110611eed57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611f1c57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f6257634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611f8983610f7a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061205557507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061065e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461065e565b6108ce8383836116fe565b6120ba8383612304565b6120c76000848484612139565b6108ce5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161077c565b60006001600160a01b0384163b156122f9576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061219690339089908890889060040161290b565b602060405180830381600087803b1580156121b057600080fd5b505af19250505080156121fe575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526121fb9181019061274c565b60015b6122ae573d80801561222c576040519150601f19603f3d011682016040523d82523d6000602084013e612231565b606091505b5080516122a65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161077c565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611992565b506001949350505050565b6001600160a01b03821661235a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161077c565b6000818152600260205260409020546001600160a01b0316156123bf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161077c565b6123cb600083836120a5565b6001600160a01b03821660009081526003602052604081208054600192906123f490849061299e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461247690612a4a565b90600052602060002090601f01602090048101928261249857600085556124de565b82601f106124b157805160ff19168380011785556124de565b828001600101855582156124de579182015b828111156124de5782518255916020019190600101906124c3565b506124ea9291506124ee565b5090565b5b808211156124ea57600081556001016124ef565b600067ffffffffffffffff8084111561251e5761251e612af8565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561256457612564612af8565b8160405280935085815286868601111561257d57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461159057600080fd5b600082601f8301126125be578081fd5b611ca783833560208501612503565b6000602082840312156125de578081fd5b611ca782612597565b600080604083850312156125f9578081fd5b61260283612597565b915061261060208401612597565b90509250929050565b60008060006060848603121561262d578081fd5b61263684612597565b925061264460208501612597565b9150604084013590509250925092565b60008060008060808587031215612669578081fd5b61267285612597565b935061268060208601612597565b925060408501359150606085013567ffffffffffffffff8111156126a2578182fd5b8501601f810187136126b2578182fd5b6126c187823560208401612503565b91505092959194509250565b600080604083850312156126df578182fd5b6126e883612597565b9150602083013580151581146126fc578182fd5b809150509250929050565b60008060408385031215612719578182fd5b61272283612597565b946020939093013593505050565b600060208284031215612741578081fd5b8135611ca781612b0e565b60006020828403121561275d578081fd5b8151611ca781612b0e565b6000806040838503121561277a578182fd5b823567ffffffffffffffff80821115612791578384fd5b61279d868387016125ae565b935060208501359150808211156127b2578283fd5b506127bf858286016125ae565b9150509250929050565b6000602082840312156127da578081fd5b5035919050565b600081518084526127f9816020860160208601612a1e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000815161283d818560208601612a1e565b9290920192915050565b600080845482600182811c91508083168061286357607f831692505b602080841082141561288357634e487b7160e01b87526022600452602487fd5b81801561289757600181146128c6576128f2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616895284890196506128f2565b60008b815260209020885b868110156128ea5781548b8201529085019083016128d1565b505084890196505b505050505050612902818561282b565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261293d60808301846127e1565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561297f57835183529284019291840191600101612963565b50909695505050505050565b602081526000611ca760208301846127e1565b600082198211156129b1576129b1612acc565b500190565b6000826129c5576129c5612ae2565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a0257612a02612acc565b500290565b600082821015612a1957612a19612acc565b500390565b60005b83811015612a39578181015183820152602001612a21565b83811115610d8a5750506000910152565b600181811c90821680612a5e57607f821691505b6020821081141561114f57634e487b7160e01b600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612ab157612ab1612acc565b5060010190565b600082612ac757612ac7612ae2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146116f557600080fdfea2646970667358221220bfeb4f7e19c8fbd5fc36e3f43a4da2fb2adfd7479cbcdcaf10d6bc3f3961146b64736f6c63430008040033
Deployed Bytecode Sourcemap
50676:4559:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55061:171;;;;;;;;;;-1:-1:-1;55061:171:0;;;;;:::i;:::-;;:::i;:::-;;;7963:14:1;;7956:22;7938:41;;7926:2;7911:18;55061:171:0;;;;;;;;31797:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33356:221::-;;;;;;;;;;-1:-1:-1;33356:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6575:55:1;;;6557:74;;6545:2;6530:18;33356:221:0;6512:125:1;32879:411:0;;;;;;;;;;-1:-1:-1;32879:411:0;;;;;:::i;:::-;;:::i;:::-;;50957:32;;;;;;;;;;;;;;;;;;;18053:25:1;;;18041:2;18026:18;50957:32:0;18008:76:1;50807:44:0;;;;;;;;;;;;;;;;44541:113;;;;;;;;;;-1:-1:-1;44629:10:0;:17;44541:113;;51013:27;;;;;;;;;;;;;;;;34246:339;;;;;;;;;;-1:-1:-1;34246:339:0;;;;;:::i;:::-;;:::i;52849:95::-;;;;;;;;;;;;;:::i;44209:256::-;;;;;;;;;;-1:-1:-1;44209:256:0;;;;;:::i;:::-;;:::i;52748:89::-;;;;;;;;;;;;;:::i;53536:96::-;;;;;;;;;;-1:-1:-1;53536:96:0;;;;;:::i;:::-;;:::i;51503:709::-;;;;;;:::i;:::-;;:::i;34656:185::-;;;;;;;;;;-1:-1:-1;34656:185:0;;;;;:::i;:::-;;:::i;51047:32::-;;;;;;;;;;-1:-1:-1;51047:32:0;;;;;;;;44731:233;;;;;;;;;;-1:-1:-1;44731:233:0;;;;;:::i;:::-;;:::i;51349:144::-;;;;;;;;;;-1:-1:-1;51349:144:0;;;;;:::i;:::-;;:::i;31491:239::-;;;;;;;;;;-1:-1:-1;31491:239:0;;;;;:::i;:::-;;:::i;31221:208::-;;;;;;;;;;-1:-1:-1;31221:208:0;;;;;:::i;:::-;;:::i;10352:94::-;;;;;;;;;;;;;:::i;52954:572::-;;;;;;;;;;-1:-1:-1;52954:572:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;9701:87::-;;;;;;;;;;-1:-1:-1;9774:6:0;;-1:-1:-1;;;;;9774:6:0;9701:87;;31966:104;;;;;;;;;;;;;:::i;33649:295::-;;;;;;;;;;-1:-1:-1;33649:295:0;;;;;:::i;:::-;;:::i;34912:328::-;;;;;;;;;;-1:-1:-1;34912:328:0;;;;;:::i;:::-;;:::i;52220:520::-;;;;;;;;;;-1:-1:-1;52220:520:0;;;;;:::i;:::-;;:::i;53924:889::-;;;;;;;;;;-1:-1:-1;53924:889:0;;;;;:::i;:::-;;:::i;50910:40::-;;;;;;;;;;;;50945:5;50910:40;;53640:147;;;;;;;;;;-1:-1:-1;53640:147:0;;;;;:::i;:::-;;:::i;34015:164::-;;;;;;;;;;-1:-1:-1;34015:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34136:25:0;;;34112:4;34136:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34015:164;51086:34;;;;;;;;;;-1:-1:-1;51086:34:0;;;;;;;;;;;10601:192;;;;;;;;;;-1:-1:-1;10601:192:0;;;;;:::i;:::-;;:::i;50859:44::-;;;;;;;;;;;;50901:2;50859:44;;55061:171;55164:4;55188:36;55212:11;55188:23;:36::i;:::-;55181:43;55061:171;-1:-1:-1;;55061:171:0:o;31797:100::-;31851:13;31884:5;31877:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31797:100;:::o;33356:221::-;33432:7;36839:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36839:16:0;33452:73;;;;-1:-1:-1;;;33452:73:0;;14569:2:1;33452:73:0;;;14551:21:1;14608:2;14588:18;;;14581:30;14647:34;14627:18;;;14620:62;14718:14;14698:18;;;14691:42;14750:19;;33452:73:0;;;;;;;;;-1:-1:-1;33545:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33545:24:0;;33356:221::o;32879:411::-;32960:13;32976:23;32991:7;32976:14;:23::i;:::-;32960:39;;33024:5;-1:-1:-1;;;;;33018:11:0;:2;-1:-1:-1;;;;;33018:11:0;;;33010:57;;;;-1:-1:-1;;;33010:57:0;;16519:2:1;33010:57:0;;;16501:21:1;16558:2;16538:18;;;16531:30;16597:34;16577:18;;;16570:62;16668:3;16648:18;;;16641:31;16689:19;;33010:57:0;16491:223:1;33010:57:0;771:10;-1:-1:-1;;;;;33102:21:0;;;;:62;;-1:-1:-1;33127:37:0;33144:5;771:10;34015:164;:::i;33127:37::-;33080:168;;;;-1:-1:-1;;;33080:168:0;;12607:2:1;33080:168:0;;;12589:21:1;12646:2;12626:18;;;12619:30;12685:34;12665:18;;;12658:62;12756:26;12736:18;;;12729:54;12800:19;;33080:168:0;12579:246:1;33080:168:0;33261:21;33270:2;33274:7;33261:8;:21::i;:::-;32879:411;;;:::o;34246:339::-;34441:41;771:10;34474:7;34441:18;:41::i;:::-;34433:103;;;;-1:-1:-1;;;34433:103:0;;16921:2:1;34433:103:0;;;16903:21:1;16960:2;16940:18;;;16933:30;16999:34;16979:18;;;16972:62;17070:19;17050:18;;;17043:47;17107:19;;34433:103:0;16893:239:1;34433:103:0;34549:28;34559:4;34565:2;34569:7;34549:9;:28::i;52849:95::-;9774:6;;-1:-1:-1;;;;;9774:6:0;771:10;9921:23;9913:68;;;;-1:-1:-1;;;9913:68:0;;14982:2:1;9913:68:0;;;14964:21:1;;;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;15112:18;;9913:68:0;14954:182:1;9913:68:0;52922:14:::1;::::0;;52904:32;;::::1;52922:14;::::0;;;::::1;;;52921:15;52904:32:::0;;::::1;;::::0;;52849:95::o;44209:256::-;44306:7;44342:23;44359:5;44342:16;:23::i;:::-;44334:5;:31;44326:87;;;;-1:-1:-1;;;44326:87:0;;8769:2:1;44326:87:0;;;8751:21:1;8808:2;8788:18;;;8781:30;8847:34;8827:18;;;8820:62;8918:13;8898:18;;;8891:41;8949:19;;44326:87:0;8741:233:1;44326:87:0;-1:-1:-1;;;;;;44431:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;44209:256::o;52748:89::-;9774:6;;-1:-1:-1;;;;;9774:6:0;771:10;9921:23;9913:68;;;;-1:-1:-1;;;9913:68:0;;14982:2:1;9913:68:0;;;14964:21:1;;;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;15112:18;;9913:68:0;14954:182:1;9913:68:0;52817:12:::1;::::0;;52801:28;;::::1;52817:12;::::0;;::::1;52816:13;52801:28;::::0;;52748:89::o;53536:96::-;9774:6;;-1:-1:-1;;;;;9774:6:0;771:10;9921:23;9913:68;;;;-1:-1:-1;;;9913:68:0;;14982:2:1;9913:68:0;;;14964:21:1;;;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;15112:18;;9913:68:0;14954:182:1;9913:68:0;53604:9:::1;:20:::0;53536:96::o;51503:709::-;51579:12;;;;51571:46;;;;-1:-1:-1;;;51571:46:0;;15343:2:1;51571:46:0;;;15325:21:1;15382:2;15362:18;;;15355:30;15421:23;15401:18;;;15394:51;15462:18;;51571:46:0;15315:171:1;51571:46:0;51653:1;51636:14;:18;51628:55;;;;-1:-1:-1;;;51628:55:0;;8416:2:1;51628:55:0;;;8398:21:1;8455:2;8435:18;;;8428:30;8494:26;8474:18;;;8467:54;8538:18;;51628:55:0;8388:174:1;51628:55:0;51694:14;51727:12;;51711:13;44629:10;:17;;44541:113;51711:13;:28;;;;:::i;:::-;51694:45;-1:-1:-1;50945:5:0;51758:23;51767:14;51694:45;51758:23;:::i;:::-;:35;;51750:74;;;;-1:-1:-1;;;51750:74:0;;13853:2:1;51750:74:0;;;13835:21:1;13892:2;13872:18;;;13865:30;13931:28;13911:18;;;13904:56;13977:18;;51750:74:0;13825:176:1;51750:74:0;50901:2;51843:14;:33;;51835:72;;;;-1:-1:-1;;;51835:72:0;;11123:2:1;51835:72:0;;;11105:21:1;11162:2;11142:18;;;11135:30;11201:28;11181:18;;;11174:56;11247:18;;51835:72:0;11095:176:1;51835:72:0;51918:18;51951:14;51939:9;;:26;;;;:::i;:::-;51918:47;;51997:10;51984:9;:23;;51976:67;;;;-1:-1:-1;;;51976:67:0;;11478:2:1;51976:67:0;;;11460:21:1;11517:2;11497:18;;;11490:30;11556:33;11536:18;;;11529:61;11607:18;;51976:67:0;11450:181:1;51976:67:0;52072:12;;52063:21;;:6;:21;:::i;:::-;52054:30;;52101:9;52096:109;52120:14;52116:1;:18;52096:109;;;52160:33;52170:10;52182;52191:1;52182:6;:10;:::i;:::-;52160:9;:33::i;:::-;52136:3;;;;:::i;:::-;;;;52096:109;;;;51503:709;;;:::o;34656:185::-;34794:39;34811:4;34817:2;34821:7;34794:39;;;;;;;;;;;;:16;:39::i;44731:233::-;44806:7;44842:30;44629:10;:17;;44541:113;44842:30;44834:5;:38;44826:95;;;;-1:-1:-1;;;44826:95:0;;17339:2:1;44826:95:0;;;17321:21:1;17378:2;17358:18;;;17351:30;17417:34;17397:18;;;17390:62;17488:14;17468:18;;;17461:42;17520:19;;44826:95:0;17311:234:1;44826:95:0;44939:10;44950:5;44939:17;;;;;;-1:-1:-1;;;44939:17:0;;;;;;;;;;;;;;;;;44932:24;;44731:233;;;:::o;51349:144::-;9774:6;;-1:-1:-1;;;;;9774:6:0;771:10;9921:23;9913:68;;;;-1:-1:-1;;;9913:68:0;;14982:2:1;9913:68:0;;;14964:21:1;;;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;15112:18;;9913:68:0;14954:182:1;9913:68:0;51455:30:::1;::::0;51423:21:::1;::::0;-1:-1:-1;;;;;51455:21:0;::::1;::::0;:30;::::1;;;::::0;51423:21;;51408:12:::1;51455:30:::0;51408:12;51455:30;51423:21;51455;:30;::::1;;;;;;;;;;;;;::::0;::::1;;;;31491:239:::0;31563:7;31599:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31599:16:0;31634:19;31626:73;;;;-1:-1:-1;;;31626:73:0;;13443:2:1;31626:73:0;;;13425:21:1;13482:2;13462:18;;;13455:30;13521:34;13501:18;;;13494:62;13592:11;13572:18;;;13565:39;13621:19;;31626:73:0;13415:231:1;31221:208:0;31293:7;-1:-1:-1;;;;;31321:19:0;;31313:74;;;;-1:-1:-1;;;31313:74:0;;13032:2:1;31313:74:0;;;13014:21:1;13071:2;13051:18;;;13044:30;13110:34;13090:18;;;13083:62;13181:12;13161:18;;;13154:40;13211:19;;31313:74:0;13004:232:1;31313:74:0;-1:-1:-1;;;;;;31405:16:0;;;;;:9;:16;;;;;;;31221:208::o;10352:94::-;9774:6;;-1:-1:-1;;;;;9774:6:0;771:10;9921:23;9913:68;;;;-1:-1:-1;;;9913:68:0;;14982:2:1;9913:68:0;;;14964:21:1;;;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;15112:18;;9913:68:0;14954:182:1;9913:68:0;10417:21:::1;10435:1;10417:9;:21::i;:::-;10352:94::o:0;52954:572::-;53043:16;53077:18;53098:17;53108:6;53098:9;:17::i;:::-;53077:38;-1:-1:-1;53130:15:0;53126:393;;53207:16;;;53221:1;53207:16;;;;;;;;;;;-1:-1:-1;53200:23:0;52954:572;-1:-1:-1;;;52954:572:0:o;53126:393::-;53256:23;53296:10;53282:25;;;;;;-1:-1:-1;;;53282:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53282:25:0;;53256:51;;53322:13;53350:130;53374:10;53366:5;:18;53350:130;;;53430:34;53450:6;53458:5;53430:19;:34::i;:::-;53414:6;53421:5;53414:13;;;;;;-1:-1:-1;;;53414:13:0;;;;;;;;;;;;;;;;;;:50;53386:7;;;;:::i;:::-;;;;53350:130;;53126:393;52954:572;;;;:::o;31966:104::-;32022:13;32055:7;32048:14;;;;;:::i;33649:295::-;-1:-1:-1;;;;;33752:24:0;;771:10;33752:24;;33744:62;;;;-1:-1:-1;;;33744:62:0;;10769:2:1;33744:62:0;;;10751:21:1;10808:2;10788:18;;;10781:30;10847:27;10827:18;;;10820:55;10892:18;;33744:62:0;10741:175:1;33744:62:0;771:10;33819:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;33819:42:0;;;;;;;;;;;;:53;;;;;;;;;;;;;33888:48;;7938:41:1;;;33819:42:0;;771:10;33888:48;;7911:18:1;33888:48:0;;;;;;;33649:295;;:::o;34912:328::-;35087:41;771:10;35120:7;35087:18;:41::i;:::-;35079:103;;;;-1:-1:-1;;;35079:103:0;;16921:2:1;35079:103:0;;;16903:21:1;16960:2;16940:18;;;16933:30;16999:34;16979:18;;;16972:62;17070:19;17050:18;;;17043:47;17107:19;;35079:103:0;16893:239:1;35079:103:0;35193:39;35207:4;35213:2;35217:7;35226:5;35193:13;:39::i;52220:520::-;9774:6;;-1:-1:-1;;;;;9774:6:0;771:10;9921:23;9913:68;;;;-1:-1:-1;;;9913:68:0;;14982:2:1;9913:68:0;;;14964:21:1;;;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;15112:18;;9913:68:0;14954:182:1;9913:68:0;52354:1:::1;52337:14;:18;52329:58;;;::::0;-1:-1:-1;;;52329:58:0;;12251:2:1;52329:58:0::1;::::0;::::1;12233:21:1::0;12290:2;12270:18;;;12263:30;12329:29;12309:18;;;12302:57;12376:18;;52329:58:0::1;12223:177:1::0;52329:58:0::1;52425:11;;52407:14;:29;;52399:70;;;::::0;-1:-1:-1;;;52399:70:0;;17752:2:1;52399:70:0::1;::::0;::::1;17734:21:1::0;17791:2;17771:18;;;17764:30;17830;17810:18;;;17803:58;17878:18;;52399:70:0::1;17724:178:1::0;52399:70:0::1;52480:14;52497:13;44629:10:::0;:17;;44541:113;52497:13:::1;52480:30;;52526:9;52521:98;52545:14;52541:1;:18;52521:98;;;52581:26;52591:3:::0;52596:10:::1;52605:1:::0;52596:6;:10:::1;:::i;52581:26::-;52561:3:::0;::::1;::::0;::::1;:::i;:::-;;;;52521:98;;;-1:-1:-1::0;52644:12:0::1;::::0;:32:::1;::::0;52661:14;52644:16:::1;:32::i;:::-;52629:12;:47:::0;52701:11:::1;::::0;:31:::1;::::0;52717:14;52701:15:::1;:31::i;:::-;52687:11;:45:::0;-1:-1:-1;;;52220:520:0:o;53924:889::-;36815:4;36839:16;;;:7;:16;;;;;;53997:13;;-1:-1:-1;;;;;36839:16:0;54023:76;;;;-1:-1:-1;;;54023:76:0;;16103:2:1;54023:76:0;;;16085:21:1;16142:2;16122:18;;;16115:30;16181:34;16161:18;;;16154:62;16252:17;16232:18;;;16225:45;16287:19;;54023:76:0;16075:237:1;54023:76:0;54116:14;;;;;;;54112:694;;;54177:1;54159:7;54153:21;;;;;:::i;:::-;;;:25;:47;;;;;54199:1;54182:13;44629:10;:17;;44541:113;54182:13;:18;;54153:47;:178;;54301:8;54311:18;:7;:16;:18::i;:::-;54284:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54153:178;;;54227:7;54254:18;:7;:16;:18::i;:::-;54210:63;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54146:185;53924:889;-1:-1:-1;;53924:889:0:o;54112:694::-;54363:4;54353:7;:14;54349:457;;;54415:1;54397:7;54391:21;;;;;:::i;:::-;;;:25;:50;;;;;54437:4;54420:13;44629:10;:17;;44541:113;54349:457;54637:1;54619:7;54613:21;;;;;:::i;54349:457::-;53924:889;;;:::o;53640:147::-;9774:6;;-1:-1:-1;;;;;9774:6:0;771:10;9921:23;9913:68;;;;-1:-1:-1;;;9913:68:0;;14982:2:1;9913:68:0;;;14964:21:1;;;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;15112:18;;9913:68:0;14954:182:1;9913:68:0;53733:20;;::::1;::::0;:8:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;53764:15:0;;::::1;::::0;:7:::1;::::0;:15:::1;::::0;::::1;::::0;::::1;:::i;10601:192::-:0;9774:6;;-1:-1:-1;;;;;9774:6:0;771:10;9921:23;9913:68;;;;-1:-1:-1;;;9913:68:0;;14982:2:1;9913:68:0;;;14964:21:1;;;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;15112:18;;9913:68:0;14954:182:1;9913:68:0;-1:-1:-1;;;;;10690:22:0;::::1;10682:73;;;::::0;-1:-1:-1;;;10682:73:0;;9600:2:1;10682:73:0::1;::::0;::::1;9582:21:1::0;9639:2;9619:18;;;9612:30;9678:34;9658:18;;;9651:62;9749:8;9729:18;;;9722:36;9775:19;;10682:73:0::1;9572:228:1::0;10682:73:0::1;10766:19;10776:8;10766:9;:19::i;:::-;10601:192:::0;:::o;21285:387::-;21608:20;21656:8;;;21285:387::o;45577:589::-;-1:-1:-1;;;;;45783:18:0;;45779:187;;45818:40;45850:7;46993:10;:17;;46966:24;;;;:15;:24;;;;;:44;;;47021:24;;;;;;;;;;;;46889:164;45818:40;45779:187;;;45888:2;-1:-1:-1;;;;;45880:10:0;:4;-1:-1:-1;;;;;45880:10:0;;45876:90;;45907:47;45940:4;45946:7;45907:32;:47::i;:::-;-1:-1:-1;;;;;45980:16:0;;45976:183;;46013:45;46050:7;46013:36;:45::i;45976:183::-;46086:4;-1:-1:-1;;;;;46080:10:0;:2;-1:-1:-1;;;;;46080:10:0;;46076:83;;46107:40;46135:2;46139:7;46107:27;:40::i;43901:224::-;44003:4;44027:50;;;44042:35;44027:50;;:90;;;44081:36;44105:11;44081:23;:36::i;40732:174::-;40807:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;40807:29:0;;;;;;;;:24;;40861:23;40807:24;40861:14;:23::i;:::-;-1:-1:-1;;;;;40852:46:0;;;;;;;;;;;40732:174;;:::o;37044:348::-;37137:4;36839:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36839:16:0;37154:73;;;;-1:-1:-1;;;37154:73:0;;11838:2:1;37154:73:0;;;11820:21:1;11877:2;11857:18;;;11850:30;11916:34;11896:18;;;11889:62;11987:14;11967:18;;;11960:42;12019:19;;37154:73:0;11810:234:1;37154:73:0;37238:13;37254:23;37269:7;37254:14;:23::i;:::-;37238:39;;37307:5;-1:-1:-1;;;;;37296:16:0;:7;-1:-1:-1;;;;;37296:16:0;;:51;;;;37340:7;-1:-1:-1;;;;;37316:31:0;:20;37328:7;37316:11;:20::i;:::-;-1:-1:-1;;;;;37316:31:0;;37296:51;:87;;;-1:-1:-1;;;;;;34136:25:0;;;34112:4;34136:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;37351:32;37288:96;37044:348;-1:-1:-1;;;;37044:348:0:o;40036:578::-;40195:4;-1:-1:-1;;;;;40168:31:0;:23;40183:7;40168:14;:23::i;:::-;-1:-1:-1;;;;;40168:31:0;;40160:85;;;;-1:-1:-1;;;40160:85:0;;15693:2:1;40160:85:0;;;15675:21:1;15732:2;15712:18;;;15705:30;15771:34;15751:18;;;15744:62;15842:11;15822:18;;;15815:39;15871:19;;40160:85:0;15665:231:1;40160:85:0;-1:-1:-1;;;;;40264:16:0;;40256:65;;;;-1:-1:-1;;;40256:65:0;;10364:2:1;40256:65:0;;;10346:21:1;10403:2;10383:18;;;10376:30;10442:34;10422:18;;;10415:62;10513:6;10493:18;;;10486:34;10537:19;;40256:65:0;10336:226:1;40256:65:0;40334:39;40355:4;40361:2;40365:7;40334:20;:39::i;:::-;40438:29;40455:1;40459:7;40438:8;:29::i;:::-;-1:-1:-1;;;;;40480:15:0;;;;;;:9;:15;;;;;:20;;40499:1;;40480:15;:20;;40499:1;;40480:20;:::i;:::-;;;;-1:-1:-1;;;;;;;40511:13:0;;;;;;:9;:13;;;;;:18;;40528:1;;40511:13;:18;;40528:1;;40511:18;:::i;:::-;;;;-1:-1:-1;;40540:16:0;;;;:7;:16;;;;;;:21;;;;-1:-1:-1;;;;;40540:21:0;;;;;;;;;40579:27;;40540:16;;40579:27;;;;;;;40036:578;;;:::o;37734:110::-;37810:26;37820:2;37824:7;37810:26;;;;;;;;;;;;:9;:26::i;:::-;37734:110;;:::o;10801:173::-;10876:6;;;-1:-1:-1;;;;;10893:17:0;;;;;;;;;;;10926:40;;10876:6;;;10893:17;10876:6;;10926:40;;10857:16;;10926:40;10801:173;;:::o;36122:315::-;36279:28;36289:4;36295:2;36299:7;36279:9;:28::i;:::-;36326:48;36349:4;36355:2;36359:7;36368:5;36326:22;:48::i;:::-;36318:111;;;;-1:-1:-1;;;36318:111:0;;9181:2:1;36318:111:0;;;9163:21:1;9220:2;9200:18;;;9193:30;9259:34;9239:18;;;9232:62;9330:20;9310:18;;;9303:48;9368:19;;36318:111:0;9153:240:1;4542:98:0;4600:7;4627:5;4631:1;4627;:5;:::i;:::-;4620:12;4542:98;-1:-1:-1;;;4542:98:0:o;4923:::-;4981:7;5008:5;5012:1;5008;:5;:::i;11290:723::-;11346:13;11567:10;11563:53;;-1:-1:-1;;11594:10:0;;;;;;;;;;;;;;;;;;11290:723::o;11563:53::-;11641:5;11626:12;11682:78;11689:9;;11682:78;;11715:8;;;;:::i;:::-;;-1:-1:-1;11738:10:0;;-1:-1:-1;11746:2:0;11738:10;;:::i;:::-;;;11682:78;;;11770:19;11802:6;11792:17;;;;;;-1:-1:-1;;;11792:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11792:17:0;;11770:39;;11820:154;11827:10;;11820:154;;11854:11;11864:1;11854:11;;:::i;:::-;;-1:-1:-1;11923:10:0;11931:2;11923:5;:10;:::i;:::-;11910:24;;:2;:24;:::i;:::-;11897:39;;11880:6;11887;11880:14;;;;;;-1:-1:-1;;;11880:14:0;;;;;;;;;;;;:56;;;;;;;;;;-1:-1:-1;11951:11:0;11960:2;11951:11;;:::i;:::-;;;11820:154;;47680:988;47946:22;47996:1;47971:22;47988:4;47971:16;:22::i;:::-;:26;;;;:::i;:::-;48008:18;48029:26;;;:17;:26;;;;;;47946:51;;-1:-1:-1;48162:28:0;;;48158:328;;-1:-1:-1;;;;;48229:18:0;;48207:19;48229:18;;;:12;:18;;;;;;;;:34;;;;;;;;;48280:30;;;;;;:44;;;48397:30;;:17;:30;;;;;:43;;;48158:328;-1:-1:-1;48582:26:0;;;;:17;:26;;;;;;;;48575:33;;;-1:-1:-1;;;;;48626:18:0;;;;;:12;:18;;;;;:34;;;;;;;48619:41;47680:988::o;48963:1079::-;49241:10;:17;49216:22;;49241:21;;49261:1;;49241:21;:::i;:::-;49273:18;49294:24;;;:15;:24;;;;;;49667:10;:26;;49216:46;;-1:-1:-1;49294:24:0;;49216:46;;49667:26;;;;-1:-1:-1;;;49667:26:0;;;;;;;;;;;;;;;;;49645:48;;49731:11;49706:10;49717;49706:22;;;;;;-1:-1:-1;;;49706:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;49811:28;;;:15;:28;;;;;;;:41;;;49983:24;;;;;49976:31;50018:10;:16;;;;;-1:-1:-1;;;50018:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;48963:1079;;;;:::o;46467:221::-;46552:14;46569:20;46586:2;46569:16;:20::i;:::-;-1:-1:-1;;;;;46600:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;46645:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;46467:221:0:o;30852:305::-;30954:4;30991:40;;;31006:25;30991:40;;:105;;-1:-1:-1;31048:48:0;;;31063:33;31048:48;30991:105;:158;;;-1:-1:-1;29492:25:0;29477:40;;;;31113:36;29368:157;54866:187;55000:45;55027:4;55033:2;55037:7;55000:26;:45::i;38071:321::-;38201:18;38207:2;38211:7;38201:5;:18::i;:::-;38252:54;38283:1;38287:2;38291:7;38300:5;38252:22;:54::i;:::-;38230:154;;;;-1:-1:-1;;;38230:154:0;;9181:2:1;38230:154:0;;;9163:21:1;9220:2;9200:18;;;9193:30;9259:34;9239:18;;;9232:62;9330:20;9310:18;;;9303:48;9368:19;;38230:154:0;9153:240:1;41471:803:0;41626:4;-1:-1:-1;;;;;41647:13:0;;21608:20;21656:8;41643:624;;41683:72;;;;;-1:-1:-1;;;;;41683:36:0;;;;;:72;;771:10;;41734:4;;41740:7;;41749:5;;41683:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41683:72:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;41679:533;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41929:13:0;;41925:272;;41972:60;;-1:-1:-1;;;41972:60:0;;9181:2:1;41972:60:0;;;9163:21:1;9220:2;9200:18;;;9193:30;9259:34;9239:18;;;9232:62;9330:20;9310:18;;;9303:48;9368:19;;41972:60:0;9153:240:1;41925:272:0;42147:6;42141:13;42132:6;42128:2;42124:15;42117:38;41679:533;41806:55;;41816:45;41806:55;;-1:-1:-1;41799:62:0;;41643:624;-1:-1:-1;42251:4:0;41471:803;;;;;;:::o;38728:382::-;-1:-1:-1;;;;;38808:16:0;;38800:61;;;;-1:-1:-1;;;38800:61:0;;14208:2:1;38800:61:0;;;14190:21:1;;;14227:18;;;14220:30;14286:34;14266:18;;;14259:62;14338:18;;38800:61:0;14180:182:1;38800:61:0;36815:4;36839:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36839:16:0;:30;38872:58;;;;-1:-1:-1;;;38872:58:0;;10007:2:1;38872:58:0;;;9989:21:1;10046:2;10026:18;;;10019:30;10085;10065:18;;;10058:58;10133:18;;38872:58:0;9979:178:1;38872:58:0;38943:45;38972:1;38976:2;38980:7;38943:20;:45::i;:::-;-1:-1:-1;;;;;39001:13:0;;;;;;:9;:13;;;;;:18;;39018:1;;39001:13;:18;;39018:1;;39001:18;:::i;:::-;;;;-1:-1:-1;;39030:16:0;;;;:7;:16;;;;;;:21;;;;-1:-1:-1;;;;;39030:21:0;;;;;;;;39069:33;;39030:16;;;39069:33;;39030:16;;39069:33;38728:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:690:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;289:2;283:9;355:2;343:15;;194:66;339:24;;;365:2;335:33;331:42;319:55;;;389:18;;;409:22;;;386:46;383:2;;;435:18;;:::i;:::-;475:10;471:2;464:22;504:6;495:15;;534:6;526;519:22;574:3;565:6;560:3;556:16;553:25;550:2;;;591:1;588;581:12;550:2;641:6;636:3;629:4;621:6;617:17;604:44;696:1;689:4;680:6;672;668:19;664:30;657:41;;;;88:616;;;;;:::o;709:196::-;777:20;;-1:-1:-1;;;;;826:54:1;;816:65;;806:2;;895:1;892;885:12;910:229;953:5;1006:3;999:4;991:6;987:17;983:27;973:2;;1028:5;1021;1014:20;973:2;1054:79;1129:3;1120:6;1107:20;1100:4;1092:6;1088:17;1054:79;:::i;1144:196::-;1203:6;1256:2;1244:9;1235:7;1231:23;1227:32;1224:2;;;1277:6;1269;1262:22;1224:2;1305:29;1324:9;1305:29;:::i;1345:270::-;1413:6;1421;1474:2;1462:9;1453:7;1449:23;1445:32;1442:2;;;1495:6;1487;1480:22;1442:2;1523:29;1542:9;1523:29;:::i;:::-;1513:39;;1571:38;1605:2;1594:9;1590:18;1571:38;:::i;:::-;1561:48;;1432:183;;;;;:::o;1620:338::-;1697:6;1705;1713;1766:2;1754:9;1745:7;1741:23;1737:32;1734:2;;;1787:6;1779;1772:22;1734:2;1815:29;1834:9;1815:29;:::i;:::-;1805:39;;1863:38;1897:2;1886:9;1882:18;1863:38;:::i;:::-;1853:48;;1948:2;1937:9;1933:18;1920:32;1910:42;;1724:234;;;;;:::o;1963:696::-;2058:6;2066;2074;2082;2135:3;2123:9;2114:7;2110:23;2106:33;2103:2;;;2157:6;2149;2142:22;2103:2;2185:29;2204:9;2185:29;:::i;:::-;2175:39;;2233:38;2267:2;2256:9;2252:18;2233:38;:::i;:::-;2223:48;;2318:2;2307:9;2303:18;2290:32;2280:42;;2373:2;2362:9;2358:18;2345:32;2400:18;2392:6;2389:30;2386:2;;;2437:6;2429;2422:22;2386:2;2465:22;;2518:4;2510:13;;2506:27;-1:-1:-1;2496:2:1;;2552:6;2544;2537:22;2496:2;2580:73;2645:7;2640:2;2627:16;2622:2;2618;2614:11;2580:73;:::i;:::-;2570:83;;;2093:566;;;;;;;:::o;2664:367::-;2729:6;2737;2790:2;2778:9;2769:7;2765:23;2761:32;2758:2;;;2811:6;2803;2796:22;2758:2;2839:29;2858:9;2839:29;:::i;:::-;2829:39;;2918:2;2907:9;2903:18;2890:32;2965:5;2958:13;2951:21;2944:5;2941:32;2931:2;;2992:6;2984;2977:22;2931:2;3020:5;3010:15;;;2748:283;;;;;:::o;3036:264::-;3104:6;3112;3165:2;3153:9;3144:7;3140:23;3136:32;3133:2;;;3186:6;3178;3171:22;3133:2;3214:29;3233:9;3214:29;:::i;:::-;3204:39;3290:2;3275:18;;;;3262:32;;-1:-1:-1;;;3123:177:1:o;3305:255::-;3363:6;3416:2;3404:9;3395:7;3391:23;3387:32;3384:2;;;3437:6;3429;3422:22;3384:2;3481:9;3468:23;3500:30;3524:5;3500:30;:::i;3565:259::-;3634:6;3687:2;3675:9;3666:7;3662:23;3658:32;3655:2;;;3708:6;3700;3693:22;3655:2;3745:9;3739:16;3764:30;3788:5;3764:30;:::i;3829:573::-;3917:6;3925;3978:2;3966:9;3957:7;3953:23;3949:32;3946:2;;;3999:6;3991;3984:22;3946:2;4044:9;4031:23;4073:18;4114:2;4106:6;4103:14;4100:2;;;4135:6;4127;4120:22;4100:2;4163:50;4205:7;4196:6;4185:9;4181:22;4163:50;:::i;:::-;4153:60;;4266:2;4255:9;4251:18;4238:32;4222:48;;4295:2;4285:8;4282:16;4279:2;;;4316:6;4308;4301:22;4279:2;;4344:52;4388:7;4377:8;4366:9;4362:24;4344:52;:::i;:::-;4334:62;;;3936:466;;;;;:::o;4407:190::-;4466:6;4519:2;4507:9;4498:7;4494:23;4490:32;4487:2;;;4540:6;4532;4525:22;4487:2;-1:-1:-1;4568:23:1;;4477:120;-1:-1:-1;4477:120:1:o;4602:316::-;4643:3;4681:5;4675:12;4708:6;4703:3;4696:19;4724:63;4780:6;4773:4;4768:3;4764:14;4757:4;4750:5;4746:16;4724:63;:::i;:::-;4832:2;4820:15;4837:66;4816:88;4807:98;;;;4907:4;4803:109;;4651:267;-1:-1:-1;;4651:267:1:o;4923:185::-;4965:3;5003:5;4997:12;5018:52;5063:6;5058:3;5051:4;5044:5;5040:16;5018:52;:::i;:::-;5086:16;;;;;4973:135;-1:-1:-1;;4973:135:1:o;5113:1293::-;5289:3;5318;5353:6;5347:13;5383:3;5405:1;5433:9;5429:2;5425:18;5415:28;;5493:2;5482:9;5478:18;5515;5505:2;;5559:4;5551:6;5547:17;5537:27;;5505:2;5585;5633;5625:6;5622:14;5602:18;5599:38;5596:2;;;-1:-1:-1;;;5667:3:1;5660:90;5773:4;5770:1;5763:15;5803:4;5798:3;5791:17;5596:2;5834:18;5861:162;;;;6037:1;6032:322;;;;5827:527;;5861:162;5909:66;5898:9;5894:82;5889:3;5882:95;6006:6;6001:3;5997:16;5990:23;;5861:162;;6032:322;18136:4;18155:17;;;18205:4;18189:21;;6127:3;6143:165;6157:6;6154:1;6151:13;6143:165;;;6235:14;;6222:11;;;6215:35;6278:16;;;;6172:10;;6143:165;;;6147:3;;6337:6;6332:3;6328:16;6321:23;;5827:527;;;;;;;6370:30;6396:3;6388:6;6370:30;:::i;:::-;6363:37;5297:1109;-1:-1:-1;;;;;5297:1109:1:o;6642:511::-;6836:4;-1:-1:-1;;;;;6946:2:1;6938:6;6934:15;6923:9;6916:34;6998:2;6990:6;6986:15;6981:2;6970:9;6966:18;6959:43;;7038:6;7033:2;7022:9;7018:18;7011:34;7081:3;7076:2;7065:9;7061:18;7054:31;7102:45;7142:3;7131:9;7127:19;7119:6;7102:45;:::i;:::-;7094:53;6845:308;-1:-1:-1;;;;;;6845:308:1:o;7158:635::-;7329:2;7381:21;;;7451:13;;7354:18;;;7473:22;;;7300:4;;7329:2;7552:15;;;;7526:2;7511:18;;;7300:4;7598:169;7612:6;7609:1;7606:13;7598:169;;;7673:13;;7661:26;;7742:15;;;;7707:12;;;;7634:1;7627:9;7598:169;;;-1:-1:-1;7784:3:1;;7309:484;-1:-1:-1;;;;;;7309:484:1:o;7990:219::-;8139:2;8128:9;8121:21;8102:4;8159:44;8199:2;8188:9;8184:18;8176:6;8159:44;:::i;18221:128::-;18261:3;18292:1;18288:6;18285:1;18282:13;18279:2;;;18298:18;;:::i;:::-;-1:-1:-1;18334:9:1;;18269:80::o;18354:120::-;18394:1;18420;18410:2;;18425:18;;:::i;:::-;-1:-1:-1;18459:9:1;;18400:74::o;18479:228::-;18519:7;18645:1;18577:66;18573:74;18570:1;18567:81;18562:1;18555:9;18548:17;18544:105;18541:2;;;18652:18;;:::i;:::-;-1:-1:-1;18692:9:1;;18531:176::o;18712:125::-;18752:4;18780:1;18777;18774:8;18771:2;;;18785:18;;:::i;:::-;-1:-1:-1;18822:9:1;;18761:76::o;18842:258::-;18914:1;18924:113;18938:6;18935:1;18932:13;18924:113;;;19014:11;;;19008:18;18995:11;;;18988:39;18960:2;18953:10;18924:113;;;19055:6;19052:1;19049:13;19046:2;;;-1:-1:-1;;19090:1:1;19072:16;;19065:27;18895:205::o;19105:437::-;19184:1;19180:12;;;;19227;;;19248:2;;19302:4;19294:6;19290:17;19280:27;;19248:2;19355;19347:6;19344:14;19324:18;19321:38;19318:2;;;-1:-1:-1;;;19389:1:1;19382:88;19493:4;19490:1;19483:15;19521:4;19518:1;19511:15;19547:195;19586:3;19617:66;19610:5;19607:77;19604:2;;;19687:18;;:::i;:::-;-1:-1:-1;19734:1:1;19723:13;;19594:148::o;19747:112::-;19779:1;19805;19795:2;;19810:18;;:::i;:::-;-1:-1:-1;19844:9:1;;19785:74::o;19864:184::-;-1:-1:-1;;;19913:1:1;19906:88;20013:4;20010:1;20003:15;20037:4;20034:1;20027:15;20053:184;-1:-1:-1;;;20102:1:1;20095:88;20202:4;20199:1;20192:15;20226:4;20223:1;20216:15;20242:184;-1:-1:-1;;;20291:1:1;20284:88;20391:4;20388:1;20381:15;20415:4;20412:1;20405:15;20431:177;20516:66;20509:5;20505:78;20498:5;20495:89;20485:2;;20598:1;20595;20588:12
Swarm Source
ipfs://bfeb4f7e19c8fbd5fc36e3f43a4da2fb2adfd7479cbcdcaf10d6bc3f3961146b
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.