ERC-721
Overview
Max Total Supply
91 MCP
Holders
66
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MetaciplesStandard
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './MetaciplesCore.sol'; contract MetaciplesStandard is MetaciplesCore { constructor() AM721("Metaciples", "MCP"){ setActive( true ); //Metaciples: Bronze setProxy( 1, 0x5f4f308AB2412fe0C7B8b578435D52eC0DA6eFA3, 0, true); //FLS setProxy( 2, 0x7D99e982A65966424C217458fCcb0bEA5735831b, 0, true); //Hunnys setProxy( 3, 0xb6c6B39AdA86c8A137B59E17e97c28fa74b649e2, 0, true); } }
// SPDX-License-Identifier: BSD-3 pragma solidity ^0.8.0; import './Delegated.sol'; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; //TODO: IERC1271 contract Signed is Delegated{ using ECDSA for bytes32; string internal _secret = "once upon a midnight dreary"; address internal _signer = 0xb95f0CA4dAD9608e051DfBB4DBb7ED18DB038e2E; function setSecret( string calldata secret ) external onlyOwner{ _secret = secret; } function setSigner( address signer ) external onlyOwner{ _signer = signer; } function createHash( string memory data ) internal view returns ( bytes32 ){ return keccak256( abi.encodePacked( address(this), msg.sender, data, _secret ) ); } function getSigner( bytes32 hash, bytes memory signature ) internal pure returns( address ){ return hash.toEthSignedMessageHash().recover( signature ); } function isAuthorizedSigner( address extracted ) internal view virtual returns( bool ){ return extracted == _signer; } function verifySignature( string memory data, bytes calldata signature ) internal view { address extracted = getSigner( createHash( data ), signature ); require( isAuthorizedSigner( extracted ), "Signature verification failed" ); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /*********************** * @author: squeebo_nft * ************************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IPowerPass1155{ function burnFrom( uint id, uint quantity, address account ) external payable; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Strings.sol"; import '../../Blimpie/Signed.sol'; import '../IPowerPass1155.sol'; import './AM721Batch.sol'; abstract contract MetaciplesCore is AM721Batch, Signed { using Strings for uint; struct PowerPass { address contractAddress; uint8 tokenId; bool canBurn; } struct Recipe{ uint16 powerPassId; uint8 quantity; } event Mint( address indexed to, bytes32 indexed recipeId, uint256 indexed tokenId ); uint public MAX_SUPPLY = 10000; uint public PRICE = 0; bool public isActive = false; mapping(uint => PowerPass) public proxies; string private _tokenURIPrefix = ''; string private _tokenURISuffix = ''; //safety first fallback() external payable {} receive() external payable {} function withdraw() external { require(address(this).balance >= 0, "AvatarMaker: No funds available"); Address.sendValue(payable(owner()), address(this).balance); } //non-payable function tokenURI(uint tokenId) external view override returns (string memory) { require(_exists(tokenId), "AvatarMaker: URI query for nonexistent token"); return string(abi.encodePacked(_tokenURIPrefix, tokenId.toString(), _tokenURISuffix)); } //payable function mint( bytes32 recipeId, bytes calldata recipeData, bytes calldata signature ) external payable { require( isActive, "AvatarMaker: Mint is not active" ); verifySignature( recipeId, string( recipeData ), signature ); Recipe[] memory recipes = abi.decode( recipeData, (Recipe[])); for(uint i; i < recipes.length; ++i ){ Recipe memory recipe = recipes[i]; PowerPass memory proxy = proxies[ recipe.powerPassId ]; require( proxy.contractAddress != address(0), "AvatarMaker: PowerPass is unset" ); if( proxy.canBurn ) IPowerPass1155( proxy.contractAddress ).burnFrom( proxy.tokenId, recipe.quantity, msg.sender ); } uint tokenId = totalSupply(); _mint( msg.sender, tokenId ); emit Mint( msg.sender, recipeId, tokenId ); } //onlyDelegates function mintTo(address[] calldata recipients, bytes32[] calldata recipeIds) external payable onlyDelegates{ require( recipients.length == recipeIds.length, "AvatarMaker: Must provide equal quantities and recipients" ); uint supply = totalSupply(); require( supply + recipients.length < MAX_SUPPLY, "AvatarMaker: Mint/order exceeds supply" ); for(uint i; i < recipients.length; ++i){ uint tokenId = supply++; _mint( recipients[i], tokenId ); emit Mint( msg.sender, recipeIds[i], tokenId ); } } function setActive(bool isActive_) public onlyDelegates{ isActive = isActive_; } function setBaseURI(string calldata _newPrefix, string calldata _newSuffix) external onlyDelegates{ _tokenURIPrefix = _newPrefix; _tokenURISuffix = _newSuffix; } function setMax(uint maxSupply) external onlyDelegates{ require( maxSupply >= totalSupply(), "AvatarMaker: Specified supply is lower than current balance" ); MAX_SUPPLY = maxSupply; } function setPrice(uint price ) external onlyDelegates{ PRICE = price; } function setProxy(uint powerPassId, address powerPassProxy, uint8 tokenId, bool canBurn ) public onlyDelegates{ proxies[powerPassId] = PowerPass( powerPassProxy, tokenId, canBurn ); } //internal function _mint(address to, uint tokenId) internal override { require(to != address(0), "ERC721: mint to the zero address"); _beforeTokenTransfer(address(0), to); _owners.push(to); emit Transfer(address(0), to, tokenId); } function createHash( bytes32 recipeId, string memory recipeData ) internal view returns ( bytes32 ){ return keccak256( abi.encodePacked( address(this), msg.sender, recipeId, recipeData, _secret ) ); } function verifySignature( bytes32 recipeId, string memory recipeData, bytes calldata signature ) internal view { address extracted = getSigner( createHash( recipeId, recipeData ), signature ); require( isAuthorizedSigner( extracted ), "Signature verification failed" ); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; import "./AM721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract AM721Enumerable is IERC165, IERC721Enumerable, AM721 { mapping(address => uint) internal _balances; function balanceOf(address owner) public view override returns(uint256 balance){ return _balances[owner]; } function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, AM721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint index) external view override returns (uint tokenId) { require(index < balanceOf(owner), "AM721Enumerable: owner index out of bounds"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ){ if( count == index ) return i; else ++count; } } revert("AM721Enumerable: owner index out of bounds"); } function totalSupply() public view override returns (uint) { return _owners.length - _burned; } function tokenByIndex(uint index) external view override returns (uint) { require(index < totalSupply(), "AM721Enumerable: global index out of bounds"); return index; } //internal function _beforeTokenTransfer(address from, address to) internal override { address zero = address(0); if( from != zero ) --_balances[from]; if( to != zero ) ++_balances[to]; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; import "./AM721Enumerable.sol"; import "../../Blimpie/IERC721Batch.sol"; abstract contract AM721Batch is AM721Enumerable, IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( _owners[ tokenIds[i] ] != account ) return false; } return true; } function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } function walletOfOwner( address account ) external view override returns( uint[] memory ){ uint count; uint quantity = balanceOf( account ); uint[] memory wallet = new uint[]( quantity ); for( uint i; i < _owners.length; ++i ){ if( account == _owners[i] ){ wallet[ count++ ] = i; if( count == quantity ) return wallet; } } return wallet; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "../../Blimpie/Delegated.sol"; abstract contract AM721 is Context, Delegated, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; uint internal _burned; address[] internal _owners; mapping(uint => address) internal _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) Delegated(){ _name = name_; _symbol = symbol_; } //public function name() external view override returns (string memory) { return _name; } function ownerOf(uint tokenId) public view override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() external view override returns (string memory) { return _symbol; } function approve(address to, uint tokenId) external override { address owner = 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); } function getApproved(uint tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function isApprovedForAll(address owner, address operator) public view override returns (bool) { return _operatorApprovals[owner][operator]; } function setApprovalForAll(address operator, bool approved) external override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function transferFrom( address from, address to, uint tokenId ) public override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint tokenId ) external override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint tokenId, bytes memory _data ) public override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } //internal function _approve(address to, uint tokenId) internal { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } function _beforeTokenTransfer(address from, address to) internal virtual; function _burn(uint tokenId) internal { ++_burned; address account = ownerOf(tokenId); _beforeTokenTransfer(account, address(0)); // Clear approvals _approve(owner(), tokenId); _owners[tokenId] = address(0); emit Transfer(account, address(0), tokenId); } function _checkOnERC721Received( address from, address to, uint 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; } } function _exists(uint tokenId) internal view returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint tokenId) internal view returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _mint(address to, uint tokenId) internal virtual; function _safeMint(address to, uint tokenId) internal { _safeMint(to, tokenId, ""); } function _safeMint( address to, uint tokenId, bytes memory _data ) internal { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _safeTransfer( address from, address to, uint tokenId, bytes memory _data ) internal { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } function _transfer( address from, address to, uint tokenId ) internal { require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @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)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"bytes32","name":"recipeId","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"recipeId","type":"bytes32"},{"internalType":"bytes","name":"recipeData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"bytes32[]","name":"recipeIds","type":"bytes32[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"proxies","outputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint8","name":"tokenId","type":"uint8"},{"internalType":"bool","name":"canBurn","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive_","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newPrefix","type":"string"},{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"powerPassId","type":"uint256"},{"internalType":"address","name":"powerPassProxy","type":"address"},{"internalType":"uint8","name":"tokenId","type":"uint8"},{"internalType":"bool","name":"canBurn","type":"bool"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"secret","type":"string"}],"name":"setSecret","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052601b60808190527f6f6e63652075706f6e2061206d69646e6967687420647265617279000000000060a0908152620000409160099190620003a2565b50600a80546001600160a01b03191673b95f0ca4dad9608e051dfbb4dbb7ed18db038e2e179055612710600b556000600c819055600d805460ff191690556040805160208101918290528290526200009c91600f9190620003a2565b50604080516020810191829052600090819052620000bd91601091620003a2565b50348015620000cb57600080fd5b506040518060400160405280600a8152602001694d6574616369706c657360b01b8152506040518060400160405280600381526020016204d43560ec1b815250620001256200011f6200021a60201b60201c565b6200021e565b60018060006200013d6000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff19169215159290921790915582516200017b9160029190850190620003a2565b50805162000191906003906020840190620003a2565b505050620001a660016200026e60201b60201c565b620001ca6001735f4f308ab2412fe0c7b8b578435d52ec0da6efa3600082620002d9565b620001ef6002737d99e982a65966424c217458fccb0bea5735831b60006001620002d9565b62000214600373b6c6b39ada86c8a137b59e17e97c28fa74b649e260006001620002d9565b62000484565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b3360009081526001602052604090205460ff16620002c65760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b60448201526064015b60405180910390fd5b600d805460ff1916911515919091179055565b3360009081526001602052604090205460ff166200032d5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401620002bd565b604080516060810182526001600160a01b03948516815260ff93841660208083019182529315158284019081526000978852600e90945291909520945185549151925194166001600160a81b031990911617600160a01b91909216021760ff60a81b1916600160a81b91151591909102179055565b828054620003b09062000448565b90600052602060002090601f016020900481019282620003d457600085556200041f565b82601f10620003ef57805160ff19168380011785556200041f565b828001600101855582156200041f579182015b828111156200041f57825182559160200191906001019062000402565b506200042d92915062000431565b5090565b5b808211156200042d576000815560010162000432565b600181811c908216806200045d57607f821691505b6020821081036200047e57634e487b7160e01b600052602260045260246000fd5b50919050565b61314880620004946000396000f3fe6080604052600436106102115760003560e01c80636790a9de11610117578063a22cb465116100a5578063b88d4fde1161006c578063b88d4fde1461068d578063c87b56dd146106ad578063e0fffae6146106cd578063e985e9c5146106ed578063f2fde38b1461073657005b8063a22cb465146105a5578063aaa6c4b0146105c5578063abd90f85146105d8578063acec338a1461064d578063b534a5c41461066d57005b80637ed6c926116100e95780637ed6c9261461051c5780638d859f3e1461053c5780638da5cb5b1461055257806391b7f5ed1461057057806395d89b411461059057005b80636790a9de146104915780636c19e783146104b157806370a08231146104d1578063715018a61461050757005b806324f40a251161019f578063438b630011610166578063438b6300146103e45780634a994eef146104115780634d44660c146104315780634f6ccce7146104515780636352211e1461047157005b806324f40a25146103665780632f745c591461037957806332cb6b0c146103995780633ccfd60b146103af57806342842e0e146103c457005b8063095ea7b3116101e3578063095ea7b3146102c957806318160ddd146102e95780631fe9eabc1461030c57806322f3e2d41461032c57806323b872dd1461034657005b806301ffc9a71461021a57806306fdde031461024f5780630777962714610271578063081812fc1461029157005b3661021857005b005b34801561022657600080fd5b5061023a6102353660046125da565b610756565b60405190151581526020015b60405180910390f35b34801561025b57600080fd5b50610264610781565b604051610246919061264f565b34801561027d57600080fd5b5061023a61028c366004612679565b610813565b34801561029d57600080fd5b506102b16102ac366004612694565b61086a565b6040516001600160a01b039091168152602001610246565b3480156102d557600080fd5b506102186102e43660046126ad565b6108f2565b3480156102f557600080fd5b506102fe610a07565b604051908152602001610246565b34801561031857600080fd5b50610218610327366004612694565b610a1e565b34801561033857600080fd5b50600d5461023a9060ff1681565b34801561035257600080fd5b506102186103613660046126d7565b610acf565b610218610374366004612757565b610b00565b34801561038557600080fd5b506102fe6103943660046126ad565b610cce565b3480156103a557600080fd5b506102fe600b5481565b3480156103bb57600080fd5b50610218610d8a565b3480156103d057600080fd5b506102186103df3660046126d7565b610da7565b3480156103f057600080fd5b506104046103ff366004612679565b610dc2565b60405161024691906127c2565b34801561041d57600080fd5b5061021861042c366004612816565b610ec0565b34801561043d57600080fd5b5061023a61044c366004612849565b610f15565b34801561045d57600080fd5b506102fe61046c366004612694565b610f97565b34801561047d57600080fd5b506102b161048c366004612694565b611007565b34801561049d57600080fd5b506102186104ac3660046128dc565b611093565b3480156104bd57600080fd5b506102186104cc366004612679565b6110e2565b3480156104dd57600080fd5b506102fe6104ec366004612679565b6001600160a01b031660009081526008602052604090205490565b34801561051357600080fd5b5061021861112e565b34801561052857600080fd5b5061021861053736600461293b565b611162565b34801561054857600080fd5b506102fe600c5481565b34801561055e57600080fd5b506000546001600160a01b03166102b1565b34801561057c57600080fd5b5061021861058b366004612694565b611198565b34801561059c57600080fd5b506102646111cc565b3480156105b157600080fd5b506102186105c0366004612816565b6111db565b6102186105d336600461297c565b61129f565b3480156105e457600080fd5b506106246105f3366004612694565b600e602052600090815260409020546001600160a01b0381169060ff600160a01b8204811691600160a81b90041683565b604080516001600160a01b03909416845260ff9092166020840152151590820152606001610246565b34801561065957600080fd5b506102186106683660046129f5565b6114f7565b34801561067957600080fd5b50610218610688366004612a10565b611539565b34801561069957600080fd5b506102186106a8366004612b0e565b6115b7565b3480156106b957600080fd5b506102646106c8366004612694565b6115ef565b3480156106d957600080fd5b506102186106e8366004612bde565b611690565b3480156106f957600080fd5b5061023a610708366004612c2b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561074257600080fd5b50610218610751366004612679565b611734565b60006001600160e01b0319821663780e9d6360e01b148061077b575061077b82611790565b92915050565b60606002805461079090612c55565b80601f01602080910402602001604051908101604052809291908181526020018280546107bc90612c55565b80156108095780601f106107de57610100808354040283529160200191610809565b820191906000526020600020905b8154815290600101906020018083116107ec57829003601f168201915b5050505050905090565b600080546001600160a01b031633146108475760405162461bcd60e51b815260040161083e90612c8f565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610875826117e0565b6108d65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161083e565b506000908152600660205260409020546001600160a01b031690565b60006108fd82611007565b9050806001600160a01b0316836001600160a01b03160361096a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161083e565b336001600160a01b038216148061098657506109868133610708565b6109f85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161083e565b610a02838361182a565b505050565b600454600554600091610a1991612cda565b905090565b3360009081526001602052604090205460ff16610a4d5760405162461bcd60e51b815260040161083e90612cf1565b610a55610a07565b811015610aca5760405162461bcd60e51b815260206004820152603b60248201527f4176617461724d616b65723a2053706563696669656420737570706c7920697360448201527f206c6f776572207468616e2063757272656e742062616c616e63650000000000606482015260840161083e565b600b55565b610ad93382611898565b610af55760405162461bcd60e51b815260040161083e90612d1b565b610a02838383611982565b3360009081526001602052604090205460ff16610b2f5760405162461bcd60e51b815260040161083e90612cf1565b828114610ba45760405162461bcd60e51b815260206004820152603960248201527f4176617461724d616b65723a204d7573742070726f7669646520657175616c2060448201527f7175616e74697469657320616e6420726563697069656e747300000000000000606482015260840161083e565b6000610bae610a07565b600b54909150610bbe8583612d6c565b10610c1a5760405162461bcd60e51b815260206004820152602660248201527f4176617461724d616b65723a204d696e742f6f72646572206578636565647320604482015265737570706c7960d01b606482015260840161083e565b60005b84811015610cc657600082610c3181612d84565b93509050610c65878784818110610c4a57610c4a612d9d565b9050602002016020810190610c5f9190612679565b82611ae2565b80858584818110610c7857610c78612d9d565b90506020020135336001600160a01b03167f103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec60405160405180910390a450610cbf81612d84565b9050610c1d565b505050505050565b6001600160a01b0382166000908152600860205260408120548210610d055760405162461bcd60e51b815260040161083e90612db3565b6000805b600554811015610d715760058181548110610d2657610d26612d9d565b6000918252602090912001546001600160a01b0390811690861603610d6157838203610d5557915061077b9050565b610d5e82612d84565b91505b610d6a81612d84565b9050610d09565b5060405162461bcd60e51b815260040161083e90612db3565b610da5610d9f6000546001600160a01b031690565b47611bbf565b565b610a02838383604051806020016040528060008152506115b7565b6060600080610de6846001600160a01b031660009081526008602052604090205490565b90506000816001600160401b03811115610e0257610e02612aa0565b604051908082528060200260200182016040528015610e2b578160200160208202803683370190505b50905060005b600554811015610eb75760058181548110610e4e57610e4e612d9d565b6000918252602090912001546001600160a01b0390811690871603610ea757808285610e7981612d84565b965081518110610e8b57610e8b612d9d565b602002602001018181525050828403610ea75750949350505050565b610eb081612d84565b9050610e31565b50949350505050565b6000546001600160a01b03163314610eea5760405162461bcd60e51b815260040161083e90612c8f565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b82811015610f8a57846001600160a01b03166005858584818110610f3f57610f3f612d9d565b9050602002013581548110610f5657610f56612d9d565b6000918252602090912001546001600160a01b031614610f7a576000915050610f90565b610f8381612d84565b9050610f19565b50600190505b9392505050565b6000610fa1610a07565b82106110035760405162461bcd60e51b815260206004820152602b60248201527f414d373231456e756d657261626c653a20676c6f62616c20696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161083e565b5090565b6000806005838154811061101d5761101d612d9d565b6000918252602090912001546001600160a01b031690508061077b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161083e565b3360009081526001602052604090205460ff166110c25760405162461bcd60e51b815260040161083e90612cf1565b6110ce600f8585612534565b506110db60108383612534565b5050505050565b6000546001600160a01b0316331461110c5760405162461bcd60e51b815260040161083e90612c8f565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111585760405162461bcd60e51b815260040161083e90612c8f565b610da56000611cd8565b6000546001600160a01b0316331461118c5760405162461bcd60e51b815260040161083e90612c8f565b610a0260098383612534565b3360009081526001602052604090205460ff166111c75760405162461bcd60e51b815260040161083e90612cf1565b600c55565b60606003805461079090612c55565b336001600160a01b038316036112335760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161083e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d5460ff166112f15760405162461bcd60e51b815260206004820152601f60248201527f4176617461724d616b65723a204d696e74206973206e6f742061637469766500604482015260640161083e565b6113358585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250879250869150611d289050565b600061134384860186612dfd565b905060005b81518110156114a857600082828151811061136557611365612d9d565b602090810291909101810151805161ffff166000908152600e8352604090819020815160608101835290546001600160a01b03811680835260ff600160a01b8304811696840196909652600160a81b909104909416151591810191909152909250906114135760405162461bcd60e51b815260206004820152601f60248201527f4176617461724d616b65723a20506f7765725061737320697320756e73657400604482015260640161083e565b80604001511561149557805160208083015190840151604051635cc938ef60e01b815260ff9283166004820152911660248201523360448201526001600160a01b0390911690635cc938ef90606401600060405180830381600087803b15801561147c57600080fd5b505af1158015611490573d6000803e3d6000fd5b505050505b5050806114a190612d84565b9050611348565b5060006114b3610a07565b90506114bf3382611ae2565b6040518190889033907f103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec90600090a450505050505050565b3360009081526001602052604090205460ff166115265760405162461bcd60e51b815260040161083e90612cf1565b600d805460ff1916911515919091179055565b60005b838110156115ae5761159e878787878581811061155b5761155b612d9d565b9050602002013586868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115b792505050565b6115a781612d84565b905061153c565b50505050505050565b6115c13383611898565b6115dd5760405162461bcd60e51b815260040161083e90612d1b565b6115e984848484611dd9565b50505050565b60606115fa826117e0565b61165b5760405162461bcd60e51b815260206004820152602c60248201527f4176617461724d616b65723a2055524920717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161083e565b600f61166683611e0c565b601060405160200161167a93929190612f7b565b6040516020818303038152906040529050919050565b3360009081526001602052604090205460ff166116bf5760405162461bcd60e51b815260040161083e90612cf1565b604080516060810182526001600160a01b03948516815260ff93841660208083019182529315158284019081526000978852600e90945291909520945185549151925194166001600160a81b031990911617600160a01b91909216021760ff60a81b1916600160a81b91151591909102179055565b6000546001600160a01b0316331461175e5760405162461bcd60e51b815260040161083e90612c8f565b6001600160a01b0381166000908152600160208190526040909120805460ff1916909117905561178d81611f0c565b50565b60006001600160e01b031982166380ac58cd60e01b14806117c157506001600160e01b03198216635b5e139f60e01b145b8061077b57506301ffc9a760e01b6001600160e01b031983161461077b565b6005546000908210801561077b575060006001600160a01b03166005838154811061180d5761180d612d9d565b6000918252602090912001546001600160a01b0316141592915050565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061185f82611007565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118a3826117e0565b6119045760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161083e565b600061190f83611007565b9050806001600160a01b0316846001600160a01b0316148061194a5750836001600160a01b031661193f8461086a565b6001600160a01b0316145b8061197a57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661199582611007565b6001600160a01b0316146119fd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161083e565b6001600160a01b038216611a5f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161083e565b611a698383611fa4565b611a7460008261182a565b8160058281548110611a8857611a88612d9d565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6001600160a01b038216611b385760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161083e565b611b43600083611fa4565b6005805460018101825560009182527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80471015611c0f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161083e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c5c576040519150601f19603f3d011682016040523d82523d6000602084013e611c61565b606091505b5050905080610a025760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161083e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611d73611d378686612028565b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061206292505050565b9050611d8d81600a546001600160a01b0391821691161490565b6110db5760405162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c6564000000604482015260640161083e565b611de4848484611982565b611df0848484846120c5565b6115e95760405162461bcd60e51b815260040161083e90612fa3565b606081600003611e335750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e5d5780611e4781612d84565b9150611e569050600a8361300b565b9150611e37565b6000816001600160401b03811115611e7757611e77612aa0565b6040519080825280601f01601f191660200182016040528015611ea1576020820181803683370190505b5090505b841561197a57611eb6600183612cda565b9150611ec3600a8661301f565b611ece906030612d6c565b60f81b818381518110611ee357611ee3612d9d565b60200101906001600160f81b031916908160001a905350611f05600a8661300b565b9450611ea5565b6000546001600160a01b03163314611f365760405162461bcd60e51b815260040161083e90612c8f565b6001600160a01b038116611f9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161083e565b61178d81611cd8565b60006001600160a01b03831615611fe0576001600160a01b03831660009081526008602052604081208054909190611fdb90613033565b909155505b806001600160a01b0316826001600160a01b031614610a02576001600160a01b0382166000908152600860205260408120805490919061201f90612d84565b90915550505050565b600030338484600960405160200161204495949392919061304a565b60405160208183030381529060405280519060200120905092915050565b6000610f90826120bf856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b906121c6565b60006001600160a01b0384163b156121bb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121099033908990889088906004016130a2565b6020604051808303816000875af1925050508015612144575060408051601f3d908101601f19168201909252612141918101906130df565b60015b6121a1573d808015612172576040519150601f19603f3d011682016040523d82523d6000602084013e612177565b606091505b5080516000036121995760405162461bcd60e51b815260040161083e90612fa3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061197a565b506001949350505050565b60008060006121d585856121ea565b915091506121e281612258565b509392505050565b60008082516041036122205760208301516040840151606085015160001a6122148782858561240e565b94509450505050612251565b8251604003612249576020830151604084015161223e8683836124fb565b935093505050612251565b506000905060025b9250929050565b600081600481111561226c5761226c6130fc565b036122745750565b6001816004811115612288576122886130fc565b036122d55760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161083e565b60028160048111156122e9576122e96130fc565b036123365760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161083e565b600381600481111561234a5761234a6130fc565b036123a25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161083e565b60048160048111156123b6576123b66130fc565b0361178d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161083e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561244557506000905060036124f2565b8460ff16601b1415801561245d57508460ff16601c14155b1561246e57506000905060046124f2565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156124c2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166124eb576000600192509250506124f2565b9150600090505b94509492505050565b6000806001600160ff1b0383168161251860ff86901c601b612d6c565b90506125268782888561240e565b935093505050935093915050565b82805461254090612c55565b90600052602060002090601f01602090048101928261256257600085556125a8565b82601f1061257b5782800160ff198235161785556125a8565b828001600101855582156125a8579182015b828111156125a857823582559160200191906001019061258d565b506110039291505b8082111561100357600081556001016125b0565b6001600160e01b03198116811461178d57600080fd5b6000602082840312156125ec57600080fd5b8135610f90816125c4565b60005b838110156126125781810151838201526020016125fa565b838111156115e95750506000910152565b6000815180845261263b8160208601602086016125f7565b601f01601f19169290920160200192915050565b602081526000610f906020830184612623565b80356001600160a01b038116811461086557600080fd5b60006020828403121561268b57600080fd5b610f9082612662565b6000602082840312156126a657600080fd5b5035919050565b600080604083850312156126c057600080fd5b6126c983612662565b946020939093013593505050565b6000806000606084860312156126ec57600080fd5b6126f584612662565b925061270360208501612662565b9150604084013590509250925092565b60008083601f84011261272557600080fd5b5081356001600160401b0381111561273c57600080fd5b6020830191508360208260051b850101111561225157600080fd5b6000806000806040858703121561276d57600080fd5b84356001600160401b038082111561278457600080fd5b61279088838901612713565b909650945060208701359150808211156127a957600080fd5b506127b687828801612713565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b818110156127fa578351835292840192918401916001016127de565b50909695505050505050565b8035801515811461086557600080fd5b6000806040838503121561282957600080fd5b61283283612662565b915061284060208401612806565b90509250929050565b60008060006040848603121561285e57600080fd5b61286784612662565b925060208401356001600160401b0381111561288257600080fd5b61288e86828701612713565b9497909650939450505050565b60008083601f8401126128ad57600080fd5b5081356001600160401b038111156128c457600080fd5b60208301915083602082850101111561225157600080fd5b600080600080604085870312156128f257600080fd5b84356001600160401b038082111561290957600080fd5b6129158883890161289b565b9096509450602087013591508082111561292e57600080fd5b506127b68782880161289b565b6000806020838503121561294e57600080fd5b82356001600160401b0381111561296457600080fd5b6129708582860161289b565b90969095509350505050565b60008060008060006060868803121561299457600080fd5b8535945060208601356001600160401b03808211156129b257600080fd5b6129be89838a0161289b565b909650945060408801359150808211156129d757600080fd5b506129e48882890161289b565b969995985093965092949392505050565b600060208284031215612a0757600080fd5b610f9082612806565b60008060008060008060808789031215612a2957600080fd5b612a3287612662565b9550612a4060208801612662565b945060408701356001600160401b0380821115612a5c57600080fd5b612a688a838b01612713565b90965094506060890135915080821115612a8157600080fd5b50612a8e89828a0161289b565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612ad857612ad8612aa0565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612b0657612b06612aa0565b604052919050565b60008060008060808587031215612b2457600080fd5b612b2d85612662565b93506020612b3c818701612662565b93506040860135925060608601356001600160401b0380821115612b5f57600080fd5b818801915088601f830112612b7357600080fd5b813581811115612b8557612b85612aa0565b612b97601f8201601f19168501612ade565b91508082528984828501011115612bad57600080fd5b808484018584013760008482840101525080935050505092959194509250565b803560ff8116811461086557600080fd5b60008060008060808587031215612bf457600080fd5b84359350612c0460208601612662565b9250612c1260408601612bcd565b9150612c2060608601612806565b905092959194509250565b60008060408385031215612c3e57600080fd5b612c4783612662565b915061284060208401612662565b600181811c90821680612c6957607f821691505b602082108103612c8957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015612cec57612cec612cc4565b500390565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612d7f57612d7f612cc4565b500190565b600060018201612d9657612d96612cc4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6020808252602a908201527f414d373231456e756d657261626c653a206f776e657220696e646578206f7574604082015269206f6620626f756e647360b01b606082015260800190565b60006020808385031215612e1057600080fd5b82356001600160401b0380821115612e2757600080fd5b818501915085601f830112612e3b57600080fd5b813581811115612e4d57612e4d612aa0565b612e5b848260051b01612ade565b818152848101925060069190911b830184019087821115612e7b57600080fd5b928401925b81841015612ed75760408489031215612e995760008081fd5b612ea1612ab6565b843561ffff81168114612eb45760008081fd5b8152612ec1858701612bcd565b8187015283526040939093019291840191612e80565b979650505050505050565b8054600090600181811c9080831680612efc57607f831692505b60208084108203612f1d57634e487b7160e01b600052602260045260246000fd5b818015612f315760018114612f4257612f6f565b60ff19861689528489019650612f6f565b60008881526020902060005b86811015612f675781548b820152908501908301612f4e565b505084890196505b50505050505092915050565b6000612f878286612ee2565b8451612f978183602089016125f7565b612ed781830186612ee2565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261301a5761301a612ff5565b500490565b60008261302e5761302e612ff5565b500690565b60008161304257613042612cc4565b506000190190565b60006bffffffffffffffffffffffff19808860601b168352808760601b1660148401525084602883015283516130878160488501602088016125f7565b61309660488285010185612ee2565b98975050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906130d590830184612623565b9695505050505050565b6000602082840312156130f157600080fd5b8151610f90816125c4565b634e487b7160e01b600052602160045260246000fdfea26469706673582212208d7ca4839d8db6f38fd657fcfe671a4c63baad89dc6999a5e7768f973ae1f5bc64736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106102115760003560e01c80636790a9de11610117578063a22cb465116100a5578063b88d4fde1161006c578063b88d4fde1461068d578063c87b56dd146106ad578063e0fffae6146106cd578063e985e9c5146106ed578063f2fde38b1461073657005b8063a22cb465146105a5578063aaa6c4b0146105c5578063abd90f85146105d8578063acec338a1461064d578063b534a5c41461066d57005b80637ed6c926116100e95780637ed6c9261461051c5780638d859f3e1461053c5780638da5cb5b1461055257806391b7f5ed1461057057806395d89b411461059057005b80636790a9de146104915780636c19e783146104b157806370a08231146104d1578063715018a61461050757005b806324f40a251161019f578063438b630011610166578063438b6300146103e45780634a994eef146104115780634d44660c146104315780634f6ccce7146104515780636352211e1461047157005b806324f40a25146103665780632f745c591461037957806332cb6b0c146103995780633ccfd60b146103af57806342842e0e146103c457005b8063095ea7b3116101e3578063095ea7b3146102c957806318160ddd146102e95780631fe9eabc1461030c57806322f3e2d41461032c57806323b872dd1461034657005b806301ffc9a71461021a57806306fdde031461024f5780630777962714610271578063081812fc1461029157005b3661021857005b005b34801561022657600080fd5b5061023a6102353660046125da565b610756565b60405190151581526020015b60405180910390f35b34801561025b57600080fd5b50610264610781565b604051610246919061264f565b34801561027d57600080fd5b5061023a61028c366004612679565b610813565b34801561029d57600080fd5b506102b16102ac366004612694565b61086a565b6040516001600160a01b039091168152602001610246565b3480156102d557600080fd5b506102186102e43660046126ad565b6108f2565b3480156102f557600080fd5b506102fe610a07565b604051908152602001610246565b34801561031857600080fd5b50610218610327366004612694565b610a1e565b34801561033857600080fd5b50600d5461023a9060ff1681565b34801561035257600080fd5b506102186103613660046126d7565b610acf565b610218610374366004612757565b610b00565b34801561038557600080fd5b506102fe6103943660046126ad565b610cce565b3480156103a557600080fd5b506102fe600b5481565b3480156103bb57600080fd5b50610218610d8a565b3480156103d057600080fd5b506102186103df3660046126d7565b610da7565b3480156103f057600080fd5b506104046103ff366004612679565b610dc2565b60405161024691906127c2565b34801561041d57600080fd5b5061021861042c366004612816565b610ec0565b34801561043d57600080fd5b5061023a61044c366004612849565b610f15565b34801561045d57600080fd5b506102fe61046c366004612694565b610f97565b34801561047d57600080fd5b506102b161048c366004612694565b611007565b34801561049d57600080fd5b506102186104ac3660046128dc565b611093565b3480156104bd57600080fd5b506102186104cc366004612679565b6110e2565b3480156104dd57600080fd5b506102fe6104ec366004612679565b6001600160a01b031660009081526008602052604090205490565b34801561051357600080fd5b5061021861112e565b34801561052857600080fd5b5061021861053736600461293b565b611162565b34801561054857600080fd5b506102fe600c5481565b34801561055e57600080fd5b506000546001600160a01b03166102b1565b34801561057c57600080fd5b5061021861058b366004612694565b611198565b34801561059c57600080fd5b506102646111cc565b3480156105b157600080fd5b506102186105c0366004612816565b6111db565b6102186105d336600461297c565b61129f565b3480156105e457600080fd5b506106246105f3366004612694565b600e602052600090815260409020546001600160a01b0381169060ff600160a01b8204811691600160a81b90041683565b604080516001600160a01b03909416845260ff9092166020840152151590820152606001610246565b34801561065957600080fd5b506102186106683660046129f5565b6114f7565b34801561067957600080fd5b50610218610688366004612a10565b611539565b34801561069957600080fd5b506102186106a8366004612b0e565b6115b7565b3480156106b957600080fd5b506102646106c8366004612694565b6115ef565b3480156106d957600080fd5b506102186106e8366004612bde565b611690565b3480156106f957600080fd5b5061023a610708366004612c2b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561074257600080fd5b50610218610751366004612679565b611734565b60006001600160e01b0319821663780e9d6360e01b148061077b575061077b82611790565b92915050565b60606002805461079090612c55565b80601f01602080910402602001604051908101604052809291908181526020018280546107bc90612c55565b80156108095780601f106107de57610100808354040283529160200191610809565b820191906000526020600020905b8154815290600101906020018083116107ec57829003601f168201915b5050505050905090565b600080546001600160a01b031633146108475760405162461bcd60e51b815260040161083e90612c8f565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610875826117e0565b6108d65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161083e565b506000908152600660205260409020546001600160a01b031690565b60006108fd82611007565b9050806001600160a01b0316836001600160a01b03160361096a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161083e565b336001600160a01b038216148061098657506109868133610708565b6109f85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161083e565b610a02838361182a565b505050565b600454600554600091610a1991612cda565b905090565b3360009081526001602052604090205460ff16610a4d5760405162461bcd60e51b815260040161083e90612cf1565b610a55610a07565b811015610aca5760405162461bcd60e51b815260206004820152603b60248201527f4176617461724d616b65723a2053706563696669656420737570706c7920697360448201527f206c6f776572207468616e2063757272656e742062616c616e63650000000000606482015260840161083e565b600b55565b610ad93382611898565b610af55760405162461bcd60e51b815260040161083e90612d1b565b610a02838383611982565b3360009081526001602052604090205460ff16610b2f5760405162461bcd60e51b815260040161083e90612cf1565b828114610ba45760405162461bcd60e51b815260206004820152603960248201527f4176617461724d616b65723a204d7573742070726f7669646520657175616c2060448201527f7175616e74697469657320616e6420726563697069656e747300000000000000606482015260840161083e565b6000610bae610a07565b600b54909150610bbe8583612d6c565b10610c1a5760405162461bcd60e51b815260206004820152602660248201527f4176617461724d616b65723a204d696e742f6f72646572206578636565647320604482015265737570706c7960d01b606482015260840161083e565b60005b84811015610cc657600082610c3181612d84565b93509050610c65878784818110610c4a57610c4a612d9d565b9050602002016020810190610c5f9190612679565b82611ae2565b80858584818110610c7857610c78612d9d565b90506020020135336001600160a01b03167f103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec60405160405180910390a450610cbf81612d84565b9050610c1d565b505050505050565b6001600160a01b0382166000908152600860205260408120548210610d055760405162461bcd60e51b815260040161083e90612db3565b6000805b600554811015610d715760058181548110610d2657610d26612d9d565b6000918252602090912001546001600160a01b0390811690861603610d6157838203610d5557915061077b9050565b610d5e82612d84565b91505b610d6a81612d84565b9050610d09565b5060405162461bcd60e51b815260040161083e90612db3565b610da5610d9f6000546001600160a01b031690565b47611bbf565b565b610a02838383604051806020016040528060008152506115b7565b6060600080610de6846001600160a01b031660009081526008602052604090205490565b90506000816001600160401b03811115610e0257610e02612aa0565b604051908082528060200260200182016040528015610e2b578160200160208202803683370190505b50905060005b600554811015610eb75760058181548110610e4e57610e4e612d9d565b6000918252602090912001546001600160a01b0390811690871603610ea757808285610e7981612d84565b965081518110610e8b57610e8b612d9d565b602002602001018181525050828403610ea75750949350505050565b610eb081612d84565b9050610e31565b50949350505050565b6000546001600160a01b03163314610eea5760405162461bcd60e51b815260040161083e90612c8f565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b82811015610f8a57846001600160a01b03166005858584818110610f3f57610f3f612d9d565b9050602002013581548110610f5657610f56612d9d565b6000918252602090912001546001600160a01b031614610f7a576000915050610f90565b610f8381612d84565b9050610f19565b50600190505b9392505050565b6000610fa1610a07565b82106110035760405162461bcd60e51b815260206004820152602b60248201527f414d373231456e756d657261626c653a20676c6f62616c20696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161083e565b5090565b6000806005838154811061101d5761101d612d9d565b6000918252602090912001546001600160a01b031690508061077b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161083e565b3360009081526001602052604090205460ff166110c25760405162461bcd60e51b815260040161083e90612cf1565b6110ce600f8585612534565b506110db60108383612534565b5050505050565b6000546001600160a01b0316331461110c5760405162461bcd60e51b815260040161083e90612c8f565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111585760405162461bcd60e51b815260040161083e90612c8f565b610da56000611cd8565b6000546001600160a01b0316331461118c5760405162461bcd60e51b815260040161083e90612c8f565b610a0260098383612534565b3360009081526001602052604090205460ff166111c75760405162461bcd60e51b815260040161083e90612cf1565b600c55565b60606003805461079090612c55565b336001600160a01b038316036112335760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161083e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d5460ff166112f15760405162461bcd60e51b815260206004820152601f60248201527f4176617461724d616b65723a204d696e74206973206e6f742061637469766500604482015260640161083e565b6113358585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250879250869150611d289050565b600061134384860186612dfd565b905060005b81518110156114a857600082828151811061136557611365612d9d565b602090810291909101810151805161ffff166000908152600e8352604090819020815160608101835290546001600160a01b03811680835260ff600160a01b8304811696840196909652600160a81b909104909416151591810191909152909250906114135760405162461bcd60e51b815260206004820152601f60248201527f4176617461724d616b65723a20506f7765725061737320697320756e73657400604482015260640161083e565b80604001511561149557805160208083015190840151604051635cc938ef60e01b815260ff9283166004820152911660248201523360448201526001600160a01b0390911690635cc938ef90606401600060405180830381600087803b15801561147c57600080fd5b505af1158015611490573d6000803e3d6000fd5b505050505b5050806114a190612d84565b9050611348565b5060006114b3610a07565b90506114bf3382611ae2565b6040518190889033907f103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec90600090a450505050505050565b3360009081526001602052604090205460ff166115265760405162461bcd60e51b815260040161083e90612cf1565b600d805460ff1916911515919091179055565b60005b838110156115ae5761159e878787878581811061155b5761155b612d9d565b9050602002013586868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115b792505050565b6115a781612d84565b905061153c565b50505050505050565b6115c13383611898565b6115dd5760405162461bcd60e51b815260040161083e90612d1b565b6115e984848484611dd9565b50505050565b60606115fa826117e0565b61165b5760405162461bcd60e51b815260206004820152602c60248201527f4176617461724d616b65723a2055524920717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161083e565b600f61166683611e0c565b601060405160200161167a93929190612f7b565b6040516020818303038152906040529050919050565b3360009081526001602052604090205460ff166116bf5760405162461bcd60e51b815260040161083e90612cf1565b604080516060810182526001600160a01b03948516815260ff93841660208083019182529315158284019081526000978852600e90945291909520945185549151925194166001600160a81b031990911617600160a01b91909216021760ff60a81b1916600160a81b91151591909102179055565b6000546001600160a01b0316331461175e5760405162461bcd60e51b815260040161083e90612c8f565b6001600160a01b0381166000908152600160208190526040909120805460ff1916909117905561178d81611f0c565b50565b60006001600160e01b031982166380ac58cd60e01b14806117c157506001600160e01b03198216635b5e139f60e01b145b8061077b57506301ffc9a760e01b6001600160e01b031983161461077b565b6005546000908210801561077b575060006001600160a01b03166005838154811061180d5761180d612d9d565b6000918252602090912001546001600160a01b0316141592915050565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061185f82611007565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118a3826117e0565b6119045760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161083e565b600061190f83611007565b9050806001600160a01b0316846001600160a01b0316148061194a5750836001600160a01b031661193f8461086a565b6001600160a01b0316145b8061197a57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661199582611007565b6001600160a01b0316146119fd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161083e565b6001600160a01b038216611a5f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161083e565b611a698383611fa4565b611a7460008261182a565b8160058281548110611a8857611a88612d9d565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6001600160a01b038216611b385760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161083e565b611b43600083611fa4565b6005805460018101825560009182527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80471015611c0f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161083e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c5c576040519150601f19603f3d011682016040523d82523d6000602084013e611c61565b606091505b5050905080610a025760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161083e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611d73611d378686612028565b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061206292505050565b9050611d8d81600a546001600160a01b0391821691161490565b6110db5760405162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e206661696c6564000000604482015260640161083e565b611de4848484611982565b611df0848484846120c5565b6115e95760405162461bcd60e51b815260040161083e90612fa3565b606081600003611e335750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e5d5780611e4781612d84565b9150611e569050600a8361300b565b9150611e37565b6000816001600160401b03811115611e7757611e77612aa0565b6040519080825280601f01601f191660200182016040528015611ea1576020820181803683370190505b5090505b841561197a57611eb6600183612cda565b9150611ec3600a8661301f565b611ece906030612d6c565b60f81b818381518110611ee357611ee3612d9d565b60200101906001600160f81b031916908160001a905350611f05600a8661300b565b9450611ea5565b6000546001600160a01b03163314611f365760405162461bcd60e51b815260040161083e90612c8f565b6001600160a01b038116611f9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161083e565b61178d81611cd8565b60006001600160a01b03831615611fe0576001600160a01b03831660009081526008602052604081208054909190611fdb90613033565b909155505b806001600160a01b0316826001600160a01b031614610a02576001600160a01b0382166000908152600860205260408120805490919061201f90612d84565b90915550505050565b600030338484600960405160200161204495949392919061304a565b60405160208183030381529060405280519060200120905092915050565b6000610f90826120bf856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b906121c6565b60006001600160a01b0384163b156121bb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121099033908990889088906004016130a2565b6020604051808303816000875af1925050508015612144575060408051601f3d908101601f19168201909252612141918101906130df565b60015b6121a1573d808015612172576040519150601f19603f3d011682016040523d82523d6000602084013e612177565b606091505b5080516000036121995760405162461bcd60e51b815260040161083e90612fa3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061197a565b506001949350505050565b60008060006121d585856121ea565b915091506121e281612258565b509392505050565b60008082516041036122205760208301516040840151606085015160001a6122148782858561240e565b94509450505050612251565b8251604003612249576020830151604084015161223e8683836124fb565b935093505050612251565b506000905060025b9250929050565b600081600481111561226c5761226c6130fc565b036122745750565b6001816004811115612288576122886130fc565b036122d55760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161083e565b60028160048111156122e9576122e96130fc565b036123365760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161083e565b600381600481111561234a5761234a6130fc565b036123a25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161083e565b60048160048111156123b6576123b66130fc565b0361178d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161083e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561244557506000905060036124f2565b8460ff16601b1415801561245d57508460ff16601c14155b1561246e57506000905060046124f2565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156124c2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166124eb576000600192509250506124f2565b9150600090505b94509492505050565b6000806001600160ff1b0383168161251860ff86901c601b612d6c565b90506125268782888561240e565b935093505050935093915050565b82805461254090612c55565b90600052602060002090601f01602090048101928261256257600085556125a8565b82601f1061257b5782800160ff198235161785556125a8565b828001600101855582156125a8579182015b828111156125a857823582559160200191906001019061258d565b506110039291505b8082111561100357600081556001016125b0565b6001600160e01b03198116811461178d57600080fd5b6000602082840312156125ec57600080fd5b8135610f90816125c4565b60005b838110156126125781810151838201526020016125fa565b838111156115e95750506000910152565b6000815180845261263b8160208601602086016125f7565b601f01601f19169290920160200192915050565b602081526000610f906020830184612623565b80356001600160a01b038116811461086557600080fd5b60006020828403121561268b57600080fd5b610f9082612662565b6000602082840312156126a657600080fd5b5035919050565b600080604083850312156126c057600080fd5b6126c983612662565b946020939093013593505050565b6000806000606084860312156126ec57600080fd5b6126f584612662565b925061270360208501612662565b9150604084013590509250925092565b60008083601f84011261272557600080fd5b5081356001600160401b0381111561273c57600080fd5b6020830191508360208260051b850101111561225157600080fd5b6000806000806040858703121561276d57600080fd5b84356001600160401b038082111561278457600080fd5b61279088838901612713565b909650945060208701359150808211156127a957600080fd5b506127b687828801612713565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b818110156127fa578351835292840192918401916001016127de565b50909695505050505050565b8035801515811461086557600080fd5b6000806040838503121561282957600080fd5b61283283612662565b915061284060208401612806565b90509250929050565b60008060006040848603121561285e57600080fd5b61286784612662565b925060208401356001600160401b0381111561288257600080fd5b61288e86828701612713565b9497909650939450505050565b60008083601f8401126128ad57600080fd5b5081356001600160401b038111156128c457600080fd5b60208301915083602082850101111561225157600080fd5b600080600080604085870312156128f257600080fd5b84356001600160401b038082111561290957600080fd5b6129158883890161289b565b9096509450602087013591508082111561292e57600080fd5b506127b68782880161289b565b6000806020838503121561294e57600080fd5b82356001600160401b0381111561296457600080fd5b6129708582860161289b565b90969095509350505050565b60008060008060006060868803121561299457600080fd5b8535945060208601356001600160401b03808211156129b257600080fd5b6129be89838a0161289b565b909650945060408801359150808211156129d757600080fd5b506129e48882890161289b565b969995985093965092949392505050565b600060208284031215612a0757600080fd5b610f9082612806565b60008060008060008060808789031215612a2957600080fd5b612a3287612662565b9550612a4060208801612662565b945060408701356001600160401b0380821115612a5c57600080fd5b612a688a838b01612713565b90965094506060890135915080821115612a8157600080fd5b50612a8e89828a0161289b565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612ad857612ad8612aa0565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612b0657612b06612aa0565b604052919050565b60008060008060808587031215612b2457600080fd5b612b2d85612662565b93506020612b3c818701612662565b93506040860135925060608601356001600160401b0380821115612b5f57600080fd5b818801915088601f830112612b7357600080fd5b813581811115612b8557612b85612aa0565b612b97601f8201601f19168501612ade565b91508082528984828501011115612bad57600080fd5b808484018584013760008482840101525080935050505092959194509250565b803560ff8116811461086557600080fd5b60008060008060808587031215612bf457600080fd5b84359350612c0460208601612662565b9250612c1260408601612bcd565b9150612c2060608601612806565b905092959194509250565b60008060408385031215612c3e57600080fd5b612c4783612662565b915061284060208401612662565b600181811c90821680612c6957607f821691505b602082108103612c8957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015612cec57612cec612cc4565b500390565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612d7f57612d7f612cc4565b500190565b600060018201612d9657612d96612cc4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6020808252602a908201527f414d373231456e756d657261626c653a206f776e657220696e646578206f7574604082015269206f6620626f756e647360b01b606082015260800190565b60006020808385031215612e1057600080fd5b82356001600160401b0380821115612e2757600080fd5b818501915085601f830112612e3b57600080fd5b813581811115612e4d57612e4d612aa0565b612e5b848260051b01612ade565b818152848101925060069190911b830184019087821115612e7b57600080fd5b928401925b81841015612ed75760408489031215612e995760008081fd5b612ea1612ab6565b843561ffff81168114612eb45760008081fd5b8152612ec1858701612bcd565b8187015283526040939093019291840191612e80565b979650505050505050565b8054600090600181811c9080831680612efc57607f831692505b60208084108203612f1d57634e487b7160e01b600052602260045260246000fd5b818015612f315760018114612f4257612f6f565b60ff19861689528489019650612f6f565b60008881526020902060005b86811015612f675781548b820152908501908301612f4e565b505084890196505b50505050505092915050565b6000612f878286612ee2565b8451612f978183602089016125f7565b612ed781830186612ee2565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261301a5761301a612ff5565b500490565b60008261302e5761302e612ff5565b500690565b60008161304257613042612cc4565b506000190190565b60006bffffffffffffffffffffffff19808860601b168352808760601b1660148401525084602883015283516130878160488501602088016125f7565b61309660488285010185612ee2565b98975050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906130d590830184612623565b9695505050505050565b6000602082840312156130f157600080fd5b8151610f90816125c4565b634e487b7160e01b600052602160045260246000fdfea26469706673582212208d7ca4839d8db6f38fd657fcfe671a4c63baad89dc6999a5e7768f973ae1f5bc64736f6c634300080d0033
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.