ERC-1155
Overview
Max Total Supply
0
Holders
418
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:
GMMerch
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // █▀▀ █▀█ █▀█ █▀▄ █▀▄▀█ █▀█ █▄░█ █▄▀ █▀▀ █▄█ ▀█ // █▄█ █▄█ █▄█ █▄▀ █░▀░█ █▄█ █░▀█ █░█ ██▄ ░█░ █▄ // ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ // ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░ pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract GMMerch is ERC1155, Ownable, ERC1155Burnable { constructor() ERC1155("https://ipfs.io/ipfs/QmabkU1KMUrusjGrZK6z6bqmRMQ2RXiGqQAFTVQrmMx7E2/{id}.json") {} mapping(address => mapping(uint256 => bool)) public mintList; event GMMinted(address sender, uint256 tokenId); event GmBurned(address sender, uint256 tokenId); struct MerchItem { uint256 minted; uint256 burned; uint256 supply; uint256 price; uint256 increment; uint256 incrementInterval; bool allowMintable; bool publicMintable; bool mintPassIncluded; } MerchItem[] public merch; function setURI(string memory newuri) public onlyOwner { _setURI(newuri); } function createMerchItem(uint256 _supply, uint256 _price, uint256 _increment) public onlyOwner { merch.push(MerchItem({ minted: 0, burned: 0, supply: _supply, price: _price, increment: _increment, incrementInterval: 7, allowMintable: false, publicMintable: false, mintPassIncluded: false })); } function updateMerchItem(uint _index, uint256 _supply, uint256 _price, uint256 _increment, uint256 _incrementInterval, bool _allowMintable, bool _publicMintable, bool _mintPassIncluded) public onlyOwner { MerchItem storage m = merch[_index]; m.supply = _supply; m.price = _price; m.increment = _increment; m.incrementInterval = _incrementInterval; m.allowMintable = _allowMintable; m.publicMintable = _publicMintable; m.mintPassIncluded = _mintPassIncluded; } function getMerchCount() public view returns(uint merchCount) { return merch.length; } function recoverSigner(address _address, bytes memory signature, uint256 id) public pure returns (address) { bytes32 messageDigest = keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked(_address, id)) ) ); return ECDSA.recover(messageDigest, signature); } function mintToken(uint256 id) public payable { require(merch[id].publicMintable , "MINTING - ALLOW ONLY"); require(msg.value >= merch[id].price, "Not enough ETH sent"); require(merch[id].minted < merch[id].supply, "Sold out"); require(!mintList[msg.sender][id], "ONLY 1 MINT PER WALLET"); _mint(msg.sender, id, 1, ''); if( merch[id].minted % merch[id].incrementInterval == 0 ) { merch[id].price += merch[id].increment; } merch[id].minted += 1; mintList[msg.sender][id] = true; if(merch[id].mintPassIncluded) { merch[1].minted += 1; _mint(msg.sender, 1, 1, ''); } emit GMMinted(msg.sender, id); } function mintTokenAllow(uint256 id, bytes memory signature) public payable { require(merch[id].allowMintable , "MINTING - NOT OPEN"); require(msg.value >= merch[id].price, "Not enough ETH sent"); require(merch[id].minted < merch[id].supply, "Sold out"); require(recoverSigner(msg.sender, signature, id) == owner(), "Address is not allowlisted"); require(!mintList[msg.sender][id], "ONLY 1 MINT PER WALLET"); _mint(msg.sender, id, 1, ''); merch[id].minted += 1; mintList[msg.sender][id] = true; if( merch[id].minted % merch[id].incrementInterval == 0 ) { merch[id].price += merch[id].increment; } if(merch[id].mintPassIncluded) { merch[1].minted += 1; _mint(msg.sender, 1, 1, ''); } emit GMMinted(msg.sender, id); } function mintAdmin(address to, uint256 id, uint256 amount) public onlyOwner { _mint(to, id, amount, ''); merch[id].minted += amount; } function burnToken(address _address, uint256 id) public { burn(_address, id, 1); merch[id].burned += 1; emit GmBurned(_address, id); } function withdraw() public onlyOwner() { uint256 balance = address(this).balance; (bool success, ) = (msg.sender).call{ value: balance }(""); require(success, "Failed to widthdraw Ether"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/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); } }
{ "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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"GMMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"GmBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_increment","type":"uint256"}],"name":"createMerchItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getMerchCount","outputs":[{"internalType":"uint256","name":"merchCount","type":"uint256"}],"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":"uint256","name":"","type":"uint256"}],"name":"merch","outputs":[{"internalType":"uint256","name":"minted","type":"uint256"},{"internalType":"uint256","name":"burned","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"increment","type":"uint256"},{"internalType":"uint256","name":"incrementInterval","type":"uint256"},{"internalType":"bool","name":"allowMintable","type":"bool"},{"internalType":"bool","name":"publicMintable","type":"bool"},{"internalType":"bool","name":"mintPassIncluded","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintTokenAllow","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_increment","type":"uint256"},{"internalType":"uint256","name":"_incrementInterval","type":"uint256"},{"internalType":"bool","name":"_allowMintable","type":"bool"},{"internalType":"bool","name":"_publicMintable","type":"bool"},{"internalType":"bool","name":"_mintPassIncluded","type":"bool"}],"name":"updateMerchItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060800160405280604d815260200162005989604d91396200003d816200006460201b60201c565b506200005e620000526200008060201b60201c565b6200008860201b60201c565b62000263565b80600290805190602001906200007c9291906200014e565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200015c906200022d565b90600052602060002090601f016020900481019282620001805760008555620001cc565b82601f106200019b57805160ff1916838001178555620001cc565b82800160010185558215620001cc579182015b82811115620001cb578251825591602001919060010190620001ae565b5b509050620001db9190620001df565b5090565b5b80821115620001fa576000816000905550600101620001e0565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200024657607f821691505b602082108114156200025d576200025c620001fe565b5b50919050565b61571680620002736000396000f3fe6080604052600436106101655760003560e01c80637bebcaeb116100d1578063d1df306c1161008a578063e985e9c511610064578063e985e9c514610521578063f242432a1461055e578063f2fde38b14610587578063f5298aca146105b057610165565b8063d1df306c146104b3578063e4dfe47f146104dc578063e8c61e2b146104f857610165565b80637bebcaeb146103b25780637fdc1401146103ef5780638da5cb5b1461041a578063a22cb46514610445578063ab3f22091461046e578063c634d0321461049757610165565b8063393b450811610123578063393b4508146102b05780633ccfd60b146102f55780634e1273f41461030c5780635d337321146103495780636b20c45414610372578063715018a61461039b57610165565b8062fdd58e1461016a57806301ffc9a7146101a757806302fe5305146101e45780630e89341c1461020d5780632eb2c2d61461024a57806335c2ec6014610273575b600080fd5b34801561017657600080fd5b50610191600480360381019061018c919061364a565b6105d9565b60405161019e9190613699565b60405180910390f35b3480156101b357600080fd5b506101ce60048036038101906101c9919061370c565b6106a2565b6040516101db9190613754565b60405180910390f35b3480156101f057600080fd5b5061020b600480360381019061020691906138b5565b610784565b005b34801561021957600080fd5b50610234600480360381019061022f91906138fe565b61080c565b60405161024191906139b3565b60405180910390f35b34801561025657600080fd5b50610271600480360381019061026c9190613b3e565b6108a0565b005b34801561027f57600080fd5b5061029a6004803603810190610295919061364a565b610941565b6040516102a79190613754565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d291906138fe565b610970565b6040516102ec99989796959493929190613c0d565b60405180910390f35b34801561030157600080fd5b5061030a6109f5565b005b34801561031857600080fd5b50610333600480360381019061032e9190613d5d565b610b26565b6040516103409190613e93565b60405180910390f35b34801561035557600080fd5b50610370600480360381019061036b9190613ee1565b610c3f565b005b34801561037e57600080fd5b5061039960048036038101906103949190613f97565b610d64565b005b3480156103a757600080fd5b506103b0610e01565b005b3480156103be57600080fd5b506103d960048036038101906103d49190614022565b610e89565b6040516103e691906140a0565b60405180910390f35b3480156103fb57600080fd5b50610404610ef1565b6040516104119190613699565b60405180910390f35b34801561042657600080fd5b5061042f610efe565b60405161043c91906140a0565b60405180910390f35b34801561045157600080fd5b5061046c600480360381019061046791906140bb565b610f28565b005b34801561047a57600080fd5b50610495600480360381019061049091906140fb565b610f3e565b005b6104b160048036038101906104ac91906138fe565b611016565b005b3480156104bf57600080fd5b506104da60048036038101906104d5919061364a565b61146b565b005b6104f660048036038101906104f1919061414e565b6114f1565b005b34801561050457600080fd5b5061051f600480360381019061051a91906141aa565b6119c6565b005b34801561052d57600080fd5b50610548600480360381019061054391906141fd565b611b5d565b6040516105559190613754565b60405180910390f35b34801561056a57600080fd5b506105856004803603810190610580919061423d565b611bf1565b005b34801561059357600080fd5b506105ae60048036038101906105a991906142d4565b611c92565b005b3480156105bc57600080fd5b506105d760048036038101906105d291906140fb565b611d8a565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561064a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064190614373565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076d57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061077d575061077c82611e27565b5b9050919050565b61078c611e91565b73ffffffffffffffffffffffffffffffffffffffff166107aa610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f7906143df565b60405180910390fd5b61080981611e99565b50565b60606002805461081b9061442e565b80601f01602080910402602001604051908101604052809291908181526020018280546108479061442e565b80156108945780601f1061086957610100808354040283529160200191610894565b820191906000526020600020905b81548152906001019060200180831161087757829003601f168201915b50505050509050919050565b6108a8611e91565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108ee57506108ed856108e8611e91565b611b5d565b5b61092d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610924906144d2565b60405180910390fd5b61093a8585858585611eb3565b5050505050565b60046020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6005818154811061098057600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900460ff16908060060160019054906101000a900460ff16908060060160029054906101000a900460ff16905089565b6109fd611e91565b73ffffffffffffffffffffffffffffffffffffffff16610a1b610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a68906143df565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff1682604051610a9c90614523565b60006040518083038185875af1925050503d8060008114610ad9576040519150601f19603f3d011682016040523d82523d6000602084013e610ade565b606091505b5050905080610b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1990614584565b60405180910390fd5b5050565b60608151835114610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6390614616565b60405180910390fd5b6000835167ffffffffffffffff811115610b8957610b8861378a565b5b604051908082528060200260200182016040528015610bb75781602001602082028036833780820191505090505b50905060005b8451811015610c3457610c04858281518110610bdc57610bdb614636565b5b6020026020010151858381518110610bf757610bf6614636565b5b60200260200101516105d9565b828281518110610c1757610c16614636565b5b60200260200101818152505080610c2d90614694565b9050610bbd565b508091505092915050565b610c47611e91565b73ffffffffffffffffffffffffffffffffffffffff16610c65610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb2906143df565b60405180910390fd5b600060058981548110610cd157610cd0614636565b5b90600052602060002090600702019050878160020181905550868160030181905550858160040181905550848160050181905550838160060160006101000a81548160ff021916908315150217905550828160060160016101000a81548160ff021916908315150217905550818160060160026101000a81548160ff021916908315150217905550505050505050505050565b610d6c611e91565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610db25750610db183610dac611e91565b611b5d565b5b610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de89061474f565b60405180910390fd5b610dfc8383836121c7565b505050565b610e09611e91565b73ffffffffffffffffffffffffffffffffffffffff16610e27610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e74906143df565b60405180910390fd5b610e876000612478565b565b6000808483604051602001610e9f9291906147d8565b60405160208183030381529060405280519060200120604051602001610ec59190614886565b604051602081830303815290604052805190602001209050610ee7818561253e565b9150509392505050565b6000600580549050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f3a610f33611e91565b8383612565565b5050565b610f46611e91565b73ffffffffffffffffffffffffffffffffffffffff16610f64610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb1906143df565b60405180910390fd5b610fd5838383604051806020016040528060008152506126d2565b8060058381548110610fea57610fe9614636565b5b9060005260206000209060070201600001600082825461100a91906148ac565b92505081905550505050565b6005818154811061102a57611029614636565b5b906000526020600020906007020160060160019054906101000a900460ff16611088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107f9061494e565b60405180910390fd5b6005818154811061109c5761109b614636565b5b9060005260206000209060070201600301543410156110f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e7906149ba565b60405180910390fd5b6005818154811061110457611103614636565b5b9060005260206000209060070201600201546005828154811061112a57611129614636565b5b9060005260206000209060070201600001541061117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390614a26565b60405180910390fd5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff161561121a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121190614a92565b60405180910390fd5b61123633826001604051806020016040528060008152506126d2565b60006005828154811061124c5761124b614636565b5b9060005260206000209060070201600501546005838154811061127257611271614636565b5b90600052602060002090600702016000015461128e9190614ae1565b14156112f657600581815481106112a8576112a7614636565b5b906000526020600020906007020160040154600582815481106112ce576112cd614636565b5b906000526020600020906007020160030160008282546112ee91906148ac565b925050819055505b60016005828154811061130c5761130b614636565b5b9060005260206000209060070201600001600082825461132c91906148ac565b925050819055506001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600581815481106113b0576113af614636565b5b906000526020600020906007020160060160029054906101000a900460ff161561142f57600160056001815481106113eb576113ea614636565b5b9060005260206000209060070201600001600082825461140b91906148ac565b9250508190555061142e33600180604051806020016040528060008152506126d2565b5b7fef31b38176d40d5e039a10dc804ba178c47478486ce20e46e6e7dcca99fe27053382604051611460929190614b12565b60405180910390a150565b61147782826001611d8a565b60016005828154811061148d5761148c614636565b5b906000526020600020906007020160010160008282546114ad91906148ac565b925050819055507f50b71add01f85c822c32b69b20290a8fb2a972a7e632a5f0fe09a4163de8f7d782826040516114e5929190614b12565b60405180910390a15050565b6005828154811061150557611504614636565b5b906000526020600020906007020160060160009054906101000a900460ff16611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a90614b87565b60405180910390fd5b6005828154811061157757611576614636565b5b9060005260206000209060070201600301543410156115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c2906149ba565b60405180910390fd5b600582815481106115df576115de614636565b5b9060005260206000209060070201600201546005838154811061160557611604614636565b5b90600052602060002090600702016000015410611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164e90614a26565b60405180910390fd5b61165f610efe565b73ffffffffffffffffffffffffffffffffffffffff16611680338385610e89565b73ffffffffffffffffffffffffffffffffffffffff16146116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd90614bf3565b60405180910390fd5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff1615611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b90614a92565b60405180910390fd5b61179033836001604051806020016040528060008152506126d2565b6001600583815481106117a6576117a5614636565b5b906000526020600020906007020160000160008282546117c691906148ac565b925050819055506001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548160ff02191690831515021790555060006005838154811061184c5761184b614636565b5b9060005260206000209060070201600501546005848154811061187257611871614636565b5b90600052602060002090600702016000015461188e9190614ae1565b14156118f657600582815481106118a8576118a7614636565b5b906000526020600020906007020160040154600583815481106118ce576118cd614636565b5b906000526020600020906007020160030160008282546118ee91906148ac565b925050819055505b6005828154811061190a57611909614636565b5b906000526020600020906007020160060160029054906101000a900460ff1615611989576001600560018154811061194557611944614636565b5b9060005260206000209060070201600001600082825461196591906148ac565b9250508190555061198833600180604051806020016040528060008152506126d2565b5b7fef31b38176d40d5e039a10dc804ba178c47478486ce20e46e6e7dcca99fe270533836040516119ba929190614b12565b60405180910390a15050565b6119ce611e91565b73ffffffffffffffffffffffffffffffffffffffff166119ec610efe565b73ffffffffffffffffffffffffffffffffffffffff1614611a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a39906143df565b60405180910390fd5b6005604051806101200160405280600081526020016000815260200185815260200184815260200183815260200160078152602001600015158152602001600015158152602001600015158152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e08201518160060160016101000a81548160ff0219169083151502179055506101008201518160060160026101000a81548160ff0219169083151502179055505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bf9611e91565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611c3f5750611c3e85611c39611e91565b611b5d565b5b611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c759061474f565b60405180910390fd5b611c8b8585858585612868565b5050505050565b611c9a611e91565b73ffffffffffffffffffffffffffffffffffffffff16611cb8610efe565b73ffffffffffffffffffffffffffffffffffffffff1614611d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d05906143df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7590614c85565b60405180910390fd5b611d8781612478565b50565b611d92611e91565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611dd85750611dd783611dd2611e91565b611b5d565b5b611e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0e9061474f565b60405180910390fd5b611e22838383612aea565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611eaf9291906134ff565b5050565b8151835114611ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eee90614d17565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e90614da9565b60405180910390fd5b6000611f71611e91565b9050611f81818787878787612d07565b60005b8451811015612132576000858281518110611fa257611fa1614636565b5b602002602001015190506000858381518110611fc157611fc0614636565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205990614e3b565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211791906148ac565b925050819055505050508061212b90614694565b9050611f84565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516121a9929190614e5b565b60405180910390a46121bf818787878787612d0f565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222e90614f04565b60405180910390fd5b805182511461227b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227290614d17565b60405180910390fd5b6000612285611e91565b90506122a581856000868660405180602001604052806000815250612d07565b60005b83518110156123f25760008482815181106122c6576122c5614636565b5b6020026020010151905060008483815181106122e5576122e4614636565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237d90614f96565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806123ea90614694565b9150506122a8565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161246a929190614e5b565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600061254d8585612ee7565b9150915061255a81612f6a565b819250505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cb90615028565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126c59190613754565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612742576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612739906150ba565b60405180910390fd5b600061274c611e91565b905061276d8160008761275e8861313f565b6127678861313f565b87612d07565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127cc91906148ac565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161284a9291906150da565b60405180910390a4612861816000878787876131b9565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cf90614da9565b60405180910390fd5b60006128e2611e91565b90506129028187876128f38861313f565b6128fc8861313f565b87612d07565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299090614e3b565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a4e91906148ac565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612acb9291906150da565b60405180910390a4612ae18288888888886131b9565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5190614f04565b60405180910390fd5b6000612b64611e91565b9050612b9481856000612b768761313f565b612b7f8761313f565b60405180602001604052806000815250612d07565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2290614f96565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612cf89291906150da565b60405180910390a45050505050565b505050505050565b612d2e8473ffffffffffffffffffffffffffffffffffffffff16613391565b15612edf578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d74959493929190615158565b6020604051808303816000875af1925050508015612db057506040513d601f19601f82011682018060405250810190612dad91906151d5565b60015b612e5657612dbc61520f565b806308c379a01415612e195750612dd1615231565b80612ddc5750612e1b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1091906139b3565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4d90615339565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed4906153cb565b60405180910390fd5b505b505050505050565b600080604183511415612f295760008060006020860151925060408601519150606086015160001a9050612f1d878285856133a4565b94509450505050612f63565b604083511415612f5a576000806020850151915060408501519050612f4f8683836134b1565b935093505050612f63565b60006002915091505b9250929050565b60006004811115612f7e57612f7d6153eb565b5b816004811115612f9157612f906153eb565b5b1415612f9c5761313c565b60016004811115612fb057612faf6153eb565b5b816004811115612fc357612fc26153eb565b5b1415613004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffb90615466565b60405180910390fd5b60026004811115613018576130176153eb565b5b81600481111561302b5761302a6153eb565b5b141561306c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613063906154d2565b60405180910390fd5b600360048111156130805761307f6153eb565b5b816004811115613093576130926153eb565b5b14156130d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cb90615564565b60405180910390fd5b6004808111156130e7576130e66153eb565b5b8160048111156130fa576130f96153eb565b5b141561313b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613132906155f6565b60405180910390fd5b5b50565b60606000600167ffffffffffffffff81111561315e5761315d61378a565b5b60405190808252806020026020018201604052801561318c5781602001602082028036833780820191505090505b50905082816000815181106131a4576131a3614636565b5b60200260200101818152505080915050919050565b6131d88473ffffffffffffffffffffffffffffffffffffffff16613391565b15613389578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161321e959493929190615616565b6020604051808303816000875af192505050801561325a57506040513d601f19601f8201168201806040525081019061325791906151d5565b60015b6133005761326661520f565b806308c379a014156132c3575061327b615231565b8061328657506132c5565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ba91906139b3565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f790615339565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337e906153cb565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156133df5760006003915091506134a8565b601b8560ff16141580156133f75750601c8560ff1614155b156134095760006004915091506134a8565b60006001878787876040516000815260200160405260405161342e949392919061569b565b6020604051602081039080840390855afa158015613450573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561349f576000600192509250506134a8565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506134f1878288856133a4565b935093505050935093915050565b82805461350b9061442e565b90600052602060002090601f01602090048101928261352d5760008555613574565b82601f1061354657805160ff1916838001178555613574565b82800160010185558215613574579182015b82811115613573578251825591602001919060010190613558565b5b5090506135819190613585565b5090565b5b8082111561359e576000816000905550600101613586565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135e1826135b6565b9050919050565b6135f1816135d6565b81146135fc57600080fd5b50565b60008135905061360e816135e8565b92915050565b6000819050919050565b61362781613614565b811461363257600080fd5b50565b6000813590506136448161361e565b92915050565b60008060408385031215613661576136606135ac565b5b600061366f858286016135ff565b925050602061368085828601613635565b9150509250929050565b61369381613614565b82525050565b60006020820190506136ae600083018461368a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136e9816136b4565b81146136f457600080fd5b50565b600081359050613706816136e0565b92915050565b600060208284031215613722576137216135ac565b5b6000613730848285016136f7565b91505092915050565b60008115159050919050565b61374e81613739565b82525050565b60006020820190506137696000830184613745565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137c282613779565b810181811067ffffffffffffffff821117156137e1576137e061378a565b5b80604052505050565b60006137f46135a2565b905061380082826137b9565b919050565b600067ffffffffffffffff8211156138205761381f61378a565b5b61382982613779565b9050602081019050919050565b82818337600083830152505050565b600061385861385384613805565b6137ea565b90508281526020810184848401111561387457613873613774565b5b61387f848285613836565b509392505050565b600082601f83011261389c5761389b61376f565b5b81356138ac848260208601613845565b91505092915050565b6000602082840312156138cb576138ca6135ac565b5b600082013567ffffffffffffffff8111156138e9576138e86135b1565b5b6138f584828501613887565b91505092915050565b600060208284031215613914576139136135ac565b5b600061392284828501613635565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561396557808201518184015260208101905061394a565b83811115613974576000848401525b50505050565b60006139858261392b565b61398f8185613936565b935061399f818560208601613947565b6139a881613779565b840191505092915050565b600060208201905081810360008301526139cd818461397a565b905092915050565b600067ffffffffffffffff8211156139f0576139ef61378a565b5b602082029050602081019050919050565b600080fd5b6000613a19613a14846139d5565b6137ea565b90508083825260208201905060208402830185811115613a3c57613a3b613a01565b5b835b81811015613a655780613a518882613635565b845260208401935050602081019050613a3e565b5050509392505050565b600082601f830112613a8457613a8361376f565b5b8135613a94848260208601613a06565b91505092915050565b600067ffffffffffffffff821115613ab857613ab761378a565b5b613ac182613779565b9050602081019050919050565b6000613ae1613adc84613a9d565b6137ea565b905082815260208101848484011115613afd57613afc613774565b5b613b08848285613836565b509392505050565b600082601f830112613b2557613b2461376f565b5b8135613b35848260208601613ace565b91505092915050565b600080600080600060a08688031215613b5a57613b596135ac565b5b6000613b68888289016135ff565b9550506020613b79888289016135ff565b945050604086013567ffffffffffffffff811115613b9a57613b996135b1565b5b613ba688828901613a6f565b935050606086013567ffffffffffffffff811115613bc757613bc66135b1565b5b613bd388828901613a6f565b925050608086013567ffffffffffffffff811115613bf457613bf36135b1565b5b613c0088828901613b10565b9150509295509295909350565b600061012082019050613c23600083018c61368a565b613c30602083018b61368a565b613c3d604083018a61368a565b613c4a606083018961368a565b613c57608083018861368a565b613c6460a083018761368a565b613c7160c0830186613745565b613c7e60e0830185613745565b613c8c610100830184613745565b9a9950505050505050505050565b600067ffffffffffffffff821115613cb557613cb461378a565b5b602082029050602081019050919050565b6000613cd9613cd484613c9a565b6137ea565b90508083825260208201905060208402830185811115613cfc57613cfb613a01565b5b835b81811015613d255780613d1188826135ff565b845260208401935050602081019050613cfe565b5050509392505050565b600082601f830112613d4457613d4361376f565b5b8135613d54848260208601613cc6565b91505092915050565b60008060408385031215613d7457613d736135ac565b5b600083013567ffffffffffffffff811115613d9257613d916135b1565b5b613d9e85828601613d2f565b925050602083013567ffffffffffffffff811115613dbf57613dbe6135b1565b5b613dcb85828601613a6f565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e0a81613614565b82525050565b6000613e1c8383613e01565b60208301905092915050565b6000602082019050919050565b6000613e4082613dd5565b613e4a8185613de0565b9350613e5583613df1565b8060005b83811015613e86578151613e6d8882613e10565b9750613e7883613e28565b925050600181019050613e59565b5085935050505092915050565b60006020820190508181036000830152613ead8184613e35565b905092915050565b613ebe81613739565b8114613ec957600080fd5b50565b600081359050613edb81613eb5565b92915050565b600080600080600080600080610100898b031215613f0257613f016135ac565b5b6000613f108b828c01613635565b9850506020613f218b828c01613635565b9750506040613f328b828c01613635565b9650506060613f438b828c01613635565b9550506080613f548b828c01613635565b94505060a0613f658b828c01613ecc565b93505060c0613f768b828c01613ecc565b92505060e0613f878b828c01613ecc565b9150509295985092959890939650565b600080600060608486031215613fb057613faf6135ac565b5b6000613fbe868287016135ff565b935050602084013567ffffffffffffffff811115613fdf57613fde6135b1565b5b613feb86828701613a6f565b925050604084013567ffffffffffffffff81111561400c5761400b6135b1565b5b61401886828701613a6f565b9150509250925092565b60008060006060848603121561403b5761403a6135ac565b5b6000614049868287016135ff565b935050602084013567ffffffffffffffff81111561406a576140696135b1565b5b61407686828701613b10565b925050604061408786828701613635565b9150509250925092565b61409a816135d6565b82525050565b60006020820190506140b56000830184614091565b92915050565b600080604083850312156140d2576140d16135ac565b5b60006140e0858286016135ff565b92505060206140f185828601613ecc565b9150509250929050565b600080600060608486031215614114576141136135ac565b5b6000614122868287016135ff565b935050602061413386828701613635565b925050604061414486828701613635565b9150509250925092565b60008060408385031215614165576141646135ac565b5b600061417385828601613635565b925050602083013567ffffffffffffffff811115614194576141936135b1565b5b6141a085828601613b10565b9150509250929050565b6000806000606084860312156141c3576141c26135ac565b5b60006141d186828701613635565b93505060206141e286828701613635565b92505060406141f386828701613635565b9150509250925092565b60008060408385031215614214576142136135ac565b5b6000614222858286016135ff565b9250506020614233858286016135ff565b9150509250929050565b600080600080600060a08688031215614259576142586135ac565b5b6000614267888289016135ff565b9550506020614278888289016135ff565b945050604061428988828901613635565b935050606061429a88828901613635565b925050608086013567ffffffffffffffff8111156142bb576142ba6135b1565b5b6142c788828901613b10565b9150509295509295909350565b6000602082840312156142ea576142e96135ac565b5b60006142f8848285016135ff565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061435d602b83613936565b915061436882614301565b604082019050919050565b6000602082019050818103600083015261438c81614350565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143c9602083613936565b91506143d482614393565b602082019050919050565b600060208201905081810360008301526143f8816143bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061444657607f821691505b6020821081141561445a576144596143ff565b5b50919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006144bc603283613936565b91506144c782614460565b604082019050919050565b600060208201905081810360008301526144eb816144af565b9050919050565b600081905092915050565b50565b600061450d6000836144f2565b9150614518826144fd565b600082019050919050565b600061452e82614500565b9150819050919050565b7f4661696c656420746f2077696474686472617720457468657200000000000000600082015250565b600061456e601983613936565b915061457982614538565b602082019050919050565b6000602082019050818103600083015261459d81614561565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614600602983613936565b915061460b826145a4565b604082019050919050565b6000602082019050818103600083015261462f816145f3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061469f82613614565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146d2576146d1614665565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614739602983613936565b9150614744826146dd565b604082019050919050565b600060208201905081810360008301526147688161472c565b9050919050565b60008160601b9050919050565b60006147878261476f565b9050919050565b60006147998261477c565b9050919050565b6147b16147ac826135d6565b61478e565b82525050565b6000819050919050565b6147d26147cd82613614565b6147b7565b82525050565b60006147e482856147a0565b6014820191506147f482846147c1565b6020820191508190509392505050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614845601c83614804565b91506148508261480f565b601c82019050919050565b6000819050919050565b6000819050919050565b61488061487b8261485b565b614865565b82525050565b600061489182614838565b915061489d828461486f565b60208201915081905092915050565b60006148b782613614565b91506148c283613614565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148f7576148f6614665565b5b828201905092915050565b7f4d494e54494e47202d20414c4c4f57204f4e4c59000000000000000000000000600082015250565b6000614938601483613936565b915061494382614902565b602082019050919050565b600060208201905081810360008301526149678161492b565b9050919050565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b60006149a4601383613936565b91506149af8261496e565b602082019050919050565b600060208201905081810360008301526149d381614997565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000614a10600883613936565b9150614a1b826149da565b602082019050919050565b60006020820190508181036000830152614a3f81614a03565b9050919050565b7f4f4e4c592031204d494e54205045522057414c4c455400000000000000000000600082015250565b6000614a7c601683613936565b9150614a8782614a46565b602082019050919050565b60006020820190508181036000830152614aab81614a6f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614aec82613614565b9150614af783613614565b925082614b0757614b06614ab2565b5b828206905092915050565b6000604082019050614b276000830185614091565b614b34602083018461368a565b9392505050565b7f4d494e54494e47202d204e4f54204f50454e0000000000000000000000000000600082015250565b6000614b71601283613936565b9150614b7c82614b3b565b602082019050919050565b60006020820190508181036000830152614ba081614b64565b9050919050565b7f41646472657373206973206e6f7420616c6c6f776c6973746564000000000000600082015250565b6000614bdd601a83613936565b9150614be882614ba7565b602082019050919050565b60006020820190508181036000830152614c0c81614bd0565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c6f602683613936565b9150614c7a82614c13565b604082019050919050565b60006020820190508181036000830152614c9e81614c62565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614d01602883613936565b9150614d0c82614ca5565b604082019050919050565b60006020820190508181036000830152614d3081614cf4565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614d93602583613936565b9150614d9e82614d37565b604082019050919050565b60006020820190508181036000830152614dc281614d86565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614e25602a83613936565b9150614e3082614dc9565b604082019050919050565b60006020820190508181036000830152614e5481614e18565b9050919050565b60006040820190508181036000830152614e758185613e35565b90508181036020830152614e898184613e35565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614eee602383613936565b9150614ef982614e92565b604082019050919050565b60006020820190508181036000830152614f1d81614ee1565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614f80602483613936565b9150614f8b82614f24565b604082019050919050565b60006020820190508181036000830152614faf81614f73565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615012602983613936565b915061501d82614fb6565b604082019050919050565b6000602082019050818103600083015261504181615005565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006150a4602183613936565b91506150af82615048565b604082019050919050565b600060208201905081810360008301526150d381615097565b9050919050565b60006040820190506150ef600083018561368a565b6150fc602083018461368a565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061512a82615103565b615134818561510e565b9350615144818560208601613947565b61514d81613779565b840191505092915050565b600060a08201905061516d6000830188614091565b61517a6020830187614091565b818103604083015261518c8186613e35565b905081810360608301526151a08185613e35565b905081810360808301526151b4818461511f565b90509695505050505050565b6000815190506151cf816136e0565b92915050565b6000602082840312156151eb576151ea6135ac565b5b60006151f9848285016151c0565b91505092915050565b60008160e01c9050919050565b600060033d111561522e5760046000803e61522b600051615202565b90505b90565b600060443d1015615241576152c4565b6152496135a2565b60043d036004823e80513d602482011167ffffffffffffffff821117156152715750506152c4565b808201805167ffffffffffffffff81111561528f57505050506152c4565b80602083010160043d0385018111156152ac5750505050506152c4565b6152bb826020018501866137b9565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615323603483613936565b915061532e826152c7565b604082019050919050565b6000602082019050818103600083015261535281615316565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006153b5602883613936565b91506153c082615359565b604082019050919050565b600060208201905081810360008301526153e4816153a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615450601883613936565b915061545b8261541a565b602082019050919050565b6000602082019050818103600083015261547f81615443565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006154bc601f83613936565b91506154c782615486565b602082019050919050565b600060208201905081810360008301526154eb816154af565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061554e602283613936565b9150615559826154f2565b604082019050919050565b6000602082019050818103600083015261557d81615541565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006155e0602283613936565b91506155eb82615584565b604082019050919050565b6000602082019050818103600083015261560f816155d3565b9050919050565b600060a08201905061562b6000830188614091565b6156386020830187614091565b615645604083018661368a565b615652606083018561368a565b8181036080830152615664818461511f565b90509695505050505050565b6156798161485b565b82525050565b600060ff82169050919050565b6156958161567f565b82525050565b60006080820190506156b06000830187615670565b6156bd602083018661568c565b6156ca6040830185615670565b6156d76060830184615670565b9594505050505056fea26469706673582212207371feddcfce89d511d5a248f23f12dba56745fe4407c3ff77978bb44d91b02264736f6c634300080c003368747470733a2f2f697066732e696f2f697066732f516d61626b55314b4d557275736a47725a4b367a3662716d524d51325258694771514146545651726d4d783745322f7b69647d2e6a736f6e
Deployed Bytecode
0x6080604052600436106101655760003560e01c80637bebcaeb116100d1578063d1df306c1161008a578063e985e9c511610064578063e985e9c514610521578063f242432a1461055e578063f2fde38b14610587578063f5298aca146105b057610165565b8063d1df306c146104b3578063e4dfe47f146104dc578063e8c61e2b146104f857610165565b80637bebcaeb146103b25780637fdc1401146103ef5780638da5cb5b1461041a578063a22cb46514610445578063ab3f22091461046e578063c634d0321461049757610165565b8063393b450811610123578063393b4508146102b05780633ccfd60b146102f55780634e1273f41461030c5780635d337321146103495780636b20c45414610372578063715018a61461039b57610165565b8062fdd58e1461016a57806301ffc9a7146101a757806302fe5305146101e45780630e89341c1461020d5780632eb2c2d61461024a57806335c2ec6014610273575b600080fd5b34801561017657600080fd5b50610191600480360381019061018c919061364a565b6105d9565b60405161019e9190613699565b60405180910390f35b3480156101b357600080fd5b506101ce60048036038101906101c9919061370c565b6106a2565b6040516101db9190613754565b60405180910390f35b3480156101f057600080fd5b5061020b600480360381019061020691906138b5565b610784565b005b34801561021957600080fd5b50610234600480360381019061022f91906138fe565b61080c565b60405161024191906139b3565b60405180910390f35b34801561025657600080fd5b50610271600480360381019061026c9190613b3e565b6108a0565b005b34801561027f57600080fd5b5061029a6004803603810190610295919061364a565b610941565b6040516102a79190613754565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d291906138fe565b610970565b6040516102ec99989796959493929190613c0d565b60405180910390f35b34801561030157600080fd5b5061030a6109f5565b005b34801561031857600080fd5b50610333600480360381019061032e9190613d5d565b610b26565b6040516103409190613e93565b60405180910390f35b34801561035557600080fd5b50610370600480360381019061036b9190613ee1565b610c3f565b005b34801561037e57600080fd5b5061039960048036038101906103949190613f97565b610d64565b005b3480156103a757600080fd5b506103b0610e01565b005b3480156103be57600080fd5b506103d960048036038101906103d49190614022565b610e89565b6040516103e691906140a0565b60405180910390f35b3480156103fb57600080fd5b50610404610ef1565b6040516104119190613699565b60405180910390f35b34801561042657600080fd5b5061042f610efe565b60405161043c91906140a0565b60405180910390f35b34801561045157600080fd5b5061046c600480360381019061046791906140bb565b610f28565b005b34801561047a57600080fd5b50610495600480360381019061049091906140fb565b610f3e565b005b6104b160048036038101906104ac91906138fe565b611016565b005b3480156104bf57600080fd5b506104da60048036038101906104d5919061364a565b61146b565b005b6104f660048036038101906104f1919061414e565b6114f1565b005b34801561050457600080fd5b5061051f600480360381019061051a91906141aa565b6119c6565b005b34801561052d57600080fd5b50610548600480360381019061054391906141fd565b611b5d565b6040516105559190613754565b60405180910390f35b34801561056a57600080fd5b506105856004803603810190610580919061423d565b611bf1565b005b34801561059357600080fd5b506105ae60048036038101906105a991906142d4565b611c92565b005b3480156105bc57600080fd5b506105d760048036038101906105d291906140fb565b611d8a565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561064a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064190614373565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076d57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061077d575061077c82611e27565b5b9050919050565b61078c611e91565b73ffffffffffffffffffffffffffffffffffffffff166107aa610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f7906143df565b60405180910390fd5b61080981611e99565b50565b60606002805461081b9061442e565b80601f01602080910402602001604051908101604052809291908181526020018280546108479061442e565b80156108945780601f1061086957610100808354040283529160200191610894565b820191906000526020600020905b81548152906001019060200180831161087757829003601f168201915b50505050509050919050565b6108a8611e91565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108ee57506108ed856108e8611e91565b611b5d565b5b61092d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610924906144d2565b60405180910390fd5b61093a8585858585611eb3565b5050505050565b60046020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6005818154811061098057600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900460ff16908060060160019054906101000a900460ff16908060060160029054906101000a900460ff16905089565b6109fd611e91565b73ffffffffffffffffffffffffffffffffffffffff16610a1b610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a68906143df565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff1682604051610a9c90614523565b60006040518083038185875af1925050503d8060008114610ad9576040519150601f19603f3d011682016040523d82523d6000602084013e610ade565b606091505b5050905080610b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1990614584565b60405180910390fd5b5050565b60608151835114610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6390614616565b60405180910390fd5b6000835167ffffffffffffffff811115610b8957610b8861378a565b5b604051908082528060200260200182016040528015610bb75781602001602082028036833780820191505090505b50905060005b8451811015610c3457610c04858281518110610bdc57610bdb614636565b5b6020026020010151858381518110610bf757610bf6614636565b5b60200260200101516105d9565b828281518110610c1757610c16614636565b5b60200260200101818152505080610c2d90614694565b9050610bbd565b508091505092915050565b610c47611e91565b73ffffffffffffffffffffffffffffffffffffffff16610c65610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb2906143df565b60405180910390fd5b600060058981548110610cd157610cd0614636565b5b90600052602060002090600702019050878160020181905550868160030181905550858160040181905550848160050181905550838160060160006101000a81548160ff021916908315150217905550828160060160016101000a81548160ff021916908315150217905550818160060160026101000a81548160ff021916908315150217905550505050505050505050565b610d6c611e91565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610db25750610db183610dac611e91565b611b5d565b5b610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de89061474f565b60405180910390fd5b610dfc8383836121c7565b505050565b610e09611e91565b73ffffffffffffffffffffffffffffffffffffffff16610e27610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e74906143df565b60405180910390fd5b610e876000612478565b565b6000808483604051602001610e9f9291906147d8565b60405160208183030381529060405280519060200120604051602001610ec59190614886565b604051602081830303815290604052805190602001209050610ee7818561253e565b9150509392505050565b6000600580549050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f3a610f33611e91565b8383612565565b5050565b610f46611e91565b73ffffffffffffffffffffffffffffffffffffffff16610f64610efe565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb1906143df565b60405180910390fd5b610fd5838383604051806020016040528060008152506126d2565b8060058381548110610fea57610fe9614636565b5b9060005260206000209060070201600001600082825461100a91906148ac565b92505081905550505050565b6005818154811061102a57611029614636565b5b906000526020600020906007020160060160019054906101000a900460ff16611088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107f9061494e565b60405180910390fd5b6005818154811061109c5761109b614636565b5b9060005260206000209060070201600301543410156110f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e7906149ba565b60405180910390fd5b6005818154811061110457611103614636565b5b9060005260206000209060070201600201546005828154811061112a57611129614636565b5b9060005260206000209060070201600001541061117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390614a26565b60405180910390fd5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff161561121a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121190614a92565b60405180910390fd5b61123633826001604051806020016040528060008152506126d2565b60006005828154811061124c5761124b614636565b5b9060005260206000209060070201600501546005838154811061127257611271614636565b5b90600052602060002090600702016000015461128e9190614ae1565b14156112f657600581815481106112a8576112a7614636565b5b906000526020600020906007020160040154600582815481106112ce576112cd614636565b5b906000526020600020906007020160030160008282546112ee91906148ac565b925050819055505b60016005828154811061130c5761130b614636565b5b9060005260206000209060070201600001600082825461132c91906148ac565b925050819055506001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600581815481106113b0576113af614636565b5b906000526020600020906007020160060160029054906101000a900460ff161561142f57600160056001815481106113eb576113ea614636565b5b9060005260206000209060070201600001600082825461140b91906148ac565b9250508190555061142e33600180604051806020016040528060008152506126d2565b5b7fef31b38176d40d5e039a10dc804ba178c47478486ce20e46e6e7dcca99fe27053382604051611460929190614b12565b60405180910390a150565b61147782826001611d8a565b60016005828154811061148d5761148c614636565b5b906000526020600020906007020160010160008282546114ad91906148ac565b925050819055507f50b71add01f85c822c32b69b20290a8fb2a972a7e632a5f0fe09a4163de8f7d782826040516114e5929190614b12565b60405180910390a15050565b6005828154811061150557611504614636565b5b906000526020600020906007020160060160009054906101000a900460ff16611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a90614b87565b60405180910390fd5b6005828154811061157757611576614636565b5b9060005260206000209060070201600301543410156115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c2906149ba565b60405180910390fd5b600582815481106115df576115de614636565b5b9060005260206000209060070201600201546005838154811061160557611604614636565b5b90600052602060002090600702016000015410611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164e90614a26565b60405180910390fd5b61165f610efe565b73ffffffffffffffffffffffffffffffffffffffff16611680338385610e89565b73ffffffffffffffffffffffffffffffffffffffff16146116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd90614bf3565b60405180910390fd5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff1615611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b90614a92565b60405180910390fd5b61179033836001604051806020016040528060008152506126d2565b6001600583815481106117a6576117a5614636565b5b906000526020600020906007020160000160008282546117c691906148ac565b925050819055506001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548160ff02191690831515021790555060006005838154811061184c5761184b614636565b5b9060005260206000209060070201600501546005848154811061187257611871614636565b5b90600052602060002090600702016000015461188e9190614ae1565b14156118f657600582815481106118a8576118a7614636565b5b906000526020600020906007020160040154600583815481106118ce576118cd614636565b5b906000526020600020906007020160030160008282546118ee91906148ac565b925050819055505b6005828154811061190a57611909614636565b5b906000526020600020906007020160060160029054906101000a900460ff1615611989576001600560018154811061194557611944614636565b5b9060005260206000209060070201600001600082825461196591906148ac565b9250508190555061198833600180604051806020016040528060008152506126d2565b5b7fef31b38176d40d5e039a10dc804ba178c47478486ce20e46e6e7dcca99fe270533836040516119ba929190614b12565b60405180910390a15050565b6119ce611e91565b73ffffffffffffffffffffffffffffffffffffffff166119ec610efe565b73ffffffffffffffffffffffffffffffffffffffff1614611a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a39906143df565b60405180910390fd5b6005604051806101200160405280600081526020016000815260200185815260200184815260200183815260200160078152602001600015158152602001600015158152602001600015158152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e08201518160060160016101000a81548160ff0219169083151502179055506101008201518160060160026101000a81548160ff0219169083151502179055505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bf9611e91565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611c3f5750611c3e85611c39611e91565b611b5d565b5b611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c759061474f565b60405180910390fd5b611c8b8585858585612868565b5050505050565b611c9a611e91565b73ffffffffffffffffffffffffffffffffffffffff16611cb8610efe565b73ffffffffffffffffffffffffffffffffffffffff1614611d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d05906143df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7590614c85565b60405180910390fd5b611d8781612478565b50565b611d92611e91565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611dd85750611dd783611dd2611e91565b611b5d565b5b611e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0e9061474f565b60405180910390fd5b611e22838383612aea565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611eaf9291906134ff565b5050565b8151835114611ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eee90614d17565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e90614da9565b60405180910390fd5b6000611f71611e91565b9050611f81818787878787612d07565b60005b8451811015612132576000858281518110611fa257611fa1614636565b5b602002602001015190506000858381518110611fc157611fc0614636565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205990614e3b565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211791906148ac565b925050819055505050508061212b90614694565b9050611f84565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516121a9929190614e5b565b60405180910390a46121bf818787878787612d0f565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222e90614f04565b60405180910390fd5b805182511461227b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227290614d17565b60405180910390fd5b6000612285611e91565b90506122a581856000868660405180602001604052806000815250612d07565b60005b83518110156123f25760008482815181106122c6576122c5614636565b5b6020026020010151905060008483815181106122e5576122e4614636565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237d90614f96565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806123ea90614694565b9150506122a8565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161246a929190614e5b565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600061254d8585612ee7565b9150915061255a81612f6a565b819250505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cb90615028565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126c59190613754565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612742576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612739906150ba565b60405180910390fd5b600061274c611e91565b905061276d8160008761275e8861313f565b6127678861313f565b87612d07565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127cc91906148ac565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161284a9291906150da565b60405180910390a4612861816000878787876131b9565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cf90614da9565b60405180910390fd5b60006128e2611e91565b90506129028187876128f38861313f565b6128fc8861313f565b87612d07565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299090614e3b565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a4e91906148ac565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612acb9291906150da565b60405180910390a4612ae18288888888886131b9565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5190614f04565b60405180910390fd5b6000612b64611e91565b9050612b9481856000612b768761313f565b612b7f8761313f565b60405180602001604052806000815250612d07565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2290614f96565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612cf89291906150da565b60405180910390a45050505050565b505050505050565b612d2e8473ffffffffffffffffffffffffffffffffffffffff16613391565b15612edf578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d74959493929190615158565b6020604051808303816000875af1925050508015612db057506040513d601f19601f82011682018060405250810190612dad91906151d5565b60015b612e5657612dbc61520f565b806308c379a01415612e195750612dd1615231565b80612ddc5750612e1b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1091906139b3565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4d90615339565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed4906153cb565b60405180910390fd5b505b505050505050565b600080604183511415612f295760008060006020860151925060408601519150606086015160001a9050612f1d878285856133a4565b94509450505050612f63565b604083511415612f5a576000806020850151915060408501519050612f4f8683836134b1565b935093505050612f63565b60006002915091505b9250929050565b60006004811115612f7e57612f7d6153eb565b5b816004811115612f9157612f906153eb565b5b1415612f9c5761313c565b60016004811115612fb057612faf6153eb565b5b816004811115612fc357612fc26153eb565b5b1415613004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffb90615466565b60405180910390fd5b60026004811115613018576130176153eb565b5b81600481111561302b5761302a6153eb565b5b141561306c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613063906154d2565b60405180910390fd5b600360048111156130805761307f6153eb565b5b816004811115613093576130926153eb565b5b14156130d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cb90615564565b60405180910390fd5b6004808111156130e7576130e66153eb565b5b8160048111156130fa576130f96153eb565b5b141561313b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613132906155f6565b60405180910390fd5b5b50565b60606000600167ffffffffffffffff81111561315e5761315d61378a565b5b60405190808252806020026020018201604052801561318c5781602001602082028036833780820191505090505b50905082816000815181106131a4576131a3614636565b5b60200260200101818152505080915050919050565b6131d88473ffffffffffffffffffffffffffffffffffffffff16613391565b15613389578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161321e959493929190615616565b6020604051808303816000875af192505050801561325a57506040513d601f19601f8201168201806040525081019061325791906151d5565b60015b6133005761326661520f565b806308c379a014156132c3575061327b615231565b8061328657506132c5565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ba91906139b3565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f790615339565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337e906153cb565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156133df5760006003915091506134a8565b601b8560ff16141580156133f75750601c8560ff1614155b156134095760006004915091506134a8565b60006001878787876040516000815260200160405260405161342e949392919061569b565b6020604051602081039080840390855afa158015613450573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561349f576000600192509250506134a8565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506134f1878288856133a4565b935093505050935093915050565b82805461350b9061442e565b90600052602060002090601f01602090048101928261352d5760008555613574565b82601f1061354657805160ff1916838001178555613574565b82800160010185558215613574579182015b82811115613573578251825591602001919060010190613558565b5b5090506135819190613585565b5090565b5b8082111561359e576000816000905550600101613586565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135e1826135b6565b9050919050565b6135f1816135d6565b81146135fc57600080fd5b50565b60008135905061360e816135e8565b92915050565b6000819050919050565b61362781613614565b811461363257600080fd5b50565b6000813590506136448161361e565b92915050565b60008060408385031215613661576136606135ac565b5b600061366f858286016135ff565b925050602061368085828601613635565b9150509250929050565b61369381613614565b82525050565b60006020820190506136ae600083018461368a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136e9816136b4565b81146136f457600080fd5b50565b600081359050613706816136e0565b92915050565b600060208284031215613722576137216135ac565b5b6000613730848285016136f7565b91505092915050565b60008115159050919050565b61374e81613739565b82525050565b60006020820190506137696000830184613745565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137c282613779565b810181811067ffffffffffffffff821117156137e1576137e061378a565b5b80604052505050565b60006137f46135a2565b905061380082826137b9565b919050565b600067ffffffffffffffff8211156138205761381f61378a565b5b61382982613779565b9050602081019050919050565b82818337600083830152505050565b600061385861385384613805565b6137ea565b90508281526020810184848401111561387457613873613774565b5b61387f848285613836565b509392505050565b600082601f83011261389c5761389b61376f565b5b81356138ac848260208601613845565b91505092915050565b6000602082840312156138cb576138ca6135ac565b5b600082013567ffffffffffffffff8111156138e9576138e86135b1565b5b6138f584828501613887565b91505092915050565b600060208284031215613914576139136135ac565b5b600061392284828501613635565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561396557808201518184015260208101905061394a565b83811115613974576000848401525b50505050565b60006139858261392b565b61398f8185613936565b935061399f818560208601613947565b6139a881613779565b840191505092915050565b600060208201905081810360008301526139cd818461397a565b905092915050565b600067ffffffffffffffff8211156139f0576139ef61378a565b5b602082029050602081019050919050565b600080fd5b6000613a19613a14846139d5565b6137ea565b90508083825260208201905060208402830185811115613a3c57613a3b613a01565b5b835b81811015613a655780613a518882613635565b845260208401935050602081019050613a3e565b5050509392505050565b600082601f830112613a8457613a8361376f565b5b8135613a94848260208601613a06565b91505092915050565b600067ffffffffffffffff821115613ab857613ab761378a565b5b613ac182613779565b9050602081019050919050565b6000613ae1613adc84613a9d565b6137ea565b905082815260208101848484011115613afd57613afc613774565b5b613b08848285613836565b509392505050565b600082601f830112613b2557613b2461376f565b5b8135613b35848260208601613ace565b91505092915050565b600080600080600060a08688031215613b5a57613b596135ac565b5b6000613b68888289016135ff565b9550506020613b79888289016135ff565b945050604086013567ffffffffffffffff811115613b9a57613b996135b1565b5b613ba688828901613a6f565b935050606086013567ffffffffffffffff811115613bc757613bc66135b1565b5b613bd388828901613a6f565b925050608086013567ffffffffffffffff811115613bf457613bf36135b1565b5b613c0088828901613b10565b9150509295509295909350565b600061012082019050613c23600083018c61368a565b613c30602083018b61368a565b613c3d604083018a61368a565b613c4a606083018961368a565b613c57608083018861368a565b613c6460a083018761368a565b613c7160c0830186613745565b613c7e60e0830185613745565b613c8c610100830184613745565b9a9950505050505050505050565b600067ffffffffffffffff821115613cb557613cb461378a565b5b602082029050602081019050919050565b6000613cd9613cd484613c9a565b6137ea565b90508083825260208201905060208402830185811115613cfc57613cfb613a01565b5b835b81811015613d255780613d1188826135ff565b845260208401935050602081019050613cfe565b5050509392505050565b600082601f830112613d4457613d4361376f565b5b8135613d54848260208601613cc6565b91505092915050565b60008060408385031215613d7457613d736135ac565b5b600083013567ffffffffffffffff811115613d9257613d916135b1565b5b613d9e85828601613d2f565b925050602083013567ffffffffffffffff811115613dbf57613dbe6135b1565b5b613dcb85828601613a6f565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e0a81613614565b82525050565b6000613e1c8383613e01565b60208301905092915050565b6000602082019050919050565b6000613e4082613dd5565b613e4a8185613de0565b9350613e5583613df1565b8060005b83811015613e86578151613e6d8882613e10565b9750613e7883613e28565b925050600181019050613e59565b5085935050505092915050565b60006020820190508181036000830152613ead8184613e35565b905092915050565b613ebe81613739565b8114613ec957600080fd5b50565b600081359050613edb81613eb5565b92915050565b600080600080600080600080610100898b031215613f0257613f016135ac565b5b6000613f108b828c01613635565b9850506020613f218b828c01613635565b9750506040613f328b828c01613635565b9650506060613f438b828c01613635565b9550506080613f548b828c01613635565b94505060a0613f658b828c01613ecc565b93505060c0613f768b828c01613ecc565b92505060e0613f878b828c01613ecc565b9150509295985092959890939650565b600080600060608486031215613fb057613faf6135ac565b5b6000613fbe868287016135ff565b935050602084013567ffffffffffffffff811115613fdf57613fde6135b1565b5b613feb86828701613a6f565b925050604084013567ffffffffffffffff81111561400c5761400b6135b1565b5b61401886828701613a6f565b9150509250925092565b60008060006060848603121561403b5761403a6135ac565b5b6000614049868287016135ff565b935050602084013567ffffffffffffffff81111561406a576140696135b1565b5b61407686828701613b10565b925050604061408786828701613635565b9150509250925092565b61409a816135d6565b82525050565b60006020820190506140b56000830184614091565b92915050565b600080604083850312156140d2576140d16135ac565b5b60006140e0858286016135ff565b92505060206140f185828601613ecc565b9150509250929050565b600080600060608486031215614114576141136135ac565b5b6000614122868287016135ff565b935050602061413386828701613635565b925050604061414486828701613635565b9150509250925092565b60008060408385031215614165576141646135ac565b5b600061417385828601613635565b925050602083013567ffffffffffffffff811115614194576141936135b1565b5b6141a085828601613b10565b9150509250929050565b6000806000606084860312156141c3576141c26135ac565b5b60006141d186828701613635565b93505060206141e286828701613635565b92505060406141f386828701613635565b9150509250925092565b60008060408385031215614214576142136135ac565b5b6000614222858286016135ff565b9250506020614233858286016135ff565b9150509250929050565b600080600080600060a08688031215614259576142586135ac565b5b6000614267888289016135ff565b9550506020614278888289016135ff565b945050604061428988828901613635565b935050606061429a88828901613635565b925050608086013567ffffffffffffffff8111156142bb576142ba6135b1565b5b6142c788828901613b10565b9150509295509295909350565b6000602082840312156142ea576142e96135ac565b5b60006142f8848285016135ff565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061435d602b83613936565b915061436882614301565b604082019050919050565b6000602082019050818103600083015261438c81614350565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143c9602083613936565b91506143d482614393565b602082019050919050565b600060208201905081810360008301526143f8816143bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061444657607f821691505b6020821081141561445a576144596143ff565b5b50919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006144bc603283613936565b91506144c782614460565b604082019050919050565b600060208201905081810360008301526144eb816144af565b9050919050565b600081905092915050565b50565b600061450d6000836144f2565b9150614518826144fd565b600082019050919050565b600061452e82614500565b9150819050919050565b7f4661696c656420746f2077696474686472617720457468657200000000000000600082015250565b600061456e601983613936565b915061457982614538565b602082019050919050565b6000602082019050818103600083015261459d81614561565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614600602983613936565b915061460b826145a4565b604082019050919050565b6000602082019050818103600083015261462f816145f3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061469f82613614565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146d2576146d1614665565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614739602983613936565b9150614744826146dd565b604082019050919050565b600060208201905081810360008301526147688161472c565b9050919050565b60008160601b9050919050565b60006147878261476f565b9050919050565b60006147998261477c565b9050919050565b6147b16147ac826135d6565b61478e565b82525050565b6000819050919050565b6147d26147cd82613614565b6147b7565b82525050565b60006147e482856147a0565b6014820191506147f482846147c1565b6020820191508190509392505050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614845601c83614804565b91506148508261480f565b601c82019050919050565b6000819050919050565b6000819050919050565b61488061487b8261485b565b614865565b82525050565b600061489182614838565b915061489d828461486f565b60208201915081905092915050565b60006148b782613614565b91506148c283613614565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148f7576148f6614665565b5b828201905092915050565b7f4d494e54494e47202d20414c4c4f57204f4e4c59000000000000000000000000600082015250565b6000614938601483613936565b915061494382614902565b602082019050919050565b600060208201905081810360008301526149678161492b565b9050919050565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b60006149a4601383613936565b91506149af8261496e565b602082019050919050565b600060208201905081810360008301526149d381614997565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000614a10600883613936565b9150614a1b826149da565b602082019050919050565b60006020820190508181036000830152614a3f81614a03565b9050919050565b7f4f4e4c592031204d494e54205045522057414c4c455400000000000000000000600082015250565b6000614a7c601683613936565b9150614a8782614a46565b602082019050919050565b60006020820190508181036000830152614aab81614a6f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614aec82613614565b9150614af783613614565b925082614b0757614b06614ab2565b5b828206905092915050565b6000604082019050614b276000830185614091565b614b34602083018461368a565b9392505050565b7f4d494e54494e47202d204e4f54204f50454e0000000000000000000000000000600082015250565b6000614b71601283613936565b9150614b7c82614b3b565b602082019050919050565b60006020820190508181036000830152614ba081614b64565b9050919050565b7f41646472657373206973206e6f7420616c6c6f776c6973746564000000000000600082015250565b6000614bdd601a83613936565b9150614be882614ba7565b602082019050919050565b60006020820190508181036000830152614c0c81614bd0565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c6f602683613936565b9150614c7a82614c13565b604082019050919050565b60006020820190508181036000830152614c9e81614c62565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614d01602883613936565b9150614d0c82614ca5565b604082019050919050565b60006020820190508181036000830152614d3081614cf4565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614d93602583613936565b9150614d9e82614d37565b604082019050919050565b60006020820190508181036000830152614dc281614d86565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614e25602a83613936565b9150614e3082614dc9565b604082019050919050565b60006020820190508181036000830152614e5481614e18565b9050919050565b60006040820190508181036000830152614e758185613e35565b90508181036020830152614e898184613e35565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614eee602383613936565b9150614ef982614e92565b604082019050919050565b60006020820190508181036000830152614f1d81614ee1565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614f80602483613936565b9150614f8b82614f24565b604082019050919050565b60006020820190508181036000830152614faf81614f73565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615012602983613936565b915061501d82614fb6565b604082019050919050565b6000602082019050818103600083015261504181615005565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006150a4602183613936565b91506150af82615048565b604082019050919050565b600060208201905081810360008301526150d381615097565b9050919050565b60006040820190506150ef600083018561368a565b6150fc602083018461368a565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061512a82615103565b615134818561510e565b9350615144818560208601613947565b61514d81613779565b840191505092915050565b600060a08201905061516d6000830188614091565b61517a6020830187614091565b818103604083015261518c8186613e35565b905081810360608301526151a08185613e35565b905081810360808301526151b4818461511f565b90509695505050505050565b6000815190506151cf816136e0565b92915050565b6000602082840312156151eb576151ea6135ac565b5b60006151f9848285016151c0565b91505092915050565b60008160e01c9050919050565b600060033d111561522e5760046000803e61522b600051615202565b90505b90565b600060443d1015615241576152c4565b6152496135a2565b60043d036004823e80513d602482011167ffffffffffffffff821117156152715750506152c4565b808201805167ffffffffffffffff81111561528f57505050506152c4565b80602083010160043d0385018111156152ac5750505050506152c4565b6152bb826020018501866137b9565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615323603483613936565b915061532e826152c7565b604082019050919050565b6000602082019050818103600083015261535281615316565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006153b5602883613936565b91506153c082615359565b604082019050919050565b600060208201905081810360008301526153e4816153a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615450601883613936565b915061545b8261541a565b602082019050919050565b6000602082019050818103600083015261547f81615443565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006154bc601f83613936565b91506154c782615486565b602082019050919050565b600060208201905081810360008301526154eb816154af565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061554e602283613936565b9150615559826154f2565b604082019050919050565b6000602082019050818103600083015261557d81615541565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006155e0602283613936565b91506155eb82615584565b604082019050919050565b6000602082019050818103600083015261560f816155d3565b9050919050565b600060a08201905061562b6000830188614091565b6156386020830187614091565b615645604083018661368a565b615652606083018561368a565b8181036080830152615664818461511f565b90509695505050505050565b6156798161485b565b82525050565b600060ff82169050919050565b6156958161567f565b82525050565b60006080820190506156b06000830187615670565b6156bd602083018661568c565b6156ca6040830185615670565b6156d76060830184615670565b9594505050505056fea26469706673582212207371feddcfce89d511d5a248f23f12dba56745fe4407c3ff77978bb44d91b02264736f6c634300080c0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.