Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
130
Holders
23
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Buttons
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* (((((((((((( ((((((( ((((((((((((((( ((( ((((((( %(( ((( ((( ((( %%(( (( %%(( (( %(( (((((( ((( %%%(( ((((((/ ((#(( ( (((( (((((((((( (( %%%(( (((((((( ((( ((( ((( (((((((((( ((( #%%(( (((((((( ((( (( ((((((((( (( %%(( ((((((( (( (( (((( (( %%(( ((( (((((((( (((( ((( %%%(( (((((( ((%%%%%%((( (((((((((((((((((% %%%%(((((((((((((%%%%%%(((( %%%%%%%%(( ((%%%%%%% %%%%%%%%%%%%%% %%%%% *# %%(( (( ((((((( ((((((((( ((((((((((( (((( /(( ((((( ((( ((( ((( (((( ((( (( ((. %(( ((( (( (((( (( ((((( (* (( ,%#(( ((((((((((/ (( ((((( (( (((((((/(( %%%(( ((( (( (( ((( ((( (( %%%%((( (((( (( (((((, (((( ((%%((((((((((( %%%%%%(((((((((%%%#(((((#%(((%%%%%%%#%%%%%%% %%%%%%%%%%%% %%%%%%%%%% /%%%%%%*%%%% %%%% The future of gaming is democratic. */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import 'base64-sol/base64.sol'; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol"; contract ERC721 { function balanceOf(address addr) public view returns (uint) {} } contract Buttons is ERC1155Supply, Ownable, Pausable { using Strings for uint256; uint256 public maxTokensPerButton = 1000; uint256[] public priceTiers = [200000000000000, 25000000000000000]; uint256 public supplyThreshold = 50; string[] public buttons = ["A", "B", "UP", "DOWN", "LEFT", "RIGHT", "SELECT", "START"]; string[] public buttonsDisplay = [":A_BUTTON:", ":B_BUTTON:", ":UP:", ":DOWN:", ":LEFT:", ":RIGHT:", ":SELECT:", ":START:"]; string baseURI; address[] mossyContracts; string public name = "DAOcade"; bool public presale = true; constructor( string memory _baseURI, address[] memory _mossyContracts, address[] memory _premintWallets) ERC1155("") { baseURI = _baseURI; mossyContracts = _mossyContracts; for(uint i=0 ; i<_premintWallets.length; i++){ for(uint j=0; j<buttons.length; j++){ _mint(_premintWallets[i], j, 1, ""); } } _pause(); } function setPaused(bool _newPauseState) public onlyOwner { if(_newPauseState){ _pause(); }else{ _unpause(); } } function mintButton(uint id) public payable whenNotPaused { require(isApproved(msg.sender), 'NOT_APPROVED'); require(id < buttons.length, 'BAD_BUTTON'); require(totalSupply(id) < maxTokensPerButton, 'MAX_TOKENS'); if(totalSupply(id) < supplyThreshold){ require(priceTiers[0] <= msg.value, 'LOW_ETHER'); }else{ require(priceTiers[1] <= msg.value, 'LOW_ETHER'); } _mint(msg.sender, id, 1, ""); } function getPrice(uint id) public view returns(uint256){ if(totalSupply(id) < supplyThreshold){ return priceTiers[0]; }else{ return priceTiers[1]; } } function setPrice(uint tier, uint price) public onlyOwner { require(tier < 2, 'INVALID_TIER'); priceTiers[tier] = price; } function uri(uint id) public view override returns(string memory) { require(exists(id), "NOT_EXIST"); string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "', buttonsDisplay[id] , '", "description": "Enables ', buttons[id] ,' voting in the DAOcade Discord.", "image": "', baseURI, buttons[id], '.png' ,'", "attributes": [{"trait_type":"Button", "value":"', buttons[id] ,'"}]}')))); return string(abi.encodePacked('data:application/json;base64,', json)); } function isMossyHolder(address addr) public view returns(bool){ for(uint i=0; i<mossyContracts.length; i++){ ERC721 mossyContract = ERC721(address(mossyContracts[i])); if(mossyContract.balanceOf(addr) > 0){ return true; } } return false; } function isApproved(address addr) public view returns(bool){ if(!presale){ return true; }else if(isMossyHolder(addr)){ return true; } return false; } function setPresale(bool _isPresale) public onlyOwner{ presale = _isPresale; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) 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 { _setApprovalForAll(_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 `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, 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 `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, 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 from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); 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: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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 // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC1155 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * _Available since v3.1._ */ abstract contract ERC1155Pausable is ERC1155, Pausable { /** * @dev See {ERC1155-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); require(!paused(), "ERC1155Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address[]","name":"_mossyContracts","type":"address[]"},{"internalType":"address[]","name":"_premintWallets","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buttons","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buttonsDisplay","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isApproved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isMossyHolder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerButton","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mintButton","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"priceTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_newPauseState","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPresale","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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
60806040526103e8600555604051806040016040528065b5e620f4800066ffffffffffffff1681526020016658d15e1762800066ffffffffffffff1681525060069060026200005092919062000dd6565b5060326007556040518061010001604052806040518060400160405280600181526020017f410000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f420000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f555000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f444f574e0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4c4546540000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f524947485400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f53454c454354000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f535441525400000000000000000000000000000000000000000000000000000081525081525060089060086200024a92919062000e33565b506040518061010001604052806040518060400160405280600a81526020017f3a415f425554544f4e3a0000000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f3a425f425554544f4e3a0000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f3a55503a0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f3a444f574e3a000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f3a4c4546543a000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f3a52494748543a0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f3a53454c4543543a00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f3a53544152543a0000000000000000000000000000000000000000000000000081525081525060099060086200043f92919062000e33565b506040518060400160405280600781526020017f44414f6361646500000000000000000000000000000000000000000000000000815250600c90805190602001906200048d92919062000e9a565b506001600d60006101000a81548160ff021916908315150217905550348015620004b657600080fd5b50604051620061fb380380620061fb8339818101604052810190620004dc919062001324565b60405180602001604052806000815250620004fd816200061160201b60201c565b506200051e620005126200062d60201b60201c565b6200063560201b60201c565b6000600460146101000a81548160ff02191690831515021790555082600a90805190602001906200055192919062000e9a565b5081600b90805190602001906200056a92919062000f2b565b5060005b8151811015620005f75760005b600880549050811015620005e057620005ca838381518110620005a357620005a2620013dd565b5b602002602001015182600160405180602001604052806000815250620006fb60201b60201c565b8080620005d79062001445565b9150506200057b565b508080620005ee9062001445565b9150506200056e565b5062000608620008c060201b60201c565b50505062001adb565b80600290805190602001906200062992919062000e9a565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156200076e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000765906200151a565b60405180910390fd5b6000620007806200062d60201b60201c565b9050620007b9816000876200079b886200097860201b60201c565b620007ac886200097860201b60201c565b87620009f960201b60201c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200081a91906200153c565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516200089a929190620015aa565b60405180910390a4620008b98160008787878762000b9a60201b60201c565b5050505050565b620008d062000da460201b60201c565b1562000913576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200090a9062001627565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200095f6200062d60201b60201c565b6040516200096e91906200165a565b60405180910390a1565b60606000600167ffffffffffffffff8111156200099a576200099962001076565b5b604051908082528060200260200182016040528015620009c95781602001602082028036833780820191505090505b5090508281600081518110620009e457620009e3620013dd565b5b60200260200101818152505080915050919050565b62000a1486868686868662000dbb60201b620016fc1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141562000ad35760005b835181101562000ad15782818151811062000a6d5762000a6c620013dd565b5b60200260200101516003600086848151811062000a8f5762000a8e620013dd565b5b60200260200101518152602001908152602001600020600082825462000ab691906200153c565b925050819055508062000ac99062001445565b905062000a4d565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000b925760005b835181101562000b905782818151811062000b2c5762000b2b620013dd565b5b60200260200101516003600086848151811062000b4e5762000b4d620013dd565b5b60200260200101518152602001908152602001600020600082825462000b75919062001677565b925050819055508062000b889062001445565b905062000b0c565b505b505050505050565b62000bc68473ffffffffffffffffffffffffffffffffffffffff1662000dc360201b620017041760201c565b1562000d9c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040162000c0f9594939291906200170f565b602060405180830381600087803b15801562000c2a57600080fd5b505af192505050801562000c5e57506040513d601f19601f8201168201806040525081019062000c5b9190620017d0565b60015b62000d105762000c6d6200180f565b806308c379a0141562000cd1575062000c8562001834565b8062000c92575062000cd3565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000cc8919062001922565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d0790620019bc565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161462000d9a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d919062001a54565b60405180910390fd5b505b505050505050565b6000600460149054906101000a900460ff16905090565b505050505050565b600080823b905060008111915050919050565b82805482825590600052602060002090810192821562000e20579160200282015b8281111562000e1f578251829066ffffffffffffff1690559160200191906001019062000df7565b5b50905062000e2f919062000fba565b5090565b82805482825590600052602060002090810192821562000e87579160200282015b8281111562000e8657825182908051906020019062000e7592919062000e9a565b509160200191906001019062000e54565b5b50905062000e96919062000fd9565b5090565b82805462000ea89062001aa5565b90600052602060002090601f01602090048101928262000ecc576000855562000f18565b82601f1062000ee757805160ff191683800117855562000f18565b8280016001018555821562000f18579182015b8281111562000f1757825182559160200191906001019062000efa565b5b50905062000f27919062000fba565b5090565b82805482825590600052602060002090810192821562000fa7579160200282015b8281111562000fa65782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000f4c565b5b50905062000fb6919062000fba565b5090565b5b8082111562000fd557600081600090555060010162000fbb565b5090565b5b8082111562000ffd576000818162000ff3919062001001565b5060010162000fda565b5090565b5080546200100f9062001aa5565b6000825580601f1062001023575062001044565b601f01602090049060005260206000209081019062001043919062000fba565b5b50565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620010b08262001065565b810181811067ffffffffffffffff82111715620010d257620010d162001076565b5b80604052505050565b6000620010e762001047565b9050620010f58282620010a5565b919050565b600067ffffffffffffffff82111562001118576200111762001076565b5b620011238262001065565b9050602081019050919050565b60005b838110156200115057808201518184015260208101905062001133565b8381111562001160576000848401525b50505050565b60006200117d6200117784620010fa565b620010db565b9050828152602081018484840111156200119c576200119b62001060565b5b620011a984828562001130565b509392505050565b600082601f830112620011c957620011c86200105b565b5b8151620011db84826020860162001166565b91505092915050565b600067ffffffffffffffff82111562001202576200120162001076565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620012458262001218565b9050919050565b620012578162001238565b81146200126357600080fd5b50565b60008151905062001277816200124c565b92915050565b6000620012946200128e84620011e4565b620010db565b90508083825260208201905060208402830185811115620012ba57620012b962001213565b5b835b81811015620012e75780620012d2888262001266565b845260208401935050602081019050620012bc565b5050509392505050565b600082601f8301126200130957620013086200105b565b5b81516200131b8482602086016200127d565b91505092915050565b60008060006060848603121562001340576200133f62001051565b5b600084015167ffffffffffffffff81111562001361576200136062001056565b5b6200136f86828701620011b1565b935050602084015167ffffffffffffffff81111562001393576200139262001056565b5b620013a186828701620012f1565b925050604084015167ffffffffffffffff811115620013c557620013c462001056565b5b620013d386828701620012f1565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062001452826200143b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200148857620014876200140c565b5b600182019050919050565b600082825260208201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006200150260218362001493565b91506200150f82620014a4565b604082019050919050565b600060208201905081810360008301526200153581620014f3565b9050919050565b600062001549826200143b565b915062001556836200143b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200158e576200158d6200140c565b5b828201905092915050565b620015a4816200143b565b82525050565b6000604082019050620015c1600083018562001599565b620015d0602083018462001599565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006200160f60108362001493565b91506200161c82620015d7565b602082019050919050565b60006020820190508181036000830152620016428162001600565b9050919050565b620016548162001238565b82525050565b600060208201905062001671600083018462001649565b92915050565b600062001684826200143b565b915062001691836200143b565b925082821015620016a757620016a66200140c565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b6000620016db82620016b2565b620016e78185620016bd565b9350620016f981856020860162001130565b620017048162001065565b840191505092915050565b600060a08201905062001726600083018862001649565b62001735602083018762001649565b62001744604083018662001599565b62001753606083018562001599565b8181036080830152620017678184620016ce565b90509695505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620017aa8162001773565b8114620017b657600080fd5b50565b600081519050620017ca816200179f565b92915050565b600060208284031215620017e957620017e862001051565b5b6000620017f984828501620017b9565b91505092915050565b60008160e01c9050919050565b600060033d1115620018315760046000803e6200182e60005162001802565b90505b90565b600060443d10156200184657620018d3565b6200185062001047565b60043d036004823e80513d602482011167ffffffffffffffff821117156200187a575050620018d3565b808201805167ffffffffffffffff8111156200189a5750505050620018d3565b80602083010160043d038501811115620018b9575050505050620018d3565b620018ca82602001850186620010a5565b82955050505050505b90565b600081519050919050565b6000620018ee82620018d6565b620018fa818562001493565b93506200190c81856020860162001130565b620019178162001065565b840191505092915050565b600060208201905081810360008301526200193e8184620018e1565b905092915050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000620019a460348362001493565b9150620019b18262001946565b604082019050919050565b60006020820190508181036000830152620019d78162001995565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600062001a3c60288362001493565b915062001a4982620019de565b604082019050919050565b6000602082019050818103600083015262001a6f8162001a2d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062001abe57607f821691505b6020821081141562001ad55762001ad462001a76565b5b50919050565b6147108062001aeb6000396000f3fe6080604052600436106101b65760003560e01c80638da5cb5b116100ec578063e67650661161008a578063f242432a11610064578063f242432a14610682578063f2fde38b146106ab578063f7d97577146106d4578063fdea8e0b146106fd576101b6565b8063e6765066146105ec578063e757223014610608578063e985e9c514610645576101b6565b8063b829afda116100c6578063b829afda1461051e578063bd85b0391461055b578063c54e73e314610598578063caef6108146105c1576101b6565b80638da5cb5b1461048d57806390dcbeff146104b8578063a22cb465146104f5576101b6565b806342786b67116101595780635c975abb116101335780635c975abb146103e3578063673448dd1461040e578063715018a61461044b578063832cb89914610462576101b6565b806342786b671461032c5780634e1273f4146103695780634f558e79146103a6576101b6565b806306fdde031161019557806306fdde03146102725780630e89341c1461029d57806316c38b3c146102da5780632eb2c2d614610303576101b6565b8062fdd58e146101bb57806301bb49a0146101f857806301ffc9a714610235575b600080fd5b3480156101c757600080fd5b506101e260048036038101906101dd9190612a10565b610728565b6040516101ef9190612a5f565b60405180910390f35b34801561020457600080fd5b5061021f600480360381019061021a9190612a7a565b6107f1565b60405161022c9190612b40565b60405180910390f35b34801561024157600080fd5b5061025c60048036038101906102579190612bba565b61089d565b6040516102699190612c02565b60405180910390f35b34801561027e57600080fd5b5061028761097f565b6040516102949190612b40565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190612a7a565b610a0d565b6040516102d19190612b40565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190612c49565b610b28565b005b34801561030f57600080fd5b5061032a60048036038101906103259190612e73565b610bc3565b005b34801561033857600080fd5b50610353600480360381019061034e9190612a7a565b610c64565b6040516103609190612b40565b60405180910390f35b34801561037557600080fd5b50610390600480360381019061038b9190613005565b610d10565b60405161039d919061313b565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c89190612a7a565b610e29565b6040516103da9190612c02565b60405180910390f35b3480156103ef57600080fd5b506103f8610e3d565b6040516104059190612c02565b60405180910390f35b34801561041a57600080fd5b506104356004803603810190610430919061315d565b610e54565b6040516104429190612c02565b60405180910390f35b34801561045757600080fd5b50610460610e94565b005b34801561046e57600080fd5b50610477610f1c565b6040516104849190612a5f565b60405180910390f35b34801561049957600080fd5b506104a2610f22565b6040516104af9190613199565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190612a7a565b610f4c565b6040516104ec9190612a5f565b60405180910390f35b34801561050157600080fd5b5061051c600480360381019061051791906131b4565b610f70565b005b34801561052a57600080fd5b506105456004803603810190610540919061315d565b610f86565b6040516105529190612c02565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190612a7a565b611099565b60405161058f9190612a5f565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190612c49565b6110b6565b005b3480156105cd57600080fd5b506105d661114f565b6040516105e39190612a5f565b60405180910390f35b61060660048036038101906106019190612a7a565b611155565b005b34801561061457600080fd5b5061062f600480360381019061062a9190612a7a565b611373565b60405161063c9190612a5f565b60405180910390f35b34801561065157600080fd5b5061066c600480360381019061066791906131f4565b6113d6565b6040516106799190612c02565b60405180910390f35b34801561068e57600080fd5b506106a960048036038101906106a49190613234565b61146a565b005b3480156106b757600080fd5b506106d260048036038101906106cd919061315d565b61150b565b005b3480156106e057600080fd5b506106fb60048036038101906106f691906132cb565b611603565b005b34801561070957600080fd5b506107126116e9565b60405161071f9190612c02565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610799576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107909061337d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6008818154811061080157600080fd5b90600052602060002001600091509050805461081c906133cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610848906133cc565b80156108955780601f1061086a57610100808354040283529160200191610895565b820191906000526020600020905b81548152906001019060200180831161087857829003601f168201915b505050505081565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610978575061097782611717565b5b9050919050565b600c805461098c906133cc565b80601f01602080910402602001604051908101604052809291908181526020018280546109b8906133cc565b8015610a055780601f106109da57610100808354040283529160200191610a05565b820191906000526020600020905b8154815290600101906020018083116109e857829003601f168201915b505050505081565b6060610a1882610e29565b610a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4e9061344a565b60405180910390fd5b6000610afe60098481548110610a7057610a6f61346a565b5b9060005260206000200160088581548110610a8e57610a8d61346a565b5b90600052602060002001600a60088781548110610aae57610aad61346a565b5b9060005260206000200160088881548110610acc57610acb61346a565b5b90600052602060002001604051602001610aea95949392919061374c565b604051602081830303815290604052611781565b905080604051602001610b119190613856565b604051602081830303815290604052915050919050565b610b306118fa565b73ffffffffffffffffffffffffffffffffffffffff16610b4e610f22565b73ffffffffffffffffffffffffffffffffffffffff1614610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b906138c4565b60405180910390fd5b8015610bb757610bb2611902565b610bc0565b610bbf6119a5565b5b50565b610bcb6118fa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c115750610c1085610c0b6118fa565b6113d6565b5b610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790613956565b60405180910390fd5b610c5d8585858585611a47565b5050505050565b60098181548110610c7457600080fd5b906000526020600020016000915090508054610c8f906133cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbb906133cc565b8015610d085780601f10610cdd57610100808354040283529160200191610d08565b820191906000526020600020905b815481529060010190602001808311610ceb57829003601f168201915b505050505081565b60608151835114610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d906139e8565b60405180910390fd5b6000835167ffffffffffffffff811115610d7357610d72612c7b565b5b604051908082528060200260200182016040528015610da15781602001602082028036833780820191505090505b50905060005b8451811015610e1e57610dee858281518110610dc657610dc561346a565b5b6020026020010151858381518110610de157610de061346a565b5b6020026020010151610728565b828281518110610e0157610e0061346a565b5b60200260200101818152505080610e1790613a37565b9050610da7565b508091505092915050565b600080610e3583611099565b119050919050565b6000600460149054906101000a900460ff16905090565b6000600d60009054906101000a900460ff16610e735760019050610e8f565b610e7c82610f86565b15610e8a5760019050610e8f565b600090505b919050565b610e9c6118fa565b73ffffffffffffffffffffffffffffffffffffffff16610eba610f22565b73ffffffffffffffffffffffffffffffffffffffff1614610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f07906138c4565b60405180910390fd5b610f1a6000611d5b565b565b60075481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068181548110610f5c57600080fd5b906000526020600020016000915090505481565b610f82610f7b6118fa565b8383611e21565b5050565b600080600090505b600b8054905081101561108e576000600b8281548110610fb157610fb061346a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016110199190613199565b60206040518083038186803b15801561103157600080fd5b505afa158015611045573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110699190613a95565b111561107a57600192505050611094565b50808061108690613a37565b915050610f8e565b50600090505b919050565b600060036000838152602001908152602001600020549050919050565b6110be6118fa565b73ffffffffffffffffffffffffffffffffffffffff166110dc610f22565b73ffffffffffffffffffffffffffffffffffffffff1614611132576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611129906138c4565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b60055481565b61115d610e3d565b1561119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490613b0e565b60405180910390fd5b6111a633610e54565b6111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90613b7a565b60405180910390fd5b600880549050811061122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122390613be6565b60405180910390fd5b60055461123882611099565b10611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f90613c52565b60405180910390fd5b60075461128482611099565b10156112f1573460066000815481106112a05761129f61346a565b5b906000526020600020015411156112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e390613cbe565b60405180910390fd5b611354565b3460066001815481106113075761130661346a565b5b90600052602060002001541115611353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90613cbe565b60405180910390fd5b5b6113703382600160405180602001604052806000815250611f8e565b50565b600060075461138183611099565b10156113ae57600660008154811061139c5761139b61346a565b5b906000526020600020015490506113d1565b60066001815481106113c3576113c261346a565b5b906000526020600020015490505b919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114726118fa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114b857506114b7856114b26118fa565b6113d6565b5b6114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee90613d50565b60405180910390fd5b6115048585858585612124565b5050505050565b6115136118fa565b73ffffffffffffffffffffffffffffffffffffffff16611531610f22565b73ffffffffffffffffffffffffffffffffffffffff1614611587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157e906138c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee90613de2565b60405180910390fd5b61160081611d5b565b50565b61160b6118fa565b73ffffffffffffffffffffffffffffffffffffffff16611629610f22565b73ffffffffffffffffffffffffffffffffffffffff161461167f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611676906138c4565b60405180910390fd5b600282106116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b990613e4e565b60405180910390fd5b80600683815481106116d7576116d661346a565b5b90600052602060002001819055505050565b600d60009054906101000a900460ff1681565b505050505050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000825114156117a4576040518060200160405280600081525090506118f5565b600060405180606001604052806040815260200161469b60409139905060006003600285516117d39190613e6e565b6117dd9190613ef3565b60046117e99190613f24565b905060006020826117fa9190613e6e565b67ffffffffffffffff81111561181357611812612c7b565b5b6040519080825280601f01601f1916602001820160405280156118455781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156118b4576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611859565b6003895106600181146118ce57600281146118de576118e9565b613d3d60f01b60028303526118e9565b603d60f81b60018303525b50505050508093505050505b919050565b600033905090565b61190a610e3d565b1561194a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194190613b0e565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861198e6118fa565b60405161199b9190613199565b60405180910390a1565b6119ad610e3d565b6119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e390613fca565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a306118fa565b604051611a3d9190613199565b60405180910390a1565b8151835114611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a829061405c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af2906140ee565b60405180910390fd5b6000611b056118fa565b9050611b158187878787876123a6565b60005b8451811015611cc6576000858281518110611b3657611b3561346a565b5b602002602001015190506000858381518110611b5557611b5461346a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed90614180565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cab9190613e6e565b9250508190555050505080611cbf90613a37565b9050611b18565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d3d9291906141a0565b60405180910390a4611d53818787878787612520565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8790614249565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f819190612c02565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff5906142db565b60405180910390fd5b60006120086118fa565b90506120298160008761201a88612707565b61202388612707565b876123a6565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120889190613e6e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516121069291906142fb565b60405180910390a461211d81600087878787612781565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218b906140ee565b60405180910390fd5b600061219e6118fa565b90506121be8187876121af88612707565b6121b888612707565b876123a6565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224c90614180565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230a9190613e6e565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516123879291906142fb565b60405180910390a461239d828888888888612781565b50505050505050565b6123b48686868686866116fc565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156124665760005b8351811015612464578281815181106124085761240761346a565b5b6020026020010151600360008684815181106124275761242661346a565b5b60200260200101518152602001908152602001600020600082825461244c9190613e6e565b925050819055508061245d90613a37565b90506123ec565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125185760005b8351811015612516578281815181106124ba576124b961346a565b5b6020026020010151600360008684815181106124d9576124d861346a565b5b6020026020010151815260200190815260200160002060008282546124fe9190614324565b925050819055508061250f90613a37565b905061249e565b505b505050505050565b61253f8473ffffffffffffffffffffffffffffffffffffffff16611704565b156126ff578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016125859594939291906143ad565b602060405180830381600087803b15801561259f57600080fd5b505af19250505080156125d057506040513d601f19601f820116820180604052508101906125cd919061442a565b60015b612676576125dc614464565b806308c379a0141561263957506125f1614486565b806125fc575061263b565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126309190612b40565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266d9061458e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146126fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f490614620565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561272657612725612c7b565b5b6040519080825280602002602001820160405280156127545781602001602082028036833780820191505090505b509050828160008151811061276c5761276b61346a565b5b60200260200101818152505080915050919050565b6127a08473ffffffffffffffffffffffffffffffffffffffff16611704565b15612960578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016127e6959493929190614640565b602060405180830381600087803b15801561280057600080fd5b505af192505050801561283157506040513d601f19601f8201168201806040525081019061282e919061442a565b60015b6128d75761283d614464565b806308c379a0141561289a5750612852614486565b8061285d575061289c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128919190612b40565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ce9061458e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461295e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295590614620565b60405180910390fd5b505b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129a78261297c565b9050919050565b6129b78161299c565b81146129c257600080fd5b50565b6000813590506129d4816129ae565b92915050565b6000819050919050565b6129ed816129da565b81146129f857600080fd5b50565b600081359050612a0a816129e4565b92915050565b60008060408385031215612a2757612a26612972565b5b6000612a35858286016129c5565b9250506020612a46858286016129fb565b9150509250929050565b612a59816129da565b82525050565b6000602082019050612a746000830184612a50565b92915050565b600060208284031215612a9057612a8f612972565b5b6000612a9e848285016129fb565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ae1578082015181840152602081019050612ac6565b83811115612af0576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b1282612aa7565b612b1c8185612ab2565b9350612b2c818560208601612ac3565b612b3581612af6565b840191505092915050565b60006020820190508181036000830152612b5a8184612b07565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b9781612b62565b8114612ba257600080fd5b50565b600081359050612bb481612b8e565b92915050565b600060208284031215612bd057612bcf612972565b5b6000612bde84828501612ba5565b91505092915050565b60008115159050919050565b612bfc81612be7565b82525050565b6000602082019050612c176000830184612bf3565b92915050565b612c2681612be7565b8114612c3157600080fd5b50565b600081359050612c4381612c1d565b92915050565b600060208284031215612c5f57612c5e612972565b5b6000612c6d84828501612c34565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cb382612af6565b810181811067ffffffffffffffff82111715612cd257612cd1612c7b565b5b80604052505050565b6000612ce5612968565b9050612cf18282612caa565b919050565b600067ffffffffffffffff821115612d1157612d10612c7b565b5b602082029050602081019050919050565b600080fd5b6000612d3a612d3584612cf6565b612cdb565b90508083825260208201905060208402830185811115612d5d57612d5c612d22565b5b835b81811015612d865780612d7288826129fb565b845260208401935050602081019050612d5f565b5050509392505050565b600082601f830112612da557612da4612c76565b5b8135612db5848260208601612d27565b91505092915050565b600080fd5b600067ffffffffffffffff821115612dde57612ddd612c7b565b5b612de782612af6565b9050602081019050919050565b82818337600083830152505050565b6000612e16612e1184612dc3565b612cdb565b905082815260208101848484011115612e3257612e31612dbe565b5b612e3d848285612df4565b509392505050565b600082601f830112612e5a57612e59612c76565b5b8135612e6a848260208601612e03565b91505092915050565b600080600080600060a08688031215612e8f57612e8e612972565b5b6000612e9d888289016129c5565b9550506020612eae888289016129c5565b945050604086013567ffffffffffffffff811115612ecf57612ece612977565b5b612edb88828901612d90565b935050606086013567ffffffffffffffff811115612efc57612efb612977565b5b612f0888828901612d90565b925050608086013567ffffffffffffffff811115612f2957612f28612977565b5b612f3588828901612e45565b9150509295509295909350565b600067ffffffffffffffff821115612f5d57612f5c612c7b565b5b602082029050602081019050919050565b6000612f81612f7c84612f42565b612cdb565b90508083825260208201905060208402830185811115612fa457612fa3612d22565b5b835b81811015612fcd5780612fb988826129c5565b845260208401935050602081019050612fa6565b5050509392505050565b600082601f830112612fec57612feb612c76565b5b8135612ffc848260208601612f6e565b91505092915050565b6000806040838503121561301c5761301b612972565b5b600083013567ffffffffffffffff81111561303a57613039612977565b5b61304685828601612fd7565b925050602083013567ffffffffffffffff81111561306757613066612977565b5b61307385828601612d90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6130b2816129da565b82525050565b60006130c483836130a9565b60208301905092915050565b6000602082019050919050565b60006130e88261307d565b6130f28185613088565b93506130fd83613099565b8060005b8381101561312e57815161311588826130b8565b9750613120836130d0565b925050600181019050613101565b5085935050505092915050565b6000602082019050818103600083015261315581846130dd565b905092915050565b60006020828403121561317357613172612972565b5b6000613181848285016129c5565b91505092915050565b6131938161299c565b82525050565b60006020820190506131ae600083018461318a565b92915050565b600080604083850312156131cb576131ca612972565b5b60006131d9858286016129c5565b92505060206131ea85828601612c34565b9150509250929050565b6000806040838503121561320b5761320a612972565b5b6000613219858286016129c5565b925050602061322a858286016129c5565b9150509250929050565b600080600080600060a086880312156132505761324f612972565b5b600061325e888289016129c5565b955050602061326f888289016129c5565b9450506040613280888289016129fb565b9350506060613291888289016129fb565b925050608086013567ffffffffffffffff8111156132b2576132b1612977565b5b6132be88828901612e45565b9150509295509295909350565b600080604083850312156132e2576132e1612972565b5b60006132f0858286016129fb565b9250506020613301858286016129fb565b9150509250929050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613367602b83612ab2565b91506133728261330b565b604082019050919050565b600060208201905081810360008301526133968161335a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133e457607f821691505b602082108114156133f8576133f761339d565b5b50919050565b7f4e4f545f45584953540000000000000000000000000000000000000000000000600082015250565b6000613434600983612ab2565b915061343f826133fe565b602082019050919050565b6000602082019050818103600083015261346381613427565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b60006134da600a83613499565b91506134e5826134a4565b600a82019050919050565b60008190508160005260206000209050919050565b60008154613512816133cc565b61351c8186613499565b9450600182166000811461353757600181146135485761357b565b60ff1983168652818601935061357b565b613551856134f0565b60005b8381101561357357815481890152600182019150602081019050613554565b838801955050505b50505092915050565b7f222c20226465736372697074696f6e223a2022456e61626c6573200000000000600082015250565b60006135ba601b83613499565b91506135c582613584565b601b82019050919050565b7f20766f74696e6720696e207468652044414f6361646520446973636f72642e2260008201527f2c2022696d616765223a20220000000000000000000000000000000000000000602082015250565b600061362c602c83613499565b9150613637826135d0565b602c82019050919050565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b6000613678600483613499565b915061368382613642565b600482019050919050565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a60008201527f22427574746f6e222c202276616c7565223a2200000000000000000000000000602082015250565b60006136ea603383613499565b91506136f58261368e565b603382019050919050565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b6000613736600483613499565b915061374182613700565b600482019050919050565b6000613757826134cd565b91506137638288613505565b915061376e826135ad565b915061377a8287613505565b91506137858261361f565b91506137918286613505565b915061379d8285613505565b91506137a88261366b565b91506137b3826136dd565b91506137bf8284613505565b91506137ca82613729565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061380f601d83613499565b915061381a826137d9565b601d82019050919050565b600061383082612aa7565b61383a8185613499565b935061384a818560208601612ac3565b80840191505092915050565b600061386182613802565b915061386d8284613825565b915081905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138ae602083612ab2565b91506138b982613878565b602082019050919050565b600060208201905081810360008301526138dd816138a1565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613940603283612ab2565b915061394b826138e4565b604082019050919050565b6000602082019050818103600083015261396f81613933565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006139d2602983612ab2565b91506139dd82613976565b604082019050919050565b60006020820190508181036000830152613a01816139c5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a42826129da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a7557613a74613a08565b5b600182019050919050565b600081519050613a8f816129e4565b92915050565b600060208284031215613aab57613aaa612972565b5b6000613ab984828501613a80565b91505092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613af8601083612ab2565b9150613b0382613ac2565b602082019050919050565b60006020820190508181036000830152613b2781613aeb565b9050919050565b7f4e4f545f415050524f5645440000000000000000000000000000000000000000600082015250565b6000613b64600c83612ab2565b9150613b6f82613b2e565b602082019050919050565b60006020820190508181036000830152613b9381613b57565b9050919050565b7f4241445f425554544f4e00000000000000000000000000000000000000000000600082015250565b6000613bd0600a83612ab2565b9150613bdb82613b9a565b602082019050919050565b60006020820190508181036000830152613bff81613bc3565b9050919050565b7f4d41585f544f4b454e5300000000000000000000000000000000000000000000600082015250565b6000613c3c600a83612ab2565b9150613c4782613c06565b602082019050919050565b60006020820190508181036000830152613c6b81613c2f565b9050919050565b7f4c4f575f45544845520000000000000000000000000000000000000000000000600082015250565b6000613ca8600983612ab2565b9150613cb382613c72565b602082019050919050565b60006020820190508181036000830152613cd781613c9b565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613d3a602983612ab2565b9150613d4582613cde565b604082019050919050565b60006020820190508181036000830152613d6981613d2d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613dcc602683612ab2565b9150613dd782613d70565b604082019050919050565b60006020820190508181036000830152613dfb81613dbf565b9050919050565b7f494e56414c49445f544945520000000000000000000000000000000000000000600082015250565b6000613e38600c83612ab2565b9150613e4382613e02565b602082019050919050565b60006020820190508181036000830152613e6781613e2b565b9050919050565b6000613e79826129da565b9150613e84836129da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613eb957613eb8613a08565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613efe826129da565b9150613f09836129da565b925082613f1957613f18613ec4565b5b828204905092915050565b6000613f2f826129da565b9150613f3a836129da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f7357613f72613a08565b5b828202905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613fb4601483612ab2565b9150613fbf82613f7e565b602082019050919050565b60006020820190508181036000830152613fe381613fa7565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614046602883612ab2565b915061405182613fea565b604082019050919050565b6000602082019050818103600083015261407581614039565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006140d8602583612ab2565b91506140e38261407c565b604082019050919050565b60006020820190508181036000830152614107816140cb565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061416a602a83612ab2565b91506141758261410e565b604082019050919050565b600060208201905081810360008301526141998161415d565b9050919050565b600060408201905081810360008301526141ba81856130dd565b905081810360208301526141ce81846130dd565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614233602983612ab2565b915061423e826141d7565b604082019050919050565b6000602082019050818103600083015261426281614226565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006142c5602183612ab2565b91506142d082614269565b604082019050919050565b600060208201905081810360008301526142f4816142b8565b9050919050565b60006040820190506143106000830185612a50565b61431d6020830184612a50565b9392505050565b600061432f826129da565b915061433a836129da565b92508282101561434d5761434c613a08565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b600061437f82614358565b6143898185614363565b9350614399818560208601612ac3565b6143a281612af6565b840191505092915050565b600060a0820190506143c2600083018861318a565b6143cf602083018761318a565b81810360408301526143e181866130dd565b905081810360608301526143f581856130dd565b905081810360808301526144098184614374565b90509695505050505050565b60008151905061442481612b8e565b92915050565b6000602082840312156144405761443f612972565b5b600061444e84828501614415565b91505092915050565b60008160e01c9050919050565b600060033d11156144835760046000803e614480600051614457565b90505b90565b600060443d101561449657614519565b61449e612968565b60043d036004823e80513d602482011167ffffffffffffffff821117156144c6575050614519565b808201805167ffffffffffffffff8111156144e45750505050614519565b80602083010160043d038501811115614501575050505050614519565b61451082602001850186612caa565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614578603483612ab2565b91506145838261451c565b604082019050919050565b600060208201905081810360008301526145a78161456b565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061460a602883612ab2565b9150614615826145ae565b604082019050919050565b60006020820190508181036000830152614639816145fd565b9050919050565b600060a082019050614655600083018861318a565b614662602083018761318a565b61466f6040830186612a50565b61467c6060830185612a50565b818103608083015261468e8184614374565b9050969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122003e116d17cf3775350e3cab6e2f5f145f663ef3a304a55d1cf854140d172327664736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d657668564e4e4156654e41757579627833726a4a6b486261646143657a7078523531317a7279664e625352422f000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000fee84e716845ec7423c863fc72881804f8bd844100000000000000000000000070222593b28fd91e03b9c383aa0fa28084a8b988000000000000000000000000fd90cc48cc8da11ffeb36bb76c9b4bb91ca51904000000000000000000000000ddc61aeb0da4ee68d9b8928fe0f8402885ba33140000000000000000000000000000000000000000000000000000000000000003000000000000000000000000540eabd2ffdfcde2e6bae2b7a2d3bd3079caa48f000000000000000000000000fd374359d9f0ec603410a89e526894c871c3197d00000000000000000000000021c84a0e151b3de576d1c33f3fbcec982259b77d
Deployed Bytecode
0x6080604052600436106101b65760003560e01c80638da5cb5b116100ec578063e67650661161008a578063f242432a11610064578063f242432a14610682578063f2fde38b146106ab578063f7d97577146106d4578063fdea8e0b146106fd576101b6565b8063e6765066146105ec578063e757223014610608578063e985e9c514610645576101b6565b8063b829afda116100c6578063b829afda1461051e578063bd85b0391461055b578063c54e73e314610598578063caef6108146105c1576101b6565b80638da5cb5b1461048d57806390dcbeff146104b8578063a22cb465146104f5576101b6565b806342786b67116101595780635c975abb116101335780635c975abb146103e3578063673448dd1461040e578063715018a61461044b578063832cb89914610462576101b6565b806342786b671461032c5780634e1273f4146103695780634f558e79146103a6576101b6565b806306fdde031161019557806306fdde03146102725780630e89341c1461029d57806316c38b3c146102da5780632eb2c2d614610303576101b6565b8062fdd58e146101bb57806301bb49a0146101f857806301ffc9a714610235575b600080fd5b3480156101c757600080fd5b506101e260048036038101906101dd9190612a10565b610728565b6040516101ef9190612a5f565b60405180910390f35b34801561020457600080fd5b5061021f600480360381019061021a9190612a7a565b6107f1565b60405161022c9190612b40565b60405180910390f35b34801561024157600080fd5b5061025c60048036038101906102579190612bba565b61089d565b6040516102699190612c02565b60405180910390f35b34801561027e57600080fd5b5061028761097f565b6040516102949190612b40565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190612a7a565b610a0d565b6040516102d19190612b40565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190612c49565b610b28565b005b34801561030f57600080fd5b5061032a60048036038101906103259190612e73565b610bc3565b005b34801561033857600080fd5b50610353600480360381019061034e9190612a7a565b610c64565b6040516103609190612b40565b60405180910390f35b34801561037557600080fd5b50610390600480360381019061038b9190613005565b610d10565b60405161039d919061313b565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c89190612a7a565b610e29565b6040516103da9190612c02565b60405180910390f35b3480156103ef57600080fd5b506103f8610e3d565b6040516104059190612c02565b60405180910390f35b34801561041a57600080fd5b506104356004803603810190610430919061315d565b610e54565b6040516104429190612c02565b60405180910390f35b34801561045757600080fd5b50610460610e94565b005b34801561046e57600080fd5b50610477610f1c565b6040516104849190612a5f565b60405180910390f35b34801561049957600080fd5b506104a2610f22565b6040516104af9190613199565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190612a7a565b610f4c565b6040516104ec9190612a5f565b60405180910390f35b34801561050157600080fd5b5061051c600480360381019061051791906131b4565b610f70565b005b34801561052a57600080fd5b506105456004803603810190610540919061315d565b610f86565b6040516105529190612c02565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190612a7a565b611099565b60405161058f9190612a5f565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190612c49565b6110b6565b005b3480156105cd57600080fd5b506105d661114f565b6040516105e39190612a5f565b60405180910390f35b61060660048036038101906106019190612a7a565b611155565b005b34801561061457600080fd5b5061062f600480360381019061062a9190612a7a565b611373565b60405161063c9190612a5f565b60405180910390f35b34801561065157600080fd5b5061066c600480360381019061066791906131f4565b6113d6565b6040516106799190612c02565b60405180910390f35b34801561068e57600080fd5b506106a960048036038101906106a49190613234565b61146a565b005b3480156106b757600080fd5b506106d260048036038101906106cd919061315d565b61150b565b005b3480156106e057600080fd5b506106fb60048036038101906106f691906132cb565b611603565b005b34801561070957600080fd5b506107126116e9565b60405161071f9190612c02565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610799576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107909061337d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6008818154811061080157600080fd5b90600052602060002001600091509050805461081c906133cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610848906133cc565b80156108955780601f1061086a57610100808354040283529160200191610895565b820191906000526020600020905b81548152906001019060200180831161087857829003601f168201915b505050505081565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610978575061097782611717565b5b9050919050565b600c805461098c906133cc565b80601f01602080910402602001604051908101604052809291908181526020018280546109b8906133cc565b8015610a055780601f106109da57610100808354040283529160200191610a05565b820191906000526020600020905b8154815290600101906020018083116109e857829003601f168201915b505050505081565b6060610a1882610e29565b610a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4e9061344a565b60405180910390fd5b6000610afe60098481548110610a7057610a6f61346a565b5b9060005260206000200160088581548110610a8e57610a8d61346a565b5b90600052602060002001600a60088781548110610aae57610aad61346a565b5b9060005260206000200160088881548110610acc57610acb61346a565b5b90600052602060002001604051602001610aea95949392919061374c565b604051602081830303815290604052611781565b905080604051602001610b119190613856565b604051602081830303815290604052915050919050565b610b306118fa565b73ffffffffffffffffffffffffffffffffffffffff16610b4e610f22565b73ffffffffffffffffffffffffffffffffffffffff1614610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b906138c4565b60405180910390fd5b8015610bb757610bb2611902565b610bc0565b610bbf6119a5565b5b50565b610bcb6118fa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c115750610c1085610c0b6118fa565b6113d6565b5b610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790613956565b60405180910390fd5b610c5d8585858585611a47565b5050505050565b60098181548110610c7457600080fd5b906000526020600020016000915090508054610c8f906133cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbb906133cc565b8015610d085780601f10610cdd57610100808354040283529160200191610d08565b820191906000526020600020905b815481529060010190602001808311610ceb57829003601f168201915b505050505081565b60608151835114610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d906139e8565b60405180910390fd5b6000835167ffffffffffffffff811115610d7357610d72612c7b565b5b604051908082528060200260200182016040528015610da15781602001602082028036833780820191505090505b50905060005b8451811015610e1e57610dee858281518110610dc657610dc561346a565b5b6020026020010151858381518110610de157610de061346a565b5b6020026020010151610728565b828281518110610e0157610e0061346a565b5b60200260200101818152505080610e1790613a37565b9050610da7565b508091505092915050565b600080610e3583611099565b119050919050565b6000600460149054906101000a900460ff16905090565b6000600d60009054906101000a900460ff16610e735760019050610e8f565b610e7c82610f86565b15610e8a5760019050610e8f565b600090505b919050565b610e9c6118fa565b73ffffffffffffffffffffffffffffffffffffffff16610eba610f22565b73ffffffffffffffffffffffffffffffffffffffff1614610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f07906138c4565b60405180910390fd5b610f1a6000611d5b565b565b60075481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068181548110610f5c57600080fd5b906000526020600020016000915090505481565b610f82610f7b6118fa565b8383611e21565b5050565b600080600090505b600b8054905081101561108e576000600b8281548110610fb157610fb061346a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016110199190613199565b60206040518083038186803b15801561103157600080fd5b505afa158015611045573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110699190613a95565b111561107a57600192505050611094565b50808061108690613a37565b915050610f8e565b50600090505b919050565b600060036000838152602001908152602001600020549050919050565b6110be6118fa565b73ffffffffffffffffffffffffffffffffffffffff166110dc610f22565b73ffffffffffffffffffffffffffffffffffffffff1614611132576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611129906138c4565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b60055481565b61115d610e3d565b1561119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490613b0e565b60405180910390fd5b6111a633610e54565b6111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90613b7a565b60405180910390fd5b600880549050811061122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122390613be6565b60405180910390fd5b60055461123882611099565b10611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f90613c52565b60405180910390fd5b60075461128482611099565b10156112f1573460066000815481106112a05761129f61346a565b5b906000526020600020015411156112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e390613cbe565b60405180910390fd5b611354565b3460066001815481106113075761130661346a565b5b90600052602060002001541115611353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90613cbe565b60405180910390fd5b5b6113703382600160405180602001604052806000815250611f8e565b50565b600060075461138183611099565b10156113ae57600660008154811061139c5761139b61346a565b5b906000526020600020015490506113d1565b60066001815481106113c3576113c261346a565b5b906000526020600020015490505b919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114726118fa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114b857506114b7856114b26118fa565b6113d6565b5b6114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee90613d50565b60405180910390fd5b6115048585858585612124565b5050505050565b6115136118fa565b73ffffffffffffffffffffffffffffffffffffffff16611531610f22565b73ffffffffffffffffffffffffffffffffffffffff1614611587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157e906138c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee90613de2565b60405180910390fd5b61160081611d5b565b50565b61160b6118fa565b73ffffffffffffffffffffffffffffffffffffffff16611629610f22565b73ffffffffffffffffffffffffffffffffffffffff161461167f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611676906138c4565b60405180910390fd5b600282106116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b990613e4e565b60405180910390fd5b80600683815481106116d7576116d661346a565b5b90600052602060002001819055505050565b600d60009054906101000a900460ff1681565b505050505050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000825114156117a4576040518060200160405280600081525090506118f5565b600060405180606001604052806040815260200161469b60409139905060006003600285516117d39190613e6e565b6117dd9190613ef3565b60046117e99190613f24565b905060006020826117fa9190613e6e565b67ffffffffffffffff81111561181357611812612c7b565b5b6040519080825280601f01601f1916602001820160405280156118455781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156118b4576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611859565b6003895106600181146118ce57600281146118de576118e9565b613d3d60f01b60028303526118e9565b603d60f81b60018303525b50505050508093505050505b919050565b600033905090565b61190a610e3d565b1561194a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194190613b0e565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861198e6118fa565b60405161199b9190613199565b60405180910390a1565b6119ad610e3d565b6119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e390613fca565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a306118fa565b604051611a3d9190613199565b60405180910390a1565b8151835114611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a829061405c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af2906140ee565b60405180910390fd5b6000611b056118fa565b9050611b158187878787876123a6565b60005b8451811015611cc6576000858281518110611b3657611b3561346a565b5b602002602001015190506000858381518110611b5557611b5461346a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed90614180565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cab9190613e6e565b9250508190555050505080611cbf90613a37565b9050611b18565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d3d9291906141a0565b60405180910390a4611d53818787878787612520565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8790614249565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f819190612c02565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff5906142db565b60405180910390fd5b60006120086118fa565b90506120298160008761201a88612707565b61202388612707565b876123a6565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120889190613e6e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516121069291906142fb565b60405180910390a461211d81600087878787612781565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218b906140ee565b60405180910390fd5b600061219e6118fa565b90506121be8187876121af88612707565b6121b888612707565b876123a6565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224c90614180565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230a9190613e6e565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516123879291906142fb565b60405180910390a461239d828888888888612781565b50505050505050565b6123b48686868686866116fc565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156124665760005b8351811015612464578281815181106124085761240761346a565b5b6020026020010151600360008684815181106124275761242661346a565b5b60200260200101518152602001908152602001600020600082825461244c9190613e6e565b925050819055508061245d90613a37565b90506123ec565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125185760005b8351811015612516578281815181106124ba576124b961346a565b5b6020026020010151600360008684815181106124d9576124d861346a565b5b6020026020010151815260200190815260200160002060008282546124fe9190614324565b925050819055508061250f90613a37565b905061249e565b505b505050505050565b61253f8473ffffffffffffffffffffffffffffffffffffffff16611704565b156126ff578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016125859594939291906143ad565b602060405180830381600087803b15801561259f57600080fd5b505af19250505080156125d057506040513d601f19601f820116820180604052508101906125cd919061442a565b60015b612676576125dc614464565b806308c379a0141561263957506125f1614486565b806125fc575061263b565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126309190612b40565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266d9061458e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146126fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f490614620565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561272657612725612c7b565b5b6040519080825280602002602001820160405280156127545781602001602082028036833780820191505090505b509050828160008151811061276c5761276b61346a565b5b60200260200101818152505080915050919050565b6127a08473ffffffffffffffffffffffffffffffffffffffff16611704565b15612960578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016127e6959493929190614640565b602060405180830381600087803b15801561280057600080fd5b505af192505050801561283157506040513d601f19601f8201168201806040525081019061282e919061442a565b60015b6128d75761283d614464565b806308c379a0141561289a5750612852614486565b8061285d575061289c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128919190612b40565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ce9061458e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461295e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295590614620565b60405180910390fd5b505b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129a78261297c565b9050919050565b6129b78161299c565b81146129c257600080fd5b50565b6000813590506129d4816129ae565b92915050565b6000819050919050565b6129ed816129da565b81146129f857600080fd5b50565b600081359050612a0a816129e4565b92915050565b60008060408385031215612a2757612a26612972565b5b6000612a35858286016129c5565b9250506020612a46858286016129fb565b9150509250929050565b612a59816129da565b82525050565b6000602082019050612a746000830184612a50565b92915050565b600060208284031215612a9057612a8f612972565b5b6000612a9e848285016129fb565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ae1578082015181840152602081019050612ac6565b83811115612af0576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b1282612aa7565b612b1c8185612ab2565b9350612b2c818560208601612ac3565b612b3581612af6565b840191505092915050565b60006020820190508181036000830152612b5a8184612b07565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b9781612b62565b8114612ba257600080fd5b50565b600081359050612bb481612b8e565b92915050565b600060208284031215612bd057612bcf612972565b5b6000612bde84828501612ba5565b91505092915050565b60008115159050919050565b612bfc81612be7565b82525050565b6000602082019050612c176000830184612bf3565b92915050565b612c2681612be7565b8114612c3157600080fd5b50565b600081359050612c4381612c1d565b92915050565b600060208284031215612c5f57612c5e612972565b5b6000612c6d84828501612c34565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cb382612af6565b810181811067ffffffffffffffff82111715612cd257612cd1612c7b565b5b80604052505050565b6000612ce5612968565b9050612cf18282612caa565b919050565b600067ffffffffffffffff821115612d1157612d10612c7b565b5b602082029050602081019050919050565b600080fd5b6000612d3a612d3584612cf6565b612cdb565b90508083825260208201905060208402830185811115612d5d57612d5c612d22565b5b835b81811015612d865780612d7288826129fb565b845260208401935050602081019050612d5f565b5050509392505050565b600082601f830112612da557612da4612c76565b5b8135612db5848260208601612d27565b91505092915050565b600080fd5b600067ffffffffffffffff821115612dde57612ddd612c7b565b5b612de782612af6565b9050602081019050919050565b82818337600083830152505050565b6000612e16612e1184612dc3565b612cdb565b905082815260208101848484011115612e3257612e31612dbe565b5b612e3d848285612df4565b509392505050565b600082601f830112612e5a57612e59612c76565b5b8135612e6a848260208601612e03565b91505092915050565b600080600080600060a08688031215612e8f57612e8e612972565b5b6000612e9d888289016129c5565b9550506020612eae888289016129c5565b945050604086013567ffffffffffffffff811115612ecf57612ece612977565b5b612edb88828901612d90565b935050606086013567ffffffffffffffff811115612efc57612efb612977565b5b612f0888828901612d90565b925050608086013567ffffffffffffffff811115612f2957612f28612977565b5b612f3588828901612e45565b9150509295509295909350565b600067ffffffffffffffff821115612f5d57612f5c612c7b565b5b602082029050602081019050919050565b6000612f81612f7c84612f42565b612cdb565b90508083825260208201905060208402830185811115612fa457612fa3612d22565b5b835b81811015612fcd5780612fb988826129c5565b845260208401935050602081019050612fa6565b5050509392505050565b600082601f830112612fec57612feb612c76565b5b8135612ffc848260208601612f6e565b91505092915050565b6000806040838503121561301c5761301b612972565b5b600083013567ffffffffffffffff81111561303a57613039612977565b5b61304685828601612fd7565b925050602083013567ffffffffffffffff81111561306757613066612977565b5b61307385828601612d90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6130b2816129da565b82525050565b60006130c483836130a9565b60208301905092915050565b6000602082019050919050565b60006130e88261307d565b6130f28185613088565b93506130fd83613099565b8060005b8381101561312e57815161311588826130b8565b9750613120836130d0565b925050600181019050613101565b5085935050505092915050565b6000602082019050818103600083015261315581846130dd565b905092915050565b60006020828403121561317357613172612972565b5b6000613181848285016129c5565b91505092915050565b6131938161299c565b82525050565b60006020820190506131ae600083018461318a565b92915050565b600080604083850312156131cb576131ca612972565b5b60006131d9858286016129c5565b92505060206131ea85828601612c34565b9150509250929050565b6000806040838503121561320b5761320a612972565b5b6000613219858286016129c5565b925050602061322a858286016129c5565b9150509250929050565b600080600080600060a086880312156132505761324f612972565b5b600061325e888289016129c5565b955050602061326f888289016129c5565b9450506040613280888289016129fb565b9350506060613291888289016129fb565b925050608086013567ffffffffffffffff8111156132b2576132b1612977565b5b6132be88828901612e45565b9150509295509295909350565b600080604083850312156132e2576132e1612972565b5b60006132f0858286016129fb565b9250506020613301858286016129fb565b9150509250929050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613367602b83612ab2565b91506133728261330b565b604082019050919050565b600060208201905081810360008301526133968161335a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133e457607f821691505b602082108114156133f8576133f761339d565b5b50919050565b7f4e4f545f45584953540000000000000000000000000000000000000000000000600082015250565b6000613434600983612ab2565b915061343f826133fe565b602082019050919050565b6000602082019050818103600083015261346381613427565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b60006134da600a83613499565b91506134e5826134a4565b600a82019050919050565b60008190508160005260206000209050919050565b60008154613512816133cc565b61351c8186613499565b9450600182166000811461353757600181146135485761357b565b60ff1983168652818601935061357b565b613551856134f0565b60005b8381101561357357815481890152600182019150602081019050613554565b838801955050505b50505092915050565b7f222c20226465736372697074696f6e223a2022456e61626c6573200000000000600082015250565b60006135ba601b83613499565b91506135c582613584565b601b82019050919050565b7f20766f74696e6720696e207468652044414f6361646520446973636f72642e2260008201527f2c2022696d616765223a20220000000000000000000000000000000000000000602082015250565b600061362c602c83613499565b9150613637826135d0565b602c82019050919050565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b6000613678600483613499565b915061368382613642565b600482019050919050565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a60008201527f22427574746f6e222c202276616c7565223a2200000000000000000000000000602082015250565b60006136ea603383613499565b91506136f58261368e565b603382019050919050565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b6000613736600483613499565b915061374182613700565b600482019050919050565b6000613757826134cd565b91506137638288613505565b915061376e826135ad565b915061377a8287613505565b91506137858261361f565b91506137918286613505565b915061379d8285613505565b91506137a88261366b565b91506137b3826136dd565b91506137bf8284613505565b91506137ca82613729565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061380f601d83613499565b915061381a826137d9565b601d82019050919050565b600061383082612aa7565b61383a8185613499565b935061384a818560208601612ac3565b80840191505092915050565b600061386182613802565b915061386d8284613825565b915081905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138ae602083612ab2565b91506138b982613878565b602082019050919050565b600060208201905081810360008301526138dd816138a1565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613940603283612ab2565b915061394b826138e4565b604082019050919050565b6000602082019050818103600083015261396f81613933565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006139d2602983612ab2565b91506139dd82613976565b604082019050919050565b60006020820190508181036000830152613a01816139c5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a42826129da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a7557613a74613a08565b5b600182019050919050565b600081519050613a8f816129e4565b92915050565b600060208284031215613aab57613aaa612972565b5b6000613ab984828501613a80565b91505092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613af8601083612ab2565b9150613b0382613ac2565b602082019050919050565b60006020820190508181036000830152613b2781613aeb565b9050919050565b7f4e4f545f415050524f5645440000000000000000000000000000000000000000600082015250565b6000613b64600c83612ab2565b9150613b6f82613b2e565b602082019050919050565b60006020820190508181036000830152613b9381613b57565b9050919050565b7f4241445f425554544f4e00000000000000000000000000000000000000000000600082015250565b6000613bd0600a83612ab2565b9150613bdb82613b9a565b602082019050919050565b60006020820190508181036000830152613bff81613bc3565b9050919050565b7f4d41585f544f4b454e5300000000000000000000000000000000000000000000600082015250565b6000613c3c600a83612ab2565b9150613c4782613c06565b602082019050919050565b60006020820190508181036000830152613c6b81613c2f565b9050919050565b7f4c4f575f45544845520000000000000000000000000000000000000000000000600082015250565b6000613ca8600983612ab2565b9150613cb382613c72565b602082019050919050565b60006020820190508181036000830152613cd781613c9b565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613d3a602983612ab2565b9150613d4582613cde565b604082019050919050565b60006020820190508181036000830152613d6981613d2d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613dcc602683612ab2565b9150613dd782613d70565b604082019050919050565b60006020820190508181036000830152613dfb81613dbf565b9050919050565b7f494e56414c49445f544945520000000000000000000000000000000000000000600082015250565b6000613e38600c83612ab2565b9150613e4382613e02565b602082019050919050565b60006020820190508181036000830152613e6781613e2b565b9050919050565b6000613e79826129da565b9150613e84836129da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613eb957613eb8613a08565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613efe826129da565b9150613f09836129da565b925082613f1957613f18613ec4565b5b828204905092915050565b6000613f2f826129da565b9150613f3a836129da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f7357613f72613a08565b5b828202905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613fb4601483612ab2565b9150613fbf82613f7e565b602082019050919050565b60006020820190508181036000830152613fe381613fa7565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614046602883612ab2565b915061405182613fea565b604082019050919050565b6000602082019050818103600083015261407581614039565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006140d8602583612ab2565b91506140e38261407c565b604082019050919050565b60006020820190508181036000830152614107816140cb565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061416a602a83612ab2565b91506141758261410e565b604082019050919050565b600060208201905081810360008301526141998161415d565b9050919050565b600060408201905081810360008301526141ba81856130dd565b905081810360208301526141ce81846130dd565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614233602983612ab2565b915061423e826141d7565b604082019050919050565b6000602082019050818103600083015261426281614226565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006142c5602183612ab2565b91506142d082614269565b604082019050919050565b600060208201905081810360008301526142f4816142b8565b9050919050565b60006040820190506143106000830185612a50565b61431d6020830184612a50565b9392505050565b600061432f826129da565b915061433a836129da565b92508282101561434d5761434c613a08565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b600061437f82614358565b6143898185614363565b9350614399818560208601612ac3565b6143a281612af6565b840191505092915050565b600060a0820190506143c2600083018861318a565b6143cf602083018761318a565b81810360408301526143e181866130dd565b905081810360608301526143f581856130dd565b905081810360808301526144098184614374565b90509695505050505050565b60008151905061442481612b8e565b92915050565b6000602082840312156144405761443f612972565b5b600061444e84828501614415565b91505092915050565b60008160e01c9050919050565b600060033d11156144835760046000803e614480600051614457565b90505b90565b600060443d101561449657614519565b61449e612968565b60043d036004823e80513d602482011167ffffffffffffffff821117156144c6575050614519565b808201805167ffffffffffffffff8111156144e45750505050614519565b80602083010160043d038501811115614501575050505050614519565b61451082602001850186612caa565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614578603483612ab2565b91506145838261451c565b604082019050919050565b600060208201905081810360008301526145a78161456b565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061460a602883612ab2565b9150614615826145ae565b604082019050919050565b60006020820190508181036000830152614639816145fd565b9050919050565b600060a082019050614655600083018861318a565b614662602083018761318a565b61466f6040830186612a50565b61467c6060830185612a50565b818103608083015261468e8184614374565b9050969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122003e116d17cf3775350e3cab6e2f5f145f663ef3a304a55d1cf854140d172327664736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d657668564e4e4156654e41757579627833726a4a6b486261646143657a7078523531317a7279664e625352422f000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000fee84e716845ec7423c863fc72881804f8bd844100000000000000000000000070222593b28fd91e03b9c383aa0fa28084a8b988000000000000000000000000fd90cc48cc8da11ffeb36bb76c9b4bb91ca51904000000000000000000000000ddc61aeb0da4ee68d9b8928fe0f8402885ba33140000000000000000000000000000000000000000000000000000000000000003000000000000000000000000540eabd2ffdfcde2e6bae2b7a2d3bd3079caa48f000000000000000000000000fd374359d9f0ec603410a89e526894c871c3197d00000000000000000000000021c84a0e151b3de576d1c33f3fbcec982259b77d
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmevhVNNAVeNAuuybx3rjJkHbadaCezpxR511zryfNbSRB/
Arg [1] : _mossyContracts (address[]): 0xfEe84e716845ec7423c863fc72881804F8BD8441,0x70222593b28FD91e03B9C383AA0Fa28084a8b988,0xfd90CC48cc8DA11ffEb36BB76c9b4Bb91Ca51904,0xDdc61aeB0DA4Ee68D9b8928fe0f8402885BA3314
Arg [2] : _premintWallets (address[]): 0x540eaBD2fFdfcDe2E6BAE2b7A2D3bd3079cAa48F,0xfd374359d9f0Ec603410A89e526894c871C3197d,0x21C84a0e151b3De576d1c33f3FbcEc982259B77d
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d657668564e4e4156654e41757579627833726a4a6b4862
Arg [5] : 61646143657a7078523531317a7279664e625352422f00000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 000000000000000000000000fee84e716845ec7423c863fc72881804f8bd8441
Arg [8] : 00000000000000000000000070222593b28fd91e03b9c383aa0fa28084a8b988
Arg [9] : 000000000000000000000000fd90cc48cc8da11ffeb36bb76c9b4bb91ca51904
Arg [10] : 000000000000000000000000ddc61aeb0da4ee68d9b8928fe0f8402885ba3314
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [12] : 000000000000000000000000540eabd2ffdfcde2e6bae2b7a2d3bd3079caa48f
Arg [13] : 000000000000000000000000fd374359d9f0ec603410a89e526894c871c3197d
Arg [14] : 00000000000000000000000021c84a0e151b3de576d1c33f3fbcec982259b77d
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.