Polygon Sponsored slots available. Book your slot here!
Overview
TokenID
1008
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
ConstellationGirls3DCollection
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 0 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // ___ __ __ _ ____ ____ ____ __ __ __ ____ __ __ __ _ ___ __ ____ __ ____ // / __)/ \ ( ( \/ ___)(_ _)( __)( ) ( ) / _\(_ _)( )/ \ ( ( \ / __)( )( _ \( ) / ___) // ( (__( O )/ /\___ \ )( ) _) / (_/\/ (_/\/ \ )( )(( O )/ / ( (_ \ )( ) // (_/\\___ \ // \___)\__/ \_)__)(____/ (__) (____)\____/\____/\_/\_/(__) (__)\__/ \_)__) \___/(__)(__\_)\____/(____/ // ___ ____ ___ _____ __ __ ____ ___ ____ ____ _____ _ _ // (__ )( _ \ / __)( _ )( ) ( ) ( ___)/ __)(_ _)(_ _)( _ )( \( ) // (_ \ )(_) ) ( (__ )(_)( )(__ )(__ )__)( (__ )( _)(_ )(_)( ) ( // (___/(____/ \___)(_____)(____)(____)(____)\___) (__) (____)(_____)(_)\_) import "./libraries/ERC1155TradablePolygon.sol"; contract ConstellationGirls3DCollection is ERC1155TradablePolygon { constructor( string memory _name, string memory _symbol, string memory _baseMetadataURI, address _proxyRegistryAddress ) ERC1155TradablePolygon(_name, _symbol, _baseMetadataURI, _proxyRegistryAddress) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./ContextMixin.sol"; import "./NativeMetaTransaction.sol"; contract ERC1155TradablePolygon is ERC1155Burnable, Ownable, ContextMixin, NativeMetaTransaction { using SafeMath for uint256; using Strings for uint256; address public proxyRegistryAddress; mapping(uint256 => address) public creators; mapping(uint256 => uint256) public tokenSupply; string public name; string public symbol; string public baseMetadataURI; modifier creatorOnly(uint256 _id) { require(creators[_id] == msg.sender, "ERC1155Tradable#creatorOnly: ONLY_CREATOR_ALLOWED"); _; } modifier ownersOnly(uint256 _id) { require(balanceOf(msg.sender, _id) > 0, "ERC1155Tradable#ownersOnly: ONLY_OWNERS_ALLOWED"); _; } constructor( string memory _name, string memory _symbol, string memory _baseMetadataURI, address _proxyRegistryAddress ) ERC1155(_baseMetadataURI) { name = _name; symbol = _symbol; baseMetadataURI = _baseMetadataURI; proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(name); } function uri(uint256 _id) public view override returns (string memory) { require(_exists(_id), "ERC721Tradable#uri: NONEXISTENT_TOKEN"); return string(abi.encodePacked(baseMetadataURI, _id.toString())); } function totalSupply(uint256 _id) public view returns (uint256) { return tokenSupply[_id]; } function setBaseMetadataURI(string memory _newBaseMetadataURI) public onlyOwner { baseMetadataURI = _newBaseMetadataURI; } function create( address _initialOwner, uint256 _id, uint256 _initialSupply, string calldata _uri, bytes calldata _data ) external onlyOwner returns (uint256) { creators[_id] = msg.sender; if (bytes(_uri).length > 0) { emit URI(_uri, _id); } _mint(_initialOwner, _id, _initialSupply, _data); tokenSupply[_id] = _initialSupply; return _id; } function mint( address _to, uint256 _id, uint256 _quantity, bytes memory _data ) public creatorOnly(_id) { _mint(_to, _id, _quantity, _data); tokenSupply[_id] = tokenSupply[_id].add(_quantity); } function setCreator(address _to, uint256[] memory _ids) public { require(_to != address(0), "ERC1155Tradable#setCreator: INVALID_ADDRESS."); for (uint256 i = 0; i < _ids.length; i++) { uint256 id = _ids[i]; _setCreator(_to, id); } } function isApprovedForAll(address _owner, address _operator) public view override returns (bool isOperator) { // Whitelist OpenSea proxy contract for easy trading. if (_operator == proxyRegistryAddress) { return true; } return ERC1155.isApprovedForAll(_owner, _operator); } function _setCreator(address _to, uint256 _id) internal creatorOnly(_id) { creators[_id] = _to; } function _exists(uint256 _id) internal view returns (bool) { return creators[_id] != address(0); } function _msgSender() internal view override returns (address sender) { return ContextMixin.msgSender(); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.9; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and(mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff) } } else { sender = payable(msg.sender); } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./EIP712Base.sol"; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(bytes("MetaTransaction(uint256 nonce,address from,bytes functionSignature)")); event MetaTransactionExecuted(address userAddress, address payable relayerAddress, bytes functionSignature); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature}); require(verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match"); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted(userAddress, payable(msg.sender), functionSignature); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call(abi.encodePacked(functionSignature, userAddress)); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256(abi.encode(META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature))); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover(toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } emit TransferSingle(operator, account, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.9; import "./Initializable.sol"; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string public constant ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(bytes("EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)")); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contractsa that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712(string memory name) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256(abi.encode(EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()))); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } }
{ "optimizer": { "enabled": true, "runs": 0 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseMetadataURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseMetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_initialOwner","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"create","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creators","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseMetadataURI","type":"string"}],"name":"setBaseMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"setCreator","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":"","type":"uint256"}],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526003805460ff60a01b191690553480156200001e57600080fd5b5060405162003350380380620033508339810160408190526200004191620004dd565b8383838381620000518162000171565b5062000066620000606200018a565b620001a6565b83516200007b9060099060208701906200036a565b5082516200009190600a9060208601906200036a565b508151620000a790600b9060208501906200036a565b50600680546001600160a01b0319166001600160a01b03831617905560098054620001639190620000d89062000590565b80601f0160208091040260200160405190810160405280929190818152602001828054620001069062000590565b8015620001575780601f106200012b5761010080835404028352916020019162000157565b820191906000526020600020905b8154815290600101906020018083116200013957829003601f168201915b5050620001f892505050565b5050505050505050620005cd565b8051620001869060029060208401906200036a565b5050565b6000620001a16200026960201b6200112b1760201c565b905090565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600354600160a01b900460ff1615620002485760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b6200025381620002c8565b506003805460ff60a01b1916600160a01b179055565b600033301415620002c257600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620002c59050565b50335b90565b6040518060800160405280604f815260200162003301604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600455565b828054620003789062000590565b90600052602060002090601f0160209004810192826200039c5760008555620003e7565b82601f10620003b757805160ff1916838001178555620003e7565b82800160010185558215620003e7579182015b82811115620003e7578251825591602001919060010190620003ca565b50620003f5929150620003f9565b5090565b5b80821115620003f55760008155600101620003fa565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200043857600080fd5b81516001600160401b038082111562000455576200045562000410565b604051601f8301601f19908116603f0116810190828211818310171562000480576200048062000410565b816040528381526020925086838588010111156200049d57600080fd5b600091505b83821015620004c15785820183015181830184015290820190620004a2565b83821115620004d35760008385830101525b9695505050505050565b60008060008060808587031215620004f457600080fd5b84516001600160401b03808211156200050c57600080fd5b6200051a8883890162000426565b955060208701519150808211156200053157600080fd5b6200053f8883890162000426565b945060408701519150808211156200055657600080fd5b50620005658782880162000426565b606087015190935090506001600160a01b03811681146200058557600080fd5b939692955090935050565b600181811c90821680620005a557607f821691505b60208210811415620005c757634e487b7160e01b600052602260045260246000fd5b50919050565b612d2480620005dd6000396000f3fe6080604052600436106101515760003560e01c8062fdd58e1461015657806301ffc9a71461018957806306fdde03146101b95780630c53c51c146101db5780630e89341c146101ee5780630f7e59701461020e57806320379ee51461023b5780632693ebf2146102505780632d0335ab1461027d5780632eb2c2d6146102b35780633408e470146102d557806336a100d5146102e85780634e1273f4146103085780635b2bd79e146103355780636b20c4541461034a578063715018a61461036a578063731133e91461037f5780637e518ec81461039f5780638da5cb5b146103bf57806395d89b41146103ec578063a22cb46514610401578063bd85b03914610421578063cd53d08e1461044e578063cd7c032614610484578063d2a6b51a146104a4578063e985e9c5146104c4578063f242432a146104e4578063f2fde38b14610504578063f5298aca14610524575b600080fd5b34801561016257600080fd5b50610176610171366004611e50565b610544565b6040519081526020015b60405180910390f35b34801561019557600080fd5b506101a96101a4366004611e90565b6105de565b6040519015158152602001610180565b3480156101c557600080fd5b506101ce61062e565b6040516101809190611f09565b6101ce6101e9366004611fdb565b6106bc565b3480156101fa57600080fd5b506101ce610209366004612056565b6108a5565b34801561021a57600080fd5b506101ce604051806040016040528060018152602001603160f81b81525081565b34801561024757600080fd5b50600454610176565b34801561025c57600080fd5b5061017661026b366004612056565b60086020526000908152604090205481565b34801561028957600080fd5b5061017661029836600461206f565b6001600160a01b031660009081526005602052604090205490565b3480156102bf57600080fd5b506102d36102ce36600461211e565b61094c565b005b3480156102e157600080fd5b5046610176565b3480156102f457600080fd5b5061017661030336600461220f565b6109f5565b34801561031457600080fd5b506103286103233660046122a2565b610af4565b60405161018091906123a7565b34801561034157600080fd5b506101ce610c1d565b34801561035657600080fd5b506102d36103653660046123ba565b610c2a565b34801561037657600080fd5b506102d3610c84565b34801561038b57600080fd5b506102d361039a36600461242d565b610ccf565b3480156103ab57600080fd5b506102d36103ba36600461248d565b610d45565b3480156103cb57600080fd5b506103d4610d9b565b6040516001600160a01b039091168152602001610180565b3480156103f857600080fd5b506101ce610daa565b34801561040d57600080fd5b506102d361041c3660046124d5565b610db7565b34801561042d57600080fd5b5061017661043c366004612056565b60009081526008602052604090205490565b34801561045a57600080fd5b506103d4610469366004612056565b6007602052600090815260409020546001600160a01b031681565b34801561049057600080fd5b506006546103d4906001600160a01b031681565b3480156104b057600080fd5b506102d36104bf366004612511565b610ecb565b3480156104d057600080fd5b506101a96104df366004612554565b610f7d565b3480156104f057600080fd5b506102d36104ff366004612587565b610fcf565b34801561051057600080fd5b506102d361051f36600461206f565b611026565b34801561053057600080fd5b506102d361053f3660046125eb565b6110d6565b60006001600160a01b0383166105b55760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061060f57506001600160e01b031982166303a24d0760e21b145b806105d857506301ffc9a760e01b6001600160e01b03198316146105d8565b6009805461063b9061261e565b80601f01602080910402602001604051908101604052809291908181526020018280546106679061261e565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b505050505081565b60408051606081810183526001600160a01b038816600081815260056020908152908590205484528301529181018690526106fa8782878787611188565b6107505760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b60648201526084016105ac565b6001600160a01b038716600090815260056020526040902054610774906001611278565b6001600160a01b0388166000908152600560205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906107c490899033908a90612659565b60405180910390a1600080306001600160a01b0316888a6040516020016107ec9291906126aa565b60408051601f1981840301815290829052610806916126dc565b6000604051808303816000865af19150503d8060008114610843576040519150601f19603f3d011682016040523d82523d6000602084013e610848565b606091505b5091509150816108995760405162461bcd60e51b815260206004820152601c60248201527b119d5b98dd1a5bdb8818d85b1b081b9bdd081cdd58d8d95cdcd99d5b60221b60448201526064016105ac565b98975050505050505050565b6000818152600760205260409020546060906001600160a01b031661091a5760405162461bcd60e51b815260206004820152602560248201527f4552433732315472616461626c65237572693a204e4f4e4558495354454e545f6044820152642a27a5a2a760d91b60648201526084016105ac565b600b61092583611284565b6040516020016109369291906126f8565b6040516020818303038152906040529050919050565b610954611389565b6001600160a01b0316856001600160a01b0316148061097a575061097a856104df611389565b6109e15760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016105ac565b6109ee8585858585611398565b5050505050565b60006109ff611389565b6001600160a01b0316610a10610d9b565b6001600160a01b031614610a365760405162461bcd60e51b81526004016105ac90612796565b600087815260076020526040902080546001600160a01b031916331790558315610a9557867f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8686604051610a8c9291906127cb565b60405180910390a25b610ad788888886868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061152d92505050565b505050600084815260086020526040902092909255509092915050565b60608151835114610b595760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016105ac565b600083516001600160401b03811115610b7457610b74611f1c565b604051908082528060200260200182016040528015610b9d578160200160208202803683370190505b50905060005b8451811015610c1557610be8858281518110610bc157610bc16127fa565b6020026020010151858381518110610bdb57610bdb6127fa565b6020026020010151610544565b828281518110610bfa57610bfa6127fa565b6020908102919091010152610c0e81612826565b9050610ba3565b509392505050565b600b805461063b9061261e565b610c32611389565b6001600160a01b0316836001600160a01b03161480610c585750610c58836104df611389565b610c745760405162461bcd60e51b81526004016105ac90612841565b610c7f838383611630565b505050565b610c8c611389565b6001600160a01b0316610c9d610d9b565b6001600160a01b031614610cc35760405162461bcd60e51b81526004016105ac90612796565b610ccd60006117a4565b565b60008381526007602052604090205483906001600160a01b03163314610d075760405162461bcd60e51b81526004016105ac9061288a565b610d138585858561152d565b600084815260086020526040902054610d2c9084611278565b6000948552600860205260409094209390935550505050565b610d4d611389565b6001600160a01b0316610d5e610d9b565b6001600160a01b031614610d845760405162461bcd60e51b81526004016105ac90612796565b8051610d9790600b906020840190611d9b565b5050565b6003546001600160a01b031690565b600a805461063b9061261e565b816001600160a01b0316610dc9611389565b6001600160a01b03161415610e325760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016105ac565b8060016000610e3f611389565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610e83611389565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ebf911515815260200190565b60405180910390a35050565b6001600160a01b038216610f365760405162461bcd60e51b815260206004820152602c60248201527f455243313135355472616461626c652373657443726561746f723a20494e564160448201526b2624a22fa0a2222922a9a99760a11b60648201526084016105ac565b60005b8151811015610c7f576000828281518110610f5657610f566127fa565b60200260200101519050610f6a84826117f6565b5080610f7581612826565b915050610f39565b6006546000906001600160a01b0383811691161415610f9e575060016105d8565b6001600160a01b0380841660009081526001602090815260408083209386168352929052205460ff165b9392505050565b610fd7611389565b6001600160a01b0316856001600160a01b03161480610ffd5750610ffd856104df611389565b6110195760405162461bcd60e51b81526004016105ac90612841565b6109ee858585858561185d565b61102e611389565b6001600160a01b031661103f610d9b565b6001600160a01b0316146110655760405162461bcd60e51b81526004016105ac90612796565b6001600160a01b0381166110ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ac565b6110d3816117a4565b50565b6110de611389565b6001600160a01b0316836001600160a01b031614806111045750611104836104df611389565b6111205760405162461bcd60e51b81526004016105ac90612841565b610c7f838383611973565b60003330141561118257600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506111859050565b50335b90565b60006001600160a01b0386166111ee5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b60648201526084016105ac565b60016112016111fc87611a6e565b611aeb565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa15801561124f573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000610fc882846128db565b6060816112a85750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112d257806112bc81612826565b91506112cb9050600a83612909565b91506112ac565b6000816001600160401b038111156112ec576112ec611f1c565b6040519080825280601f01601f191660200182016040528015611316576020820181803683370190505b5090505b84156113815761132b60018361291d565b9150611338600a86612934565b6113439060306128db565b60f81b818381518110611358576113586127fa565b60200101906001600160f81b031916908160001a90535061137a600a86612909565b945061131a565b949350505050565b600061139361112b565b905090565b81518351146113b95760405162461bcd60e51b81526004016105ac90612948565b6001600160a01b0384166113df5760405162461bcd60e51b81526004016105ac90612990565b60006113e9611389565b905060005b84518110156114d157600085828151811061140b5761140b6127fa565b602002602001015190506000858381518110611429576114296127fa565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156114795760405162461bcd60e51b81526004016105ac906129d5565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906114b69084906128db565b92505081905550505050806114ca90612826565b90506113ee565b50846001600160a01b0316866001600160a01b0316826001600160a01b0316600080516020612c6c833981519152878760405161150f929190612a1f565b60405180910390a4611525818787878787611b1b565b505050505050565b6001600160a01b03841661158d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105ac565b6000611597611389565b90506115b2816000876115a988611c86565b6109ee88611c86565b6000848152602081815260408083206001600160a01b0389168452909152812080548592906115e29084906128db565b909155505060408051858152602081018590526001600160a01b038088169260009291851691600080516020612c8c833981519152910160405180910390a46109ee81600087878787611cd1565b6001600160a01b0383166116565760405162461bcd60e51b81526004016105ac90612a44565b80518251146116775760405162461bcd60e51b81526004016105ac90612948565b6000611681611389565b604080516020810190915260009052905060005b83518110156117575760008482815181106116b2576116b26127fa565b6020026020010151905060008483815181106116d0576116d06127fa565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156117205760405162461bcd60e51b81526004016105ac90612a87565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061174f81612826565b915050611695565b5060006001600160a01b0316846001600160a01b0316826001600160a01b0316600080516020612c6c8339815191528686604051611796929190612a1f565b60405180910390a450505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008181526007602052604090205481906001600160a01b0316331461182e5760405162461bcd60e51b81526004016105ac9061288a565b50600090815260076020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0384166118835760405162461bcd60e51b81526004016105ac90612990565b600061188d611389565b905061189e8187876115a988611c86565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156118df5760405162461bcd60e51b81526004016105ac906129d5565b6000858152602081815260408083206001600160a01b038b811685529252808320878503905590881682528120805486929061191c9084906128db565b909155505060408051868152602081018690526001600160a01b03808916928a82169291861691600080516020612c8c833981519152910160405180910390a461196a828888888888611cd1565b50505050505050565b6001600160a01b0383166119995760405162461bcd60e51b81526004016105ac90612a44565b60006119a3611389565b90506119d4818560006119b587611c86565b6119be87611c86565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b038816845290915290205482811015611a155760405162461bcd60e51b81526004016105ac90612a87565b6000848152602081815260408083206001600160a01b0389811680865291845282852088870390558251898152938401889052909290861691600080516020612c8c833981519152910160405180910390a45050505050565b6000604051806080016040528060438152602001612cac6043913980516020918201208351848301516040808701518051908601209051611ace950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000611af660045490565b60405161190160f01b6020820152602281019190915260428101839052606201611ace565b6001600160a01b0384163b156115255760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611b5f9089908990889088908890600401612acb565b602060405180830381600087803b158015611b7957600080fd5b505af1925050508015611ba9575060408051601f3d908101601f19168201909252611ba691810190612b1d565b60015b611c5657611bb5612b3a565b806308c379a01415611bef5750611bca612b55565b80611bd55750611bf1565b8060405162461bcd60e51b81526004016105ac9190611f09565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016105ac565b6001600160e01b0319811663bc197c8160e01b1461196a5760405162461bcd60e51b81526004016105ac90612bde565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611cc057611cc06127fa565b602090810291909101015292915050565b6001600160a01b0384163b156115255760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611d159089908990889088908890600401612c26565b602060405180830381600087803b158015611d2f57600080fd5b505af1925050508015611d5f575060408051601f3d908101601f19168201909252611d5c91810190612b1d565b60015b611d6b57611bb5612b3a565b6001600160e01b0319811663f23a6e6160e01b1461196a5760405162461bcd60e51b81526004016105ac90612bde565b828054611da79061261e565b90600052602060002090601f016020900481019282611dc95760008555611e0f565b82601f10611de257805160ff1916838001178555611e0f565b82800160010185558215611e0f579182015b82811115611e0f578251825591602001919060010190611df4565b50611e1b929150611e1f565b5090565b5b80821115611e1b5760008155600101611e20565b80356001600160a01b0381168114611e4b57600080fd5b919050565b60008060408385031215611e6357600080fd5b611e6c83611e34565b946020939093013593505050565b6001600160e01b0319811681146110d357600080fd5b600060208284031215611ea257600080fd5b8135610fc881611e7a565b60005b83811015611ec8578181015183820152602001611eb0565b83811115611ed7576000848401525b50505050565b60008151808452611ef5816020860160208601611ead565b601f01601f19169290920160200192915050565b602081526000610fc86020830184611edd565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611f5757611f57611f1c565b6040525050565b60006001600160401b03831115611f7757611f77611f1c565b604051611f8e601f8501601f191660200182611f32565b809150838152848484011115611fa357600080fd5b83836020830137600060208583010152509392505050565b600082601f830112611fcc57600080fd5b610fc883833560208501611f5e565b600080600080600060a08688031215611ff357600080fd5b611ffc86611e34565b945060208601356001600160401b0381111561201757600080fd5b61202388828901611fbb565b9450506040860135925060608601359150608086013560ff8116811461204857600080fd5b809150509295509295909350565b60006020828403121561206857600080fd5b5035919050565b60006020828403121561208157600080fd5b610fc882611e34565b60006001600160401b038211156120a3576120a3611f1c565b5060051b60200190565b600082601f8301126120be57600080fd5b813560206120cb8261208a565b6040516120d88282611f32565b83815260059390931b85018201928281019150868411156120f857600080fd5b8286015b8481101561211357803583529183019183016120fc565b509695505050505050565b600080600080600060a0868803121561213657600080fd5b61213f86611e34565b945061214d60208701611e34565b935060408601356001600160401b038082111561216957600080fd5b61217589838a016120ad565b9450606088013591508082111561218b57600080fd5b61219789838a016120ad565b935060808801359150808211156121ad57600080fd5b506121ba88828901611fbb565b9150509295509295909350565b60008083601f8401126121d957600080fd5b5081356001600160401b038111156121f057600080fd5b60208301915083602082850101111561220857600080fd5b9250929050565b600080600080600080600060a0888a03121561222a57600080fd5b61223388611e34565b9650602088013595506040880135945060608801356001600160401b038082111561225d57600080fd5b6122698b838c016121c7565b909650945060808a013591508082111561228257600080fd5b5061228f8a828b016121c7565b989b979a50959850939692959293505050565b600080604083850312156122b557600080fd5b82356001600160401b03808211156122cc57600080fd5b818501915085601f8301126122e057600080fd5b813560206122ed8261208a565b6040516122fa8282611f32565b83815260059390931b850182019282810191508984111561231a57600080fd5b948201945b8386101561233f5761233086611e34565b8252948201949082019061231f565b9650508601359250508082111561235557600080fd5b50612362858286016120ad565b9150509250929050565b600081518084526020808501945080840160005b8381101561239c57815187529582019590820190600101612380565b509495945050505050565b602081526000610fc8602083018461236c565b6000806000606084860312156123cf57600080fd5b6123d884611e34565b925060208401356001600160401b03808211156123f457600080fd5b612400878388016120ad565b9350604086013591508082111561241657600080fd5b50612423868287016120ad565b9150509250925092565b6000806000806080858703121561244357600080fd5b61244c85611e34565b9350602085013592506040850135915060608501356001600160401b0381111561247557600080fd5b61248187828801611fbb565b91505092959194509250565b60006020828403121561249f57600080fd5b81356001600160401b038111156124b557600080fd5b8201601f810184136124c657600080fd5b61138184823560208401611f5e565b600080604083850312156124e857600080fd5b6124f183611e34565b91506020830135801515811461250657600080fd5b809150509250929050565b6000806040838503121561252457600080fd5b61252d83611e34565b915060208301356001600160401b0381111561254857600080fd5b612362858286016120ad565b6000806040838503121561256757600080fd5b61257083611e34565b915061257e60208401611e34565b90509250929050565b600080600080600060a0868803121561259f57600080fd5b6125a886611e34565b94506125b660208701611e34565b9350604086013592506060860135915060808601356001600160401b038111156125df57600080fd5b6121ba88828901611fbb565b60008060006060848603121561260057600080fd5b61260984611e34565b95602085013595506040909401359392505050565b600181811c9082168061263257607f821691505b6020821081141561265357634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0384811682528316602082015260606040820181905260009061268590830184611edd565b95945050505050565b600081516126a0818560208601611ead565b9290920192915050565b600083516126bc818460208801611ead565b60609390931b6001600160601b0319169190920190815260140192915050565b600082516126ee818460208701611ead565b9190910192915050565b600080845481600182811c91508083168061271457607f831692505b602080841082141561273457634e487b7160e01b86526022600452602486fd5b818015612748576001811461275957612786565b60ff19861689528489019650612786565b60008b81526020902060005b8681101561277e5781548b820152908501908301612765565b505084890196505b505050505050612685818561268e565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561283a5761283a612810565b5060010190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526031908201527f455243313135355472616461626c652363726561746f724f6e6c793a204f4e4c6040820152701657d0d491505513d497d0531313d5d151607a1b606082015260800190565b600082198211156128ee576128ee612810565b500190565b634e487b7160e01b600052601260045260246000fd5b600082612918576129186128f3565b500490565b60008282101561292f5761292f612810565b500390565b600082612943576129436128f3565b500690565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000612a32604083018561236c565b8281036020840152612685818561236c565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612af79083018661236c565b8281036060840152612b09818661236c565b905082810360808401526108998185611edd565b600060208284031215612b2f57600080fd5b8151610fc881611e7a565b600060033d11156111855760046000803e5060005160e01c90565b600060443d1015612b635790565b6040516003193d81016004833e81513d6001600160401b038083116024840183101715612b9257505050505090565b8285019150815181811115612baa5750505050505090565b843d8701016020828501011115612bc45750505050505090565b612bd360208286010187611f32565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612c6090830184611edd565b97965050505050505056fe4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fbc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f624d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212209b81944942061be0bcb1ddb6a7444d787b15db2b99def200ba944b72e6f64e3b64736f6c63430008090033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000207fa8df3a17d96ca7ea4f2893fcdcb78a3041010000000000000000000000000000000000000000000000000000000000000021436f6e7374656c6c6174696f6e204769726c7320334420436f6c6c656374696f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044347334300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f7374617469632e6d316e6d316e2e78797a2f636733632f6d657461646174612f000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101515760003560e01c8062fdd58e1461015657806301ffc9a71461018957806306fdde03146101b95780630c53c51c146101db5780630e89341c146101ee5780630f7e59701461020e57806320379ee51461023b5780632693ebf2146102505780632d0335ab1461027d5780632eb2c2d6146102b35780633408e470146102d557806336a100d5146102e85780634e1273f4146103085780635b2bd79e146103355780636b20c4541461034a578063715018a61461036a578063731133e91461037f5780637e518ec81461039f5780638da5cb5b146103bf57806395d89b41146103ec578063a22cb46514610401578063bd85b03914610421578063cd53d08e1461044e578063cd7c032614610484578063d2a6b51a146104a4578063e985e9c5146104c4578063f242432a146104e4578063f2fde38b14610504578063f5298aca14610524575b600080fd5b34801561016257600080fd5b50610176610171366004611e50565b610544565b6040519081526020015b60405180910390f35b34801561019557600080fd5b506101a96101a4366004611e90565b6105de565b6040519015158152602001610180565b3480156101c557600080fd5b506101ce61062e565b6040516101809190611f09565b6101ce6101e9366004611fdb565b6106bc565b3480156101fa57600080fd5b506101ce610209366004612056565b6108a5565b34801561021a57600080fd5b506101ce604051806040016040528060018152602001603160f81b81525081565b34801561024757600080fd5b50600454610176565b34801561025c57600080fd5b5061017661026b366004612056565b60086020526000908152604090205481565b34801561028957600080fd5b5061017661029836600461206f565b6001600160a01b031660009081526005602052604090205490565b3480156102bf57600080fd5b506102d36102ce36600461211e565b61094c565b005b3480156102e157600080fd5b5046610176565b3480156102f457600080fd5b5061017661030336600461220f565b6109f5565b34801561031457600080fd5b506103286103233660046122a2565b610af4565b60405161018091906123a7565b34801561034157600080fd5b506101ce610c1d565b34801561035657600080fd5b506102d36103653660046123ba565b610c2a565b34801561037657600080fd5b506102d3610c84565b34801561038b57600080fd5b506102d361039a36600461242d565b610ccf565b3480156103ab57600080fd5b506102d36103ba36600461248d565b610d45565b3480156103cb57600080fd5b506103d4610d9b565b6040516001600160a01b039091168152602001610180565b3480156103f857600080fd5b506101ce610daa565b34801561040d57600080fd5b506102d361041c3660046124d5565b610db7565b34801561042d57600080fd5b5061017661043c366004612056565b60009081526008602052604090205490565b34801561045a57600080fd5b506103d4610469366004612056565b6007602052600090815260409020546001600160a01b031681565b34801561049057600080fd5b506006546103d4906001600160a01b031681565b3480156104b057600080fd5b506102d36104bf366004612511565b610ecb565b3480156104d057600080fd5b506101a96104df366004612554565b610f7d565b3480156104f057600080fd5b506102d36104ff366004612587565b610fcf565b34801561051057600080fd5b506102d361051f36600461206f565b611026565b34801561053057600080fd5b506102d361053f3660046125eb565b6110d6565b60006001600160a01b0383166105b55760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061060f57506001600160e01b031982166303a24d0760e21b145b806105d857506301ffc9a760e01b6001600160e01b03198316146105d8565b6009805461063b9061261e565b80601f01602080910402602001604051908101604052809291908181526020018280546106679061261e565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b505050505081565b60408051606081810183526001600160a01b038816600081815260056020908152908590205484528301529181018690526106fa8782878787611188565b6107505760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b60648201526084016105ac565b6001600160a01b038716600090815260056020526040902054610774906001611278565b6001600160a01b0388166000908152600560205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906107c490899033908a90612659565b60405180910390a1600080306001600160a01b0316888a6040516020016107ec9291906126aa565b60408051601f1981840301815290829052610806916126dc565b6000604051808303816000865af19150503d8060008114610843576040519150601f19603f3d011682016040523d82523d6000602084013e610848565b606091505b5091509150816108995760405162461bcd60e51b815260206004820152601c60248201527b119d5b98dd1a5bdb8818d85b1b081b9bdd081cdd58d8d95cdcd99d5b60221b60448201526064016105ac565b98975050505050505050565b6000818152600760205260409020546060906001600160a01b031661091a5760405162461bcd60e51b815260206004820152602560248201527f4552433732315472616461626c65237572693a204e4f4e4558495354454e545f6044820152642a27a5a2a760d91b60648201526084016105ac565b600b61092583611284565b6040516020016109369291906126f8565b6040516020818303038152906040529050919050565b610954611389565b6001600160a01b0316856001600160a01b0316148061097a575061097a856104df611389565b6109e15760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016105ac565b6109ee8585858585611398565b5050505050565b60006109ff611389565b6001600160a01b0316610a10610d9b565b6001600160a01b031614610a365760405162461bcd60e51b81526004016105ac90612796565b600087815260076020526040902080546001600160a01b031916331790558315610a9557867f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8686604051610a8c9291906127cb565b60405180910390a25b610ad788888886868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061152d92505050565b505050600084815260086020526040902092909255509092915050565b60608151835114610b595760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016105ac565b600083516001600160401b03811115610b7457610b74611f1c565b604051908082528060200260200182016040528015610b9d578160200160208202803683370190505b50905060005b8451811015610c1557610be8858281518110610bc157610bc16127fa565b6020026020010151858381518110610bdb57610bdb6127fa565b6020026020010151610544565b828281518110610bfa57610bfa6127fa565b6020908102919091010152610c0e81612826565b9050610ba3565b509392505050565b600b805461063b9061261e565b610c32611389565b6001600160a01b0316836001600160a01b03161480610c585750610c58836104df611389565b610c745760405162461bcd60e51b81526004016105ac90612841565b610c7f838383611630565b505050565b610c8c611389565b6001600160a01b0316610c9d610d9b565b6001600160a01b031614610cc35760405162461bcd60e51b81526004016105ac90612796565b610ccd60006117a4565b565b60008381526007602052604090205483906001600160a01b03163314610d075760405162461bcd60e51b81526004016105ac9061288a565b610d138585858561152d565b600084815260086020526040902054610d2c9084611278565b6000948552600860205260409094209390935550505050565b610d4d611389565b6001600160a01b0316610d5e610d9b565b6001600160a01b031614610d845760405162461bcd60e51b81526004016105ac90612796565b8051610d9790600b906020840190611d9b565b5050565b6003546001600160a01b031690565b600a805461063b9061261e565b816001600160a01b0316610dc9611389565b6001600160a01b03161415610e325760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016105ac565b8060016000610e3f611389565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610e83611389565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ebf911515815260200190565b60405180910390a35050565b6001600160a01b038216610f365760405162461bcd60e51b815260206004820152602c60248201527f455243313135355472616461626c652373657443726561746f723a20494e564160448201526b2624a22fa0a2222922a9a99760a11b60648201526084016105ac565b60005b8151811015610c7f576000828281518110610f5657610f566127fa565b60200260200101519050610f6a84826117f6565b5080610f7581612826565b915050610f39565b6006546000906001600160a01b0383811691161415610f9e575060016105d8565b6001600160a01b0380841660009081526001602090815260408083209386168352929052205460ff165b9392505050565b610fd7611389565b6001600160a01b0316856001600160a01b03161480610ffd5750610ffd856104df611389565b6110195760405162461bcd60e51b81526004016105ac90612841565b6109ee858585858561185d565b61102e611389565b6001600160a01b031661103f610d9b565b6001600160a01b0316146110655760405162461bcd60e51b81526004016105ac90612796565b6001600160a01b0381166110ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ac565b6110d3816117a4565b50565b6110de611389565b6001600160a01b0316836001600160a01b031614806111045750611104836104df611389565b6111205760405162461bcd60e51b81526004016105ac90612841565b610c7f838383611973565b60003330141561118257600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506111859050565b50335b90565b60006001600160a01b0386166111ee5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b60648201526084016105ac565b60016112016111fc87611a6e565b611aeb565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa15801561124f573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000610fc882846128db565b6060816112a85750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112d257806112bc81612826565b91506112cb9050600a83612909565b91506112ac565b6000816001600160401b038111156112ec576112ec611f1c565b6040519080825280601f01601f191660200182016040528015611316576020820181803683370190505b5090505b84156113815761132b60018361291d565b9150611338600a86612934565b6113439060306128db565b60f81b818381518110611358576113586127fa565b60200101906001600160f81b031916908160001a90535061137a600a86612909565b945061131a565b949350505050565b600061139361112b565b905090565b81518351146113b95760405162461bcd60e51b81526004016105ac90612948565b6001600160a01b0384166113df5760405162461bcd60e51b81526004016105ac90612990565b60006113e9611389565b905060005b84518110156114d157600085828151811061140b5761140b6127fa565b602002602001015190506000858381518110611429576114296127fa565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156114795760405162461bcd60e51b81526004016105ac906129d5565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906114b69084906128db565b92505081905550505050806114ca90612826565b90506113ee565b50846001600160a01b0316866001600160a01b0316826001600160a01b0316600080516020612c6c833981519152878760405161150f929190612a1f565b60405180910390a4611525818787878787611b1b565b505050505050565b6001600160a01b03841661158d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105ac565b6000611597611389565b90506115b2816000876115a988611c86565b6109ee88611c86565b6000848152602081815260408083206001600160a01b0389168452909152812080548592906115e29084906128db565b909155505060408051858152602081018590526001600160a01b038088169260009291851691600080516020612c8c833981519152910160405180910390a46109ee81600087878787611cd1565b6001600160a01b0383166116565760405162461bcd60e51b81526004016105ac90612a44565b80518251146116775760405162461bcd60e51b81526004016105ac90612948565b6000611681611389565b604080516020810190915260009052905060005b83518110156117575760008482815181106116b2576116b26127fa565b6020026020010151905060008483815181106116d0576116d06127fa565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156117205760405162461bcd60e51b81526004016105ac90612a87565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061174f81612826565b915050611695565b5060006001600160a01b0316846001600160a01b0316826001600160a01b0316600080516020612c6c8339815191528686604051611796929190612a1f565b60405180910390a450505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008181526007602052604090205481906001600160a01b0316331461182e5760405162461bcd60e51b81526004016105ac9061288a565b50600090815260076020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0384166118835760405162461bcd60e51b81526004016105ac90612990565b600061188d611389565b905061189e8187876115a988611c86565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156118df5760405162461bcd60e51b81526004016105ac906129d5565b6000858152602081815260408083206001600160a01b038b811685529252808320878503905590881682528120805486929061191c9084906128db565b909155505060408051868152602081018690526001600160a01b03808916928a82169291861691600080516020612c8c833981519152910160405180910390a461196a828888888888611cd1565b50505050505050565b6001600160a01b0383166119995760405162461bcd60e51b81526004016105ac90612a44565b60006119a3611389565b90506119d4818560006119b587611c86565b6119be87611c86565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b038816845290915290205482811015611a155760405162461bcd60e51b81526004016105ac90612a87565b6000848152602081815260408083206001600160a01b0389811680865291845282852088870390558251898152938401889052909290861691600080516020612c8c833981519152910160405180910390a45050505050565b6000604051806080016040528060438152602001612cac6043913980516020918201208351848301516040808701518051908601209051611ace950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000611af660045490565b60405161190160f01b6020820152602281019190915260428101839052606201611ace565b6001600160a01b0384163b156115255760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611b5f9089908990889088908890600401612acb565b602060405180830381600087803b158015611b7957600080fd5b505af1925050508015611ba9575060408051601f3d908101601f19168201909252611ba691810190612b1d565b60015b611c5657611bb5612b3a565b806308c379a01415611bef5750611bca612b55565b80611bd55750611bf1565b8060405162461bcd60e51b81526004016105ac9190611f09565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016105ac565b6001600160e01b0319811663bc197c8160e01b1461196a5760405162461bcd60e51b81526004016105ac90612bde565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611cc057611cc06127fa565b602090810291909101015292915050565b6001600160a01b0384163b156115255760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611d159089908990889088908890600401612c26565b602060405180830381600087803b158015611d2f57600080fd5b505af1925050508015611d5f575060408051601f3d908101601f19168201909252611d5c91810190612b1d565b60015b611d6b57611bb5612b3a565b6001600160e01b0319811663f23a6e6160e01b1461196a5760405162461bcd60e51b81526004016105ac90612bde565b828054611da79061261e565b90600052602060002090601f016020900481019282611dc95760008555611e0f565b82601f10611de257805160ff1916838001178555611e0f565b82800160010185558215611e0f579182015b82811115611e0f578251825591602001919060010190611df4565b50611e1b929150611e1f565b5090565b5b80821115611e1b5760008155600101611e20565b80356001600160a01b0381168114611e4b57600080fd5b919050565b60008060408385031215611e6357600080fd5b611e6c83611e34565b946020939093013593505050565b6001600160e01b0319811681146110d357600080fd5b600060208284031215611ea257600080fd5b8135610fc881611e7a565b60005b83811015611ec8578181015183820152602001611eb0565b83811115611ed7576000848401525b50505050565b60008151808452611ef5816020860160208601611ead565b601f01601f19169290920160200192915050565b602081526000610fc86020830184611edd565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611f5757611f57611f1c565b6040525050565b60006001600160401b03831115611f7757611f77611f1c565b604051611f8e601f8501601f191660200182611f32565b809150838152848484011115611fa357600080fd5b83836020830137600060208583010152509392505050565b600082601f830112611fcc57600080fd5b610fc883833560208501611f5e565b600080600080600060a08688031215611ff357600080fd5b611ffc86611e34565b945060208601356001600160401b0381111561201757600080fd5b61202388828901611fbb565b9450506040860135925060608601359150608086013560ff8116811461204857600080fd5b809150509295509295909350565b60006020828403121561206857600080fd5b5035919050565b60006020828403121561208157600080fd5b610fc882611e34565b60006001600160401b038211156120a3576120a3611f1c565b5060051b60200190565b600082601f8301126120be57600080fd5b813560206120cb8261208a565b6040516120d88282611f32565b83815260059390931b85018201928281019150868411156120f857600080fd5b8286015b8481101561211357803583529183019183016120fc565b509695505050505050565b600080600080600060a0868803121561213657600080fd5b61213f86611e34565b945061214d60208701611e34565b935060408601356001600160401b038082111561216957600080fd5b61217589838a016120ad565b9450606088013591508082111561218b57600080fd5b61219789838a016120ad565b935060808801359150808211156121ad57600080fd5b506121ba88828901611fbb565b9150509295509295909350565b60008083601f8401126121d957600080fd5b5081356001600160401b038111156121f057600080fd5b60208301915083602082850101111561220857600080fd5b9250929050565b600080600080600080600060a0888a03121561222a57600080fd5b61223388611e34565b9650602088013595506040880135945060608801356001600160401b038082111561225d57600080fd5b6122698b838c016121c7565b909650945060808a013591508082111561228257600080fd5b5061228f8a828b016121c7565b989b979a50959850939692959293505050565b600080604083850312156122b557600080fd5b82356001600160401b03808211156122cc57600080fd5b818501915085601f8301126122e057600080fd5b813560206122ed8261208a565b6040516122fa8282611f32565b83815260059390931b850182019282810191508984111561231a57600080fd5b948201945b8386101561233f5761233086611e34565b8252948201949082019061231f565b9650508601359250508082111561235557600080fd5b50612362858286016120ad565b9150509250929050565b600081518084526020808501945080840160005b8381101561239c57815187529582019590820190600101612380565b509495945050505050565b602081526000610fc8602083018461236c565b6000806000606084860312156123cf57600080fd5b6123d884611e34565b925060208401356001600160401b03808211156123f457600080fd5b612400878388016120ad565b9350604086013591508082111561241657600080fd5b50612423868287016120ad565b9150509250925092565b6000806000806080858703121561244357600080fd5b61244c85611e34565b9350602085013592506040850135915060608501356001600160401b0381111561247557600080fd5b61248187828801611fbb565b91505092959194509250565b60006020828403121561249f57600080fd5b81356001600160401b038111156124b557600080fd5b8201601f810184136124c657600080fd5b61138184823560208401611f5e565b600080604083850312156124e857600080fd5b6124f183611e34565b91506020830135801515811461250657600080fd5b809150509250929050565b6000806040838503121561252457600080fd5b61252d83611e34565b915060208301356001600160401b0381111561254857600080fd5b612362858286016120ad565b6000806040838503121561256757600080fd5b61257083611e34565b915061257e60208401611e34565b90509250929050565b600080600080600060a0868803121561259f57600080fd5b6125a886611e34565b94506125b660208701611e34565b9350604086013592506060860135915060808601356001600160401b038111156125df57600080fd5b6121ba88828901611fbb565b60008060006060848603121561260057600080fd5b61260984611e34565b95602085013595506040909401359392505050565b600181811c9082168061263257607f821691505b6020821081141561265357634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0384811682528316602082015260606040820181905260009061268590830184611edd565b95945050505050565b600081516126a0818560208601611ead565b9290920192915050565b600083516126bc818460208801611ead565b60609390931b6001600160601b0319169190920190815260140192915050565b600082516126ee818460208701611ead565b9190910192915050565b600080845481600182811c91508083168061271457607f831692505b602080841082141561273457634e487b7160e01b86526022600452602486fd5b818015612748576001811461275957612786565b60ff19861689528489019650612786565b60008b81526020902060005b8681101561277e5781548b820152908501908301612765565b505084890196505b505050505050612685818561268e565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561283a5761283a612810565b5060010190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526031908201527f455243313135355472616461626c652363726561746f724f6e6c793a204f4e4c6040820152701657d0d491505513d497d0531313d5d151607a1b606082015260800190565b600082198211156128ee576128ee612810565b500190565b634e487b7160e01b600052601260045260246000fd5b600082612918576129186128f3565b500490565b60008282101561292f5761292f612810565b500390565b600082612943576129436128f3565b500690565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000612a32604083018561236c565b8281036020840152612685818561236c565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612af79083018661236c565b8281036060840152612b09818661236c565b905082810360808401526108998185611edd565b600060208284031215612b2f57600080fd5b8151610fc881611e7a565b600060033d11156111855760046000803e5060005160e01c90565b600060443d1015612b635790565b6040516003193d81016004833e81513d6001600160401b038083116024840183101715612b9257505050505090565b8285019150815181811115612baa5750505050505090565b843d8701016020828501011115612bc45750505050505090565b612bd360208286010187611f32565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612c6090830184611edd565b97965050505050505056fe4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fbc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f624d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212209b81944942061be0bcb1ddb6a7444d787b15db2b99def200ba944b72e6f64e3b64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000207fa8df3a17d96ca7ea4f2893fcdcb78a3041010000000000000000000000000000000000000000000000000000000000000021436f6e7374656c6c6174696f6e204769726c7320334420436f6c6c656374696f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044347334300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f7374617469632e6d316e6d316e2e78797a2f636733632f6d657461646174612f000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Constellation Girls 3D Collection
Arg [1] : _symbol (string): CG3C
Arg [2] : _baseMetadataURI (string): https://static.m1nm1n.xyz/cg3c/metadata/
Arg [3] : _proxyRegistryAddress (address): 0x207Fa8Df3a17D96Ca7EA4f2893fcdCb78a304101
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000207fa8df3a17d96ca7ea4f2893fcdcb78a304101
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [5] : 436f6e7374656c6c6174696f6e204769726c7320334420436f6c6c656374696f
Arg [6] : 6e00000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4347334300000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [10] : 68747470733a2f2f7374617469632e6d316e6d316e2e78797a2f636733632f6d
Arg [11] : 657461646174612f000000000000000000000000000000000000000000000000
Loading...
Loading
[ 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.