ERC-721
Overview
Max Total Supply
50 FLPR
Holders
11
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 FLPRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
flipperthebird
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts // Tokenfy Contracts // ______ _ _ _ _ ______ _ _ // | ___|| |(_) | | | | | ___ \(_) | | // | |_ | | _ _ __ _ __ ___ _ __ | |_ | |__ ___ | |_/ / _ _ __ __| | // | _| | || || '_ \ | '_ \ / _ \| '__| | __|| '_ \ / _ \ | ___ \| || '__|/ _` | // | | | || || |_) || |_) || __/| | | |_ | | | || __/ | |_/ /| || | | (_| | // \_| |_||_|| .__/ | .__/ \___||_| \__||_| |_| \___| \____/ |_||_| \__,_| // | | | | // |_| |_| pragma solidity 0.8.12; 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); } 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; } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } 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); } 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); } 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); } } } } /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } 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); } } abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _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); // 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"); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } } library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } contract flipperthebird is ERC721, Ownable, ReentrancyGuard { using ECDSA for bytes32; using Strings for uint256; using SafeERC20 for IERC20; string public constant PROVENANCE_HASH = "89164035f291caba119f0b103a926ad1a53b01b557337a6219868fe772b1bea9"; uint256 private _currentIndex = 0; uint256 private _totalBurned = 0; string private _baseTokenURI = "https://metadata.api.tokenfy.com/21/metadata/"; string private _contractURI = "https://tokenfy-production-public.s3.us-east-2.amazonaws.com/21/contract-uri"; address public tokenfyAddress = 0xa6dD98031551C23bb4A2fBE2C4d524e8f737c6f7; // sale currency settings bool public ethEnabled = true; bool public tokenfyEnabled = false; // mint settings uint256 public maxSupply = 500; uint256 public maxPerMint = 10; uint256 public pricePerToken = 70000000000000000; uint256 public tokenfyPrice = 0; // presale settings address private signerAddress; mapping(address => uint256) public presaleMinted; uint256 public presaleMaxSupply = 500; uint256 public presaleMaxPerMint = 3; uint256 public presalePricePerToken = 69000000000000000; uint256 public tokenfyPresalePrice = 0; // activation flags bool public instantRevealActive = false; bool public presaleLive = false; bool public saleLive = false; bool public burnLive = false; modifier presaleValid(bytes32 hash, bytes memory sig, uint256 qty, uint256 max, uint256 expiresAt) { require(presaleLive, "Presale not live"); require(matchAddresSigner(hash, sig), "Invalid signer"); require(hashTransaction(msg.sender, qty, max, expiresAt) == hash, "Hash check failed"); require(expiresAt >= block.timestamp, "Signature is expired"); require(qty <= presaleMaxPerMint, "Max per mint exceeded"); require(presaleMinted[msg.sender] + qty <= max, "Max per wallet exceeded"); require(_currentIndex + qty <= presaleMaxSupply, "Exceeds max supply"); _; } modifier saleValid(uint256 qty) { require(saleLive, "Sale not live"); require(qty <= maxPerMint, "Max per mint exceeded"); require(_currentIndex + qty <= maxSupply, "Exceeds max supply"); _; } constructor(address _signerAddress) ERC721("Flipper the Bird", "FLPR") { signerAddress = _signerAddress; } function presaleMint( bytes32 hash, bytes memory sig, uint256 qty, uint256 max, uint256 expiresAt ) external payable nonReentrant presaleValid(hash, sig, qty, max, expiresAt) { require(ethEnabled, "ETH not enabled"); require(presalePricePerToken * qty == msg.value, "Incorrect price"); presaleMinted[msg.sender] += qty; for (uint256 i = 0; i < qty; i++) { mintToken(msg.sender); } } function presaleMintTokenfy( bytes32 hash, bytes memory sig, uint256 qty, uint256 max, uint256 expiresAt, uint256 value ) external nonReentrant presaleValid(hash, sig, qty, max, expiresAt) { require(tokenfyEnabled, "TKNFY not enabled"); require(tokenfyPresalePrice * qty == value, "Incorrect price"); IERC20(tokenfyAddress).safeTransferFrom(msg.sender, address(this), value); presaleMinted[msg.sender] += qty; for (uint256 i = 0; i < qty; i++) { mintToken(msg.sender); } } function mint(uint256 qty) external payable nonReentrant saleValid(qty) { require(ethEnabled, "ETH not enabled"); require(pricePerToken * qty == msg.value, "Incorrect price"); for (uint256 i = 0; i < qty; i++) { mintToken(msg.sender); } } function mintTokenfy(uint256 qty, uint256 value) external nonReentrant saleValid(qty) { require(tokenfyEnabled, "TKNFY not enabled"); require(tokenfyPrice * qty == value, "Incorrect price"); IERC20(tokenfyAddress).safeTransferFrom(msg.sender, address(this), value); for (uint256 i = 0; i < qty; i++) { mintToken(msg.sender); } } function adminMint(uint256 qty, address to) public onlyOwner { require(qty > 0, "Must mint at least 1 token"); require(_currentIndex + qty <= maxSupply, "Exceeds max supply"); for (uint256 i = 0; i < qty; i++) { mintToken(to); } } function mintToken(address receiver) private { _currentIndex += 1; _safeMint(receiver, _currentIndex); } function hashTransaction(address sender, uint256 qty, uint256 max, uint256 expiresAt) private pure returns (bytes32) { bytes32 hash = keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked(sender, qty, max, expiresAt))) ); return hash; } function matchAddresSigner(bytes32 hash, bytes memory signature) private view returns (bool) { return signerAddress == hash.recover(signature); } function burn(uint256 tokenId) public nonReentrant { require(burnLive, "Burn not live"); require(_isApprovedOrOwner(_msgSender(), tokenId), "Caller is not owner nor approved"); _totalBurned += 1; _burn(tokenId); } function totalSupply() public view virtual returns (uint256) { return _currentIndex - _totalBurned; } function exists(uint256 _tokenId) external view returns (bool) { return _exists(_tokenId); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { _baseTokenURI = newBaseURI; } function setContractURI(string memory newuri) public onlyOwner { _contractURI = newuri; } function contractURI() public view returns (string memory) { return _contractURI; } // withdrawing earnings function withdrawEarnings() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } // reclaiming tokens function reclaimERC20(IERC20 erc20Token, address to) public onlyOwner { erc20Token.safeTransfer(to, erc20Token.balanceOf(address(this))); } function reclaimERC1155(IERC1155 erc1155Token, uint256 id, address to) public onlyOwner { erc1155Token.safeTransferFrom(address(this), to, id, 1, ""); } function reclaimERC721(IERC721 erc721Token, uint256 id, address to) public onlyOwner { erc721Token.safeTransferFrom(address(this), to, id); } // activating contact events function setPresaleLive(bool live) external onlyOwner { presaleLive = live; } function setSaleLive(bool live) external onlyOwner { saleLive = live; } function setBurnLive(bool live) external onlyOwner { burnLive = live; } function setInstantReveal(bool reveal) external onlyOwner { instantRevealActive = reveal; } // mint-related settings function changePrice(uint256 newPrice) external onlyOwner { pricePerToken = newPrice; } function changeTokenfyPrice(uint256 newPrice) external onlyOwner { tokenfyPrice = newPrice; } function changeMaxSupply(uint256 _maxSupply) external onlyOwner { require(_maxSupply >= _currentIndex, "Must be larger than minted count"); maxSupply = _maxSupply; } function setMaxPerMint(uint256 _maxPerMint) external onlyOwner { require(_maxPerMint > 0, "Invalid max per mint"); maxPerMint = _maxPerMint; } // presale-related settings function changePresalePrice(uint256 newPrice) external onlyOwner { presalePricePerToken = newPrice; } function changeTokenfyPresalePrice(uint256 newPrice) external onlyOwner { tokenfyPresalePrice = newPrice; } function changePresaleMaxSupply(uint256 _maxSupply) external onlyOwner { require(_maxSupply >= _currentIndex, "Must be larger than minted count"); require(_maxSupply <= maxSupply, "Must be less than max supply"); presaleMaxSupply = _maxSupply; } function setPresaleMaxPerMint(uint256 _maxPerMint) external onlyOwner { require(_maxPerMint > 0, "Must be > 0"); presaleMaxPerMint = _maxPerMint; } function setSignerAddress(address _signer) external onlyOwner { signerAddress = _signer; } function setETHEnabled(bool enabled) external onlyOwner { ethEnabled = enabled; } function setTokenfyEnabled(bool enabled) external onlyOwner { tokenfyEnabled = enabled; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"adminMint","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"changeMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"changePresaleMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changePresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changeTokenfyPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changeTokenfyPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"instantRevealActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mintTokenfy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"uint256","name":"expiresAt","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"uint256","name":"expiresAt","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"presaleMintTokenfy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC1155","name":"erc1155Token","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"reclaimERC1155","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"erc20Token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"reclaimERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"erc721Token","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"reclaimERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"live","type":"bool"}],"name":"setBurnLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setETHEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"reveal","type":"bool"}],"name":"setInstantReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerMint","type":"uint256"}],"name":"setMaxPerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"live","type":"bool"}],"name":"setPresaleLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerMint","type":"uint256"}],"name":"setPresaleMaxPerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"live","type":"bool"}],"name":"setSaleLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setTokenfyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenfyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenfyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenfyPresalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenfyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEarnings","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6000600881905560095560e0604052602d60808181529062003fad60a03980516200003391600a9160209091019062000209565b506040518060800160405280604c815260200162003fda604c913980516200006491600b9160209091019062000209565b50600c80546001600160b01b0319167401a6dd98031551c23bb4a2fbe2c4d524e8f737c6f71790556101f4600d819055600a600e5566f8b0a10e470000600f5560006010819055601391909155600360145566f52322698080006015556016556017805463ffffffff19169055348015620000de57600080fd5b5060405162004026380380620040268339810160408190526200010191620002af565b604080518082018252601081526f119b1a5c1c195c881d1a1948109a5c9960821b6020808301918252835180850190945260048452632326282960e11b908401528151919291620001559160009162000209565b5080516200016b90600190602084019062000209565b5050506200018862000182620001b360201b60201c565b620001b7565b6001600755601180546001600160a01b0319166001600160a01b03929092169190911790556200031e565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200021790620002e1565b90600052602060002090601f0160209004810192826200023b576000855562000286565b82601f106200025657805160ff191683800117855562000286565b8280016001018555821562000286579182015b828111156200028657825182559160200191906001019062000269565b506200029492915062000298565b5090565b5b8082111562000294576000815560010162000299565b600060208284031215620002c257600080fd5b81516001600160a01b0381168114620002da57600080fd5b9392505050565b600181811c90821680620002f657607f821691505b602082108114156200031857634e487b7160e01b600052602260045260246000fd5b50919050565b613c7f806200032e6000396000f3fe6080604052600436106103b85760003560e01c806378b2109b116101f2578063b8a1eb091161010d578063e081b781116100a0578063e985e9c51161006f578063e985e9c514610ac2578063f2fde38b14610b0b578063f9d594f514610b2b578063ff1b655614610b4b57600080fd5b8063e081b78114610a4d578063e63cac2414610a6d578063e8a3d48514610a8d578063e97eb0a214610aa257600080fd5b8063d1b85c53116100dc578063d1b85c53146109d6578063d23660f8146109f7578063d5abeb0114610a17578063db6242c314610a2d57600080fd5b8063b8a1eb0914610953578063bc660cac14610969578063c87b56dd14610996578063c91cb920146109b657600080fd5b8063938e3d7b11610185578063a2b40d1911610154578063a2b40d19146108dd578063af246ecb146108fd578063b73c6ce91461091e578063b88d4fde1461093357600080fd5b8063938e3d7b1461087557806395d89b4114610895578063a0712d68146108aa578063a22cb465146108bd57600080fd5b80638606d938116101c15780638606d938146108045780638a78bdf6146108245780638da5cb5b146108375780638f0c62cc1461085557600080fd5b806378b2109b1461078f5780637b1b1de6146107af5780637bca889c146107c557806383a9e049146107e557600080fd5b80633708a2e5116102e2578063507e094f1161027557806370a082311161024457806370a0823114610724578063715018a6146107445780637241e0a11461075957806374164e361461077957600080fd5b8063507e094f146106ae57806351a37a05146106c457806355f804b3146106e45780636352211e1461070457600080fd5b806342966c68116102b157806342966c681461063857806346db836914610658578063481af5891461066e5780634f558e791461068e57600080fd5b80633708a2e5146105b85780633c4c7bb4146105d8578063404c7cdd146105f857806342842e0e1461061857600080fd5b80630da12de01161035a5780632057310c116103295780632057310c1461053e57806323b872dd1461055e57806326a5b7341461057e578063315d32ae1461059857600080fd5b80630da12de0146104d35780630dc28efe146104e95780630fa420c61461050957806318160ddd1461052957600080fd5b8063081812fc11610396578063081812fc1461043657806308fc299b1461046e578063095ea7b3146104925780630d99ede9146104b257600080fd5b806301ffc9a7146103bd578063046dc166146103f257806306fdde0314610414575b600080fd5b3480156103c957600080fd5b506103dd6103d83660046133ef565b610b60565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b5061041261040d366004613421565b610bb2565b005b34801561042057600080fd5b50610429610c07565b6040516103e99190613496565b34801561044257600080fd5b506104566104513660046134a9565b610c99565b6040516001600160a01b0390911681526020016103e9565b34801561047a57600080fd5b5061048460135481565b6040519081526020016103e9565b34801561049e57600080fd5b506104126104ad3660046134c2565b610d2e565b3480156104be57600080fd5b50600c546103dd90600160a01b900460ff1681565b3480156104df57600080fd5b5061048460155481565b3480156104f557600080fd5b506104126105043660046134ee565b610e44565b34801561051557600080fd5b5061041261052436600461352c565b610f13565b34801561053557600080fd5b50610484610f50565b34801561054a57600080fd5b50610412610559366004613549565b610f67565b34801561056a57600080fd5b5061041261057936600461356b565b6110ec565b34801561058a57600080fd5b506017546103dd9060ff1681565b3480156105a457600080fd5b506104126105b33660046134a9565b61111e565b3480156105c457600080fd5b506104126105d336600461352c565b6111f1565b3480156105e457600080fd5b506104126105f336600461352c565b611239565b34801561060457600080fd5b506104126106133660046134a9565b61127f565b34801561062457600080fd5b5061041261063336600461356b565b611300565b34801561064457600080fd5b506104126106533660046134a9565b61131b565b34801561066457600080fd5b5061048460165481565b34801561067a57600080fd5b50610412610689366004613658565b61140b565b34801561069a57600080fd5b506103dd6106a93660046134a9565b611708565b3480156106ba57600080fd5b50610484600e5481565b3480156106d057600080fd5b506104126106df3660046136c2565b611727565b3480156106f057600080fd5b506104126106ff366004613704565b6117d4565b34801561071057600080fd5b5061045661071f3660046134a9565b611815565b34801561073057600080fd5b5061048461073f366004613421565b61188c565b34801561075057600080fd5b50610412611913565b34801561076557600080fd5b5061041261077436600461374d565b611949565b34801561078557600080fd5b5061048460145481565b34801561079b57600080fd5b50600c54610456906001600160a01b031681565b3480156107bb57600080fd5b50610484600f5481565b3480156107d157600080fd5b506104126107e03660046136c2565b6119f2565b3480156107f157600080fd5b506017546103dd90610100900460ff1681565b34801561081057600080fd5b5061041261081f3660046134a9565b611a57565b61041261083236600461377b565b611a86565b34801561084357600080fd5b506006546001600160a01b0316610456565b34801561086157600080fd5b5061041261087036600461352c565b611d68565b34801561088157600080fd5b50610412610890366004613704565b611dac565b3480156108a157600080fd5b50610429611de9565b6104126108b83660046134a9565b611df8565b3480156108c957600080fd5b506104126108d83660046137dd565b611f62565b3480156108e957600080fd5b506104126108f83660046134a9565b612027565b34801561090957600080fd5b50600c546103dd90600160a81b900460ff1681565b34801561092a57600080fd5b50610412612056565b34801561093f57600080fd5b5061041261094e36600461380b565b6120af565b34801561095f57600080fd5b5061048460105481565b34801561097557600080fd5b50610484610984366004613421565b60126020526000908152604090205481565b3480156109a257600080fd5b506104296109b13660046134a9565b6120e7565b3480156109c257600080fd5b506104126109d13660046134a9565b6121c2565b3480156109e257600080fd5b506017546103dd906301000000900460ff1681565b348015610a0357600080fd5b50610412610a123660046134a9565b6121f1565b348015610a2357600080fd5b50610484600d5481565b348015610a3957600080fd5b50610412610a483660046134a9565b61225e565b348015610a5957600080fd5b506017546103dd9062010000900460ff1681565b348015610a7957600080fd5b50610412610a8836600461352c565b6122d4565b348015610a9957600080fd5b5061042961231c565b348015610aae57600080fd5b50610412610abd36600461352c565b61232b565b348015610ace57600080fd5b506103dd610add36600461374d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610b1757600080fd5b50610412610b26366004613421565b612373565b348015610b3757600080fd5b50610412610b463660046134a9565b61240e565b348015610b5757600080fd5b5061042961243d565b60006001600160e01b031982166380ac58cd60e01b1480610b9157506001600160e01b03198216635b5e139f60e01b145b80610bac57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b03163314610be55760405162461bcd60e51b8152600401610bdc90613877565b60405180910390fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b606060008054610c16906138ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610c42906138ac565b8015610c8f5780601f10610c6457610100808354040283529160200191610c8f565b820191906000526020600020905b815481529060010190602001808311610c7257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d125760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bdc565b506000908152600460205260409020546001600160a01b031690565b6000610d3982611815565b9050806001600160a01b0316836001600160a01b03161415610da75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bdc565b336001600160a01b0382161480610dc35750610dc38133610add565b610e355760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bdc565b610e3f8383612459565b505050565b6006546001600160a01b03163314610e6e5760405162461bcd60e51b8152600401610bdc90613877565b60008211610ebe5760405162461bcd60e51b815260206004820152601a60248201527f4d757374206d696e74206174206c65617374203120746f6b656e0000000000006044820152606401610bdc565b600d5482600854610ecf91906138fd565b1115610eed5760405162461bcd60e51b8152600401610bdc90613915565b60005b82811015610e3f57610f01826124c7565b80610f0b81613941565b915050610ef0565b6006546001600160a01b03163314610f3d5760405162461bcd60e51b8152600401610bdc90613877565b6017805460ff1916911515919091179055565b6000600954600854610f62919061395c565b905090565b60026007541415610f8a5760405162461bcd60e51b8152600401610bdc90613973565b6002600755601754829062010000900460ff16610fd95760405162461bcd60e51b815260206004820152600d60248201526c53616c65206e6f74206c69766560981b6044820152606401610bdc565b600e54811115610ffb5760405162461bcd60e51b8152600401610bdc906139aa565b600d548160085461100c91906138fd565b111561102a5760405162461bcd60e51b8152600401610bdc90613915565b600c54600160a81b900460ff166110775760405162461bcd60e51b81526020600482015260116024820152701512d39196481b9bdd08195b98589b1959607a1b6044820152606401610bdc565b818360105461108691906139d9565b146110a35760405162461bcd60e51b8152600401610bdc906139f8565b600c546110bb906001600160a01b03163330856124ed565b60005b838110156110e1576110cf336124c7565b806110d981613941565b9150506110be565b505060016007555050565b6110f7335b82612558565b6111135760405162461bcd60e51b8152600401610bdc90613a21565b610e3f83838361264f565b6006546001600160a01b031633146111485760405162461bcd60e51b8152600401610bdc90613877565b60085481101561119a5760405162461bcd60e51b815260206004820181905260248201527f4d757374206265206c6172676572207468616e206d696e74656420636f756e746044820152606401610bdc565b600d548111156111ec5760405162461bcd60e51b815260206004820152601c60248201527f4d757374206265206c657373207468616e206d617820737570706c79000000006044820152606401610bdc565b601355565b6006546001600160a01b0316331461121b5760405162461bcd60e51b8152600401610bdc90613877565b6017805491151563010000000263ff00000019909216919091179055565b6006546001600160a01b031633146112635760405162461bcd60e51b8152600401610bdc90613877565b60178054911515620100000262ff000019909216919091179055565b6006546001600160a01b031633146112a95760405162461bcd60e51b8152600401610bdc90613877565b6008548110156112fb5760405162461bcd60e51b815260206004820181905260248201527f4d757374206265206c6172676572207468616e206d696e74656420636f756e746044820152606401610bdc565b600d55565b610e3f838383604051806020016040528060008152506120af565b6002600754141561133e5760405162461bcd60e51b8152600401610bdc90613973565b60026007556017546301000000900460ff1661138c5760405162461bcd60e51b815260206004820152600d60248201526c4275726e206e6f74206c69766560981b6044820152606401610bdc565b611395336110f1565b6113e15760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610bdc565b6001600960008282546113f491906138fd565b909155506114039050816127ef565b506001600755565b6002600754141561142e5760405162461bcd60e51b8152600401610bdc90613973565b600260075560175486908690869086908690610100900460ff166114875760405162461bcd60e51b815260206004820152601060248201526f50726573616c65206e6f74206c69766560801b6044820152606401610bdc565b611491858561288a565b6114ce5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610bdc565b846114db338585856128ae565b1461151c5760405162461bcd60e51b815260206004820152601160248201527012185cda0818da1958dac819985a5b1959607a1b6044820152606401610bdc565b428110156115635760405162461bcd60e51b815260206004820152601460248201527314da59db985d1d5c99481a5cc8195e1c1a5c995960621b6044820152606401610bdc565b6014548311156115855760405162461bcd60e51b8152600401610bdc906139aa565b3360009081526012602052604090205482906115a29085906138fd565b11156115ea5760405162461bcd60e51b815260206004820152601760248201527613585e081c195c881dd85b1b195d08195e18d959591959604a1b6044820152606401610bdc565b601354836008546115fb91906138fd565b11156116195760405162461bcd60e51b8152600401610bdc90613915565b600c54600160a81b900460ff166116665760405162461bcd60e51b81526020600482015260116024820152701512d39196481b9bdd08195b98589b1959607a1b6044820152606401610bdc565b858960165461167591906139d9565b146116925760405162461bcd60e51b8152600401610bdc906139f8565b600c546116aa906001600160a01b03163330896124ed565b33600090815260126020526040812080548b92906116c99084906138fd565b90915550600090505b898110156116f5576116e3336124c7565b806116ed81613941565b9150506116d2565b5050600160075550505050505050505050565b6000818152600260205260408120546001600160a01b03161515610bac565b6006546001600160a01b031633146117515760405162461bcd60e51b8152600401610bdc90613877565b604051637921219560e11b81523060048201526001600160a01b038281166024830152604482018490526001606483015260a06084830152600060a483015284169063f242432a9060c4015b600060405180830381600087803b1580156117b757600080fd5b505af11580156117cb573d6000803e3d6000fd5b50505050505050565b6006546001600160a01b031633146117fe5760405162461bcd60e51b8152600401610bdc90613877565b805161181190600a906020840190613340565b5050565b6000818152600260205260408120546001600160a01b031680610bac5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bdc565b60006001600160a01b0382166118f75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610bdc565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461193d5760405162461bcd60e51b8152600401610bdc90613877565b6119476000612947565b565b6006546001600160a01b031633146119735760405162461bcd60e51b8152600401610bdc90613877565b6040516370a0823160e01b81523060048201526118119082906001600160a01b038516906370a0823190602401602060405180830381865afa1580156119bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e19190613a72565b6001600160a01b0385169190612999565b6006546001600160a01b03163314611a1c5760405162461bcd60e51b8152600401610bdc90613877565b604051632142170760e11b81523060048201526001600160a01b038281166024830152604482018490528416906342842e0e9060640161179d565b6006546001600160a01b03163314611a815760405162461bcd60e51b8152600401610bdc90613877565b601555565b60026007541415611aa95760405162461bcd60e51b8152600401610bdc90613973565b600260075560175485908590859085908590610100900460ff16611b025760405162461bcd60e51b815260206004820152601060248201526f50726573616c65206e6f74206c69766560801b6044820152606401610bdc565b611b0c858561288a565b611b495760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610bdc565b84611b56338585856128ae565b14611b975760405162461bcd60e51b815260206004820152601160248201527012185cda0818da1958dac819985a5b1959607a1b6044820152606401610bdc565b42811015611bde5760405162461bcd60e51b815260206004820152601460248201527314da59db985d1d5c99481a5cc8195e1c1a5c995960621b6044820152606401610bdc565b601454831115611c005760405162461bcd60e51b8152600401610bdc906139aa565b336000908152601260205260409020548290611c1d9085906138fd565b1115611c655760405162461bcd60e51b815260206004820152601760248201527613585e081c195c881dd85b1b195d08195e18d959591959604a1b6044820152606401610bdc565b60135483600854611c7691906138fd565b1115611c945760405162461bcd60e51b8152600401610bdc90613915565b600c54600160a01b900460ff16611cdf5760405162461bcd60e51b815260206004820152600f60248201526e115512081b9bdd08195b98589b1959608a1b6044820152606401610bdc565b3488601554611cee91906139d9565b14611d0b5760405162461bcd60e51b8152600401610bdc906139f8565b33600090815260126020526040812080548a9290611d2a9084906138fd565b90915550600090505b88811015611d5657611d44336124c7565b80611d4e81613941565b915050611d33565b50506001600755505050505050505050565b6006546001600160a01b03163314611d925760405162461bcd60e51b8152600401610bdc90613877565b601780549115156101000261ff0019909216919091179055565b6006546001600160a01b03163314611dd65760405162461bcd60e51b8152600401610bdc90613877565b805161181190600b906020840190613340565b606060018054610c16906138ac565b60026007541415611e1b5760405162461bcd60e51b8152600401610bdc90613973565b6002600755601754819062010000900460ff16611e6a5760405162461bcd60e51b815260206004820152600d60248201526c53616c65206e6f74206c69766560981b6044820152606401610bdc565b600e54811115611e8c5760405162461bcd60e51b8152600401610bdc906139aa565b600d5481600854611e9d91906138fd565b1115611ebb5760405162461bcd60e51b8152600401610bdc90613915565b600c54600160a01b900460ff16611f065760405162461bcd60e51b815260206004820152600f60248201526e115512081b9bdd08195b98589b1959608a1b6044820152606401610bdc565b3482600f54611f1591906139d9565b14611f325760405162461bcd60e51b8152600401610bdc906139f8565b60005b82811015611f5857611f46336124c7565b80611f5081613941565b915050611f35565b5050600160075550565b6001600160a01b038216331415611fbb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bdc565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b031633146120515760405162461bcd60e51b8152600401610bdc90613877565b600f55565b6006546001600160a01b031633146120805760405162461bcd60e51b8152600401610bdc90613877565b6040514790339082156108fc029083906000818181858888f19350505050158015611811573d6000803e3d6000fd5b6120b93383612558565b6120d55760405162461bcd60e51b8152600401610bdc90613a21565b6120e1848484846129c9565b50505050565b6000818152600260205260409020546060906001600160a01b03166121665760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bdc565b60006121706129fc565b9050600081511161219057604051806020016040528060008152506121bb565b8061219a84612a0b565b6040516020016121ab929190613a8b565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146121ec5760405162461bcd60e51b8152600401610bdc90613877565b601655565b6006546001600160a01b0316331461221b5760405162461bcd60e51b8152600401610bdc90613877565b600081116122595760405162461bcd60e51b815260206004820152600b60248201526a04d757374206265203e20360ac1b6044820152606401610bdc565b601455565b6006546001600160a01b031633146122885760405162461bcd60e51b8152600401610bdc90613877565b600081116122cf5760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081b585e081c195c881b5a5b9d60621b6044820152606401610bdc565b600e55565b6006546001600160a01b031633146122fe5760405162461bcd60e51b8152600401610bdc90613877565b600c8054911515600160a81b0260ff60a81b19909216919091179055565b6060600b8054610c16906138ac565b6006546001600160a01b031633146123555760405162461bcd60e51b8152600401610bdc90613877565b600c8054911515600160a01b0260ff60a01b19909216919091179055565b6006546001600160a01b0316331461239d5760405162461bcd60e51b8152600401610bdc90613877565b6001600160a01b0381166124025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bdc565b61240b81612947565b50565b6006546001600160a01b031633146124385760405162461bcd60e51b8152600401610bdc90613877565b601055565b604051806060016040528060408152602001613c0a6040913981565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061248e82611815565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600860008282546124da91906138fd565b9250508190555061240b81600854612b09565b6040516001600160a01b03808516602483015283166044820152606481018290526120e19085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612b23565b6000818152600260205260408120546001600160a01b03166125d15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bdc565b60006125dc83611815565b9050806001600160a01b0316846001600160a01b031614806126175750836001600160a01b031661260c84610c99565b6001600160a01b0316145b8061264757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661266282611815565b6001600160a01b0316146126ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bdc565b6001600160a01b03821661272c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bdc565b612737600082612459565b6001600160a01b038316600090815260036020526040812080546001929061276090849061395c565b90915550506001600160a01b038216600090815260036020526040812080546001929061278e9084906138fd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006127fa82611815565b9050612807600083612459565b6001600160a01b038116600090815260036020526040812080546001929061283090849061395c565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006128968383612bf5565b6011546001600160a01b039182169116149392505050565b6040805160609590951b6bffffffffffffffffffffffff191660208087019190915260348601949094526054850192909252607480850191909152815180850390910181526094840182528051908301207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060b485015260d0808501919091528151808503909101815260f09093019052815191012090565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b038316602482015260448101829052610e3f90849063a9059cbb60e01b90606401612521565b6129d484848461264f565b6129e084848484612c19565b6120e15760405162461bcd60e51b8152600401610bdc90613aba565b6060600a8054610c16906138ac565b606081612a2f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612a595780612a4381613941565b9150612a529050600a83613b22565b9150612a33565b60008167ffffffffffffffff811115612a7457612a746135ac565b6040519080825280601f01601f191660200182016040528015612a9e576020820181803683370190505b5090505b841561264757612ab360018361395c565b9150612ac0600a86613b36565b612acb9060306138fd565b60f81b818381518110612ae057612ae0613b4a565b60200101906001600160f81b031916908160001a905350612b02600a86613b22565b9450612aa2565b611811828260405180602001604052806000815250612d14565b6000612b78826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d479092919063ffffffff16565b805190915015610e3f5780806020019051810190612b969190613b60565b610e3f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610bdc565b6000806000612c048585612d56565b91509150612c1181612dc6565b509392505050565b60006001600160a01b0384163b15612d0c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612c5d903390899088908890600401613b7d565b6020604051808303816000875af1925050508015612c98575060408051601f3d908101601f19168201909252612c9591810190613bba565b60015b612cf2573d808015612cc6576040519150601f19603f3d011682016040523d82523d6000602084013e612ccb565b606091505b508051612cea5760405162461bcd60e51b8152600401610bdc90613aba565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612647565b506001612647565b612d1e8383612f81565b612d2b6000848484612c19565b610e3f5760405162461bcd60e51b8152600401610bdc90613aba565b606061264784846000856130c3565b600080825160411415612d8d5760208301516040840151606085015160001a612d81878285856131eb565b94509450505050612dbf565b825160401415612db75760208301516040840151612dac8683836132d8565b935093505050612dbf565b506000905060025b9250929050565b6000816004811115612dda57612dda613bd7565b1415612de35750565b6001816004811115612df757612df7613bd7565b1415612e455760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bdc565b6002816004811115612e5957612e59613bd7565b1415612ea75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bdc565b6003816004811115612ebb57612ebb613bd7565b1415612f145760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bdc565b6004816004811115612f2857612f28613bd7565b141561240b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bdc565b6001600160a01b038216612fd75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bdc565b6000818152600260205260409020546001600160a01b03161561303c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bdc565b6001600160a01b03821660009081526003602052604081208054600192906130659084906138fd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156131245760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610bdc565b843b6131725760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bdc565b600080866001600160a01b0316858760405161318e9190613bed565b60006040518083038185875af1925050503d80600081146131cb576040519150601f19603f3d011682016040523d82523d6000602084013e6131d0565b606091505b50915091506131e0828286613307565b979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561322257506000905060036132cf565b8460ff16601b1415801561323a57508460ff16601c14155b1561324b57506000905060046132cf565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561329f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132c8576000600192509250506132cf565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016132f9878288856131eb565b935093505050935093915050565b606083156133165750816121bb565b8251156133265782518084602001fd5b8160405162461bcd60e51b8152600401610bdc9190613496565b82805461334c906138ac565b90600052602060002090601f01602090048101928261336e57600085556133b4565b82601f1061338757805160ff19168380011785556133b4565b828001600101855582156133b4579182015b828111156133b4578251825591602001919060010190613399565b506133c09291506133c4565b5090565b5b808211156133c057600081556001016133c5565b6001600160e01b03198116811461240b57600080fd5b60006020828403121561340157600080fd5b81356121bb816133d9565b6001600160a01b038116811461240b57600080fd5b60006020828403121561343357600080fd5b81356121bb8161340c565b60005b83811015613459578181015183820152602001613441565b838111156120e15750506000910152565b6000815180845261348281602086016020860161343e565b601f01601f19169290920160200192915050565b6020815260006121bb602083018461346a565b6000602082840312156134bb57600080fd5b5035919050565b600080604083850312156134d557600080fd5b82356134e08161340c565b946020939093013593505050565b6000806040838503121561350157600080fd5b8235915060208301356135138161340c565b809150509250929050565b801515811461240b57600080fd5b60006020828403121561353e57600080fd5b81356121bb8161351e565b6000806040838503121561355c57600080fd5b50508035926020909101359150565b60008060006060848603121561358057600080fd5b833561358b8161340c565b9250602084013561359b8161340c565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156135dd576135dd6135ac565b604051601f8501601f19908116603f01168101908282118183101715613605576136056135ac565b8160405280935085815286868601111561361e57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261364957600080fd5b6121bb838335602085016135c2565b60008060008060008060c0878903121561367157600080fd5b86359550602087013567ffffffffffffffff81111561368f57600080fd5b61369b89828a01613638565b96999698505050506040850135946060810135946080820135945060a09091013592509050565b6000806000606084860312156136d757600080fd5b83356136e28161340c565b92506020840135915060408401356136f98161340c565b809150509250925092565b60006020828403121561371657600080fd5b813567ffffffffffffffff81111561372d57600080fd5b8201601f8101841361373e57600080fd5b612647848235602084016135c2565b6000806040838503121561376057600080fd5b823561376b8161340c565b915060208301356135138161340c565b600080600080600060a0868803121561379357600080fd5b85359450602086013567ffffffffffffffff8111156137b157600080fd5b6137bd88828901613638565b959895975050505060408401359360608101359360809091013592509050565b600080604083850312156137f057600080fd5b82356137fb8161340c565b915060208301356135138161351e565b6000806000806080858703121561382157600080fd5b843561382c8161340c565b9350602085013561383c8161340c565b925060408501359150606085013567ffffffffffffffff81111561385f57600080fd5b61386b87828801613638565b91505092959194509250565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806138c057607f821691505b602082108114156138e157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613910576139106138e7565b500190565b60208082526012908201527145786365656473206d617820737570706c7960701b604082015260600190565b6000600019821415613955576139556138e7565b5060010190565b60008282101561396e5761396e6138e7565b500390565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526015908201527413585e081c195c881b5a5b9d08195e18d959591959605a1b604082015260600190565b60008160001904831182151516156139f3576139f36138e7565b500290565b6020808252600f908201526e496e636f727265637420707269636560881b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600060208284031215613a8457600080fd5b5051919050565b60008351613a9d81846020880161343e565b835190830190613ab181836020880161343e565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082613b3157613b31613b0c565b500490565b600082613b4557613b45613b0c565b500690565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613b7257600080fd5b81516121bb8161351e565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613bb09083018461346a565b9695505050505050565b600060208284031215613bcc57600080fd5b81516121bb816133d9565b634e487b7160e01b600052602160045260246000fd5b60008251613bff81846020870161343e565b919091019291505056fe38393136343033356632393163616261313139663062313033613932366164316135336230316235353733333761363231393836386665373732623162656139a2646970667358221220b7f8c17542cbcdc49cb1636084b9d287b812aee2186065fa13baef6181b0e19464736f6c634300080c003368747470733a2f2f6d657461646174612e6170692e746f6b656e66792e636f6d2f32312f6d657461646174612f68747470733a2f2f746f6b656e66792d70726f64756374696f6e2d7075626c69632e73332e75732d656173742d322e616d617a6f6e6177732e636f6d2f32312f636f6e74726163742d757269000000000000000000000000ed6f703c22cc4895e0464d1366f75169d90cf705
Deployed Bytecode
0x6080604052600436106103b85760003560e01c806378b2109b116101f2578063b8a1eb091161010d578063e081b781116100a0578063e985e9c51161006f578063e985e9c514610ac2578063f2fde38b14610b0b578063f9d594f514610b2b578063ff1b655614610b4b57600080fd5b8063e081b78114610a4d578063e63cac2414610a6d578063e8a3d48514610a8d578063e97eb0a214610aa257600080fd5b8063d1b85c53116100dc578063d1b85c53146109d6578063d23660f8146109f7578063d5abeb0114610a17578063db6242c314610a2d57600080fd5b8063b8a1eb0914610953578063bc660cac14610969578063c87b56dd14610996578063c91cb920146109b657600080fd5b8063938e3d7b11610185578063a2b40d1911610154578063a2b40d19146108dd578063af246ecb146108fd578063b73c6ce91461091e578063b88d4fde1461093357600080fd5b8063938e3d7b1461087557806395d89b4114610895578063a0712d68146108aa578063a22cb465146108bd57600080fd5b80638606d938116101c15780638606d938146108045780638a78bdf6146108245780638da5cb5b146108375780638f0c62cc1461085557600080fd5b806378b2109b1461078f5780637b1b1de6146107af5780637bca889c146107c557806383a9e049146107e557600080fd5b80633708a2e5116102e2578063507e094f1161027557806370a082311161024457806370a0823114610724578063715018a6146107445780637241e0a11461075957806374164e361461077957600080fd5b8063507e094f146106ae57806351a37a05146106c457806355f804b3146106e45780636352211e1461070457600080fd5b806342966c68116102b157806342966c681461063857806346db836914610658578063481af5891461066e5780634f558e791461068e57600080fd5b80633708a2e5146105b85780633c4c7bb4146105d8578063404c7cdd146105f857806342842e0e1461061857600080fd5b80630da12de01161035a5780632057310c116103295780632057310c1461053e57806323b872dd1461055e57806326a5b7341461057e578063315d32ae1461059857600080fd5b80630da12de0146104d35780630dc28efe146104e95780630fa420c61461050957806318160ddd1461052957600080fd5b8063081812fc11610396578063081812fc1461043657806308fc299b1461046e578063095ea7b3146104925780630d99ede9146104b257600080fd5b806301ffc9a7146103bd578063046dc166146103f257806306fdde0314610414575b600080fd5b3480156103c957600080fd5b506103dd6103d83660046133ef565b610b60565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b5061041261040d366004613421565b610bb2565b005b34801561042057600080fd5b50610429610c07565b6040516103e99190613496565b34801561044257600080fd5b506104566104513660046134a9565b610c99565b6040516001600160a01b0390911681526020016103e9565b34801561047a57600080fd5b5061048460135481565b6040519081526020016103e9565b34801561049e57600080fd5b506104126104ad3660046134c2565b610d2e565b3480156104be57600080fd5b50600c546103dd90600160a01b900460ff1681565b3480156104df57600080fd5b5061048460155481565b3480156104f557600080fd5b506104126105043660046134ee565b610e44565b34801561051557600080fd5b5061041261052436600461352c565b610f13565b34801561053557600080fd5b50610484610f50565b34801561054a57600080fd5b50610412610559366004613549565b610f67565b34801561056a57600080fd5b5061041261057936600461356b565b6110ec565b34801561058a57600080fd5b506017546103dd9060ff1681565b3480156105a457600080fd5b506104126105b33660046134a9565b61111e565b3480156105c457600080fd5b506104126105d336600461352c565b6111f1565b3480156105e457600080fd5b506104126105f336600461352c565b611239565b34801561060457600080fd5b506104126106133660046134a9565b61127f565b34801561062457600080fd5b5061041261063336600461356b565b611300565b34801561064457600080fd5b506104126106533660046134a9565b61131b565b34801561066457600080fd5b5061048460165481565b34801561067a57600080fd5b50610412610689366004613658565b61140b565b34801561069a57600080fd5b506103dd6106a93660046134a9565b611708565b3480156106ba57600080fd5b50610484600e5481565b3480156106d057600080fd5b506104126106df3660046136c2565b611727565b3480156106f057600080fd5b506104126106ff366004613704565b6117d4565b34801561071057600080fd5b5061045661071f3660046134a9565b611815565b34801561073057600080fd5b5061048461073f366004613421565b61188c565b34801561075057600080fd5b50610412611913565b34801561076557600080fd5b5061041261077436600461374d565b611949565b34801561078557600080fd5b5061048460145481565b34801561079b57600080fd5b50600c54610456906001600160a01b031681565b3480156107bb57600080fd5b50610484600f5481565b3480156107d157600080fd5b506104126107e03660046136c2565b6119f2565b3480156107f157600080fd5b506017546103dd90610100900460ff1681565b34801561081057600080fd5b5061041261081f3660046134a9565b611a57565b61041261083236600461377b565b611a86565b34801561084357600080fd5b506006546001600160a01b0316610456565b34801561086157600080fd5b5061041261087036600461352c565b611d68565b34801561088157600080fd5b50610412610890366004613704565b611dac565b3480156108a157600080fd5b50610429611de9565b6104126108b83660046134a9565b611df8565b3480156108c957600080fd5b506104126108d83660046137dd565b611f62565b3480156108e957600080fd5b506104126108f83660046134a9565b612027565b34801561090957600080fd5b50600c546103dd90600160a81b900460ff1681565b34801561092a57600080fd5b50610412612056565b34801561093f57600080fd5b5061041261094e36600461380b565b6120af565b34801561095f57600080fd5b5061048460105481565b34801561097557600080fd5b50610484610984366004613421565b60126020526000908152604090205481565b3480156109a257600080fd5b506104296109b13660046134a9565b6120e7565b3480156109c257600080fd5b506104126109d13660046134a9565b6121c2565b3480156109e257600080fd5b506017546103dd906301000000900460ff1681565b348015610a0357600080fd5b50610412610a123660046134a9565b6121f1565b348015610a2357600080fd5b50610484600d5481565b348015610a3957600080fd5b50610412610a483660046134a9565b61225e565b348015610a5957600080fd5b506017546103dd9062010000900460ff1681565b348015610a7957600080fd5b50610412610a8836600461352c565b6122d4565b348015610a9957600080fd5b5061042961231c565b348015610aae57600080fd5b50610412610abd36600461352c565b61232b565b348015610ace57600080fd5b506103dd610add36600461374d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610b1757600080fd5b50610412610b26366004613421565b612373565b348015610b3757600080fd5b50610412610b463660046134a9565b61240e565b348015610b5757600080fd5b5061042961243d565b60006001600160e01b031982166380ac58cd60e01b1480610b9157506001600160e01b03198216635b5e139f60e01b145b80610bac57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b03163314610be55760405162461bcd60e51b8152600401610bdc90613877565b60405180910390fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b606060008054610c16906138ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610c42906138ac565b8015610c8f5780601f10610c6457610100808354040283529160200191610c8f565b820191906000526020600020905b815481529060010190602001808311610c7257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d125760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bdc565b506000908152600460205260409020546001600160a01b031690565b6000610d3982611815565b9050806001600160a01b0316836001600160a01b03161415610da75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bdc565b336001600160a01b0382161480610dc35750610dc38133610add565b610e355760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bdc565b610e3f8383612459565b505050565b6006546001600160a01b03163314610e6e5760405162461bcd60e51b8152600401610bdc90613877565b60008211610ebe5760405162461bcd60e51b815260206004820152601a60248201527f4d757374206d696e74206174206c65617374203120746f6b656e0000000000006044820152606401610bdc565b600d5482600854610ecf91906138fd565b1115610eed5760405162461bcd60e51b8152600401610bdc90613915565b60005b82811015610e3f57610f01826124c7565b80610f0b81613941565b915050610ef0565b6006546001600160a01b03163314610f3d5760405162461bcd60e51b8152600401610bdc90613877565b6017805460ff1916911515919091179055565b6000600954600854610f62919061395c565b905090565b60026007541415610f8a5760405162461bcd60e51b8152600401610bdc90613973565b6002600755601754829062010000900460ff16610fd95760405162461bcd60e51b815260206004820152600d60248201526c53616c65206e6f74206c69766560981b6044820152606401610bdc565b600e54811115610ffb5760405162461bcd60e51b8152600401610bdc906139aa565b600d548160085461100c91906138fd565b111561102a5760405162461bcd60e51b8152600401610bdc90613915565b600c54600160a81b900460ff166110775760405162461bcd60e51b81526020600482015260116024820152701512d39196481b9bdd08195b98589b1959607a1b6044820152606401610bdc565b818360105461108691906139d9565b146110a35760405162461bcd60e51b8152600401610bdc906139f8565b600c546110bb906001600160a01b03163330856124ed565b60005b838110156110e1576110cf336124c7565b806110d981613941565b9150506110be565b505060016007555050565b6110f7335b82612558565b6111135760405162461bcd60e51b8152600401610bdc90613a21565b610e3f83838361264f565b6006546001600160a01b031633146111485760405162461bcd60e51b8152600401610bdc90613877565b60085481101561119a5760405162461bcd60e51b815260206004820181905260248201527f4d757374206265206c6172676572207468616e206d696e74656420636f756e746044820152606401610bdc565b600d548111156111ec5760405162461bcd60e51b815260206004820152601c60248201527f4d757374206265206c657373207468616e206d617820737570706c79000000006044820152606401610bdc565b601355565b6006546001600160a01b0316331461121b5760405162461bcd60e51b8152600401610bdc90613877565b6017805491151563010000000263ff00000019909216919091179055565b6006546001600160a01b031633146112635760405162461bcd60e51b8152600401610bdc90613877565b60178054911515620100000262ff000019909216919091179055565b6006546001600160a01b031633146112a95760405162461bcd60e51b8152600401610bdc90613877565b6008548110156112fb5760405162461bcd60e51b815260206004820181905260248201527f4d757374206265206c6172676572207468616e206d696e74656420636f756e746044820152606401610bdc565b600d55565b610e3f838383604051806020016040528060008152506120af565b6002600754141561133e5760405162461bcd60e51b8152600401610bdc90613973565b60026007556017546301000000900460ff1661138c5760405162461bcd60e51b815260206004820152600d60248201526c4275726e206e6f74206c69766560981b6044820152606401610bdc565b611395336110f1565b6113e15760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610bdc565b6001600960008282546113f491906138fd565b909155506114039050816127ef565b506001600755565b6002600754141561142e5760405162461bcd60e51b8152600401610bdc90613973565b600260075560175486908690869086908690610100900460ff166114875760405162461bcd60e51b815260206004820152601060248201526f50726573616c65206e6f74206c69766560801b6044820152606401610bdc565b611491858561288a565b6114ce5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610bdc565b846114db338585856128ae565b1461151c5760405162461bcd60e51b815260206004820152601160248201527012185cda0818da1958dac819985a5b1959607a1b6044820152606401610bdc565b428110156115635760405162461bcd60e51b815260206004820152601460248201527314da59db985d1d5c99481a5cc8195e1c1a5c995960621b6044820152606401610bdc565b6014548311156115855760405162461bcd60e51b8152600401610bdc906139aa565b3360009081526012602052604090205482906115a29085906138fd565b11156115ea5760405162461bcd60e51b815260206004820152601760248201527613585e081c195c881dd85b1b195d08195e18d959591959604a1b6044820152606401610bdc565b601354836008546115fb91906138fd565b11156116195760405162461bcd60e51b8152600401610bdc90613915565b600c54600160a81b900460ff166116665760405162461bcd60e51b81526020600482015260116024820152701512d39196481b9bdd08195b98589b1959607a1b6044820152606401610bdc565b858960165461167591906139d9565b146116925760405162461bcd60e51b8152600401610bdc906139f8565b600c546116aa906001600160a01b03163330896124ed565b33600090815260126020526040812080548b92906116c99084906138fd565b90915550600090505b898110156116f5576116e3336124c7565b806116ed81613941565b9150506116d2565b5050600160075550505050505050505050565b6000818152600260205260408120546001600160a01b03161515610bac565b6006546001600160a01b031633146117515760405162461bcd60e51b8152600401610bdc90613877565b604051637921219560e11b81523060048201526001600160a01b038281166024830152604482018490526001606483015260a06084830152600060a483015284169063f242432a9060c4015b600060405180830381600087803b1580156117b757600080fd5b505af11580156117cb573d6000803e3d6000fd5b50505050505050565b6006546001600160a01b031633146117fe5760405162461bcd60e51b8152600401610bdc90613877565b805161181190600a906020840190613340565b5050565b6000818152600260205260408120546001600160a01b031680610bac5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bdc565b60006001600160a01b0382166118f75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610bdc565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461193d5760405162461bcd60e51b8152600401610bdc90613877565b6119476000612947565b565b6006546001600160a01b031633146119735760405162461bcd60e51b8152600401610bdc90613877565b6040516370a0823160e01b81523060048201526118119082906001600160a01b038516906370a0823190602401602060405180830381865afa1580156119bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e19190613a72565b6001600160a01b0385169190612999565b6006546001600160a01b03163314611a1c5760405162461bcd60e51b8152600401610bdc90613877565b604051632142170760e11b81523060048201526001600160a01b038281166024830152604482018490528416906342842e0e9060640161179d565b6006546001600160a01b03163314611a815760405162461bcd60e51b8152600401610bdc90613877565b601555565b60026007541415611aa95760405162461bcd60e51b8152600401610bdc90613973565b600260075560175485908590859085908590610100900460ff16611b025760405162461bcd60e51b815260206004820152601060248201526f50726573616c65206e6f74206c69766560801b6044820152606401610bdc565b611b0c858561288a565b611b495760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610bdc565b84611b56338585856128ae565b14611b975760405162461bcd60e51b815260206004820152601160248201527012185cda0818da1958dac819985a5b1959607a1b6044820152606401610bdc565b42811015611bde5760405162461bcd60e51b815260206004820152601460248201527314da59db985d1d5c99481a5cc8195e1c1a5c995960621b6044820152606401610bdc565b601454831115611c005760405162461bcd60e51b8152600401610bdc906139aa565b336000908152601260205260409020548290611c1d9085906138fd565b1115611c655760405162461bcd60e51b815260206004820152601760248201527613585e081c195c881dd85b1b195d08195e18d959591959604a1b6044820152606401610bdc565b60135483600854611c7691906138fd565b1115611c945760405162461bcd60e51b8152600401610bdc90613915565b600c54600160a01b900460ff16611cdf5760405162461bcd60e51b815260206004820152600f60248201526e115512081b9bdd08195b98589b1959608a1b6044820152606401610bdc565b3488601554611cee91906139d9565b14611d0b5760405162461bcd60e51b8152600401610bdc906139f8565b33600090815260126020526040812080548a9290611d2a9084906138fd565b90915550600090505b88811015611d5657611d44336124c7565b80611d4e81613941565b915050611d33565b50506001600755505050505050505050565b6006546001600160a01b03163314611d925760405162461bcd60e51b8152600401610bdc90613877565b601780549115156101000261ff0019909216919091179055565b6006546001600160a01b03163314611dd65760405162461bcd60e51b8152600401610bdc90613877565b805161181190600b906020840190613340565b606060018054610c16906138ac565b60026007541415611e1b5760405162461bcd60e51b8152600401610bdc90613973565b6002600755601754819062010000900460ff16611e6a5760405162461bcd60e51b815260206004820152600d60248201526c53616c65206e6f74206c69766560981b6044820152606401610bdc565b600e54811115611e8c5760405162461bcd60e51b8152600401610bdc906139aa565b600d5481600854611e9d91906138fd565b1115611ebb5760405162461bcd60e51b8152600401610bdc90613915565b600c54600160a01b900460ff16611f065760405162461bcd60e51b815260206004820152600f60248201526e115512081b9bdd08195b98589b1959608a1b6044820152606401610bdc565b3482600f54611f1591906139d9565b14611f325760405162461bcd60e51b8152600401610bdc906139f8565b60005b82811015611f5857611f46336124c7565b80611f5081613941565b915050611f35565b5050600160075550565b6001600160a01b038216331415611fbb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bdc565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b031633146120515760405162461bcd60e51b8152600401610bdc90613877565b600f55565b6006546001600160a01b031633146120805760405162461bcd60e51b8152600401610bdc90613877565b6040514790339082156108fc029083906000818181858888f19350505050158015611811573d6000803e3d6000fd5b6120b93383612558565b6120d55760405162461bcd60e51b8152600401610bdc90613a21565b6120e1848484846129c9565b50505050565b6000818152600260205260409020546060906001600160a01b03166121665760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bdc565b60006121706129fc565b9050600081511161219057604051806020016040528060008152506121bb565b8061219a84612a0b565b6040516020016121ab929190613a8b565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146121ec5760405162461bcd60e51b8152600401610bdc90613877565b601655565b6006546001600160a01b0316331461221b5760405162461bcd60e51b8152600401610bdc90613877565b600081116122595760405162461bcd60e51b815260206004820152600b60248201526a04d757374206265203e20360ac1b6044820152606401610bdc565b601455565b6006546001600160a01b031633146122885760405162461bcd60e51b8152600401610bdc90613877565b600081116122cf5760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081b585e081c195c881b5a5b9d60621b6044820152606401610bdc565b600e55565b6006546001600160a01b031633146122fe5760405162461bcd60e51b8152600401610bdc90613877565b600c8054911515600160a81b0260ff60a81b19909216919091179055565b6060600b8054610c16906138ac565b6006546001600160a01b031633146123555760405162461bcd60e51b8152600401610bdc90613877565b600c8054911515600160a01b0260ff60a01b19909216919091179055565b6006546001600160a01b0316331461239d5760405162461bcd60e51b8152600401610bdc90613877565b6001600160a01b0381166124025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bdc565b61240b81612947565b50565b6006546001600160a01b031633146124385760405162461bcd60e51b8152600401610bdc90613877565b601055565b604051806060016040528060408152602001613c0a6040913981565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061248e82611815565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600860008282546124da91906138fd565b9250508190555061240b81600854612b09565b6040516001600160a01b03808516602483015283166044820152606481018290526120e19085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612b23565b6000818152600260205260408120546001600160a01b03166125d15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bdc565b60006125dc83611815565b9050806001600160a01b0316846001600160a01b031614806126175750836001600160a01b031661260c84610c99565b6001600160a01b0316145b8061264757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661266282611815565b6001600160a01b0316146126ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bdc565b6001600160a01b03821661272c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bdc565b612737600082612459565b6001600160a01b038316600090815260036020526040812080546001929061276090849061395c565b90915550506001600160a01b038216600090815260036020526040812080546001929061278e9084906138fd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006127fa82611815565b9050612807600083612459565b6001600160a01b038116600090815260036020526040812080546001929061283090849061395c565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006128968383612bf5565b6011546001600160a01b039182169116149392505050565b6040805160609590951b6bffffffffffffffffffffffff191660208087019190915260348601949094526054850192909252607480850191909152815180850390910181526094840182528051908301207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060b485015260d0808501919091528151808503909101815260f09093019052815191012090565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b038316602482015260448101829052610e3f90849063a9059cbb60e01b90606401612521565b6129d484848461264f565b6129e084848484612c19565b6120e15760405162461bcd60e51b8152600401610bdc90613aba565b6060600a8054610c16906138ac565b606081612a2f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612a595780612a4381613941565b9150612a529050600a83613b22565b9150612a33565b60008167ffffffffffffffff811115612a7457612a746135ac565b6040519080825280601f01601f191660200182016040528015612a9e576020820181803683370190505b5090505b841561264757612ab360018361395c565b9150612ac0600a86613b36565b612acb9060306138fd565b60f81b818381518110612ae057612ae0613b4a565b60200101906001600160f81b031916908160001a905350612b02600a86613b22565b9450612aa2565b611811828260405180602001604052806000815250612d14565b6000612b78826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d479092919063ffffffff16565b805190915015610e3f5780806020019051810190612b969190613b60565b610e3f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610bdc565b6000806000612c048585612d56565b91509150612c1181612dc6565b509392505050565b60006001600160a01b0384163b15612d0c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612c5d903390899088908890600401613b7d565b6020604051808303816000875af1925050508015612c98575060408051601f3d908101601f19168201909252612c9591810190613bba565b60015b612cf2573d808015612cc6576040519150601f19603f3d011682016040523d82523d6000602084013e612ccb565b606091505b508051612cea5760405162461bcd60e51b8152600401610bdc90613aba565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612647565b506001612647565b612d1e8383612f81565b612d2b6000848484612c19565b610e3f5760405162461bcd60e51b8152600401610bdc90613aba565b606061264784846000856130c3565b600080825160411415612d8d5760208301516040840151606085015160001a612d81878285856131eb565b94509450505050612dbf565b825160401415612db75760208301516040840151612dac8683836132d8565b935093505050612dbf565b506000905060025b9250929050565b6000816004811115612dda57612dda613bd7565b1415612de35750565b6001816004811115612df757612df7613bd7565b1415612e455760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bdc565b6002816004811115612e5957612e59613bd7565b1415612ea75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bdc565b6003816004811115612ebb57612ebb613bd7565b1415612f145760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bdc565b6004816004811115612f2857612f28613bd7565b141561240b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bdc565b6001600160a01b038216612fd75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bdc565b6000818152600260205260409020546001600160a01b03161561303c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bdc565b6001600160a01b03821660009081526003602052604081208054600192906130659084906138fd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156131245760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610bdc565b843b6131725760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bdc565b600080866001600160a01b0316858760405161318e9190613bed565b60006040518083038185875af1925050503d80600081146131cb576040519150601f19603f3d011682016040523d82523d6000602084013e6131d0565b606091505b50915091506131e0828286613307565b979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561322257506000905060036132cf565b8460ff16601b1415801561323a57508460ff16601c14155b1561324b57506000905060046132cf565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561329f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132c8576000600192509250506132cf565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016132f9878288856131eb565b935093505050935093915050565b606083156133165750816121bb565b8251156133265782518084602001fd5b8160405162461bcd60e51b8152600401610bdc9190613496565b82805461334c906138ac565b90600052602060002090601f01602090048101928261336e57600085556133b4565b82601f1061338757805160ff19168380011785556133b4565b828001600101855582156133b4579182015b828111156133b4578251825591602001919060010190613399565b506133c09291506133c4565b5090565b5b808211156133c057600081556001016133c5565b6001600160e01b03198116811461240b57600080fd5b60006020828403121561340157600080fd5b81356121bb816133d9565b6001600160a01b038116811461240b57600080fd5b60006020828403121561343357600080fd5b81356121bb8161340c565b60005b83811015613459578181015183820152602001613441565b838111156120e15750506000910152565b6000815180845261348281602086016020860161343e565b601f01601f19169290920160200192915050565b6020815260006121bb602083018461346a565b6000602082840312156134bb57600080fd5b5035919050565b600080604083850312156134d557600080fd5b82356134e08161340c565b946020939093013593505050565b6000806040838503121561350157600080fd5b8235915060208301356135138161340c565b809150509250929050565b801515811461240b57600080fd5b60006020828403121561353e57600080fd5b81356121bb8161351e565b6000806040838503121561355c57600080fd5b50508035926020909101359150565b60008060006060848603121561358057600080fd5b833561358b8161340c565b9250602084013561359b8161340c565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156135dd576135dd6135ac565b604051601f8501601f19908116603f01168101908282118183101715613605576136056135ac565b8160405280935085815286868601111561361e57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261364957600080fd5b6121bb838335602085016135c2565b60008060008060008060c0878903121561367157600080fd5b86359550602087013567ffffffffffffffff81111561368f57600080fd5b61369b89828a01613638565b96999698505050506040850135946060810135946080820135945060a09091013592509050565b6000806000606084860312156136d757600080fd5b83356136e28161340c565b92506020840135915060408401356136f98161340c565b809150509250925092565b60006020828403121561371657600080fd5b813567ffffffffffffffff81111561372d57600080fd5b8201601f8101841361373e57600080fd5b612647848235602084016135c2565b6000806040838503121561376057600080fd5b823561376b8161340c565b915060208301356135138161340c565b600080600080600060a0868803121561379357600080fd5b85359450602086013567ffffffffffffffff8111156137b157600080fd5b6137bd88828901613638565b959895975050505060408401359360608101359360809091013592509050565b600080604083850312156137f057600080fd5b82356137fb8161340c565b915060208301356135138161351e565b6000806000806080858703121561382157600080fd5b843561382c8161340c565b9350602085013561383c8161340c565b925060408501359150606085013567ffffffffffffffff81111561385f57600080fd5b61386b87828801613638565b91505092959194509250565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806138c057607f821691505b602082108114156138e157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613910576139106138e7565b500190565b60208082526012908201527145786365656473206d617820737570706c7960701b604082015260600190565b6000600019821415613955576139556138e7565b5060010190565b60008282101561396e5761396e6138e7565b500390565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526015908201527413585e081c195c881b5a5b9d08195e18d959591959605a1b604082015260600190565b60008160001904831182151516156139f3576139f36138e7565b500290565b6020808252600f908201526e496e636f727265637420707269636560881b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600060208284031215613a8457600080fd5b5051919050565b60008351613a9d81846020880161343e565b835190830190613ab181836020880161343e565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082613b3157613b31613b0c565b500490565b600082613b4557613b45613b0c565b500690565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613b7257600080fd5b81516121bb8161351e565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613bb09083018461346a565b9695505050505050565b600060208284031215613bcc57600080fd5b81516121bb816133d9565b634e487b7160e01b600052602160045260246000fd5b60008251613bff81846020870161343e565b919091019291505056fe38393136343033356632393163616261313139663062313033613932366164316135336230316235353733333761363231393836386665373732623162656139a2646970667358221220b7f8c17542cbcdc49cb1636084b9d287b812aee2186065fa13baef6181b0e19464736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ed6f703c22cc4895e0464d1366f75169d90cf705
-----Decoded View---------------
Arg [0] : _signerAddress (address): 0xeD6F703c22cc4895E0464d1366F75169D90CF705
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ed6f703c22cc4895e0464d1366f75169d90cf705
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.