ERC-721
Overview
Max Total Supply
5,492 9021
Holders
1,415
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 9021Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFT9021
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Les Genëratives & Fïne arts presented by 9021 Collective // The development of this project, along side the generation of art and strategic planning has been nothing but insipiring // And we hope this project nests insipiration upon those whom consume it // "From the bottom of the EVM, I thank you!" - Duplication // "Johnnys quote to anyone reading the contract" - Johnny 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } 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); } 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; } 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); } 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); } 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); } 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; } } 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; // solhint-disable-next-line no-inline-assembly 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" ); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } 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() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } } pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } 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}. 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 { // solhint-disable-next-line no-inline-assembly 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` 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 {} } // <3 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(); } } pragma solidity ^0.8.0; contract NFT9021 is Ownable, ERC721Enumerable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for uint256; string public imageHash; //initializes sale bool public isSaleOn = false; //official start bool public saleHasBeenStarted = false; uint256 public constant MAX_MINTABLE_AT_ONCE = 10; uint256 private _price = 0.05 ether; // 50000000000000000 string public contractURI9021; constructor() ERC721("9021Collective", "9021") {} // for owner distribution address coOwner1 = 0x189CE1e18D5308D1aa799446aDf07a1C51998130; address coOwner2 = 0x45167AAB3120450659D4981211333167eb801536; uint256[9021] private _availableTokens; uint256 private _numAvailableTokens = 9021; uint256 private _numFreeRollsGiven = 0; mapping(address => uint256) public freeRoll9021s; uint256 private _lastTokenIdMintedInInitialSet = 9021; function numTotal9021s() public view virtual returns (uint256) { return 9021; } function freeRollMint() public nonReentrant { require( freeRoll9021s[msg.sender] > 0, "You don't have any free rolls!" ); uint256 toMint = freeRoll9021s[msg.sender]; freeRoll9021s[msg.sender] = 0; uint256 remaining = numTotal9021s() - totalSupply(); if (toMint > remaining) { toMint = remaining; } _mint(toMint); } function getNumfreeRoll9021s(address owner) public view returns (uint256) { return freeRoll9021s[owner]; } function mint(uint256 _numToMint) public payable nonReentrant { require(isSaleOn, "Sale hasn't started."); uint256 totalSupply = totalSupply(); require( totalSupply + _numToMint <= numTotal9021s(), "There aren't this many 9021 pieces left." ); uint256 costForMinting9021s = _price * _numToMint; require( msg.value >= costForMinting9021s, "Too little sent, please include more eth." ); if (msg.value > costForMinting9021s) { payable(msg.sender).transfer(msg.value - costForMinting9021s); } _mint(_numToMint); } // internal minting function function _mint(uint256 _numToMint) internal { require( _numToMint <= MAX_MINTABLE_AT_ONCE, "Minting too many at once." ); uint256 updatedNumAvailableTokens = _numAvailableTokens; for (uint256 i = 0; i < _numToMint; i++) { uint256 newTokenId = useRandomAvailableToken(_numToMint, i); _safeMint(msg.sender, newTokenId); updatedNumAvailableTokens--; } _numAvailableTokens = updatedNumAvailableTokens; } function useRandomAvailableToken(uint256 _numToFetch, uint256 _i) internal returns (uint256) { uint256 randomNum = uint256( keccak256( abi.encode( msg.sender, tx.gasprice, block.number, block.timestamp, blockhash(block.number - 1), _numToFetch, _i ) ) ); uint256 randomIndex = randomNum % _numAvailableTokens; return useAvailableTokenAtIndex(randomIndex); } function useAvailableTokenAtIndex(uint256 indexToUse) internal returns (uint256) { uint256 valAtIndex = _availableTokens[indexToUse]; uint256 result; if (valAtIndex == 0) { // This means the index itself is still an available token result = indexToUse; } else { // This means the index itself is not an available token, but the val at that index is. result = valAtIndex; } uint256 lastIndex = _numAvailableTokens - 1; if (indexToUse != lastIndex) { // Replace the value at indexToUse, now that it's been used. // Replace it with the data from the last index in the array, since we are going to decrease the array size afterwards. uint256 lastValInArray = _availableTokens[lastIndex]; if (lastValInArray == 0) { // This means the index itself is still an available token _availableTokens[indexToUse] = lastIndex; } else { // This means the index itself is not an available token, but the val at that index is. _availableTokens[indexToUse] = lastValInArray; } } _numAvailableTokens--; return result; } function getPrice() public view returns (uint256) { return _price; } function contractURI() public view returns (string memory) { return contractURI9021; } function getcostForMinting9021s(uint256 _numToMint) public view returns (uint256) { require( totalSupply() + _numToMint <= numTotal9021s(), "There are not this many 9021 pieces left." ); require( _numToMint <= MAX_MINTABLE_AT_ONCE, "You cannot mint that many 9021 pieces." ); return _numToMint * _price; } function get9021sBelongingToOwner(address _owner) external view returns (uint256[] memory) { uint256 num9021s = balanceOf(_owner); if (num9021s == 0) { return new uint256[](0); } else { uint256[] memory result = new uint256[](num9021s); for (uint256 i = 0; i < num9021s; i++) { result[i] = tokenOfOwnerByIndex(_owner, i); } return result; } } // Metadata URI string private _baseTokenURI; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { string memory base = _baseURI(); string memory _tokenURI = Strings.toString(_tokenId); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } return string(abi.encodePacked(base, _tokenURI)); } function setPrice(uint256 _newPrice) public onlyOwner { _price = _newPrice; } function startSale() public onlyOwner { isSaleOn = true; saleHasBeenStarted = true; } function endSale() public onlyOwner { isSaleOn = false; } function giveFreeRoll(address receiver, uint256 numRolls) public onlyOwner { // max number of free mints we can give to the community for promotions/marketing require( _numFreeRollsGiven < 200, "Already given max number of free rolls" ); require( freeRoll9021s[receiver] + numRolls < 21, "Cannot exceed 20 unused free rolls!" ); uint256 freeRolls = freeRoll9021s[receiver]; freeRoll9021s[receiver] = freeRolls + numRolls; _numFreeRollsGiven = _numFreeRollsGiven + numRolls; } // URIs function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setContractURI(string memory _contractURI) external onlyOwner { contractURI9021 = _contractURI; } function setImageHash(string memory _imageHash) external onlyOwner { imageHash = _imageHash; } function withdrawSplit() public onlyOwner { uint256 _balance = address(this).balance; (bool sent1, ) = coOwner1.call{value: _balance / 2}(""); require(sent1, "Failed to send Ether"); (bool sent2, ) = coOwner2.call{value: _balance / 2}(""); require(sent2, "Failed to send Ether"); } function withdrawFailsafe() public onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
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_MINTABLE_AT_ONCE","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI9021","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeRoll9021s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeRollMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"get9021sBelongingToOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getNumfreeRoll9021s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numToMint","type":"uint256"}],"name":"getcostForMinting9021s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numRolls","type":"uint256"}],"name":"giveFreeRoll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"imageHash","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTotal9021s","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleHasBeenStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_imageHash","type":"string"}],"name":"setImageHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFailsafe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawSplit","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff02191690831515021790555066b1a2bc2ec50000600e5573189ce1e18d5308d1aa799446adf07a1c51998130601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507345167aab3120450659d4981211333167eb801536601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061233d61234f5560006123505561233d612352553480156200011057600080fd5b506040518060400160405280600e81526020017f39303231436f6c6c6563746976650000000000000000000000000000000000008152506040518060400160405280600481526020017f393032310000000000000000000000000000000000000000000000000000000081525060006200018f6200026f60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200024592919062000277565b5080600290805190602001906200025e92919062000277565b5050506001600b819055506200038c565b600033905090565b828054620002859062000327565b90600052602060002090601f016020900481019282620002a95760008555620002f5565b82601f10620002c457805160ff1916838001178555620002f5565b82800160010185558215620002f5579182015b82811115620002f4578251825591602001919060010190620002d7565b5b50905062000304919062000308565b5090565b5b808211156200032357600081600090555060010162000309565b5090565b600060028204905060018216806200034057607f821691505b602082108114156200035757620003566200035d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6155da806200039c6000396000f3fe6080604052600436106102505760003560e01c8063779e170d11610139578063a50e89ff116100b6578063c87b56dd1161007a578063c87b56dd1461087c578063cbf775b2146108b9578063e8a3d485146108e4578063e985e9c51461090f578063f2f5ec151461094c578063f2fde38b1461097557610250565b8063a50e89ff146107bd578063ab131e1f146107d4578063b2358337146107ff578063b66a0e5d1461083c578063b88d4fde1461085357610250565b806398d5fdca116100fd57806398d5fdca146106f7578063a0712d6814610722578063a1d898191461073e578063a22cb46514610769578063a44467071461079257610250565b8063779e170d146106245780638da5cb5b1461064f57806391b7f5ed1461067a578063938e3d7b146106a357806395d89b41146106cc57610250565b8063380d831b116101d257806355f804b31161019657806355f804b3146104f05780635cb87777146105195780636352211e146105565780636f17709a1461059357806370a08231146105d0578063715018a61461060d57610250565b8063380d831b146104315780633af03e8a1461044857806342842e0e1461045f5780634f6ccce71461048857806351605d80146104c557610250565b8063081812fc11610219578063081812fc1461033a578063095ea7b31461037757806318160ddd146103a057806323b872dd146103cb5780632f745c59146103f457610250565b8062e6672c14610255578063011d10341461026c57806301ffc9a7146102a957806304299b2a146102e657806306fdde031461030f575b600080fd5b34801561026157600080fd5b5061026a61099e565b005b34801561027857600080fd5b50610293600480360381019061028e9190613c0d565b610b39565b6040516102a091906148fc565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190613db4565b610b52565b6040516102dd919061451f565b60405180910390f35b3480156102f257600080fd5b5061030d60048036038101906103089190613e06565b610b64565b005b34801561031b57600080fd5b50610324610bfa565b604051610331919061453a565b60405180910390f35b34801561034657600080fd5b50610361600480360381019061035c9190613e47565b610c8c565b60405161036e9190614427565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190613d78565b610d11565b005b3480156103ac57600080fd5b506103b5610e29565b6040516103c291906148fc565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613c72565b610e36565b005b34801561040057600080fd5b5061041b60048036038101906104169190613d78565b610e96565b60405161042891906148fc565b60405180910390f35b34801561043d57600080fd5b50610446610f3b565b005b34801561045457600080fd5b5061045d610fd4565b005b34801561046b57600080fd5b5061048660048036038101906104819190613c72565b6110ff565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613e47565b61111f565b6040516104bc91906148fc565b60405180910390f35b3480156104d157600080fd5b506104da6111b6565b6040516104e7919061453a565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190613e06565b611244565b005b34801561052557600080fd5b50610540600480360381019061053b9190613c0d565b6112db565b60405161054d91906144fd565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190613e47565b611457565b60405161058a9190614427565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b59190613c0d565b611509565b6040516105c791906148fc565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190613c0d565b611553565b60405161060491906148fc565b60405180910390f35b34801561061957600080fd5b5061062261160b565b005b34801561063057600080fd5b50610639611745565b604051610646919061451f565b60405180910390f35b34801561065b57600080fd5b50610664611758565b6040516106719190614427565b60405180910390f35b34801561068657600080fd5b506106a1600480360381019061069c9190613e47565b611781565b005b3480156106af57600080fd5b506106ca60048036038101906106c59190613e06565b611807565b005b3480156106d857600080fd5b506106e161189d565b6040516106ee919061453a565b60405180910390f35b34801561070357600080fd5b5061070c61192f565b60405161071991906148fc565b60405180910390f35b61073c60048036038101906107379190613e47565b611939565b005b34801561074a57600080fd5b50610753611afd565b604051610760919061451f565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190613d3c565b611b10565b005b34801561079e57600080fd5b506107a7611c91565b6040516107b491906148fc565b60405180910390f35b3480156107c957600080fd5b506107d2611c9b565b005b3480156107e057600080fd5b506107e9611ed5565b6040516107f6919061453a565b60405180910390f35b34801561080b57600080fd5b5061082660048036038101906108219190613e47565b611f63565b60405161083391906148fc565b60405180910390f35b34801561084857600080fd5b5061085161201a565b005b34801561085f57600080fd5b5061087a60048036038101906108759190613cc1565b6120ce565b005b34801561088857600080fd5b506108a3600480360381019061089e9190613e47565b612130565b6040516108b0919061453a565b60405180910390f35b3480156108c557600080fd5b506108ce61218b565b6040516108db91906148fc565b60405180910390f35b3480156108f057600080fd5b506108f9612190565b604051610906919061453a565b60405180910390f35b34801561091b57600080fd5b5061093660048036038101906109319190613c36565b612222565b604051610943919061451f565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e9190613d78565b6122b6565b005b34801561098157600080fd5b5061099c60048036038101906109979190613c0d565b6124b6565b005b6002600b5414156109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db906148dc565b60405180910390fd5b6002600b81905550600061235160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a669061469c565b60405180910390fd5b600061235160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061235160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000610b04610e29565b610b0c611c91565b610b169190614b06565b905080821115610b24578091505b610b2d8261265f565b50506001600b81905550565b6123516020528060005260406000206000915090505481565b6000610b5d826126fd565b9050919050565b610b6c612777565b73ffffffffffffffffffffffffffffffffffffffff16610b8a611758565b73ffffffffffffffffffffffffffffffffffffffff1614610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd79061477c565b60405180910390fd5b80600c9080519060200190610bf6929190613a31565b5050565b606060018054610c0990614c24565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3590614c24565b8015610c825780601f10610c5757610100808354040283529160200191610c82565b820191906000526020600020905b815481529060010190602001808311610c6557829003601f168201915b5050505050905090565b6000610c978261277f565b610cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccd9061475c565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d1c82611457565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d84906147dc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dac612777565b73ffffffffffffffffffffffffffffffffffffffff161480610ddb5750610dda81610dd5612777565b612222565b5b610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e11906146bc565b60405180910390fd5b610e2483836127eb565b505050565b6000600980549050905090565b610e47610e41612777565b826128a4565b610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d9061481c565b60405180910390fd5b610e91838383612982565b505050565b6000610ea183611553565b8210610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed99061457c565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f43612777565b73ffffffffffffffffffffffffffffffffffffffff16610f61611758565b73ffffffffffffffffffffffffffffffffffffffff1614610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae9061477c565b60405180910390fd5b6000600d60006101000a81548160ff021916908315150217905550565b610fdc612777565b73ffffffffffffffffffffffffffffffffffffffff16610ffa611758565b73ffffffffffffffffffffffffffffffffffffffff1614611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061477c565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161107690614412565b60006040518083038185875af1925050503d80600081146110b3576040519150601f19603f3d011682016040523d82523d6000602084013e6110b8565b606091505b50509050806110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f3906147fc565b60405180910390fd5b50565b61111a838383604051806020016040528060008152506120ce565b505050565b6000611129610e29565b821061116a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111619061487c565b60405180910390fd5b600982815481106111a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600c80546111c390614c24565b80601f01602080910402602001604051908101604052809291908181526020018280546111ef90614c24565b801561123c5780601f106112115761010080835404028352916020019161123c565b820191906000526020600020905b81548152906001019060200180831161121f57829003601f168201915b505050505081565b61124c612777565b73ffffffffffffffffffffffffffffffffffffffff1661126a611758565b73ffffffffffffffffffffffffffffffffffffffff16146112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b79061477c565b60405180910390fd5b8061235390805190602001906112d7929190613a31565b5050565b606060006112e883611553565b9050600081141561136b57600067ffffffffffffffff811115611334577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113625781602001602082028036833780820191505090505b50915050611452565b60008167ffffffffffffffff8111156113ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113db5781602001602082028036833780820191505090505b50905060005b8281101561144b576113f38582610e96565b82828151811061142c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061144390614c87565b9150506113e1565b5080925050505b919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f7906146fc565b60405180910390fd5b80915050919050565b600061235160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb906146dc565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611613612777565b73ffffffffffffffffffffffffffffffffffffffff16611631611758565b73ffffffffffffffffffffffffffffffffffffffff1614611687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167e9061477c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600d60009054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611789612777565b73ffffffffffffffffffffffffffffffffffffffff166117a7611758565b73ffffffffffffffffffffffffffffffffffffffff16146117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f49061477c565b60405180910390fd5b80600e8190555050565b61180f612777565b73ffffffffffffffffffffffffffffffffffffffff1661182d611758565b73ffffffffffffffffffffffffffffffffffffffff1614611883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187a9061477c565b60405180910390fd5b80600f9080519060200190611899929190613a31565b5050565b6060600280546118ac90614c24565b80601f01602080910402602001604051908101604052809291908181526020018280546118d890614c24565b80156119255780601f106118fa57610100808354040283529160200191611925565b820191906000526020600020905b81548152906001019060200180831161190857829003601f168201915b5050505050905090565b6000600e54905090565b6002600b54141561197f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611976906148dc565b60405180910390fd5b6002600b81905550600d60009054906101000a900460ff166119d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cd9061455c565b60405180910390fd5b60006119e0610e29565b90506119ea611c91565b82826119f69190614a25565b1115611a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2e9061483c565b60405180910390fd5b600082600e54611a479190614aac565b905080341015611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a839061473c565b60405180910390fd5b80341115611ae7573373ffffffffffffffffffffffffffffffffffffffff166108fc8234611aba9190614b06565b9081150290604051600060405180830381858888f19350505050158015611ae5573d6000803e3d6000fd5b505b611af08361265f565b50506001600b8190555050565b600d60019054906101000a900460ff1681565b611b18612777565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d9061463c565b60405180910390fd5b8060066000611b93612777565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c40612777565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c85919061451f565b60405180910390a35050565b600061233d905090565b611ca3612777565b73ffffffffffffffffffffffffffffffffffffffff16611cc1611758565b73ffffffffffffffffffffffffffffffffffffffff1614611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e9061477c565b60405180910390fd5b60004790506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600283611d649190614a7b565b604051611d7090614412565b60006040518083038185875af1925050503d8060008114611dad576040519150601f19603f3d011682016040523d82523d6000602084013e611db2565b606091505b5050905080611df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ded906145fc565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600284611e3e9190614a7b565b604051611e4a90614412565b60006040518083038185875af1925050503d8060008114611e87576040519150601f19603f3d011682016040523d82523d6000602084013e611e8c565b606091505b5050905080611ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec7906145fc565b60405180910390fd5b505050565b600f8054611ee290614c24565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0e90614c24565b8015611f5b5780601f10611f3057610100808354040283529160200191611f5b565b820191906000526020600020905b815481529060010190602001808311611f3e57829003601f168201915b505050505081565b6000611f6d611c91565b82611f76610e29565b611f809190614a25565b1115611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb89061467c565b60405180910390fd5b600a821115612005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffc9061485c565b60405180910390fd5b600e54826120139190614aac565b9050919050565b612022612777565b73ffffffffffffffffffffffffffffffffffffffff16612040611758565b73ffffffffffffffffffffffffffffffffffffffff1614612096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208d9061477c565b60405180910390fd5b6001600d60006101000a81548160ff0219169083151502179055506001600d60016101000a81548160ff021916908315150217905550565b6120df6120d9612777565b836128a4565b61211e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121159061481c565b60405180910390fd5b61212a84848484612bde565b50505050565b6060600061213c612c3a565b9050600061214984612ccd565b905060008251141561215f578092505050612186565b81816040516020016121729291906143ee565b604051602081830303815290604052925050505b919050565b600a81565b6060600f805461219f90614c24565b80601f01602080910402602001604051908101604052809291908181526020018280546121cb90614c24565b80156122185780601f106121ed57610100808354040283529160200191612218565b820191906000526020600020905b8154815290600101906020018083116121fb57829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122be612777565b73ffffffffffffffffffffffffffffffffffffffff166122dc611758565b73ffffffffffffffffffffffffffffffffffffffff1614612332576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123299061477c565b60405180910390fd5b60c86123505410612378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236f9061489c565b60405180910390fd5b60158161235160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123c69190614a25565b10612406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fd906148bc565b60405180910390fd5b600061235160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081816124579190614a25565b61235160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081612350546124aa9190614a25565b61235081905550505050565b6124be612777565b73ffffffffffffffffffffffffffffffffffffffff166124dc611758565b73ffffffffffffffffffffffffffffffffffffffff1614612532576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125299061477c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612599906145bc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a8111156126a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269a906147bc565b60405180910390fd5b600061234f54905060005b828110156126f05760006126c28483612e7a565b90506126ce3382612ee8565b82806126d990614bfa565b9350505080806126e890614c87565b9150506126ae565b508061234f819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612770575061276f82612f06565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661285e83611457565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006128af8261277f565b6128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e59061465c565b60405180910390fd5b60006128f983611457565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296857508373ffffffffffffffffffffffffffffffffffffffff1661295084610c8c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061297957506129788185612222565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129a282611457565b73ffffffffffffffffffffffffffffffffffffffff16146129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061479c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f9061461c565b60405180910390fd5b612a73838383612fe8565b612a7e6000826127eb565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ace9190614b06565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b259190614a25565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612be9848484612982565b612bf584848484612ff8565b612c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2b9061459c565b60405180910390fd5b50505050565b60606123538054612c4a90614c24565b80601f0160208091040260200160405190810160405280929190818152602001828054612c7690614c24565b8015612cc35780601f10612c9857610100808354040283529160200191612cc3565b820191906000526020600020905b815481529060010190602001808311612ca657829003601f168201915b5050505050905090565b60606000821415612d15576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e75565b600082905060005b60008214612d47578080612d3090614c87565b915050600a82612d409190614a7b565b9150612d1d565b60008167ffffffffffffffff811115612d89577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612dbb5781602001600182028036833780820191505090505b5090505b60008514612e6e57600182612dd49190614b06565b9150600a85612de39190614cd0565b6030612def9190614a25565b60f81b818381518110612e2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e679190614a7b565b9450612dbf565b8093505050505b919050565b600080333a4342600143612e8e9190614b06565b408888604051602001612ea7979695949392919061448e565b6040516020818303038152906040528051906020012060001c9050600061234f5482612ed39190614cd0565b9050612ede8161318f565b9250505092915050565b612f028282604051806020016040528060008152506132fa565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fd157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612fe15750612fe082613355565b5b9050919050565b612ff38383836133bf565b505050565b60006130198473ffffffffffffffffffffffffffffffffffffffff166134d3565b15613182578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613042612777565b8786866040518563ffffffff1660e01b81526004016130649493929190614442565b602060405180830381600087803b15801561307e57600080fd5b505af19250505080156130af57506040513d601f19601f820116820180604052508101906130ac9190613ddd565b60015b613132573d80600081146130df576040519150601f19603f3d011682016040523d82523d6000602084013e6130e4565b606091505b5060008151141561312a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131219061459c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613187565b600190505b949350505050565b60008060128361233d81106131cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b015490506000808214156131e3578390506131e7565b8190505b6000600161234f546131f99190614b06565b90508085146132d657600060128261233d811061323f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b015490506000811415613292578160128761233d8110613288577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01819055506132d4565b8060128761233d81106132ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01819055505b505b61234f60008154809291906132ea90614bfa565b9190505550819350505050919050565b61330483836134e6565b6133116000848484612ff8565b613350576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133479061459c565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133ca8383836136b4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561340d57613408816136b9565b61344c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461344b5761344a8382613702565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561348f5761348a8161386f565b6134ce565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134cd576134cc82826139b2565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354d9061471c565b60405180910390fd5b61355f8161277f565b1561359f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613596906145dc565b60405180910390fd5b6135ab60008383612fe8565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135fb9190614a25565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161370f84611553565b6137199190614b06565b90506000600860008481526020019081526020016000205490508181146137fe576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506138839190614b06565b90506000600a60008481526020019081526020016000205490506000600983815481106138d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613921577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613996577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006139bd83611553565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613a3d90614c24565b90600052602060002090601f016020900481019282613a5f5760008555613aa6565b82601f10613a7857805160ff1916838001178555613aa6565b82800160010185558215613aa6579182015b82811115613aa5578251825591602001919060010190613a8a565b5b509050613ab39190613ab7565b5090565b5b80821115613ad0576000816000905550600101613ab8565b5090565b6000613ae7613ae28461493c565b614917565b905082815260208101848484011115613aff57600080fd5b613b0a848285614bb8565b509392505050565b6000613b25613b208461496d565b614917565b905082815260208101848484011115613b3d57600080fd5b613b48848285614bb8565b509392505050565b600081359050613b5f81615548565b92915050565b600081359050613b748161555f565b92915050565b600081359050613b8981615576565b92915050565b600081519050613b9e81615576565b92915050565b600082601f830112613bb557600080fd5b8135613bc5848260208601613ad4565b91505092915050565b600082601f830112613bdf57600080fd5b8135613bef848260208601613b12565b91505092915050565b600081359050613c078161558d565b92915050565b600060208284031215613c1f57600080fd5b6000613c2d84828501613b50565b91505092915050565b60008060408385031215613c4957600080fd5b6000613c5785828601613b50565b9250506020613c6885828601613b50565b9150509250929050565b600080600060608486031215613c8757600080fd5b6000613c9586828701613b50565b9350506020613ca686828701613b50565b9250506040613cb786828701613bf8565b9150509250925092565b60008060008060808587031215613cd757600080fd5b6000613ce587828801613b50565b9450506020613cf687828801613b50565b9350506040613d0787828801613bf8565b925050606085013567ffffffffffffffff811115613d2457600080fd5b613d3087828801613ba4565b91505092959194509250565b60008060408385031215613d4f57600080fd5b6000613d5d85828601613b50565b9250506020613d6e85828601613b65565b9150509250929050565b60008060408385031215613d8b57600080fd5b6000613d9985828601613b50565b9250506020613daa85828601613bf8565b9150509250929050565b600060208284031215613dc657600080fd5b6000613dd484828501613b7a565b91505092915050565b600060208284031215613def57600080fd5b6000613dfd84828501613b8f565b91505092915050565b600060208284031215613e1857600080fd5b600082013567ffffffffffffffff811115613e3257600080fd5b613e3e84828501613bce565b91505092915050565b600060208284031215613e5957600080fd5b6000613e6784828501613bf8565b91505092915050565b6000613e7c83836143d0565b60208301905092915050565b613e9181614b3a565b82525050565b6000613ea2826149ae565b613eac81856149dc565b9350613eb78361499e565b8060005b83811015613ee8578151613ecf8882613e70565b9750613eda836149cf565b925050600181019050613ebb565b5085935050505092915050565b613efe81614b4c565b82525050565b613f0d81614b58565b82525050565b6000613f1e826149b9565b613f2881856149ed565b9350613f38818560208601614bc7565b613f4181614dbd565b840191505092915050565b6000613f57826149c4565b613f618185614a09565b9350613f71818560208601614bc7565b613f7a81614dbd565b840191505092915050565b6000613f90826149c4565b613f9a8185614a1a565b9350613faa818560208601614bc7565b80840191505092915050565b6000613fc3601483614a09565b9150613fce82614dce565b602082019050919050565b6000613fe6602b83614a09565b9150613ff182614df7565b604082019050919050565b6000614009603283614a09565b915061401482614e46565b604082019050919050565b600061402c602683614a09565b915061403782614e95565b604082019050919050565b600061404f601c83614a09565b915061405a82614ee4565b602082019050919050565b6000614072601483614a09565b915061407d82614f0d565b602082019050919050565b6000614095602483614a09565b91506140a082614f36565b604082019050919050565b60006140b8601983614a09565b91506140c382614f85565b602082019050919050565b60006140db602c83614a09565b91506140e682614fae565b604082019050919050565b60006140fe602983614a09565b915061410982614ffd565b604082019050919050565b6000614121601e83614a09565b915061412c8261504c565b602082019050919050565b6000614144603883614a09565b915061414f82615075565b604082019050919050565b6000614167602a83614a09565b9150614172826150c4565b604082019050919050565b600061418a602983614a09565b915061419582615113565b604082019050919050565b60006141ad602083614a09565b91506141b882615162565b602082019050919050565b60006141d0602983614a09565b91506141db8261518b565b604082019050919050565b60006141f3602c83614a09565b91506141fe826151da565b604082019050919050565b6000614216602083614a09565b915061422182615229565b602082019050919050565b6000614239602983614a09565b915061424482615252565b604082019050919050565b600061425c601983614a09565b9150614267826152a1565b602082019050919050565b600061427f602183614a09565b915061428a826152ca565b604082019050919050565b60006142a26000836149fe565b91506142ad82615319565b600082019050919050565b60006142c5601083614a09565b91506142d08261531c565b602082019050919050565b60006142e8603183614a09565b91506142f382615345565b604082019050919050565b600061430b602883614a09565b915061431682615394565b604082019050919050565b600061432e602683614a09565b9150614339826153e3565b604082019050919050565b6000614351602c83614a09565b915061435c82615432565b604082019050919050565b6000614374602683614a09565b915061437f82615481565b604082019050919050565b6000614397602383614a09565b91506143a2826154d0565b604082019050919050565b60006143ba601f83614a09565b91506143c58261551f565b602082019050919050565b6143d981614bae565b82525050565b6143e881614bae565b82525050565b60006143fa8285613f85565b91506144068284613f85565b91508190509392505050565b600061441d82614295565b9150819050919050565b600060208201905061443c6000830184613e88565b92915050565b60006080820190506144576000830187613e88565b6144646020830186613e88565b61447160408301856143df565b81810360608301526144838184613f13565b905095945050505050565b600060e0820190506144a3600083018a613e88565b6144b060208301896143df565b6144bd60408301886143df565b6144ca60608301876143df565b6144d76080830186613f04565b6144e460a08301856143df565b6144f160c08301846143df565b98975050505050505050565b600060208201905081810360008301526145178184613e97565b905092915050565b60006020820190506145346000830184613ef5565b92915050565b600060208201905081810360008301526145548184613f4c565b905092915050565b6000602082019050818103600083015261457581613fb6565b9050919050565b6000602082019050818103600083015261459581613fd9565b9050919050565b600060208201905081810360008301526145b581613ffc565b9050919050565b600060208201905081810360008301526145d58161401f565b9050919050565b600060208201905081810360008301526145f581614042565b9050919050565b6000602082019050818103600083015261461581614065565b9050919050565b6000602082019050818103600083015261463581614088565b9050919050565b60006020820190508181036000830152614655816140ab565b9050919050565b60006020820190508181036000830152614675816140ce565b9050919050565b60006020820190508181036000830152614695816140f1565b9050919050565b600060208201905081810360008301526146b581614114565b9050919050565b600060208201905081810360008301526146d581614137565b9050919050565b600060208201905081810360008301526146f58161415a565b9050919050565b600060208201905081810360008301526147158161417d565b9050919050565b60006020820190508181036000830152614735816141a0565b9050919050565b60006020820190508181036000830152614755816141c3565b9050919050565b60006020820190508181036000830152614775816141e6565b9050919050565b6000602082019050818103600083015261479581614209565b9050919050565b600060208201905081810360008301526147b58161422c565b9050919050565b600060208201905081810360008301526147d58161424f565b9050919050565b600060208201905081810360008301526147f581614272565b9050919050565b60006020820190508181036000830152614815816142b8565b9050919050565b60006020820190508181036000830152614835816142db565b9050919050565b60006020820190508181036000830152614855816142fe565b9050919050565b6000602082019050818103600083015261487581614321565b9050919050565b6000602082019050818103600083015261489581614344565b9050919050565b600060208201905081810360008301526148b581614367565b9050919050565b600060208201905081810360008301526148d58161438a565b9050919050565b600060208201905081810360008301526148f5816143ad565b9050919050565b600060208201905061491160008301846143df565b92915050565b6000614921614932565b905061492d8282614c56565b919050565b6000604051905090565b600067ffffffffffffffff82111561495757614956614d8e565b5b61496082614dbd565b9050602081019050919050565b600067ffffffffffffffff82111561498857614987614d8e565b5b61499182614dbd565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a3082614bae565b9150614a3b83614bae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a7057614a6f614d01565b5b828201905092915050565b6000614a8682614bae565b9150614a9183614bae565b925082614aa157614aa0614d30565b5b828204905092915050565b6000614ab782614bae565b9150614ac283614bae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614afb57614afa614d01565b5b828202905092915050565b6000614b1182614bae565b9150614b1c83614bae565b925082821015614b2f57614b2e614d01565b5b828203905092915050565b6000614b4582614b8e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614be5578082015181840152602081019050614bca565b83811115614bf4576000848401525b50505050565b6000614c0582614bae565b91506000821415614c1957614c18614d01565b5b600182039050919050565b60006002820490506001821680614c3c57607f821691505b60208210811415614c5057614c4f614d5f565b5b50919050565b614c5f82614dbd565b810181811067ffffffffffffffff82111715614c7e57614c7d614d8e565b5b80604052505050565b6000614c9282614bae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cc557614cc4614d01565b5b600182019050919050565b6000614cdb82614bae565b9150614ce683614bae565b925082614cf657614cf5614d30565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c65206861736e277420737461727465642e000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546865726520617265206e6f742074686973206d616e7920393032312070696560008201527f636573206c6566742e0000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206861766520616e79206672656520726f6c6c73210000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6f206c6974746c652073656e742c20706c6561736520696e636c7564652060008201527f6d6f7265206574682e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720746f6f206d616e79206174206f6e63652e00000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5468657265206172656e27742074686973206d616e792039303231207069656360008201527f6573206c6566742e000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f74206d696e742074686174206d616e792039303231207060008201527f69656365732e0000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416c726561647920676976656e206d6178206e756d626572206f66206672656560008201527f20726f6c6c730000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f742065786365656420323020756e75736564206672656520726f6c60008201527f6c73210000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61555181614b3a565b811461555c57600080fd5b50565b61556881614b4c565b811461557357600080fd5b50565b61557f81614b62565b811461558a57600080fd5b50565b61559681614bae565b81146155a157600080fd5b5056fea2646970667358221220990c4e0613641a3f8b91e2432100a399953b074301f9e35ea07962e10d7b12e464736f6c63430008040033
Deployed Bytecode
0x6080604052600436106102505760003560e01c8063779e170d11610139578063a50e89ff116100b6578063c87b56dd1161007a578063c87b56dd1461087c578063cbf775b2146108b9578063e8a3d485146108e4578063e985e9c51461090f578063f2f5ec151461094c578063f2fde38b1461097557610250565b8063a50e89ff146107bd578063ab131e1f146107d4578063b2358337146107ff578063b66a0e5d1461083c578063b88d4fde1461085357610250565b806398d5fdca116100fd57806398d5fdca146106f7578063a0712d6814610722578063a1d898191461073e578063a22cb46514610769578063a44467071461079257610250565b8063779e170d146106245780638da5cb5b1461064f57806391b7f5ed1461067a578063938e3d7b146106a357806395d89b41146106cc57610250565b8063380d831b116101d257806355f804b31161019657806355f804b3146104f05780635cb87777146105195780636352211e146105565780636f17709a1461059357806370a08231146105d0578063715018a61461060d57610250565b8063380d831b146104315780633af03e8a1461044857806342842e0e1461045f5780634f6ccce71461048857806351605d80146104c557610250565b8063081812fc11610219578063081812fc1461033a578063095ea7b31461037757806318160ddd146103a057806323b872dd146103cb5780632f745c59146103f457610250565b8062e6672c14610255578063011d10341461026c57806301ffc9a7146102a957806304299b2a146102e657806306fdde031461030f575b600080fd5b34801561026157600080fd5b5061026a61099e565b005b34801561027857600080fd5b50610293600480360381019061028e9190613c0d565b610b39565b6040516102a091906148fc565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190613db4565b610b52565b6040516102dd919061451f565b60405180910390f35b3480156102f257600080fd5b5061030d60048036038101906103089190613e06565b610b64565b005b34801561031b57600080fd5b50610324610bfa565b604051610331919061453a565b60405180910390f35b34801561034657600080fd5b50610361600480360381019061035c9190613e47565b610c8c565b60405161036e9190614427565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190613d78565b610d11565b005b3480156103ac57600080fd5b506103b5610e29565b6040516103c291906148fc565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613c72565b610e36565b005b34801561040057600080fd5b5061041b60048036038101906104169190613d78565b610e96565b60405161042891906148fc565b60405180910390f35b34801561043d57600080fd5b50610446610f3b565b005b34801561045457600080fd5b5061045d610fd4565b005b34801561046b57600080fd5b5061048660048036038101906104819190613c72565b6110ff565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613e47565b61111f565b6040516104bc91906148fc565b60405180910390f35b3480156104d157600080fd5b506104da6111b6565b6040516104e7919061453a565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190613e06565b611244565b005b34801561052557600080fd5b50610540600480360381019061053b9190613c0d565b6112db565b60405161054d91906144fd565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190613e47565b611457565b60405161058a9190614427565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b59190613c0d565b611509565b6040516105c791906148fc565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190613c0d565b611553565b60405161060491906148fc565b60405180910390f35b34801561061957600080fd5b5061062261160b565b005b34801561063057600080fd5b50610639611745565b604051610646919061451f565b60405180910390f35b34801561065b57600080fd5b50610664611758565b6040516106719190614427565b60405180910390f35b34801561068657600080fd5b506106a1600480360381019061069c9190613e47565b611781565b005b3480156106af57600080fd5b506106ca60048036038101906106c59190613e06565b611807565b005b3480156106d857600080fd5b506106e161189d565b6040516106ee919061453a565b60405180910390f35b34801561070357600080fd5b5061070c61192f565b60405161071991906148fc565b60405180910390f35b61073c60048036038101906107379190613e47565b611939565b005b34801561074a57600080fd5b50610753611afd565b604051610760919061451f565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190613d3c565b611b10565b005b34801561079e57600080fd5b506107a7611c91565b6040516107b491906148fc565b60405180910390f35b3480156107c957600080fd5b506107d2611c9b565b005b3480156107e057600080fd5b506107e9611ed5565b6040516107f6919061453a565b60405180910390f35b34801561080b57600080fd5b5061082660048036038101906108219190613e47565b611f63565b60405161083391906148fc565b60405180910390f35b34801561084857600080fd5b5061085161201a565b005b34801561085f57600080fd5b5061087a60048036038101906108759190613cc1565b6120ce565b005b34801561088857600080fd5b506108a3600480360381019061089e9190613e47565b612130565b6040516108b0919061453a565b60405180910390f35b3480156108c557600080fd5b506108ce61218b565b6040516108db91906148fc565b60405180910390f35b3480156108f057600080fd5b506108f9612190565b604051610906919061453a565b60405180910390f35b34801561091b57600080fd5b5061093660048036038101906109319190613c36565b612222565b604051610943919061451f565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e9190613d78565b6122b6565b005b34801561098157600080fd5b5061099c60048036038101906109979190613c0d565b6124b6565b005b6002600b5414156109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db906148dc565b60405180910390fd5b6002600b81905550600061235160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a669061469c565b60405180910390fd5b600061235160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061235160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000610b04610e29565b610b0c611c91565b610b169190614b06565b905080821115610b24578091505b610b2d8261265f565b50506001600b81905550565b6123516020528060005260406000206000915090505481565b6000610b5d826126fd565b9050919050565b610b6c612777565b73ffffffffffffffffffffffffffffffffffffffff16610b8a611758565b73ffffffffffffffffffffffffffffffffffffffff1614610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd79061477c565b60405180910390fd5b80600c9080519060200190610bf6929190613a31565b5050565b606060018054610c0990614c24565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3590614c24565b8015610c825780601f10610c5757610100808354040283529160200191610c82565b820191906000526020600020905b815481529060010190602001808311610c6557829003601f168201915b5050505050905090565b6000610c978261277f565b610cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccd9061475c565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d1c82611457565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d84906147dc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dac612777565b73ffffffffffffffffffffffffffffffffffffffff161480610ddb5750610dda81610dd5612777565b612222565b5b610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e11906146bc565b60405180910390fd5b610e2483836127eb565b505050565b6000600980549050905090565b610e47610e41612777565b826128a4565b610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d9061481c565b60405180910390fd5b610e91838383612982565b505050565b6000610ea183611553565b8210610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed99061457c565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f43612777565b73ffffffffffffffffffffffffffffffffffffffff16610f61611758565b73ffffffffffffffffffffffffffffffffffffffff1614610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae9061477c565b60405180910390fd5b6000600d60006101000a81548160ff021916908315150217905550565b610fdc612777565b73ffffffffffffffffffffffffffffffffffffffff16610ffa611758565b73ffffffffffffffffffffffffffffffffffffffff1614611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061477c565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161107690614412565b60006040518083038185875af1925050503d80600081146110b3576040519150601f19603f3d011682016040523d82523d6000602084013e6110b8565b606091505b50509050806110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f3906147fc565b60405180910390fd5b50565b61111a838383604051806020016040528060008152506120ce565b505050565b6000611129610e29565b821061116a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111619061487c565b60405180910390fd5b600982815481106111a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600c80546111c390614c24565b80601f01602080910402602001604051908101604052809291908181526020018280546111ef90614c24565b801561123c5780601f106112115761010080835404028352916020019161123c565b820191906000526020600020905b81548152906001019060200180831161121f57829003601f168201915b505050505081565b61124c612777565b73ffffffffffffffffffffffffffffffffffffffff1661126a611758565b73ffffffffffffffffffffffffffffffffffffffff16146112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b79061477c565b60405180910390fd5b8061235390805190602001906112d7929190613a31565b5050565b606060006112e883611553565b9050600081141561136b57600067ffffffffffffffff811115611334577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113625781602001602082028036833780820191505090505b50915050611452565b60008167ffffffffffffffff8111156113ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113db5781602001602082028036833780820191505090505b50905060005b8281101561144b576113f38582610e96565b82828151811061142c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061144390614c87565b9150506113e1565b5080925050505b919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f7906146fc565b60405180910390fd5b80915050919050565b600061235160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb906146dc565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611613612777565b73ffffffffffffffffffffffffffffffffffffffff16611631611758565b73ffffffffffffffffffffffffffffffffffffffff1614611687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167e9061477c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600d60009054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611789612777565b73ffffffffffffffffffffffffffffffffffffffff166117a7611758565b73ffffffffffffffffffffffffffffffffffffffff16146117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f49061477c565b60405180910390fd5b80600e8190555050565b61180f612777565b73ffffffffffffffffffffffffffffffffffffffff1661182d611758565b73ffffffffffffffffffffffffffffffffffffffff1614611883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187a9061477c565b60405180910390fd5b80600f9080519060200190611899929190613a31565b5050565b6060600280546118ac90614c24565b80601f01602080910402602001604051908101604052809291908181526020018280546118d890614c24565b80156119255780601f106118fa57610100808354040283529160200191611925565b820191906000526020600020905b81548152906001019060200180831161190857829003601f168201915b5050505050905090565b6000600e54905090565b6002600b54141561197f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611976906148dc565b60405180910390fd5b6002600b81905550600d60009054906101000a900460ff166119d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cd9061455c565b60405180910390fd5b60006119e0610e29565b90506119ea611c91565b82826119f69190614a25565b1115611a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2e9061483c565b60405180910390fd5b600082600e54611a479190614aac565b905080341015611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a839061473c565b60405180910390fd5b80341115611ae7573373ffffffffffffffffffffffffffffffffffffffff166108fc8234611aba9190614b06565b9081150290604051600060405180830381858888f19350505050158015611ae5573d6000803e3d6000fd5b505b611af08361265f565b50506001600b8190555050565b600d60019054906101000a900460ff1681565b611b18612777565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d9061463c565b60405180910390fd5b8060066000611b93612777565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c40612777565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c85919061451f565b60405180910390a35050565b600061233d905090565b611ca3612777565b73ffffffffffffffffffffffffffffffffffffffff16611cc1611758565b73ffffffffffffffffffffffffffffffffffffffff1614611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e9061477c565b60405180910390fd5b60004790506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600283611d649190614a7b565b604051611d7090614412565b60006040518083038185875af1925050503d8060008114611dad576040519150601f19603f3d011682016040523d82523d6000602084013e611db2565b606091505b5050905080611df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ded906145fc565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600284611e3e9190614a7b565b604051611e4a90614412565b60006040518083038185875af1925050503d8060008114611e87576040519150601f19603f3d011682016040523d82523d6000602084013e611e8c565b606091505b5050905080611ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec7906145fc565b60405180910390fd5b505050565b600f8054611ee290614c24565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0e90614c24565b8015611f5b5780601f10611f3057610100808354040283529160200191611f5b565b820191906000526020600020905b815481529060010190602001808311611f3e57829003601f168201915b505050505081565b6000611f6d611c91565b82611f76610e29565b611f809190614a25565b1115611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb89061467c565b60405180910390fd5b600a821115612005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffc9061485c565b60405180910390fd5b600e54826120139190614aac565b9050919050565b612022612777565b73ffffffffffffffffffffffffffffffffffffffff16612040611758565b73ffffffffffffffffffffffffffffffffffffffff1614612096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208d9061477c565b60405180910390fd5b6001600d60006101000a81548160ff0219169083151502179055506001600d60016101000a81548160ff021916908315150217905550565b6120df6120d9612777565b836128a4565b61211e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121159061481c565b60405180910390fd5b61212a84848484612bde565b50505050565b6060600061213c612c3a565b9050600061214984612ccd565b905060008251141561215f578092505050612186565b81816040516020016121729291906143ee565b604051602081830303815290604052925050505b919050565b600a81565b6060600f805461219f90614c24565b80601f01602080910402602001604051908101604052809291908181526020018280546121cb90614c24565b80156122185780601f106121ed57610100808354040283529160200191612218565b820191906000526020600020905b8154815290600101906020018083116121fb57829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122be612777565b73ffffffffffffffffffffffffffffffffffffffff166122dc611758565b73ffffffffffffffffffffffffffffffffffffffff1614612332576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123299061477c565b60405180910390fd5b60c86123505410612378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236f9061489c565b60405180910390fd5b60158161235160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123c69190614a25565b10612406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fd906148bc565b60405180910390fd5b600061235160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081816124579190614a25565b61235160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081612350546124aa9190614a25565b61235081905550505050565b6124be612777565b73ffffffffffffffffffffffffffffffffffffffff166124dc611758565b73ffffffffffffffffffffffffffffffffffffffff1614612532576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125299061477c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612599906145bc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a8111156126a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269a906147bc565b60405180910390fd5b600061234f54905060005b828110156126f05760006126c28483612e7a565b90506126ce3382612ee8565b82806126d990614bfa565b9350505080806126e890614c87565b9150506126ae565b508061234f819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612770575061276f82612f06565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661285e83611457565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006128af8261277f565b6128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e59061465c565b60405180910390fd5b60006128f983611457565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296857508373ffffffffffffffffffffffffffffffffffffffff1661295084610c8c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061297957506129788185612222565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129a282611457565b73ffffffffffffffffffffffffffffffffffffffff16146129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061479c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f9061461c565b60405180910390fd5b612a73838383612fe8565b612a7e6000826127eb565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ace9190614b06565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b259190614a25565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612be9848484612982565b612bf584848484612ff8565b612c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2b9061459c565b60405180910390fd5b50505050565b60606123538054612c4a90614c24565b80601f0160208091040260200160405190810160405280929190818152602001828054612c7690614c24565b8015612cc35780601f10612c9857610100808354040283529160200191612cc3565b820191906000526020600020905b815481529060010190602001808311612ca657829003601f168201915b5050505050905090565b60606000821415612d15576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e75565b600082905060005b60008214612d47578080612d3090614c87565b915050600a82612d409190614a7b565b9150612d1d565b60008167ffffffffffffffff811115612d89577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612dbb5781602001600182028036833780820191505090505b5090505b60008514612e6e57600182612dd49190614b06565b9150600a85612de39190614cd0565b6030612def9190614a25565b60f81b818381518110612e2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e679190614a7b565b9450612dbf565b8093505050505b919050565b600080333a4342600143612e8e9190614b06565b408888604051602001612ea7979695949392919061448e565b6040516020818303038152906040528051906020012060001c9050600061234f5482612ed39190614cd0565b9050612ede8161318f565b9250505092915050565b612f028282604051806020016040528060008152506132fa565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fd157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612fe15750612fe082613355565b5b9050919050565b612ff38383836133bf565b505050565b60006130198473ffffffffffffffffffffffffffffffffffffffff166134d3565b15613182578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613042612777565b8786866040518563ffffffff1660e01b81526004016130649493929190614442565b602060405180830381600087803b15801561307e57600080fd5b505af19250505080156130af57506040513d601f19601f820116820180604052508101906130ac9190613ddd565b60015b613132573d80600081146130df576040519150601f19603f3d011682016040523d82523d6000602084013e6130e4565b606091505b5060008151141561312a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131219061459c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613187565b600190505b949350505050565b60008060128361233d81106131cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b015490506000808214156131e3578390506131e7565b8190505b6000600161234f546131f99190614b06565b90508085146132d657600060128261233d811061323f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b015490506000811415613292578160128761233d8110613288577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01819055506132d4565b8060128761233d81106132ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01819055505b505b61234f60008154809291906132ea90614bfa565b9190505550819350505050919050565b61330483836134e6565b6133116000848484612ff8565b613350576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133479061459c565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133ca8383836136b4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561340d57613408816136b9565b61344c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461344b5761344a8382613702565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561348f5761348a8161386f565b6134ce565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134cd576134cc82826139b2565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354d9061471c565b60405180910390fd5b61355f8161277f565b1561359f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613596906145dc565b60405180910390fd5b6135ab60008383612fe8565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135fb9190614a25565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161370f84611553565b6137199190614b06565b90506000600860008481526020019081526020016000205490508181146137fe576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506138839190614b06565b90506000600a60008481526020019081526020016000205490506000600983815481106138d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613921577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613996577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006139bd83611553565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613a3d90614c24565b90600052602060002090601f016020900481019282613a5f5760008555613aa6565b82601f10613a7857805160ff1916838001178555613aa6565b82800160010185558215613aa6579182015b82811115613aa5578251825591602001919060010190613a8a565b5b509050613ab39190613ab7565b5090565b5b80821115613ad0576000816000905550600101613ab8565b5090565b6000613ae7613ae28461493c565b614917565b905082815260208101848484011115613aff57600080fd5b613b0a848285614bb8565b509392505050565b6000613b25613b208461496d565b614917565b905082815260208101848484011115613b3d57600080fd5b613b48848285614bb8565b509392505050565b600081359050613b5f81615548565b92915050565b600081359050613b748161555f565b92915050565b600081359050613b8981615576565b92915050565b600081519050613b9e81615576565b92915050565b600082601f830112613bb557600080fd5b8135613bc5848260208601613ad4565b91505092915050565b600082601f830112613bdf57600080fd5b8135613bef848260208601613b12565b91505092915050565b600081359050613c078161558d565b92915050565b600060208284031215613c1f57600080fd5b6000613c2d84828501613b50565b91505092915050565b60008060408385031215613c4957600080fd5b6000613c5785828601613b50565b9250506020613c6885828601613b50565b9150509250929050565b600080600060608486031215613c8757600080fd5b6000613c9586828701613b50565b9350506020613ca686828701613b50565b9250506040613cb786828701613bf8565b9150509250925092565b60008060008060808587031215613cd757600080fd5b6000613ce587828801613b50565b9450506020613cf687828801613b50565b9350506040613d0787828801613bf8565b925050606085013567ffffffffffffffff811115613d2457600080fd5b613d3087828801613ba4565b91505092959194509250565b60008060408385031215613d4f57600080fd5b6000613d5d85828601613b50565b9250506020613d6e85828601613b65565b9150509250929050565b60008060408385031215613d8b57600080fd5b6000613d9985828601613b50565b9250506020613daa85828601613bf8565b9150509250929050565b600060208284031215613dc657600080fd5b6000613dd484828501613b7a565b91505092915050565b600060208284031215613def57600080fd5b6000613dfd84828501613b8f565b91505092915050565b600060208284031215613e1857600080fd5b600082013567ffffffffffffffff811115613e3257600080fd5b613e3e84828501613bce565b91505092915050565b600060208284031215613e5957600080fd5b6000613e6784828501613bf8565b91505092915050565b6000613e7c83836143d0565b60208301905092915050565b613e9181614b3a565b82525050565b6000613ea2826149ae565b613eac81856149dc565b9350613eb78361499e565b8060005b83811015613ee8578151613ecf8882613e70565b9750613eda836149cf565b925050600181019050613ebb565b5085935050505092915050565b613efe81614b4c565b82525050565b613f0d81614b58565b82525050565b6000613f1e826149b9565b613f2881856149ed565b9350613f38818560208601614bc7565b613f4181614dbd565b840191505092915050565b6000613f57826149c4565b613f618185614a09565b9350613f71818560208601614bc7565b613f7a81614dbd565b840191505092915050565b6000613f90826149c4565b613f9a8185614a1a565b9350613faa818560208601614bc7565b80840191505092915050565b6000613fc3601483614a09565b9150613fce82614dce565b602082019050919050565b6000613fe6602b83614a09565b9150613ff182614df7565b604082019050919050565b6000614009603283614a09565b915061401482614e46565b604082019050919050565b600061402c602683614a09565b915061403782614e95565b604082019050919050565b600061404f601c83614a09565b915061405a82614ee4565b602082019050919050565b6000614072601483614a09565b915061407d82614f0d565b602082019050919050565b6000614095602483614a09565b91506140a082614f36565b604082019050919050565b60006140b8601983614a09565b91506140c382614f85565b602082019050919050565b60006140db602c83614a09565b91506140e682614fae565b604082019050919050565b60006140fe602983614a09565b915061410982614ffd565b604082019050919050565b6000614121601e83614a09565b915061412c8261504c565b602082019050919050565b6000614144603883614a09565b915061414f82615075565b604082019050919050565b6000614167602a83614a09565b9150614172826150c4565b604082019050919050565b600061418a602983614a09565b915061419582615113565b604082019050919050565b60006141ad602083614a09565b91506141b882615162565b602082019050919050565b60006141d0602983614a09565b91506141db8261518b565b604082019050919050565b60006141f3602c83614a09565b91506141fe826151da565b604082019050919050565b6000614216602083614a09565b915061422182615229565b602082019050919050565b6000614239602983614a09565b915061424482615252565b604082019050919050565b600061425c601983614a09565b9150614267826152a1565b602082019050919050565b600061427f602183614a09565b915061428a826152ca565b604082019050919050565b60006142a26000836149fe565b91506142ad82615319565b600082019050919050565b60006142c5601083614a09565b91506142d08261531c565b602082019050919050565b60006142e8603183614a09565b91506142f382615345565b604082019050919050565b600061430b602883614a09565b915061431682615394565b604082019050919050565b600061432e602683614a09565b9150614339826153e3565b604082019050919050565b6000614351602c83614a09565b915061435c82615432565b604082019050919050565b6000614374602683614a09565b915061437f82615481565b604082019050919050565b6000614397602383614a09565b91506143a2826154d0565b604082019050919050565b60006143ba601f83614a09565b91506143c58261551f565b602082019050919050565b6143d981614bae565b82525050565b6143e881614bae565b82525050565b60006143fa8285613f85565b91506144068284613f85565b91508190509392505050565b600061441d82614295565b9150819050919050565b600060208201905061443c6000830184613e88565b92915050565b60006080820190506144576000830187613e88565b6144646020830186613e88565b61447160408301856143df565b81810360608301526144838184613f13565b905095945050505050565b600060e0820190506144a3600083018a613e88565b6144b060208301896143df565b6144bd60408301886143df565b6144ca60608301876143df565b6144d76080830186613f04565b6144e460a08301856143df565b6144f160c08301846143df565b98975050505050505050565b600060208201905081810360008301526145178184613e97565b905092915050565b60006020820190506145346000830184613ef5565b92915050565b600060208201905081810360008301526145548184613f4c565b905092915050565b6000602082019050818103600083015261457581613fb6565b9050919050565b6000602082019050818103600083015261459581613fd9565b9050919050565b600060208201905081810360008301526145b581613ffc565b9050919050565b600060208201905081810360008301526145d58161401f565b9050919050565b600060208201905081810360008301526145f581614042565b9050919050565b6000602082019050818103600083015261461581614065565b9050919050565b6000602082019050818103600083015261463581614088565b9050919050565b60006020820190508181036000830152614655816140ab565b9050919050565b60006020820190508181036000830152614675816140ce565b9050919050565b60006020820190508181036000830152614695816140f1565b9050919050565b600060208201905081810360008301526146b581614114565b9050919050565b600060208201905081810360008301526146d581614137565b9050919050565b600060208201905081810360008301526146f58161415a565b9050919050565b600060208201905081810360008301526147158161417d565b9050919050565b60006020820190508181036000830152614735816141a0565b9050919050565b60006020820190508181036000830152614755816141c3565b9050919050565b60006020820190508181036000830152614775816141e6565b9050919050565b6000602082019050818103600083015261479581614209565b9050919050565b600060208201905081810360008301526147b58161422c565b9050919050565b600060208201905081810360008301526147d58161424f565b9050919050565b600060208201905081810360008301526147f581614272565b9050919050565b60006020820190508181036000830152614815816142b8565b9050919050565b60006020820190508181036000830152614835816142db565b9050919050565b60006020820190508181036000830152614855816142fe565b9050919050565b6000602082019050818103600083015261487581614321565b9050919050565b6000602082019050818103600083015261489581614344565b9050919050565b600060208201905081810360008301526148b581614367565b9050919050565b600060208201905081810360008301526148d58161438a565b9050919050565b600060208201905081810360008301526148f5816143ad565b9050919050565b600060208201905061491160008301846143df565b92915050565b6000614921614932565b905061492d8282614c56565b919050565b6000604051905090565b600067ffffffffffffffff82111561495757614956614d8e565b5b61496082614dbd565b9050602081019050919050565b600067ffffffffffffffff82111561498857614987614d8e565b5b61499182614dbd565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a3082614bae565b9150614a3b83614bae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a7057614a6f614d01565b5b828201905092915050565b6000614a8682614bae565b9150614a9183614bae565b925082614aa157614aa0614d30565b5b828204905092915050565b6000614ab782614bae565b9150614ac283614bae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614afb57614afa614d01565b5b828202905092915050565b6000614b1182614bae565b9150614b1c83614bae565b925082821015614b2f57614b2e614d01565b5b828203905092915050565b6000614b4582614b8e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614be5578082015181840152602081019050614bca565b83811115614bf4576000848401525b50505050565b6000614c0582614bae565b91506000821415614c1957614c18614d01565b5b600182039050919050565b60006002820490506001821680614c3c57607f821691505b60208210811415614c5057614c4f614d5f565b5b50919050565b614c5f82614dbd565b810181811067ffffffffffffffff82111715614c7e57614c7d614d8e565b5b80604052505050565b6000614c9282614bae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cc557614cc4614d01565b5b600182019050919050565b6000614cdb82614bae565b9150614ce683614bae565b925082614cf657614cf5614d30565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c65206861736e277420737461727465642e000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546865726520617265206e6f742074686973206d616e7920393032312070696560008201527f636573206c6566742e0000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206861766520616e79206672656520726f6c6c73210000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6f206c6974746c652073656e742c20706c6561736520696e636c7564652060008201527f6d6f7265206574682e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720746f6f206d616e79206174206f6e63652e00000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5468657265206172656e27742074686973206d616e792039303231207069656360008201527f6573206c6566742e000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f74206d696e742074686174206d616e792039303231207060008201527f69656365732e0000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416c726561647920676976656e206d6178206e756d626572206f66206672656560008201527f20726f6c6c730000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f742065786365656420323020756e75736564206672656520726f6c60008201527f6c73210000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61555181614b3a565b811461555c57600080fd5b50565b61556881614b4c565b811461557357600080fd5b50565b61557f81614b62565b811461558a57600080fd5b50565b61559681614bae565b81146155a157600080fd5b5056fea2646970667358221220990c4e0613641a3f8b91e2432100a399953b074301f9e35ea07962e10d7b12e464736f6c63430008040033
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.