ERC-721
Overview
Max Total Supply
750 GARYS
Holders
435
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 GARYSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ScaryGarys
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 /* _____ _____ ___ ________ __ _____ ___ ________ _______ / ___/ __ \ / _ \ | ___ \ \ / / | __ \ / _ \ | ___ \ \ / / ___| \ `--.| / \// /_\ \| |_/ /\ V / | | \// /_\ \| |_/ /\ V /\ `--. `--. \ | | _ || / \ / | | __ | _ || / \ / `--. \ /\__/ / \__/\| | | || |\ \ | | | |_\ \| | | || |\ \ | | /\__/ / \____/ \____/\_| |_/\_| \_| \_/ \____/\_| |_/\_| \_| \_/ \____/ A generative collection by Mister Goldie Curated by imnotArt Physical: 1010 N. Ashland, Chicago IL - https://goo.gl/maps/gyoSKSbUZvGMLHBV7 Metaverse: 2 Exciting Field, Vibes CV - https://www.cryptovoxels.com/parcels/4927 Smart Contract by imnotArt Team: Ian Olson Joseph Hirn */ pragma solidity ^0.8.10; pragma abicoder v2; import "./core/CoreDrop721.sol"; contract ScaryGarys is CoreDrop721 { // --- // Constructor // --- // @dev Contract constructor. constructor() CoreDrop721( NftOptions({ name: "Scary Garys", symbol: "GARYS", imnotArtBps: 0, royaltyBps: 750, startingTokenId: 1, maxInvocations: 750, contractUri: "https://ipfs.imnotart.com/ipfs/QmTZ3PyPH3Nnby2R58uVpaDcm5ahSnqmo2h4QoMm39NybX" }), DropOptions({ metadataBaseUri: "https://api.imnotart.com/", mintPriceInWei: 0.05 ether, maxQuantityPerTransaction: 10, autoPayout: false, active: false, presaleMint: true, presaleActive: true, imnotArtPayoutAddress: msg.sender, artistPayoutAddress: msg.sender, maxPerWalletEnabled: true, maxPerWalletQuantity: 10 }) ){ } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || 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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; library StringsUtil { function concat(string memory _base, string memory _value) internal pure returns (string memory) { bytes memory _baseBytes = bytes(_base); bytes memory _valueBytes = bytes(_value); string memory _tmpValue = new string(_baseBytes.length + _valueBytes.length); bytes memory _newValue = bytes(_tmpValue); uint i; uint j; for(i=0; i<_baseBytes.length; i++) { _newValue[j++] = _baseBytes[i]; } for(i=0; i<_valueBytes.length; i++) { _newValue[j++] = _valueBytes[i]; } return string(_newValue); } function address2str(address _address) internal pure returns (string memory) { bytes memory s = new bytes(40); for (uint i = 0; i < 20; i++) { bytes1 b = bytes1(uint8(uint(uint160(_address)) / (2**(8*(19 - i))))); bytes1 hi = bytes1(uint8(b) / 16); bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi)); s[2*i] = char(hi); s[2*i+1] = char(lo); } return string(s); } function char(bytes1 b) internal pure returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } function uint2str(uint256 _i) internal pure returns (string memory str) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 length; while (j != 0) { length++; j /= 10; } bytes memory bstr = new bytes(length); uint256 k = length; j = _i; while (j != 0) { bstr[--k] = bytes1(uint8(48 + j % 10)); j /= 10; } str = string(bstr); } }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; library LibPart { bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)"); struct Part { address payable account; uint96 value; } function hash(Part memory part) internal pure returns (bytes32) { return keccak256(abi.encode(TYPE_HASH, part.account, part.value)); } }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; contract PresaleFunctions { // --- // Properties // --- bool public presaleMint; bool public presaleActive; // --- // Mappings // --- mapping(address => bool) public isPresaleAddress; }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; contract DropFunctions { // --- // Properties // --- uint256 public invocations = 0; uint256 public maxInvocations; uint256 public nextTokenId; uint256 public mintPriceInWei; uint256 public maxQuantityPerTransaction; string public metadataBaseUri; bool public autoPayout; bool public active; bool public paused; bool public completed; uint256 public royaltyFeeBps; uint256 public imnotArtBps; address public artistPayoutAddress; bool public maxPerWalletEnabled; uint256 public maxPerWalletQuantity; // --- // Mappings // --- mapping(address => uint256) mintsPerWallet; // --- // Function Modifiers // --- modifier onlyActive() { require(active, "Minting is not active."); _; } modifier onlyNonPaused() { require(!paused, "Minting is paused."); _; } // --- // Functions // --- function totalSupply() external view returns (uint256) { return invocations; } }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; contract AdminFunctions { // --- // Properties // --- string public contractURI; address public imnotArtPayoutAddress; // --- // Function Modifiers // --- modifier onlyAdmin { require(isAdmin[msg.sender], "Only Admins."); _; } // --- // Mappings // --- mapping(address => bool) isAdmin; // --- // Functions // --- // @dev Add an address to the isAdmin mapping. function addAdmin(address addressToAdd) external { require(isAdmin[msg.sender], "Only Admins."); isAdmin[addressToAdd] = true; } // @dev Remove an address from the isAdmin mapping. function removeAdmin(address addressToRemove) external { require(isAdmin[msg.sender], "Only Admins."); isAdmin[addressToRemove] = false; } // @dev Update the contract uri. function updateContractUri(string memory newContractUri) external { require(isAdmin[msg.sender], "Only Admins."); contractURI = newContractUri; } // @dev Update the imnotArt payout address. function updateImnotartPayoutAddress(address _payoutAddress) external { require(isAdmin[msg.sender], "Only Admins."); imnotArtPayoutAddress = _payoutAddress; } // @dev Take the balance of the given contract and transfer it to the caller. function withdraw() external { require(isAdmin[msg.sender], "Only Admins."); uint256 amount = address(this).balance; require(amount > 0, "Contract balance empty."); (bool success, ) = payable(msg.sender).call{value: amount}(""); require(success, "Transfer failed."); } }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; import "../parts/rarible/LibPart.sol"; interface IRaribleRoyaltiesV2 { event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties); function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory); }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; interface INA721Standard { // --- // Struct // --- // @dev NftOptions to make setup of contract a lot easier. struct NftOptions { string name; string symbol; uint16 imnotArtBps; uint16 royaltyBps; uint256 startingTokenId; uint256 maxInvocations; string contractUri; } }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; // @dev This should be used for drops where minting starts at 0/1 and the collector mints themselves. interface INA721DropStandard { // --- // Events // --- event Mint(uint256 indexed tokenId, address indexed owner); // @todo(iolson): Add hash to the message for future on-chain generative stuff. event Payout(uint256 amount, address payee); // --- // Struct // --- // @dev DropOptions to make setup of contract a lot easier. struct DropOptions { string metadataBaseUri; uint256 mintPriceInWei; uint256 maxQuantityPerTransaction; bool autoPayout; bool active; bool presaleMint; bool presaleActive; address imnotArtPayoutAddress; address artistPayoutAddress; bool maxPerWalletEnabled; uint256 maxPerWalletQuantity; } // --- // Functions // --- function mint(uint256 quantity) external payable; function updateImNotArtPayoutAddress(address payoutAddress) external; function updateArtistPayoutAddress(address payoutAddress) external; function bulkAddPresaleWallets(address[] memory presaleWallets) external; function addPresaleWallet(address presaleWallet) external; function removePresaleWallet(address presaleWallet) external; }
// SPDX-License-Identifier: CC-BY-NC-ND-4.0 pragma solidity ^0.8.10; pragma abicoder v2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./interfaces/INA721Standard.sol"; import "./interfaces/INA721DropStandard.sol"; import "./interfaces/IRaribleRoyaltiesV2.sol"; import "./parts/AdminFunctions.sol"; import "./parts/DropFunctions.sol"; import "./parts/PresaleFunctions.sol"; import "./parts/rarible/LibPart.sol"; import "./utils/StringsUtil.sol"; contract CoreDrop721 is Ownable, ERC721, INA721Standard, INA721DropStandard, AdminFunctions, DropFunctions, PresaleFunctions, IRaribleRoyaltiesV2 { using SafeMath for uint256; // --- // Constants // --- bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; bytes4 private constant _INTERFACE_ID_EIP2981 = 0x2a55205a; bytes4 private constant _INTERFACE_RARIBLE_ROYALTIES = 0xcad96cca; // bytes4(keccak256('getRaribleV2Royalties(uint256)')) == 0xcad96cca // --- // Constructor // --- // @dev Contract constructor. constructor(NftOptions memory options, DropOptions memory dropOptions) ERC721(options.name, options.symbol) { nextTokenId = options.startingTokenId; maxInvocations = options.maxInvocations; imnotArtBps = options.imnotArtBps; royaltyFeeBps = options.royaltyBps; contractURI = options.contractUri; metadataBaseUri = dropOptions.metadataBaseUri; mintPriceInWei = dropOptions.mintPriceInWei; active = dropOptions.active; presaleMint = dropOptions.presaleMint; presaleActive = dropOptions.presaleActive; autoPayout = dropOptions.autoPayout; imnotArtPayoutAddress = dropOptions.imnotArtPayoutAddress; artistPayoutAddress = dropOptions.artistPayoutAddress; maxQuantityPerTransaction = dropOptions.maxQuantityPerTransaction; maxPerWalletEnabled = dropOptions.maxPerWalletEnabled; maxPerWalletQuantity = dropOptions.maxPerWalletQuantity; paused = false; completed = false; // Add default admins. isAdmin[msg.sender] = true; // Deployer address gnosisSafe = address(0x12b66baFc99D351f7e24874B3e52B1889641D3f3); // imnotArt Gnosis Safe isAdmin[gnosisSafe] = true; } // --- // Supported Interfaces // --- // @dev Return the support interfaces of this contract. function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == _INTERFACE_ID_ERC165 || interfaceId == _INTERFACE_RARIBLE_ROYALTIES || interfaceId == _INTERFACE_ID_ERC721 || interfaceId == _INTERFACE_ID_ERC721_METADATA || interfaceId == _INTERFACE_ID_EIP2981 || super.supportsInterface(interfaceId); } // --- // Minting // --- // @dev Mint new tokens from the contract. function mint(uint256 quantity) public payable onlyActive onlyNonPaused { require(quantity <= maxQuantityPerTransaction, StringsUtil.concat("Max limit per transaction is ", StringsUtil.uint2str(maxQuantityPerTransaction))); require(invocations.add(quantity) <= maxInvocations, "Must not exceed max invocations."); require(msg.value >= (mintPriceInWei * quantity), "Must send minimum value."); if (presaleMint && presaleActive) { require(isPresaleAddress[_msgSender()], "Wallet is not part of pre-sale."); } uint256 currentMints = 0; if (maxPerWalletEnabled) { currentMints = mintsPerWallet[_msgSender()]; require(currentMints.add(quantity) <= maxPerWalletQuantity, "Must not exceed max mints per wallet."); } uint8 i; uint256 tokenId = nextTokenId; for (i = 0; i < quantity; i++) { _safeMint(_msgSender(), tokenId); emit Mint(tokenId, _msgSender()); tokenId = tokenId.add(1); } // Update the nextTokenId nextTokenId = nextTokenId.add(quantity); // Update number of invocations invocations = invocations.add(quantity); uint256 balance = msg.value; uint256 refund = balance.sub((mintPriceInWei * quantity)); if (refund > 0) { balance = balance.sub(refund); (bool refundSuccess, ) = payable(_msgSender()).call{value: refund}(""); require(refundSuccess, "Transfer failed."); emit Payout(refund, _msgSender()); } // Auto-Payout Feature if (autoPayout) { // Payout imnotArt uint256 imnotArtPayout = SafeMath.div(SafeMath.mul(balance, imnotArtBps), 10000); if (imnotArtPayout > 0) { balance = balance.sub(imnotArtPayout); (bool imnotArtPayoutSuccess, ) = payable(imnotArtPayoutAddress).call{value: imnotArtPayout}(""); require(imnotArtPayoutSuccess, "Transfer failed."); emit Payout(imnotArtPayout, imnotArtPayoutAddress); } // Payout Artist (bool artistPayoutSuccess, ) = payable(artistPayoutAddress).call{value: balance}(""); require(artistPayoutSuccess, "Transfer failed."); emit Payout(balance, artistPayoutAddress); } if (maxPerWalletEnabled) { mintsPerWallet[_msgSender()] = currentMints.add(quantity); } } // --- // Functions // --- // @dev Override the updateImNotArtPayoutAddress function to account for admin security. function updateImNotArtPayoutAddress(address _payoutAddress) external override onlyAdmin { imnotArtPayoutAddress = _payoutAddress; } // @dev Override the updateArtistPayoutAddress function to account for admin security. function updateArtistPayoutAddress(address _payoutAddress) external override onlyAdmin { artistPayoutAddress = _payoutAddress; } // @dev Update the base URL that will be used for the tokenURI() function. function updateMetadataBaseUri(string memory _metadataBaseUri) public onlyAdmin { metadataBaseUri = _metadataBaseUri; } // @dev Bulk add wallets to pre-sale list. function bulkAddPresaleWallets(address[] memory presaleWallets) external override onlyAdmin { require(presaleWallets.length > 1, "Use addPresaleWallet function instead."); uint amountOfPresaleWallets = presaleWallets.length; for (uint i = 0; i < amountOfPresaleWallets; i++) { isPresaleAddress[presaleWallets[i]] = true; } } // @dev Add a wallet to pre-sale list. function addPresaleWallet(address presaleWallet) public onlyAdmin { isPresaleAddress[presaleWallet] = true; } // @dev Remove a wallet from pre-sale list. function removePresaleWallet(address presaleWallet) public onlyAdmin { require((_msgSender() != presaleWallet), "Cannot remove self."); isPresaleAddress[presaleWallet] = false; } // @dev Update the max invocations, this can only be done BEFORE the minting is active. function updateMaxInvocations(uint256 newMaxInvocations) public onlyAdmin { require(!active, "Cannot change max invocations after active."); maxInvocations = newMaxInvocations; } // @dev Update the max quantity per transaction, this can only be done BEFORE the minting is active. function updateMaxQuantityPerTransaction(uint256 newMaxQuantityPerTransaction) public onlyAdmin { require(!active, "Cannot change max quantity per transaction after active."); maxQuantityPerTransaction = newMaxQuantityPerTransaction; } // @dev Update the mint price, this can only be done BEFORE the minting is active. function updateMintPriceInWei(uint256 newMintPriceInWei) public onlyAdmin { require(!active, "Cannot change mint price after active."); mintPriceInWei = newMintPriceInWei; } // @dev Enable minting and make contract active. function enableMinting() public onlyAdmin { active = true; } // @dev Enable public sale on the mint function. function enablePublicSale() public onlyAdmin { presaleActive = false; } // @dev Toggle the pause state of minting. function toggleMintPause() public onlyAdmin { paused = !paused; } // @dev Override the tokenURI function to return the base URL + concat and tokenId. function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Token ID does not exist."); return StringsUtil.concat(metadataBaseUri, StringsUtil.uint2str(tokenId)); } // --- // Secondary Marketplace Functions // --- // @dev Rarible royalties V2 implementation. function getRaribleV2Royalties(uint256 id) external view override returns (LibPart.Part[] memory) { require(_exists(id), "Token ID does not exist."); LibPart.Part[] memory royalties = new LibPart.Part[](1); royalties[0] = LibPart.Part({ account : payable(address(this)), value : uint96(royaltyFeeBps) }); return royalties; } // @dev EIP-2981 royalty standard implementation. function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 amount) { require(_exists(tokenId), "Token ID does not exist."); uint256 royaltyPercentageAmount = SafeMath.div(SafeMath.mul(salePrice, royaltyFeeBps), 10000); return (payable(address(this)), royaltyPercentageAmount); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "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":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"Mint","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":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"payee","type":"address"}],"name":"Payout","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","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":"active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addressToAdd","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"presaleWallet","type":"address"}],"name":"addPresaleWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artistPayoutAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"autoPayout","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"presaleWallets","type":"address[]"}],"name":"bulkAddPresaleWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"completed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imnotArtBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imnotArtPayoutAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"invocations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isPresaleAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxInvocations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxQuantityPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPriceInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addressToRemove","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"presaleWallet","type":"address"}],"name":"removePresaleWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyFeeBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMintPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payoutAddress","type":"address"}],"name":"updateArtistPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractUri","type":"string"}],"name":"updateContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payoutAddress","type":"address"}],"name":"updateImNotArtPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payoutAddress","type":"address"}],"name":"updateImnotartPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxInvocations","type":"uint256"}],"name":"updateMaxInvocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxQuantityPerTransaction","type":"uint256"}],"name":"updateMaxQuantityPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_metadataBaseUri","type":"string"}],"name":"updateMetadataBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPriceInWei","type":"uint256"}],"name":"updateMintPriceInWei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a553480156200001657600080fd5b506040518060e001604052806040518060400160405280600b81526020017f536361727920476172797300000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f47415259530000000000000000000000000000000000000000000000000000008152508152602001600061ffff1681526020016102ee61ffff168152602001600181526020016102ee81526020016040518060800160405280604d815260200162003a28604d91399052604080516101a081018252601961016082019081527f68747470733a2f2f6170692e696d6e6f746172742e636f6d2f00000000000000610180830152815266b1a2bc2ec50000602080830191909152600a9282018390526000606083018190526080830152600160a0830181905260c083018190523360e084018190526101008401526101208301526101408201929092528251918301519091906200019b6200018c6401000000006200035f810204565b64010000000062000363810204565b8151620001b0906001906020850190620003b3565b508051620001c6906002906020840190620003b3565b5050506080820151600c5560a0820151600b55604082015161ffff90811660125560608301511660115560c082015180516200020b91600791602090910190620003b3565b50805180516200022491600f91602090910190620003b3565b50602080820151600d5560808201516010805460a08501516016805460c0880151151561010090810293151561ff00191661ffff199283161793909317909155606087015160e088015160088054600160a060020a03928316600160a060020a031990911617905583890151601380546040808d0151600e556101208d015115157401000000000000000000000000000000000000000002600160a860020a031990921693909416929092179190911790556101409098015160145563ffff00001990151560ff19961515909302861691909316171716905533600090815260099092529181208054831660019081179091557312b66bafc99d351f7e24874b3e52b1889641d3f39091527faae759814ff5607a0a302cd9945f57c1269196b3f2dd4db241246f4c3d951327805490921617905550620004af565b3390565b60008054600160a060020a03838116600160a060020a0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620003c19062000459565b90600052602060002090601f016020900481019282620003e5576000855562000430565b82601f106200040057805160ff191683800117855562000430565b8280016001018555821562000430579182015b828111156200043057825182559160200191906001019062000413565b506200043e92915062000442565b5090565b5b808211156200043e576000815560010162000443565b6002810460018216806200046e57607f821691505b60208210811415620004a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b61356980620004bf6000396000f3fe608060405260043610610393576000357c01000000000000000000000000000000000000000000000000000000009004806370a08231116101ee578063ae856ce31161011f578063d5291e4c116100bd578063e985e9c51161008c578063e985e9c5146109dc578063ee1a14c314610a25578063f2fde38b14610a45578063f433036814610a6557600080fd5b8063d5291e4c146105b6578063da5666551461099c578063e797ec1b146109b2578063e8a3d485146109c757600080fd5b8063bdaaf5fa116100f9578063bdaaf5fa14610919578063c34a2a3a1461092f578063c87b56dd1461094f578063cad96cca1461096f57600080fd5b8063ae856ce3146108b9578063b88d4fde146108d9578063b973d859146108f957600080fd5b80638f99822a1161018c5780639d9a7fe9116101665780639d9a7fe914610845578063a0712d6814610866578063a22cb46514610879578063a4445d4d1461089957600080fd5b80638f99822a14610804578063911927651461081a57806395d89b411461083057600080fd5b80637764db39116101c85780637764db391461078c5780637f392078146107a6578063811e0aa9146107c65780638da5cb5b146107e657600080fd5b806370a0823114610741578063715018a61461076157806375794a3c1461077657600080fd5b806336864adb116102c857806353135ca0116102665780635c975abb116102405780635c975abb146106cb5780636352211e146106eb5780636cbdef611461070b578063704802751461072157600080fd5b806353135ca01461067d57806359533d6c1461069c5780635c464229146106b657600080fd5b806342842e0e116102a257806342842e0e146105eb57806347c8ff5e1461060b5780634a6f07a51461062b5780634ce2ee831461064b57600080fd5b806336864adb146105a157806338a2801b146105b65780633ccfd60b146105d657600080fd5b80631785f53c1161033557806323b872dd1161030f57806323b872dd146104fc5780632a55205a1461051c5780632dd28c5c1461055b57806330df65481461058b57600080fd5b80631785f53c146104a857806318160ddd146104c85780632316b4da146104e757600080fd5b80630430f25b116103715780630430f25b1461040e57806306fdde031461042e578063081812fc14610450578063095ea7b31461048857600080fd5b806301fb7f261461039857806301ffc9a7146103ba57806302fb0c5e146103ef575b600080fd5b3480156103a457600080fd5b506103b86103b3366004612dd7565b610a7b565b005b3480156103c657600080fd5b506103da6103d5366004612e06565b610b3c565b60405190151581526020015b60405180910390f35b3480156103fb57600080fd5b506010546103da90610100900460ff1681565b34801561041a57600080fd5b506103b8610429366004612dd7565b610c50565b34801561043a57600080fd5b50610443610d08565b6040516103e69190612e70565b34801561045c57600080fd5b5061047061046b366004612dd7565b610d9a565b604051600160a060020a0390911681526020016103e6565b34801561049457600080fd5b506103b86104a3366004612e9f565b610e36565b3480156104b457600080fd5b506103b86104c3366004612ec9565b610f6e565b3480156104d457600080fd5b50600a545b6040519081526020016103e6565b3480156104f357600080fd5b506103b8610fc1565b34801561050857600080fd5b506103b8610517366004612ee4565b611000565b34801561052857600080fd5b5061053c610537366004612f20565b611034565b60408051600160a060020a0390931683526020830191909152016103e6565b34801561056757600080fd5b506103da610576366004612ec9565b60176020526000908152604090205460ff1681565b34801561059757600080fd5b506104d960145481565b3480156105ad57600080fd5b50610443611084565b3480156105c257600080fd5b506103b86105d1366004612ec9565b611112565b3480156105e257600080fd5b506103b8611173565b3480156105f757600080fd5b506103b8610606366004612ee4565b611266565b34801561061757600080fd5b506103b8610626366004612fe4565b611281565b34801561063757600080fd5b506103b8610646366004612ec9565b6112c6565b34801561065757600080fd5b506013546103da9074010000000000000000000000000000000000000000900460ff1681565b34801561068957600080fd5b506016546103da90610100900460ff1681565b3480156106a857600080fd5b506016546103da9060ff1681565b3480156106c257600080fd5b506103b8611327565b3480156106d757600080fd5b506010546103da9062010000900460ff1681565b3480156106f757600080fd5b50610470610706366004612dd7565b611378565b34801561071757600080fd5b506104d9600b5481565b34801561072d57600080fd5b506103b861073c366004612ec9565b611406565b34801561074d57600080fd5b506104d961075c366004612ec9565b61145c565b34801561076d57600080fd5b506103b86114f9565b34801561078257600080fd5b506104d9600c5481565b34801561079857600080fd5b506010546103da9060ff1681565b3480156107b257600080fd5b506103b86107c1366004612fe4565b611562565b3480156107d257600080fd5b506103b86107e1366004612ec9565b6115a7565b3480156107f257600080fd5b50600054600160a060020a0316610470565b34801561081057600080fd5b506104d9600e5481565b34801561082657600080fd5b506104d960115481565b34801561083c57600080fd5b50610443611656565b34801561085157600080fd5b506010546103da906301000000900460ff1681565b6103b8610874366004612dd7565b611665565b34801561088557600080fd5b506103b861089436600461302d565b611cde565b3480156108a557600080fd5b506103b86108b4366004612ec9565b611ce9565b3480156108c557600080fd5b506103b86108d4366004613069565b611d3f565b3480156108e557600080fd5b506103b86108f4366004613115565b611e54565b34801561090557600080fd5b5060135461047090600160a060020a031681565b34801561092557600080fd5b506104d9600a5481565b34801561093b57600080fd5b5060085461047090600160a060020a031681565b34801561095b57600080fd5b5061044361096a366004612dd7565b611e8f565b34801561097b57600080fd5b5061098f61098a366004612dd7565b611f50565b6040516103e69190613191565b3480156109a857600080fd5b506104d960125481565b3480156109be57600080fd5b506103b861200c565b3480156109d357600080fd5b5061044361204f565b3480156109e857600080fd5b506103da6109f73660046131f7565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610a3157600080fd5b506103b8610a40366004612dd7565b61205c565b348015610a5157600080fd5b506103b8610a60366004612ec9565b612114565b348015610a7157600080fd5b506104d9600d5481565b3360009081526009602052604090205460ff16610ab65760405160e560020a62461bcd028152600401610aad9061322a565b60405180910390fd5b601054610100900460ff1615610b375760405160e560020a62461bcd02815260206004820152603860248201527f43616e6e6f74206368616e6765206d6178207175616e7469747920706572207460448201527f72616e73616374696f6e206166746572206163746976652e00000000000000006064820152608401610aad565b600e55565b6000600160e060020a031982167f01ffc9a7000000000000000000000000000000000000000000000000000000001480610b9f5750600160e060020a031982167fcad96cca00000000000000000000000000000000000000000000000000000000145b80610bd35750600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000145b80610c075750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c3b5750600160e060020a031982167f2a55205a00000000000000000000000000000000000000000000000000000000145b80610c4a5750610c4a826121fc565b92915050565b3360009081526009602052604090205460ff16610c825760405160e560020a62461bcd028152600401610aad9061322a565b601054610100900460ff1615610d035760405160e560020a62461bcd02815260206004820152602660248201527f43616e6e6f74206368616e6765206d696e74207072696365206166746572206160448201527f63746976652e00000000000000000000000000000000000000000000000000006064820152608401610aad565b600d55565b606060018054610d1790613261565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4390613261565b8015610d905780601f10610d6557610100808354040283529160200191610d90565b820191906000526020600020905b815481529060010190602001808311610d7357829003601f168201915b5050505050905090565b6000610da582612297565b610e1a5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610aad565b50600090815260056020526040902054600160a060020a031690565b6000610e4182611378565b905080600160a060020a031683600160a060020a03161415610ece5760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610aad565b33600160a060020a0382161480610eea5750610eea81336109f7565b610f5f5760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610aad565b610f6983836122b4565b505050565b3360009081526009602052604090205460ff16610fa05760405160e560020a62461bcd028152600401610aad9061322a565b600160a060020a03166000908152600960205260409020805460ff19169055565b3360009081526009602052604090205460ff16610ff35760405160e560020a62461bcd028152600401610aad9061322a565b6016805461ff0019169055565b61100a338261232f565b6110295760405160e560020a62461bcd028152600401610aad9061329f565b610f6983838361242d565b60008061104084612297565b61105f5760405160e560020a62461bcd028152600401610aad906132fc565b60006110786110708560115461260d565b612710612620565b30969095509350505050565b600f805461109190613261565b80601f01602080910402602001604051908101604052809291908181526020018280546110bd90613261565b801561110a5780601f106110df5761010080835404028352916020019161110a565b820191906000526020600020905b8154815290600101906020018083116110ed57829003601f168201915b505050505081565b3360009081526009602052604090205460ff166111445760405160e560020a62461bcd028152600401610aad9061322a565b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b3360009081526009602052604090205460ff166111a55760405160e560020a62461bcd028152600401610aad9061322a565b3031806111f75760405160e560020a62461bcd02815260206004820152601760248201527f436f6e74726163742062616c616e636520656d7074792e0000000000000000006044820152606401610aad565b604051600090339083908381818185875af1925050503d8060008114611239576040519150601f19603f3d011682016040523d82523d6000602084013e61123e565b606091505b50509050806112625760405160e560020a62461bcd028152600401610aad90613333565b5050565b610f6983838360405180602001604052806000815250611e54565b3360009081526009602052604090205460ff166112b35760405160e560020a62461bcd028152600401610aad9061322a565b8051611262906007906020840190612d3e565b3360009081526009602052604090205460ff166112f85760405160e560020a62461bcd028152600401610aad9061322a565b6013805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b3360009081526009602052604090205460ff166113595760405160e560020a62461bcd028152600401610aad9061322a565b6010805462ff0000198116620100009182900460ff1615909102179055565b600081815260036020526040812054600160a060020a031680610c4a5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610aad565b3360009081526009602052604090205460ff166114385760405160e560020a62461bcd028152600401610aad9061322a565b600160a060020a03166000908152600960205260409020805460ff19166001179055565b6000600160a060020a0382166114dd5760405160e560020a62461bcd02815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610aad565b50600160a060020a031660009081526004602052604090205490565b600054600160a060020a031633146115565760405160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aad565b611560600061262c565b565b3360009081526009602052604090205460ff166115945760405160e560020a62461bcd028152600401610aad9061322a565b805161126290600f906020840190612d3e565b3360009081526009602052604090205460ff166115d95760405160e560020a62461bcd028152600401610aad9061322a565b33600160a060020a03821614156116355760405160e560020a62461bcd02815260206004820152601360248201527f43616e6e6f742072656d6f76652073656c662e000000000000000000000000006044820152606401610aad565b600160a060020a03166000908152601760205260409020805460ff19169055565b606060028054610d1790613261565b601054610100900460ff166116bf5760405160e560020a62461bcd02815260206004820152601660248201527f4d696e74696e67206973206e6f74206163746976652e000000000000000000006044820152606401610aad565b60105462010000900460ff161561171b5760405160e560020a62461bcd02815260206004820152601260248201527f4d696e74696e67206973207061757365642e00000000000000000000000000006044820152606401610aad565b600e5481111561176a6040518060400160405280601d81526020017f4d6178206c696d697420706572207472616e73616374696f6e20697320000000815250611765600e54612689565b6127c9565b9061178b5760405160e560020a62461bcd028152600401610aad9190612e70565b50600b54600a5461179c9083612955565b11156117ed5760405160e560020a62461bcd02815260206004820181905260248201527f4d757374206e6f7420657863656564206d617820696e766f636174696f6e732e6044820152606401610aad565b80600d546117fb9190613383565b34101561184d5760405160e560020a62461bcd02815260206004820152601860248201527f4d7573742073656e64206d696e696d756d2076616c75652e00000000000000006044820152606401610aad565b60165460ff1680156118665750601654610100900460ff165b156118cd573360009081526017602052604090205460ff166118cd5760405160e560020a62461bcd02815260206004820152601f60248201527f57616c6c6574206973206e6f742070617274206f66207072652d73616c652e006044820152606401610aad565b60135460009074010000000000000000000000000000000000000000900460ff16156119885750336000908152601560205260409020546014546119118284612955565b11156119885760405160e560020a62461bcd02815260206004820152602560248201527f4d757374206e6f7420657863656564206d6178206d696e74732070657220776160448201527f6c6c65742e0000000000000000000000000000000000000000000000000000006064820152608401610aad565b600c546000905b838260ff1610156119f0576119a43382612961565b604051339082907ff3cea5493d790af0133817606f7350a91d7f154ea52eaa79d179d4d231e5010290600090a36119dc816001612955565b9050816119e8816133a2565b92505061198f565b600c546119fd9085612955565b600c55600a54611a0d9085612955565b600a55600d543490600090611a2e90611a27908890613383565b839061297b565b90508015611aea57611a40828261297b565b604051909250600090339083908381818185875af1925050503d8060008114611a85576040519150601f19603f3d011682016040523d82523d6000602084013e611a8a565b606091505b5050905080611aae5760405160e560020a62461bcd028152600401610aad90613333565b6040805183815233602082015281517f9b5d1a613fa5f0790b36b13103706e31fca06b229d87e9915b29fc20c1d76490929181900390910190a1505b60105460ff1615611c98576000611b066110708460125461260d565b90508015611bda57611b18838261297b565b600854604051919450600091600160a060020a039091169083908381818185875af1925050503d8060008114611b6a576040519150601f19603f3d011682016040523d82523d6000602084013e611b6f565b606091505b5050905080611b935760405160e560020a62461bcd028152600401610aad90613333565b60085460408051848152600160a060020a0390921660208301527f9b5d1a613fa5f0790b36b13103706e31fca06b229d87e9915b29fc20c1d76490910160405180910390a1505b601354604051600091600160a060020a03169085908381818185875af1925050503d8060008114611c27576040519150601f19603f3d011682016040523d82523d6000602084013e611c2c565b606091505b5050905080611c505760405160e560020a62461bcd028152600401610aad90613333565b60135460408051868152600160a060020a0390921660208301527f9b5d1a613fa5f0790b36b13103706e31fca06b229d87e9915b29fc20c1d76490910160405180910390a150505b60135474010000000000000000000000000000000000000000900460ff1615611cd657611cc58587612955565b336000908152601560205260409020555b505050505050565b611262338383612987565b3360009081526009602052604090205460ff16611d1b5760405160e560020a62461bcd028152600401610aad9061322a565b600160a060020a03166000908152601760205260409020805460ff19166001179055565b3360009081526009602052604090205460ff16611d715760405160e560020a62461bcd028152600401610aad9061322a565b6001815111611deb5760405160e560020a62461bcd02815260206004820152602660248201527f5573652061646450726573616c6557616c6c65742066756e6374696f6e20696e60448201527f73746561642e00000000000000000000000000000000000000000000000000006064820152608401610aad565b805160005b81811015610f6957600160176000858481518110611e1057611e106133c2565b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff191691151591909117905580611e4c816133db565b915050611df0565b611e5e338361232f565b611e7d5760405160e560020a62461bcd028152600401610aad9061329f565b611e8984848484612a59565b50505050565b6060611e9a82612297565b611eb95760405160e560020a62461bcd028152600401610aad906132fc565b610c4a600f8054611ec990613261565b80601f0160208091040260200160405190810160405280929190818152602001828054611ef590613261565b8015611f425780601f10611f1757610100808354040283529160200191611f42565b820191906000526020600020905b815481529060010190602001808311611f2557829003601f168201915b505050505061176584612689565b6060611f5b82612297565b611f7a5760405160e560020a62461bcd028152600401610aad906132fc565b604080516001808252818301909252600091816020015b6040805180820190915260008082526020820152815260200190600190039081611f91579050509050604051806040016040528030600160a060020a031681526020016011546bffffffffffffffffffffffff1681525081600081518110611ffb57611ffb6133c2565b602090810291909101015292915050565b3360009081526009602052604090205460ff1661203e5760405160e560020a62461bcd028152600401610aad9061322a565b6010805461ff001916610100179055565b6007805461109190613261565b3360009081526009602052604090205460ff1661208e5760405160e560020a62461bcd028152600401610aad9061322a565b601054610100900460ff161561210f5760405160e560020a62461bcd02815260206004820152602b60248201527f43616e6e6f74206368616e6765206d617820696e766f636174696f6e7320616660448201527f746572206163746976652e0000000000000000000000000000000000000000006064820152608401610aad565b600b55565b600054600160a060020a031633146121715760405160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aad565b600160a060020a0381166121f05760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aad565b6121f98161262c565b50565b6000600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061225f5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c4a57507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610c4a565b600090815260036020526040902054600160a060020a0316151590565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03841690811790915581906122f682611378565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061233a82612297565b6123af5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610aad565b60006123ba83611378565b905080600160a060020a031684600160a060020a031614806123f5575083600160a060020a03166123ea84610d9a565b600160a060020a0316145b806124255750600160a060020a0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b82600160a060020a031661244082611378565b600160a060020a0316146124bf5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610aad565b600160a060020a03821661253d5760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610aad565b6125486000826122b4565b600160a060020a03831660009081526004602052604081208054600192906125719084906133f6565b9091555050600160a060020a038216600090815260046020526040812080546001929061259f90849061340d565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006126198284613383565b9392505050565b6000612619828461343e565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816126c957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156126f357806126dd816133db565b91506126ec9050600a8361343e565b91506126cd565b60008167ffffffffffffffff81111561270e5761270e612f42565b6040519080825280601f01601f191660200182016040528015612738576020820181803683370190505b508593509050815b83156127c057612751600a85613452565b61275c90603061340d565b60f860020a028261276c83613466565b9250828151811061277f5761277f6133c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127b9600a8561343e565b9350612740565b50949350505050565b80518251606091849184916000916127e1919061340d565b67ffffffffffffffff8111156127f9576127f9612f42565b6040519080825280601f01601f191660200182016040528015612823576020820181803683370190505b509050806000805b85518210156128b757858281518110612846576128466133c2565b602001015160f860020a900460f860020a02838280612864906133db565b935081518110612876576128766133c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350816128af816133db565b92505061282b565b600091505b8451821015612948578482815181106128d7576128d76133c2565b602001015160f860020a900460f860020a028382806128f5906133db565b935081518110612907576129076133c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535081612940816133db565b9250506128bc565b5090979650505050505050565b6000612619828461340d565b611262828260405180602001604052806000815250612a8f565b600061261982846133f6565b81600160a060020a031683600160a060020a031614156129ec5760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610aad565b600160a060020a03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612a6484848461242d565b612a7084848484612ac5565b611e895760405160e560020a62461bcd028152600401610aad9061347d565b612a998383612bf8565b612aa66000848484612ac5565b610f695760405160e560020a62461bcd028152600401610aad9061347d565b6000600160a060020a0384163b15612bed576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a0290612b229033908990889088906004016134da565b6020604051808303816000875af1925050508015612b5d575060408051601f3d908101601f19168201909252612b5a91810190613516565b60015b612bba573d808015612b8b576040519150601f19603f3d011682016040523d82523d6000602084013e612b90565b606091505b508051612bb25760405160e560020a62461bcd028152600401610aad9061347d565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050612425565b506001949350505050565b600160a060020a038216612c515760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610aad565b612c5a81612297565b15612caa5760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610aad565b600160a060020a0382166000908152600460205260408120805460019290612cd390849061340d565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612d4a90613261565b90600052602060002090601f016020900481019282612d6c5760008555612db2565b82601f10612d8557805160ff1916838001178555612db2565b82800160010185558215612db2579182015b82811115612db2578251825591602001919060010190612d97565b50612dbe929150612dc2565b5090565b5b80821115612dbe5760008155600101612dc3565b600060208284031215612de957600080fd5b5035919050565b600160e060020a0319811681146121f957600080fd5b600060208284031215612e1857600080fd5b813561261981612df0565b6000815180845260005b81811015612e4957602081850181015186830182015201612e2d565b81811115612e5b576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006126196020830184612e23565b8035600160a060020a0381168114612e9a57600080fd5b919050565b60008060408385031215612eb257600080fd5b612ebb83612e83565b946020939093013593505050565b600060208284031215612edb57600080fd5b61261982612e83565b600080600060608486031215612ef957600080fd5b612f0284612e83565b9250612f1060208501612e83565b9150604084013590509250925092565b60008060408385031215612f3357600080fd5b50508035926020909101359150565b60e060020a634e487b7102600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f8457612f84612f42565b604052919050565b600067ffffffffffffffff831115612fa657612fa6612f42565b612fb9601f8401601f1916602001612f5b565b9050828152838383011115612fcd57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612ff657600080fd5b813567ffffffffffffffff81111561300d57600080fd5b8201601f8101841361301e57600080fd5b61242584823560208401612f8c565b6000806040838503121561304057600080fd5b61304983612e83565b91506020830135801515811461305e57600080fd5b809150509250929050565b6000602080838503121561307c57600080fd5b823567ffffffffffffffff8082111561309457600080fd5b818501915085601f8301126130a857600080fd5b8135818111156130ba576130ba612f42565b83810291506130ca848301612f5b565b81815291830184019184810190888411156130e457600080fd5b938501935b83851015613109576130fa85612e83565b825293850193908501906130e9565b98975050505050505050565b6000806000806080858703121561312b57600080fd5b61313485612e83565b935061314260208601612e83565b925060408501359150606085013567ffffffffffffffff81111561316557600080fd5b8501601f8101871361317657600080fd5b61318587823560208401612f8c565b91505092959194509250565b602080825282518282018190526000919060409081850190868401855b828110156131ea5781518051600160a060020a031685528601516bffffffffffffffffffffffff168685015292840192908501906001016131ae565b5091979650505050505050565b6000806040838503121561320a57600080fd5b61321383612e83565b915061322160208401612e83565b90509250929050565b6020808252600c908201527f4f6e6c792041646d696e732e0000000000000000000000000000000000000000604082015260600190565b60028104600182168061327557607f821691505b602082108114156132995760e060020a634e487b7102600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60208082526018908201527f546f6b656e20494420646f6573206e6f742065786973742e0000000000000000604082015260600190565b60208082526010908201527f5472616e73666572206661696c65642e00000000000000000000000000000000604082015260600190565b60e060020a634e487b7102600052601160045260246000fd5b600081600019048311821515161561339d5761339d61336a565b500290565b600060ff821660ff8114156133b9576133b961336a565b60010192915050565b60e060020a634e487b7102600052603260045260246000fd5b60006000198214156133ef576133ef61336a565b5060010190565b6000828210156134085761340861336a565b500390565b600082198211156134205761342061336a565b500190565b60e060020a634e487b7102600052601260045260246000fd5b60008261344d5761344d613425565b500490565b60008261346157613461613425565b500690565b6000816134755761347561336a565b506000190190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6000600160a060020a0380871683528086166020840152508360408301526080606083015261350c6080830184612e23565b9695505050505050565b60006020828403121561352857600080fd5b815161261981612df056fea264697066735822122003b7976ff1052aa2701f8b04a3d8b5fc644ab1121c22a4a748f4ee22f66c145264736f6c634300080a003368747470733a2f2f697066732e696d6e6f746172742e636f6d2f697066732f516d545a3350795048334e6e6279325235387556706144636d356168536e716d6f326834516f4d6d33394e796258
Deployed Bytecode
0x608060405260043610610393576000357c01000000000000000000000000000000000000000000000000000000009004806370a08231116101ee578063ae856ce31161011f578063d5291e4c116100bd578063e985e9c51161008c578063e985e9c5146109dc578063ee1a14c314610a25578063f2fde38b14610a45578063f433036814610a6557600080fd5b8063d5291e4c146105b6578063da5666551461099c578063e797ec1b146109b2578063e8a3d485146109c757600080fd5b8063bdaaf5fa116100f9578063bdaaf5fa14610919578063c34a2a3a1461092f578063c87b56dd1461094f578063cad96cca1461096f57600080fd5b8063ae856ce3146108b9578063b88d4fde146108d9578063b973d859146108f957600080fd5b80638f99822a1161018c5780639d9a7fe9116101665780639d9a7fe914610845578063a0712d6814610866578063a22cb46514610879578063a4445d4d1461089957600080fd5b80638f99822a14610804578063911927651461081a57806395d89b411461083057600080fd5b80637764db39116101c85780637764db391461078c5780637f392078146107a6578063811e0aa9146107c65780638da5cb5b146107e657600080fd5b806370a0823114610741578063715018a61461076157806375794a3c1461077657600080fd5b806336864adb116102c857806353135ca0116102665780635c975abb116102405780635c975abb146106cb5780636352211e146106eb5780636cbdef611461070b578063704802751461072157600080fd5b806353135ca01461067d57806359533d6c1461069c5780635c464229146106b657600080fd5b806342842e0e116102a257806342842e0e146105eb57806347c8ff5e1461060b5780634a6f07a51461062b5780634ce2ee831461064b57600080fd5b806336864adb146105a157806338a2801b146105b65780633ccfd60b146105d657600080fd5b80631785f53c1161033557806323b872dd1161030f57806323b872dd146104fc5780632a55205a1461051c5780632dd28c5c1461055b57806330df65481461058b57600080fd5b80631785f53c146104a857806318160ddd146104c85780632316b4da146104e757600080fd5b80630430f25b116103715780630430f25b1461040e57806306fdde031461042e578063081812fc14610450578063095ea7b31461048857600080fd5b806301fb7f261461039857806301ffc9a7146103ba57806302fb0c5e146103ef575b600080fd5b3480156103a457600080fd5b506103b86103b3366004612dd7565b610a7b565b005b3480156103c657600080fd5b506103da6103d5366004612e06565b610b3c565b60405190151581526020015b60405180910390f35b3480156103fb57600080fd5b506010546103da90610100900460ff1681565b34801561041a57600080fd5b506103b8610429366004612dd7565b610c50565b34801561043a57600080fd5b50610443610d08565b6040516103e69190612e70565b34801561045c57600080fd5b5061047061046b366004612dd7565b610d9a565b604051600160a060020a0390911681526020016103e6565b34801561049457600080fd5b506103b86104a3366004612e9f565b610e36565b3480156104b457600080fd5b506103b86104c3366004612ec9565b610f6e565b3480156104d457600080fd5b50600a545b6040519081526020016103e6565b3480156104f357600080fd5b506103b8610fc1565b34801561050857600080fd5b506103b8610517366004612ee4565b611000565b34801561052857600080fd5b5061053c610537366004612f20565b611034565b60408051600160a060020a0390931683526020830191909152016103e6565b34801561056757600080fd5b506103da610576366004612ec9565b60176020526000908152604090205460ff1681565b34801561059757600080fd5b506104d960145481565b3480156105ad57600080fd5b50610443611084565b3480156105c257600080fd5b506103b86105d1366004612ec9565b611112565b3480156105e257600080fd5b506103b8611173565b3480156105f757600080fd5b506103b8610606366004612ee4565b611266565b34801561061757600080fd5b506103b8610626366004612fe4565b611281565b34801561063757600080fd5b506103b8610646366004612ec9565b6112c6565b34801561065757600080fd5b506013546103da9074010000000000000000000000000000000000000000900460ff1681565b34801561068957600080fd5b506016546103da90610100900460ff1681565b3480156106a857600080fd5b506016546103da9060ff1681565b3480156106c257600080fd5b506103b8611327565b3480156106d757600080fd5b506010546103da9062010000900460ff1681565b3480156106f757600080fd5b50610470610706366004612dd7565b611378565b34801561071757600080fd5b506104d9600b5481565b34801561072d57600080fd5b506103b861073c366004612ec9565b611406565b34801561074d57600080fd5b506104d961075c366004612ec9565b61145c565b34801561076d57600080fd5b506103b86114f9565b34801561078257600080fd5b506104d9600c5481565b34801561079857600080fd5b506010546103da9060ff1681565b3480156107b257600080fd5b506103b86107c1366004612fe4565b611562565b3480156107d257600080fd5b506103b86107e1366004612ec9565b6115a7565b3480156107f257600080fd5b50600054600160a060020a0316610470565b34801561081057600080fd5b506104d9600e5481565b34801561082657600080fd5b506104d960115481565b34801561083c57600080fd5b50610443611656565b34801561085157600080fd5b506010546103da906301000000900460ff1681565b6103b8610874366004612dd7565b611665565b34801561088557600080fd5b506103b861089436600461302d565b611cde565b3480156108a557600080fd5b506103b86108b4366004612ec9565b611ce9565b3480156108c557600080fd5b506103b86108d4366004613069565b611d3f565b3480156108e557600080fd5b506103b86108f4366004613115565b611e54565b34801561090557600080fd5b5060135461047090600160a060020a031681565b34801561092557600080fd5b506104d9600a5481565b34801561093b57600080fd5b5060085461047090600160a060020a031681565b34801561095b57600080fd5b5061044361096a366004612dd7565b611e8f565b34801561097b57600080fd5b5061098f61098a366004612dd7565b611f50565b6040516103e69190613191565b3480156109a857600080fd5b506104d960125481565b3480156109be57600080fd5b506103b861200c565b3480156109d357600080fd5b5061044361204f565b3480156109e857600080fd5b506103da6109f73660046131f7565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610a3157600080fd5b506103b8610a40366004612dd7565b61205c565b348015610a5157600080fd5b506103b8610a60366004612ec9565b612114565b348015610a7157600080fd5b506104d9600d5481565b3360009081526009602052604090205460ff16610ab65760405160e560020a62461bcd028152600401610aad9061322a565b60405180910390fd5b601054610100900460ff1615610b375760405160e560020a62461bcd02815260206004820152603860248201527f43616e6e6f74206368616e6765206d6178207175616e7469747920706572207460448201527f72616e73616374696f6e206166746572206163746976652e00000000000000006064820152608401610aad565b600e55565b6000600160e060020a031982167f01ffc9a7000000000000000000000000000000000000000000000000000000001480610b9f5750600160e060020a031982167fcad96cca00000000000000000000000000000000000000000000000000000000145b80610bd35750600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000145b80610c075750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c3b5750600160e060020a031982167f2a55205a00000000000000000000000000000000000000000000000000000000145b80610c4a5750610c4a826121fc565b92915050565b3360009081526009602052604090205460ff16610c825760405160e560020a62461bcd028152600401610aad9061322a565b601054610100900460ff1615610d035760405160e560020a62461bcd02815260206004820152602660248201527f43616e6e6f74206368616e6765206d696e74207072696365206166746572206160448201527f63746976652e00000000000000000000000000000000000000000000000000006064820152608401610aad565b600d55565b606060018054610d1790613261565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4390613261565b8015610d905780601f10610d6557610100808354040283529160200191610d90565b820191906000526020600020905b815481529060010190602001808311610d7357829003601f168201915b5050505050905090565b6000610da582612297565b610e1a5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610aad565b50600090815260056020526040902054600160a060020a031690565b6000610e4182611378565b905080600160a060020a031683600160a060020a03161415610ece5760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610aad565b33600160a060020a0382161480610eea5750610eea81336109f7565b610f5f5760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610aad565b610f6983836122b4565b505050565b3360009081526009602052604090205460ff16610fa05760405160e560020a62461bcd028152600401610aad9061322a565b600160a060020a03166000908152600960205260409020805460ff19169055565b3360009081526009602052604090205460ff16610ff35760405160e560020a62461bcd028152600401610aad9061322a565b6016805461ff0019169055565b61100a338261232f565b6110295760405160e560020a62461bcd028152600401610aad9061329f565b610f6983838361242d565b60008061104084612297565b61105f5760405160e560020a62461bcd028152600401610aad906132fc565b60006110786110708560115461260d565b612710612620565b30969095509350505050565b600f805461109190613261565b80601f01602080910402602001604051908101604052809291908181526020018280546110bd90613261565b801561110a5780601f106110df5761010080835404028352916020019161110a565b820191906000526020600020905b8154815290600101906020018083116110ed57829003601f168201915b505050505081565b3360009081526009602052604090205460ff166111445760405160e560020a62461bcd028152600401610aad9061322a565b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b3360009081526009602052604090205460ff166111a55760405160e560020a62461bcd028152600401610aad9061322a565b3031806111f75760405160e560020a62461bcd02815260206004820152601760248201527f436f6e74726163742062616c616e636520656d7074792e0000000000000000006044820152606401610aad565b604051600090339083908381818185875af1925050503d8060008114611239576040519150601f19603f3d011682016040523d82523d6000602084013e61123e565b606091505b50509050806112625760405160e560020a62461bcd028152600401610aad90613333565b5050565b610f6983838360405180602001604052806000815250611e54565b3360009081526009602052604090205460ff166112b35760405160e560020a62461bcd028152600401610aad9061322a565b8051611262906007906020840190612d3e565b3360009081526009602052604090205460ff166112f85760405160e560020a62461bcd028152600401610aad9061322a565b6013805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b3360009081526009602052604090205460ff166113595760405160e560020a62461bcd028152600401610aad9061322a565b6010805462ff0000198116620100009182900460ff1615909102179055565b600081815260036020526040812054600160a060020a031680610c4a5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610aad565b3360009081526009602052604090205460ff166114385760405160e560020a62461bcd028152600401610aad9061322a565b600160a060020a03166000908152600960205260409020805460ff19166001179055565b6000600160a060020a0382166114dd5760405160e560020a62461bcd02815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610aad565b50600160a060020a031660009081526004602052604090205490565b600054600160a060020a031633146115565760405160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aad565b611560600061262c565b565b3360009081526009602052604090205460ff166115945760405160e560020a62461bcd028152600401610aad9061322a565b805161126290600f906020840190612d3e565b3360009081526009602052604090205460ff166115d95760405160e560020a62461bcd028152600401610aad9061322a565b33600160a060020a03821614156116355760405160e560020a62461bcd02815260206004820152601360248201527f43616e6e6f742072656d6f76652073656c662e000000000000000000000000006044820152606401610aad565b600160a060020a03166000908152601760205260409020805460ff19169055565b606060028054610d1790613261565b601054610100900460ff166116bf5760405160e560020a62461bcd02815260206004820152601660248201527f4d696e74696e67206973206e6f74206163746976652e000000000000000000006044820152606401610aad565b60105462010000900460ff161561171b5760405160e560020a62461bcd02815260206004820152601260248201527f4d696e74696e67206973207061757365642e00000000000000000000000000006044820152606401610aad565b600e5481111561176a6040518060400160405280601d81526020017f4d6178206c696d697420706572207472616e73616374696f6e20697320000000815250611765600e54612689565b6127c9565b9061178b5760405160e560020a62461bcd028152600401610aad9190612e70565b50600b54600a5461179c9083612955565b11156117ed5760405160e560020a62461bcd02815260206004820181905260248201527f4d757374206e6f7420657863656564206d617820696e766f636174696f6e732e6044820152606401610aad565b80600d546117fb9190613383565b34101561184d5760405160e560020a62461bcd02815260206004820152601860248201527f4d7573742073656e64206d696e696d756d2076616c75652e00000000000000006044820152606401610aad565b60165460ff1680156118665750601654610100900460ff165b156118cd573360009081526017602052604090205460ff166118cd5760405160e560020a62461bcd02815260206004820152601f60248201527f57616c6c6574206973206e6f742070617274206f66207072652d73616c652e006044820152606401610aad565b60135460009074010000000000000000000000000000000000000000900460ff16156119885750336000908152601560205260409020546014546119118284612955565b11156119885760405160e560020a62461bcd02815260206004820152602560248201527f4d757374206e6f7420657863656564206d6178206d696e74732070657220776160448201527f6c6c65742e0000000000000000000000000000000000000000000000000000006064820152608401610aad565b600c546000905b838260ff1610156119f0576119a43382612961565b604051339082907ff3cea5493d790af0133817606f7350a91d7f154ea52eaa79d179d4d231e5010290600090a36119dc816001612955565b9050816119e8816133a2565b92505061198f565b600c546119fd9085612955565b600c55600a54611a0d9085612955565b600a55600d543490600090611a2e90611a27908890613383565b839061297b565b90508015611aea57611a40828261297b565b604051909250600090339083908381818185875af1925050503d8060008114611a85576040519150601f19603f3d011682016040523d82523d6000602084013e611a8a565b606091505b5050905080611aae5760405160e560020a62461bcd028152600401610aad90613333565b6040805183815233602082015281517f9b5d1a613fa5f0790b36b13103706e31fca06b229d87e9915b29fc20c1d76490929181900390910190a1505b60105460ff1615611c98576000611b066110708460125461260d565b90508015611bda57611b18838261297b565b600854604051919450600091600160a060020a039091169083908381818185875af1925050503d8060008114611b6a576040519150601f19603f3d011682016040523d82523d6000602084013e611b6f565b606091505b5050905080611b935760405160e560020a62461bcd028152600401610aad90613333565b60085460408051848152600160a060020a0390921660208301527f9b5d1a613fa5f0790b36b13103706e31fca06b229d87e9915b29fc20c1d76490910160405180910390a1505b601354604051600091600160a060020a03169085908381818185875af1925050503d8060008114611c27576040519150601f19603f3d011682016040523d82523d6000602084013e611c2c565b606091505b5050905080611c505760405160e560020a62461bcd028152600401610aad90613333565b60135460408051868152600160a060020a0390921660208301527f9b5d1a613fa5f0790b36b13103706e31fca06b229d87e9915b29fc20c1d76490910160405180910390a150505b60135474010000000000000000000000000000000000000000900460ff1615611cd657611cc58587612955565b336000908152601560205260409020555b505050505050565b611262338383612987565b3360009081526009602052604090205460ff16611d1b5760405160e560020a62461bcd028152600401610aad9061322a565b600160a060020a03166000908152601760205260409020805460ff19166001179055565b3360009081526009602052604090205460ff16611d715760405160e560020a62461bcd028152600401610aad9061322a565b6001815111611deb5760405160e560020a62461bcd02815260206004820152602660248201527f5573652061646450726573616c6557616c6c65742066756e6374696f6e20696e60448201527f73746561642e00000000000000000000000000000000000000000000000000006064820152608401610aad565b805160005b81811015610f6957600160176000858481518110611e1057611e106133c2565b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff191691151591909117905580611e4c816133db565b915050611df0565b611e5e338361232f565b611e7d5760405160e560020a62461bcd028152600401610aad9061329f565b611e8984848484612a59565b50505050565b6060611e9a82612297565b611eb95760405160e560020a62461bcd028152600401610aad906132fc565b610c4a600f8054611ec990613261565b80601f0160208091040260200160405190810160405280929190818152602001828054611ef590613261565b8015611f425780601f10611f1757610100808354040283529160200191611f42565b820191906000526020600020905b815481529060010190602001808311611f2557829003601f168201915b505050505061176584612689565b6060611f5b82612297565b611f7a5760405160e560020a62461bcd028152600401610aad906132fc565b604080516001808252818301909252600091816020015b6040805180820190915260008082526020820152815260200190600190039081611f91579050509050604051806040016040528030600160a060020a031681526020016011546bffffffffffffffffffffffff1681525081600081518110611ffb57611ffb6133c2565b602090810291909101015292915050565b3360009081526009602052604090205460ff1661203e5760405160e560020a62461bcd028152600401610aad9061322a565b6010805461ff001916610100179055565b6007805461109190613261565b3360009081526009602052604090205460ff1661208e5760405160e560020a62461bcd028152600401610aad9061322a565b601054610100900460ff161561210f5760405160e560020a62461bcd02815260206004820152602b60248201527f43616e6e6f74206368616e6765206d617820696e766f636174696f6e7320616660448201527f746572206163746976652e0000000000000000000000000000000000000000006064820152608401610aad565b600b55565b600054600160a060020a031633146121715760405160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aad565b600160a060020a0381166121f05760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aad565b6121f98161262c565b50565b6000600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061225f5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c4a57507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610c4a565b600090815260036020526040902054600160a060020a0316151590565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03841690811790915581906122f682611378565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061233a82612297565b6123af5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610aad565b60006123ba83611378565b905080600160a060020a031684600160a060020a031614806123f5575083600160a060020a03166123ea84610d9a565b600160a060020a0316145b806124255750600160a060020a0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b82600160a060020a031661244082611378565b600160a060020a0316146124bf5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610aad565b600160a060020a03821661253d5760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610aad565b6125486000826122b4565b600160a060020a03831660009081526004602052604081208054600192906125719084906133f6565b9091555050600160a060020a038216600090815260046020526040812080546001929061259f90849061340d565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006126198284613383565b9392505050565b6000612619828461343e565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816126c957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156126f357806126dd816133db565b91506126ec9050600a8361343e565b91506126cd565b60008167ffffffffffffffff81111561270e5761270e612f42565b6040519080825280601f01601f191660200182016040528015612738576020820181803683370190505b508593509050815b83156127c057612751600a85613452565b61275c90603061340d565b60f860020a028261276c83613466565b9250828151811061277f5761277f6133c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127b9600a8561343e565b9350612740565b50949350505050565b80518251606091849184916000916127e1919061340d565b67ffffffffffffffff8111156127f9576127f9612f42565b6040519080825280601f01601f191660200182016040528015612823576020820181803683370190505b509050806000805b85518210156128b757858281518110612846576128466133c2565b602001015160f860020a900460f860020a02838280612864906133db565b935081518110612876576128766133c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350816128af816133db565b92505061282b565b600091505b8451821015612948578482815181106128d7576128d76133c2565b602001015160f860020a900460f860020a028382806128f5906133db565b935081518110612907576129076133c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535081612940816133db565b9250506128bc565b5090979650505050505050565b6000612619828461340d565b611262828260405180602001604052806000815250612a8f565b600061261982846133f6565b81600160a060020a031683600160a060020a031614156129ec5760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610aad565b600160a060020a03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612a6484848461242d565b612a7084848484612ac5565b611e895760405160e560020a62461bcd028152600401610aad9061347d565b612a998383612bf8565b612aa66000848484612ac5565b610f695760405160e560020a62461bcd028152600401610aad9061347d565b6000600160a060020a0384163b15612bed576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a0290612b229033908990889088906004016134da565b6020604051808303816000875af1925050508015612b5d575060408051601f3d908101601f19168201909252612b5a91810190613516565b60015b612bba573d808015612b8b576040519150601f19603f3d011682016040523d82523d6000602084013e612b90565b606091505b508051612bb25760405160e560020a62461bcd028152600401610aad9061347d565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050612425565b506001949350505050565b600160a060020a038216612c515760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610aad565b612c5a81612297565b15612caa5760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610aad565b600160a060020a0382166000908152600460205260408120805460019290612cd390849061340d565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612d4a90613261565b90600052602060002090601f016020900481019282612d6c5760008555612db2565b82601f10612d8557805160ff1916838001178555612db2565b82800160010185558215612db2579182015b82811115612db2578251825591602001919060010190612d97565b50612dbe929150612dc2565b5090565b5b80821115612dbe5760008155600101612dc3565b600060208284031215612de957600080fd5b5035919050565b600160e060020a0319811681146121f957600080fd5b600060208284031215612e1857600080fd5b813561261981612df0565b6000815180845260005b81811015612e4957602081850181015186830182015201612e2d565b81811115612e5b576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006126196020830184612e23565b8035600160a060020a0381168114612e9a57600080fd5b919050565b60008060408385031215612eb257600080fd5b612ebb83612e83565b946020939093013593505050565b600060208284031215612edb57600080fd5b61261982612e83565b600080600060608486031215612ef957600080fd5b612f0284612e83565b9250612f1060208501612e83565b9150604084013590509250925092565b60008060408385031215612f3357600080fd5b50508035926020909101359150565b60e060020a634e487b7102600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f8457612f84612f42565b604052919050565b600067ffffffffffffffff831115612fa657612fa6612f42565b612fb9601f8401601f1916602001612f5b565b9050828152838383011115612fcd57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612ff657600080fd5b813567ffffffffffffffff81111561300d57600080fd5b8201601f8101841361301e57600080fd5b61242584823560208401612f8c565b6000806040838503121561304057600080fd5b61304983612e83565b91506020830135801515811461305e57600080fd5b809150509250929050565b6000602080838503121561307c57600080fd5b823567ffffffffffffffff8082111561309457600080fd5b818501915085601f8301126130a857600080fd5b8135818111156130ba576130ba612f42565b83810291506130ca848301612f5b565b81815291830184019184810190888411156130e457600080fd5b938501935b83851015613109576130fa85612e83565b825293850193908501906130e9565b98975050505050505050565b6000806000806080858703121561312b57600080fd5b61313485612e83565b935061314260208601612e83565b925060408501359150606085013567ffffffffffffffff81111561316557600080fd5b8501601f8101871361317657600080fd5b61318587823560208401612f8c565b91505092959194509250565b602080825282518282018190526000919060409081850190868401855b828110156131ea5781518051600160a060020a031685528601516bffffffffffffffffffffffff168685015292840192908501906001016131ae565b5091979650505050505050565b6000806040838503121561320a57600080fd5b61321383612e83565b915061322160208401612e83565b90509250929050565b6020808252600c908201527f4f6e6c792041646d696e732e0000000000000000000000000000000000000000604082015260600190565b60028104600182168061327557607f821691505b602082108114156132995760e060020a634e487b7102600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60208082526018908201527f546f6b656e20494420646f6573206e6f742065786973742e0000000000000000604082015260600190565b60208082526010908201527f5472616e73666572206661696c65642e00000000000000000000000000000000604082015260600190565b60e060020a634e487b7102600052601160045260246000fd5b600081600019048311821515161561339d5761339d61336a565b500290565b600060ff821660ff8114156133b9576133b961336a565b60010192915050565b60e060020a634e487b7102600052603260045260246000fd5b60006000198214156133ef576133ef61336a565b5060010190565b6000828210156134085761340861336a565b500390565b600082198211156134205761342061336a565b500190565b60e060020a634e487b7102600052601260045260246000fd5b60008261344d5761344d613425565b500490565b60008261346157613461613425565b500690565b6000816134755761347561336a565b506000190190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6000600160a060020a0380871683528086166020840152508360408301526080606083015261350c6080830184612e23565b9695505050505050565b60006020828403121561352857600080fd5b815161261981612df056fea264697066735822122003b7976ff1052aa2701f8b04a3d8b5fc644ab1121c22a4a748f4ee22f66c145264736f6c634300080a0033
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.