Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
366 BDP
Holders
363
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:
DuckPass
Compiler Version
v0.8.4+commit.c7e474f2
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.0; /* */ error InvalidTokenId(); error NotAuthorized(); error SoldOut(); error MaxMints(); error SaleNotStarted(); error ArraysDontMatch(); error CantMintZero(); import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; contract DuckPass is ERC1155, ERC1155Supply, Ownable { using ECDSA for bytes32; using Strings for uint; /*/////////////////////////////////////// VARIABLES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ uint constant boneducksPassId = 0; uint public maxSupply = 3583; string public name; string public symbol; address private signer = 0x6884efd53b2650679996D3Ea206D116356dA08a9; enum SaleStatus{INACTIVE, ACTIVE} SaleStatus public saleStatus = SaleStatus.ACTIVE; string baseUri = "ipfs://QmaUBchiaSDxTEnxHP2a7JcrEzEaZXm6ofyo2hV7qYAdLG"; //Mints carry over on each sale mapping(address => uint) public tokenMints; /*/////////////////////////////////////// CONSTRUCTOR \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ constructor() ERC1155("") { name = "Duck Survival Pass"; symbol = "BDP"; _mint(msg.sender,boneducksPassId,1,""); } /*/////////////////////////////////////// MINTING \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function airdrop(address[] calldata accounts, uint[] calldata amounts) external onlyOwner { if(accounts.length != amounts.length) revert ArraysDontMatch(); for(uint i; i<accounts.length; i++){ if(totalSupply(boneducksPassId) + amounts[i] > maxSupply) revert SoldOut(); _mint(accounts[i],boneducksPassId, amounts[i],""); } } function verifyForSale(string memory phase,uint max,address account,bytes memory signature) internal view returns(bool) { bytes32 hash = keccak256(abi.encodePacked(phase,max,account)); return signer == hash.toEthSignedMessageHash().recover(signature); } function mint(bytes memory signature) external { if(totalSupply(boneducksPassId) + 1 > maxSupply) revert SoldOut(); if(tokenMints[msg.sender] + 1 > 1) revert MaxMints(); if(saleStatus != SaleStatus.ACTIVE) revert SaleNotStarted(); if(!verifyForSale("BDC",1,msg.sender, signature)) revert NotAuthorized(); tokenMints[msg.sender] += 1; _mint(msg.sender,boneducksPassId,1,""); } /*/////////////////////////////////////// SETTERS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function setBaseURI(string memory newUri) public onlyOwner { baseUri = newUri; } function turnClaimOn() external onlyOwner{ saleStatus = SaleStatus.ACTIVE; } function turnAllSalesOff() external onlyOwner{ saleStatus = SaleStatus.INACTIVE; } function setMaxSupply(uint max) external onlyOwner { maxSupply = max; } function setSigner(address newSigner) external onlyOwner { signer = newSigner; } /*/////////////////////////////////////// METDATA \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function uri(uint _id) public override view returns (string memory) { if(_id != boneducksPassId) revert InvalidTokenId(); return baseUri; } function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal override(ERC1155, ERC1155Supply) { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, 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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _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); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @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); _afterTokenTransfer(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 {} /** * @dev Hook that is called after 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 _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 supply = _totalSupply[id]; require(supply >= amount, "ERC1155: burn amount exceeds totalSupply"); unchecked { _totalSupply[id] = supply - amount; } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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. * * NOTE: 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. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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"},{"inputs":[],"name":"ArraysDontMatch","type":"error"},{"inputs":[],"name":"InvalidTokenId","type":"error"},{"inputs":[],"name":"MaxMints","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"SaleNotStarted","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"saleStatus","outputs":[{"internalType":"enum DuckPass.SaleStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnAllSalesOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnClaimOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052610dff600555736884efd53b2650679996d3ea206d116356da08a9600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600860146101000a81548160ff02191690836001811115620000ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555060405180606001604052806035815260200162005c666035913960099080519060200190620000e292919062000a7f565b50348015620000f057600080fd5b50604051806020016040528060008152506200011281620001fa60201b60201c565b5062000133620001276200021660201b60201c565b6200021e60201b60201c565b6040518060400160405280601281526020017f4475636b20537572766976616c20506173730000000000000000000000000000815250600690805190602001906200018092919062000a7f565b506040518060400160405280600381526020017f424450000000000000000000000000000000000000000000000000000000000081525060079080519060200190620001ce92919062000a7f565b50620001f4336000600160405180602001604052806000815250620002e460201b60201c565b620012b0565b80600290805190602001906200021292919062000a7f565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000357576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200034e9062000da0565b60405180910390fd5b6000620003696200021660201b60201c565b905060006200037e85620004cc60201b60201c565b905060006200039385620004cc60201b60201c565b9050620003ac836000898585896200059560201b60201c565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200040d919062000e31565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516200048d92919062000dc2565b60405180910390a4620004ac83600089858589620005b860201b60201c565b620004c383600089898989620005c060201b60201c565b50505050505050565b60606000600167ffffffffffffffff81111562000512577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015620005415781602001602082028036833780820191505090505b509050828160008151811062000580577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b620005b0868686868686620007ca60201b620015f61760201c565b505050505050565b505050505050565b620005ec8473ffffffffffffffffffffffffffffffffffffffff1662000a5460201b620018601760201c565b15620007c2578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016200063595949392919062000cb2565b602060405180830381600087803b1580156200065057600080fd5b505af19250505080156200068457506040513d601f19601f8201168201806040525081019062000681919062000b46565b60015b62000736576200069362001075565b806308c379a01415620006f75750620006ab620011f4565b80620006b85750620006f9565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006ee919062000d16565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200072d9062000d3a565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614620007c0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007b79062000d5c565b60405180910390fd5b505b505050505050565b620007e586868686868662000a7760201b620018831760201c565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415620008ec5760005b8351811015620008ea5782818151811062000862577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110620008a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254620008cf919062000e31565b9250508190555080620008e29062000f9a565b90506200081e565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000a4c5760005b835181101562000a4a5760008482815181106200096b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110620009b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000600360008481526020019081526020016000205490508181101562000a19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a109062000d7e565b60405180910390fd5b81810360036000858152602001908152602001600020819055505050508062000a429062000f9a565b905062000925565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b82805462000a8d9062000f2e565b90600052602060002090601f01602090048101928262000ab1576000855562000afd565b82601f1062000acc57805160ff191683800117855562000afd565b8280016001018555821562000afd579182015b8281111562000afc57825182559160200191906001019062000adf565b5b50905062000b0c919062000b10565b5090565b5b8082111562000b2b57600081600090555060010162000b11565b5090565b60008151905062000b408162001296565b92915050565b60006020828403121562000b5957600080fd5b600062000b698482850162000b2f565b91505092915050565b62000b7d8162000e8e565b82525050565b600062000b908262000df9565b62000b9c818562000e0f565b935062000bae81856020860162000ef8565b62000bb9816200109a565b840191505092915050565b600062000bd18262000e04565b62000bdd818562000e20565b935062000bef81856020860162000ef8565b62000bfa816200109a565b840191505092915050565b600062000c1460348362000e20565b915062000c2182620010b8565b604082019050919050565b600062000c3b60288362000e20565b915062000c488262001107565b604082019050919050565b600062000c6260288362000e20565b915062000c6f8262001156565b604082019050919050565b600062000c8960218362000e20565b915062000c9682620011a5565b604082019050919050565b62000cac8162000eee565b82525050565b600060a08201905062000cc9600083018862000b72565b62000cd8602083018762000b72565b62000ce7604083018662000ca1565b62000cf6606083018562000ca1565b818103608083015262000d0a818462000b83565b90509695505050505050565b6000602082019050818103600083015262000d32818462000bc4565b905092915050565b6000602082019050818103600083015262000d558162000c05565b9050919050565b6000602082019050818103600083015262000d778162000c2c565b9050919050565b6000602082019050818103600083015262000d998162000c53565b9050919050565b6000602082019050818103600083015262000dbb8162000c7a565b9050919050565b600060408201905062000dd9600083018562000ca1565b62000de8602083018462000ca1565b9392505050565b6000604051905090565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000e3e8262000eee565b915062000e4b8362000eee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000e835762000e8262000fe8565b5b828201905092915050565b600062000e9b8262000ece565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000f1857808201518184015260208101905062000efb565b8381111562000f28576000848401525b50505050565b6000600282049050600182168062000f4757607f821691505b6020821081141562000f5e5762000f5d62001017565b5b50919050565b62000f6f826200109a565b810181811067ffffffffffffffff8211171562000f915762000f9062001046565b5b80604052505050565b600062000fa78262000eee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000fdd5762000fdc62000fe8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115620010975760046000803e62001094600051620010ab565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015620012065762001293565b6200121062000def565b60043d036004823e80513d602482011167ffffffffffffffff821117156200123a57505062001293565b808201805167ffffffffffffffff8111156200125a575050505062001293565b80602083010160043d0385018111156200127957505050505062001293565b6200128a8260200185018662000f64565b82955050505050505b90565b620012a18162000ea2565b8114620012ad57600080fd5b50565b6149a680620012c06000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c80637ba0e2e7116100de578063bd85b03911610097578063e985e9c511610071578063e985e9c514610421578063f242432a14610451578063f2fde38b1461046d578063f9020e331461048957610172565b8063bd85b039146103a3578063d5abeb01146103d3578063e03feb69146103f157610172565b80637ba0e2e71461031b5780638da5cb5b1461033757806395d89b4114610355578063a22cb46514610373578063ad5958471461038f578063b3932ef51461039957610172565b80634f558e79116101305780634f558e791461027157806355f804b3146102a157806367243482146102bd5780636c19e783146102d95780636f8b44b0146102f5578063715018a61461031157610172565b8062fdd58e1461017757806301ffc9a7146101a757806306fdde03146101d75780630e89341c146101f55780632eb2c2d6146102255780634e1273f414610241575b600080fd5b610191600480360381019061018c9190613365565b6104a7565b60405161019e9190613e51565b60405180910390f35b6101c160048036038101906101bc9190613482565b610570565b6040516101ce9190613b74565b60405180910390f35b6101df610652565b6040516101ec9190613bef565b60405180910390f35b61020f600480360381019061020a9190613556565b6106e0565b60405161021c9190613bef565b60405180910390f35b61023f600480360381019061023a91906131db565b6107ae565b005b61025b60048036038101906102569190613416565b61084f565b6040516102689190613b1b565b60405180910390f35b61028b60048036038101906102869190613556565b610a00565b6040516102989190613b74565b60405180910390f35b6102bb60048036038101906102b69190613515565b610a14565b005b6102d760048036038101906102d291906133a1565b610aaa565b005b6102f360048036038101906102ee9190613176565b610cc4565b005b61030f600480360381019061030a9190613556565b610d84565b005b610319610e0a565b005b610335600480360381019061033091906134d4565b610e92565b005b61033f61110f565b60405161034c9190613a3e565b60405180910390f35b61035d611139565b60405161036a9190613bef565b60405180910390f35b61038d60048036038101906103889190613329565b6111c7565b005b6103976111dd565b005b6103a16112ac565b005b6103bd60048036038101906103b89190613556565b61137b565b6040516103ca9190613e51565b60405180910390f35b6103db611398565b6040516103e89190613e51565b60405180910390f35b61040b60048036038101906104069190613176565b61139e565b6040516104189190613e51565b60405180910390f35b61043b6004803603810190610436919061319f565b6113b6565b6040516104489190613b74565b60405180910390f35b61046b6004803603810190610466919061329a565b61144a565b005b61048760048036038101906104829190613176565b6114eb565b005b6104916115e3565b60405161049e9190613bd4565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610518576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050f90613c91565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061064b575061064a8261188b565b5b9050919050565b6006805461065f90614138565b80601f016020809104026020016040519081016040528092919081815260200182805461068b90614138565b80156106d85780601f106106ad576101008083540402835291602001916106d8565b820191906000526020600020905b8154815290600101906020018083116106bb57829003601f168201915b505050505081565b60606000821461071c576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009805461072990614138565b80601f016020809104026020016040519081016040528092919081815260200182805461075590614138565b80156107a25780601f10610777576101008083540402835291602001916107a2565b820191906000526020600020905b81548152906001019060200180831161078557829003601f168201915b50505050509050919050565b6107b66118f5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107fc57506107fb856107f66118f5565b6113b6565b5b61083b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083290613d31565b60405180910390fd5b61084885858585856118fd565b5050505050565b60608151835114610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088c90613df1565b60405180910390fd5b6000835167ffffffffffffffff8111156108d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109065781602001602082028036833780820191505090505b50905060005b84518110156109f55761099f858281518110610951577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610992577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516104a7565b8282815181106109d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806109ee9061419b565b905061090c565b508091505092915050565b600080610a0c8361137b565b119050919050565b610a1c6118f5565b73ffffffffffffffffffffffffffffffffffffffff16610a3a61110f565b73ffffffffffffffffffffffffffffffffffffffff1614610a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8790613d91565b60405180910390fd5b8060099080519060200190610aa6929190612dda565b5050565b610ab26118f5565b73ffffffffffffffffffffffffffffffffffffffff16610ad061110f565b73ffffffffffffffffffffffffffffffffffffffff1614610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d90613d91565b60405180910390fd5b818190508484905014610b65576040517fe6bbb3c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84849050811015610cbd57600554838383818110610baf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135610bc0600061137b565b610bca9190613ff0565b1115610c02576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610caa858583818110610c3e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c539190613176565b6000858585818110610c8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013560405180602001604052806000815250611c6b565b8080610cb59061419b565b915050610b68565b5050505050565b610ccc6118f5565b73ffffffffffffffffffffffffffffffffffffffff16610cea61110f565b73ffffffffffffffffffffffffffffffffffffffff1614610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790613d91565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610d8c6118f5565b73ffffffffffffffffffffffffffffffffffffffff16610daa61110f565b73ffffffffffffffffffffffffffffffffffffffff1614610e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df790613d91565b60405180910390fd5b8060058190555050565b610e126118f5565b73ffffffffffffffffffffffffffffffffffffffff16610e3061110f565b73ffffffffffffffffffffffffffffffffffffffff1614610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d90613d91565b60405180910390fd5b610e906000611e1c565b565b6005546001610ea1600061137b565b610eab9190613ff0565b1115610ee3576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f309190613ff0565b1115610f68576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180811115610fa1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600860149054906101000a900460ff166001811115610fe9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611020576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110626040518060400160405280600381526020017f424443000000000000000000000000000000000000000000000000000000000081525060013384611ee2565b611098576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110e89190613ff0565b9250508190555061110c336000600160405180602001604052806000815250611c6b565b50565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6007805461114690614138565b80601f016020809104026020016040519081016040528092919081815260200182805461117290614138565b80156111bf5780601f10611194576101008083540402835291602001916111bf565b820191906000526020600020905b8154815290600101906020018083116111a257829003601f168201915b505050505081565b6111d96111d26118f5565b8383611f88565b5050565b6111e56118f5565b73ffffffffffffffffffffffffffffffffffffffff1661120361110f565b73ffffffffffffffffffffffffffffffffffffffff1614611259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125090613d91565b60405180910390fd5b6001600860146101000a81548160ff021916908360018111156112a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b6112b46118f5565b73ffffffffffffffffffffffffffffffffffffffff166112d261110f565b73ffffffffffffffffffffffffffffffffffffffff1614611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90613d91565b60405180910390fd5b6000600860146101000a81548160ff02191690836001811115611374577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b600060036000838152602001908152602001600020549050919050565b60055481565b600a6020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114526118f5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114985750611497856114926118f5565b6113b6565b5b6114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce90613cd1565b60405180910390fd5b6114e485858585856120f5565b5050505050565b6114f36118f5565b73ffffffffffffffffffffffffffffffffffffffff1661151161110f565b73ffffffffffffffffffffffffffffffffffffffff1614611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e90613d91565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90613cb1565b60405180910390fd5b6115e081611e1c565b50565b600860149054906101000a900460ff1681565b611604868686868686611883565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156117025760005b83518110156117005782818151811061167e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600360008684815181106116c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546116e89190613ff0565b92505081905550806116f99061419b565b905061163c565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118585760005b835181101561185657600084828151811061177e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008483815181106117c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006003600084815260200190815260200160002054905081811015611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181f90613db1565b60405180910390fd5b81810360036000858152602001908152602001600020819055505050508061184f9061419b565b905061173a565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114611941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193890613e11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a890613d11565b60405180910390fd5b60006119bb6118f5565b90506119cb818787878787612391565b60005b8451811015611bc8576000858281518110611a12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611a57577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aef90613d71565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bad9190613ff0565b9250508190555050505080611bc19061419b565b90506119ce565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611c3f929190613b3d565b60405180910390a4611c558187878787876123a7565b611c638187878787876123af565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290613e31565b60405180910390fd5b6000611ce56118f5565b90506000611cf285612596565b90506000611cff85612596565b9050611d1083600089858589612391565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d6f9190613ff0565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611ded929190613e6c565b60405180910390a4611e04836000898585896123a7565b611e138360008989898961265c565b50505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080858585604051602001611efa939291906139df565b604051602081830303815290604052805190602001209050611f2d83611f1f83612843565b61287390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fee90613dd1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120e89190613b74565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215c90613d11565b60405180910390fd5b600061216f6118f5565b9050600061217c85612596565b9050600061218985612596565b9050612199838989858589612391565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222790613d71565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e59190613ff0565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612362929190613e6c565b60405180910390a4612378848a8a86868a6123a7565b612386848a8a8a8a8a61265c565b505050505050505050565b61239f8686868686866115f6565b505050505050565b505050505050565b6123ce8473ffffffffffffffffffffffffffffffffffffffff16611860565b1561258e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612414959493929190613a59565b602060405180830381600087803b15801561242e57600080fd5b505af192505050801561245f57506040513d601f19601f8201168201806040525081019061245c91906134ab565b60015b6125055761246b6142d8565b806308c379a014156124c8575061248061486a565b8061248b57506124ca565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bf9190613bef565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fc90613c31565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461258c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258390613c51565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156125db577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156126095781602001602082028036833780820191505090505b5090508281600081518110612647577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61267b8473ffffffffffffffffffffffffffffffffffffffff16611860565b1561283b578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126c1959493929190613ac1565b602060405180830381600087803b1580156126db57600080fd5b505af192505050801561270c57506040513d601f19601f8201168201806040525081019061270991906134ab565b60015b6127b2576127186142d8565b806308c379a01415612775575061272d61486a565b806127385750612777565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276c9190613bef565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a990613c31565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283090613c51565b60405180910390fd5b505b505050505050565b6000816040516020016128569190613a18565b604051602081830303815290604052805190602001209050919050565b6000806000612882858561289a565b9150915061288f8161291d565b819250505092915050565b6000806041835114156128dc5760008060006020860151925060408601519150606086015160001a90506128d087828585612c6e565b94509450505050612916565b60408351141561290d576000806020850151915060408501519050612902868383612d7b565b935093505050612916565b60006002915091505b9250929050565b60006004811115612957577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612990577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561299b57612c6b565b600160048111156129d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612a0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4690613c11565b60405180910390fd5b60026004811115612a89577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ac2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afa90613c71565b60405180910390fd5b60036004811115612b3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612b76577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae90613cf1565b60405180910390fd5b600480811115612bf0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c29577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6190613d51565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612ca9576000600391509150612d72565b601b8560ff1614158015612cc15750601c8560ff1614155b15612cd3576000600491509150612d72565b600060018787878760405160008152602001604052604051612cf89493929190613b8f565b6020604051602081039080840390855afa158015612d1a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d6957600060019250925050612d72565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c612dbe9190613ff0565b9050612dcc87828885612c6e565b935093505050935093915050565b828054612de690614138565b90600052602060002090601f016020900481019282612e085760008555612e4f565b82601f10612e2157805160ff1916838001178555612e4f565b82800160010185558215612e4f579182015b82811115612e4e578251825591602001919060010190612e33565b5b509050612e5c9190612e60565b5090565b5b80821115612e79576000816000905550600101612e61565b5090565b6000612e90612e8b84613eba565b613e95565b90508083825260208201905082856020860282011115612eaf57600080fd5b60005b85811015612edf5781612ec58882612fd1565b845260208401935060208301925050600181019050612eb2565b5050509392505050565b6000612efc612ef784613ee6565b613e95565b90508083825260208201905082856020860282011115612f1b57600080fd5b60005b85811015612f4b5781612f318882613161565b845260208401935060208301925050600181019050612f1e565b5050509392505050565b6000612f68612f6384613f12565b613e95565b905082815260208101848484011115612f8057600080fd5b612f8b8482856140f6565b509392505050565b6000612fa6612fa184613f43565b613e95565b905082815260208101848484011115612fbe57600080fd5b612fc98482856140f6565b509392505050565b600081359050612fe081614914565b92915050565b60008083601f840112612ff857600080fd5b8235905067ffffffffffffffff81111561301157600080fd5b60208301915083602082028301111561302957600080fd5b9250929050565b600082601f83011261304157600080fd5b8135613051848260208601612e7d565b91505092915050565b60008083601f84011261306c57600080fd5b8235905067ffffffffffffffff81111561308557600080fd5b60208301915083602082028301111561309d57600080fd5b9250929050565b600082601f8301126130b557600080fd5b81356130c5848260208601612ee9565b91505092915050565b6000813590506130dd8161492b565b92915050565b6000813590506130f281614942565b92915050565b60008151905061310781614942565b92915050565b600082601f83011261311e57600080fd5b813561312e848260208601612f55565b91505092915050565b600082601f83011261314857600080fd5b8135613158848260208601612f93565b91505092915050565b60008135905061317081614959565b92915050565b60006020828403121561318857600080fd5b600061319684828501612fd1565b91505092915050565b600080604083850312156131b257600080fd5b60006131c085828601612fd1565b92505060206131d185828601612fd1565b9150509250929050565b600080600080600060a086880312156131f357600080fd5b600061320188828901612fd1565b955050602061321288828901612fd1565b945050604086013567ffffffffffffffff81111561322f57600080fd5b61323b888289016130a4565b935050606086013567ffffffffffffffff81111561325857600080fd5b613264888289016130a4565b925050608086013567ffffffffffffffff81111561328157600080fd5b61328d8882890161310d565b9150509295509295909350565b600080600080600060a086880312156132b257600080fd5b60006132c088828901612fd1565b95505060206132d188828901612fd1565b94505060406132e288828901613161565b93505060606132f388828901613161565b925050608086013567ffffffffffffffff81111561331057600080fd5b61331c8882890161310d565b9150509295509295909350565b6000806040838503121561333c57600080fd5b600061334a85828601612fd1565b925050602061335b858286016130ce565b9150509250929050565b6000806040838503121561337857600080fd5b600061338685828601612fd1565b925050602061339785828601613161565b9150509250929050565b600080600080604085870312156133b757600080fd5b600085013567ffffffffffffffff8111156133d157600080fd5b6133dd87828801612fe6565b9450945050602085013567ffffffffffffffff8111156133fc57600080fd5b6134088782880161305a565b925092505092959194509250565b6000806040838503121561342957600080fd5b600083013567ffffffffffffffff81111561344357600080fd5b61344f85828601613030565b925050602083013567ffffffffffffffff81111561346c57600080fd5b613478858286016130a4565b9150509250929050565b60006020828403121561349457600080fd5b60006134a2848285016130e3565b91505092915050565b6000602082840312156134bd57600080fd5b60006134cb848285016130f8565b91505092915050565b6000602082840312156134e657600080fd5b600082013567ffffffffffffffff81111561350057600080fd5b61350c8482850161310d565b91505092915050565b60006020828403121561352757600080fd5b600082013567ffffffffffffffff81111561354157600080fd5b61354d84828501613137565b91505092915050565b60006020828403121561356857600080fd5b600061357684828501613161565b91505092915050565b600061358b838361399b565b60208301905092915050565b6135a081614046565b82525050565b6135b76135b282614046565b6141e4565b82525050565b60006135c882613f84565b6135d28185613fb2565b93506135dd83613f74565b8060005b8381101561360e5781516135f5888261357f565b975061360083613fa5565b9250506001810190506135e1565b5085935050505092915050565b61362481614058565b82525050565b61363381614064565b82525050565b61364a61364582614064565b6141f6565b82525050565b600061365b82613f8f565b6136658185613fc3565b9350613675818560208601614105565b61367e816142fa565b840191505092915050565b613692816140e4565b82525050565b60006136a382613f9a565b6136ad8185613fd4565b93506136bd818560208601614105565b6136c6816142fa565b840191505092915050565b60006136dc82613f9a565b6136e68185613fe5565b93506136f6818560208601614105565b80840191505092915050565b600061370f601883613fd4565b915061371a82614325565b602082019050919050565b6000613732603483613fd4565b915061373d8261434e565b604082019050919050565b6000613755602883613fd4565b91506137608261439d565b604082019050919050565b6000613778601f83613fd4565b9150613783826143ec565b602082019050919050565b600061379b601c83613fe5565b91506137a682614415565b601c82019050919050565b60006137be602b83613fd4565b91506137c98261443e565b604082019050919050565b60006137e1602683613fd4565b91506137ec8261448d565b604082019050919050565b6000613804602983613fd4565b915061380f826144dc565b604082019050919050565b6000613827602283613fd4565b91506138328261452b565b604082019050919050565b600061384a602583613fd4565b91506138558261457a565b604082019050919050565b600061386d603283613fd4565b9150613878826145c9565b604082019050919050565b6000613890602283613fd4565b915061389b82614618565b604082019050919050565b60006138b3602a83613fd4565b91506138be82614667565b604082019050919050565b60006138d6602083613fd4565b91506138e1826146b6565b602082019050919050565b60006138f9602883613fd4565b9150613904826146df565b604082019050919050565b600061391c602983613fd4565b91506139278261472e565b604082019050919050565b600061393f602983613fd4565b915061394a8261477d565b604082019050919050565b6000613962602883613fd4565b915061396d826147cc565b604082019050919050565b6000613985602183613fd4565b91506139908261481b565b604082019050919050565b6139a4816140cd565b82525050565b6139b3816140cd565b82525050565b6139ca6139c5826140cd565b614212565b82525050565b6139d9816140d7565b82525050565b60006139eb82866136d1565b91506139f782856139b9565b602082019150613a0782846135a6565b601482019150819050949350505050565b6000613a238261378e565b9150613a2f8284613639565b60208201915081905092915050565b6000602082019050613a536000830184613597565b92915050565b600060a082019050613a6e6000830188613597565b613a7b6020830187613597565b8181036040830152613a8d81866135bd565b90508181036060830152613aa181856135bd565b90508181036080830152613ab58184613650565b90509695505050505050565b600060a082019050613ad66000830188613597565b613ae36020830187613597565b613af060408301866139aa565b613afd60608301856139aa565b8181036080830152613b0f8184613650565b90509695505050505050565b60006020820190508181036000830152613b3581846135bd565b905092915050565b60006040820190508181036000830152613b5781856135bd565b90508181036020830152613b6b81846135bd565b90509392505050565b6000602082019050613b89600083018461361b565b92915050565b6000608082019050613ba4600083018761362a565b613bb160208301866139d0565b613bbe604083018561362a565b613bcb606083018461362a565b95945050505050565b6000602082019050613be96000830184613689565b92915050565b60006020820190508181036000830152613c098184613698565b905092915050565b60006020820190508181036000830152613c2a81613702565b9050919050565b60006020820190508181036000830152613c4a81613725565b9050919050565b60006020820190508181036000830152613c6a81613748565b9050919050565b60006020820190508181036000830152613c8a8161376b565b9050919050565b60006020820190508181036000830152613caa816137b1565b9050919050565b60006020820190508181036000830152613cca816137d4565b9050919050565b60006020820190508181036000830152613cea816137f7565b9050919050565b60006020820190508181036000830152613d0a8161381a565b9050919050565b60006020820190508181036000830152613d2a8161383d565b9050919050565b60006020820190508181036000830152613d4a81613860565b9050919050565b60006020820190508181036000830152613d6a81613883565b9050919050565b60006020820190508181036000830152613d8a816138a6565b9050919050565b60006020820190508181036000830152613daa816138c9565b9050919050565b60006020820190508181036000830152613dca816138ec565b9050919050565b60006020820190508181036000830152613dea8161390f565b9050919050565b60006020820190508181036000830152613e0a81613932565b9050919050565b60006020820190508181036000830152613e2a81613955565b9050919050565b60006020820190508181036000830152613e4a81613978565b9050919050565b6000602082019050613e6660008301846139aa565b92915050565b6000604082019050613e8160008301856139aa565b613e8e60208301846139aa565b9392505050565b6000613e9f613eb0565b9050613eab828261416a565b919050565b6000604051905090565b600067ffffffffffffffff821115613ed557613ed46142a9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613f0157613f006142a9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613f2d57613f2c6142a9565b5b613f36826142fa565b9050602081019050919050565b600067ffffffffffffffff821115613f5e57613f5d6142a9565b5b613f67826142fa565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ffb826140cd565b9150614006836140cd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561403b5761403a61421c565b5b828201905092915050565b6000614051826140ad565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506140a882614900565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006140ef8261409a565b9050919050565b82818337600083830152505050565b60005b83811015614123578082015181840152602081019050614108565b83811115614132576000848401525b50505050565b6000600282049050600182168061415057607f821691505b602082108114156141645761416361427a565b5b50919050565b614173826142fa565b810181811067ffffffffffffffff82111715614192576141916142a9565b5b80604052505050565b60006141a6826140cd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141d9576141d861421c565b5b600182019050919050565b60006141ef82614200565b9050919050565b6000819050919050565b600061420b8261430b565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156142f75760046000803e6142f4600051614318565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561487a576148fd565b614882613eb0565b60043d036004823e80513d602482011167ffffffffffffffff821117156148aa5750506148fd565b808201805167ffffffffffffffff8111156148c857505050506148fd565b80602083010160043d0385018111156148e55750505050506148fd565b6148f48260200185018661416a565b82955050505050505b90565b600281106149115761491061424b565b5b50565b61491d81614046565b811461492857600080fd5b50565b61493481614058565b811461493f57600080fd5b50565b61494b8161406e565b811461495657600080fd5b50565b614962816140cd565b811461496d57600080fd5b5056fea26469706673582212207a98cfd3b1454dff060e8c9b77c69ad179c8c484f2c729da65404a7799be327664736f6c63430008040033697066733a2f2f516d6155426368696153447854456e7848503261374a6372457a45615a586d366f66796f32685637715941644c47
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101725760003560e01c80637ba0e2e7116100de578063bd85b03911610097578063e985e9c511610071578063e985e9c514610421578063f242432a14610451578063f2fde38b1461046d578063f9020e331461048957610172565b8063bd85b039146103a3578063d5abeb01146103d3578063e03feb69146103f157610172565b80637ba0e2e71461031b5780638da5cb5b1461033757806395d89b4114610355578063a22cb46514610373578063ad5958471461038f578063b3932ef51461039957610172565b80634f558e79116101305780634f558e791461027157806355f804b3146102a157806367243482146102bd5780636c19e783146102d95780636f8b44b0146102f5578063715018a61461031157610172565b8062fdd58e1461017757806301ffc9a7146101a757806306fdde03146101d75780630e89341c146101f55780632eb2c2d6146102255780634e1273f414610241575b600080fd5b610191600480360381019061018c9190613365565b6104a7565b60405161019e9190613e51565b60405180910390f35b6101c160048036038101906101bc9190613482565b610570565b6040516101ce9190613b74565b60405180910390f35b6101df610652565b6040516101ec9190613bef565b60405180910390f35b61020f600480360381019061020a9190613556565b6106e0565b60405161021c9190613bef565b60405180910390f35b61023f600480360381019061023a91906131db565b6107ae565b005b61025b60048036038101906102569190613416565b61084f565b6040516102689190613b1b565b60405180910390f35b61028b60048036038101906102869190613556565b610a00565b6040516102989190613b74565b60405180910390f35b6102bb60048036038101906102b69190613515565b610a14565b005b6102d760048036038101906102d291906133a1565b610aaa565b005b6102f360048036038101906102ee9190613176565b610cc4565b005b61030f600480360381019061030a9190613556565b610d84565b005b610319610e0a565b005b610335600480360381019061033091906134d4565b610e92565b005b61033f61110f565b60405161034c9190613a3e565b60405180910390f35b61035d611139565b60405161036a9190613bef565b60405180910390f35b61038d60048036038101906103889190613329565b6111c7565b005b6103976111dd565b005b6103a16112ac565b005b6103bd60048036038101906103b89190613556565b61137b565b6040516103ca9190613e51565b60405180910390f35b6103db611398565b6040516103e89190613e51565b60405180910390f35b61040b60048036038101906104069190613176565b61139e565b6040516104189190613e51565b60405180910390f35b61043b6004803603810190610436919061319f565b6113b6565b6040516104489190613b74565b60405180910390f35b61046b6004803603810190610466919061329a565b61144a565b005b61048760048036038101906104829190613176565b6114eb565b005b6104916115e3565b60405161049e9190613bd4565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610518576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050f90613c91565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061064b575061064a8261188b565b5b9050919050565b6006805461065f90614138565b80601f016020809104026020016040519081016040528092919081815260200182805461068b90614138565b80156106d85780601f106106ad576101008083540402835291602001916106d8565b820191906000526020600020905b8154815290600101906020018083116106bb57829003601f168201915b505050505081565b60606000821461071c576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009805461072990614138565b80601f016020809104026020016040519081016040528092919081815260200182805461075590614138565b80156107a25780601f10610777576101008083540402835291602001916107a2565b820191906000526020600020905b81548152906001019060200180831161078557829003601f168201915b50505050509050919050565b6107b66118f5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107fc57506107fb856107f66118f5565b6113b6565b5b61083b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083290613d31565b60405180910390fd5b61084885858585856118fd565b5050505050565b60608151835114610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088c90613df1565b60405180910390fd5b6000835167ffffffffffffffff8111156108d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109065781602001602082028036833780820191505090505b50905060005b84518110156109f55761099f858281518110610951577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610992577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516104a7565b8282815181106109d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806109ee9061419b565b905061090c565b508091505092915050565b600080610a0c8361137b565b119050919050565b610a1c6118f5565b73ffffffffffffffffffffffffffffffffffffffff16610a3a61110f565b73ffffffffffffffffffffffffffffffffffffffff1614610a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8790613d91565b60405180910390fd5b8060099080519060200190610aa6929190612dda565b5050565b610ab26118f5565b73ffffffffffffffffffffffffffffffffffffffff16610ad061110f565b73ffffffffffffffffffffffffffffffffffffffff1614610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d90613d91565b60405180910390fd5b818190508484905014610b65576040517fe6bbb3c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84849050811015610cbd57600554838383818110610baf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135610bc0600061137b565b610bca9190613ff0565b1115610c02576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610caa858583818110610c3e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c539190613176565b6000858585818110610c8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013560405180602001604052806000815250611c6b565b8080610cb59061419b565b915050610b68565b5050505050565b610ccc6118f5565b73ffffffffffffffffffffffffffffffffffffffff16610cea61110f565b73ffffffffffffffffffffffffffffffffffffffff1614610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790613d91565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610d8c6118f5565b73ffffffffffffffffffffffffffffffffffffffff16610daa61110f565b73ffffffffffffffffffffffffffffffffffffffff1614610e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df790613d91565b60405180910390fd5b8060058190555050565b610e126118f5565b73ffffffffffffffffffffffffffffffffffffffff16610e3061110f565b73ffffffffffffffffffffffffffffffffffffffff1614610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d90613d91565b60405180910390fd5b610e906000611e1c565b565b6005546001610ea1600061137b565b610eab9190613ff0565b1115610ee3576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f309190613ff0565b1115610f68576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180811115610fa1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600860149054906101000a900460ff166001811115610fe9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611020576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110626040518060400160405280600381526020017f424443000000000000000000000000000000000000000000000000000000000081525060013384611ee2565b611098576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110e89190613ff0565b9250508190555061110c336000600160405180602001604052806000815250611c6b565b50565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6007805461114690614138565b80601f016020809104026020016040519081016040528092919081815260200182805461117290614138565b80156111bf5780601f10611194576101008083540402835291602001916111bf565b820191906000526020600020905b8154815290600101906020018083116111a257829003601f168201915b505050505081565b6111d96111d26118f5565b8383611f88565b5050565b6111e56118f5565b73ffffffffffffffffffffffffffffffffffffffff1661120361110f565b73ffffffffffffffffffffffffffffffffffffffff1614611259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125090613d91565b60405180910390fd5b6001600860146101000a81548160ff021916908360018111156112a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b6112b46118f5565b73ffffffffffffffffffffffffffffffffffffffff166112d261110f565b73ffffffffffffffffffffffffffffffffffffffff1614611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90613d91565b60405180910390fd5b6000600860146101000a81548160ff02191690836001811115611374577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b600060036000838152602001908152602001600020549050919050565b60055481565b600a6020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114526118f5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114985750611497856114926118f5565b6113b6565b5b6114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce90613cd1565b60405180910390fd5b6114e485858585856120f5565b5050505050565b6114f36118f5565b73ffffffffffffffffffffffffffffffffffffffff1661151161110f565b73ffffffffffffffffffffffffffffffffffffffff1614611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e90613d91565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90613cb1565b60405180910390fd5b6115e081611e1c565b50565b600860149054906101000a900460ff1681565b611604868686868686611883565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156117025760005b83518110156117005782818151811061167e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600360008684815181106116c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546116e89190613ff0565b92505081905550806116f99061419b565b905061163c565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118585760005b835181101561185657600084828151811061177e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008483815181106117c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006003600084815260200190815260200160002054905081811015611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181f90613db1565b60405180910390fd5b81810360036000858152602001908152602001600020819055505050508061184f9061419b565b905061173a565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114611941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193890613e11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a890613d11565b60405180910390fd5b60006119bb6118f5565b90506119cb818787878787612391565b60005b8451811015611bc8576000858281518110611a12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611a57577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aef90613d71565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bad9190613ff0565b9250508190555050505080611bc19061419b565b90506119ce565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611c3f929190613b3d565b60405180910390a4611c558187878787876123a7565b611c638187878787876123af565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290613e31565b60405180910390fd5b6000611ce56118f5565b90506000611cf285612596565b90506000611cff85612596565b9050611d1083600089858589612391565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d6f9190613ff0565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611ded929190613e6c565b60405180910390a4611e04836000898585896123a7565b611e138360008989898961265c565b50505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080858585604051602001611efa939291906139df565b604051602081830303815290604052805190602001209050611f2d83611f1f83612843565b61287390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fee90613dd1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120e89190613b74565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215c90613d11565b60405180910390fd5b600061216f6118f5565b9050600061217c85612596565b9050600061218985612596565b9050612199838989858589612391565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222790613d71565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e59190613ff0565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612362929190613e6c565b60405180910390a4612378848a8a86868a6123a7565b612386848a8a8a8a8a61265c565b505050505050505050565b61239f8686868686866115f6565b505050505050565b505050505050565b6123ce8473ffffffffffffffffffffffffffffffffffffffff16611860565b1561258e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612414959493929190613a59565b602060405180830381600087803b15801561242e57600080fd5b505af192505050801561245f57506040513d601f19601f8201168201806040525081019061245c91906134ab565b60015b6125055761246b6142d8565b806308c379a014156124c8575061248061486a565b8061248b57506124ca565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bf9190613bef565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fc90613c31565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461258c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258390613c51565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156125db577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156126095781602001602082028036833780820191505090505b5090508281600081518110612647577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61267b8473ffffffffffffffffffffffffffffffffffffffff16611860565b1561283b578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126c1959493929190613ac1565b602060405180830381600087803b1580156126db57600080fd5b505af192505050801561270c57506040513d601f19601f8201168201806040525081019061270991906134ab565b60015b6127b2576127186142d8565b806308c379a01415612775575061272d61486a565b806127385750612777565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276c9190613bef565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a990613c31565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283090613c51565b60405180910390fd5b505b505050505050565b6000816040516020016128569190613a18565b604051602081830303815290604052805190602001209050919050565b6000806000612882858561289a565b9150915061288f8161291d565b819250505092915050565b6000806041835114156128dc5760008060006020860151925060408601519150606086015160001a90506128d087828585612c6e565b94509450505050612916565b60408351141561290d576000806020850151915060408501519050612902868383612d7b565b935093505050612916565b60006002915091505b9250929050565b60006004811115612957577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612990577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561299b57612c6b565b600160048111156129d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612a0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4690613c11565b60405180910390fd5b60026004811115612a89577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ac2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afa90613c71565b60405180910390fd5b60036004811115612b3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612b76577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae90613cf1565b60405180910390fd5b600480811115612bf0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c29577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6190613d51565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612ca9576000600391509150612d72565b601b8560ff1614158015612cc15750601c8560ff1614155b15612cd3576000600491509150612d72565b600060018787878760405160008152602001604052604051612cf89493929190613b8f565b6020604051602081039080840390855afa158015612d1a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d6957600060019250925050612d72565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c612dbe9190613ff0565b9050612dcc87828885612c6e565b935093505050935093915050565b828054612de690614138565b90600052602060002090601f016020900481019282612e085760008555612e4f565b82601f10612e2157805160ff1916838001178555612e4f565b82800160010185558215612e4f579182015b82811115612e4e578251825591602001919060010190612e33565b5b509050612e5c9190612e60565b5090565b5b80821115612e79576000816000905550600101612e61565b5090565b6000612e90612e8b84613eba565b613e95565b90508083825260208201905082856020860282011115612eaf57600080fd5b60005b85811015612edf5781612ec58882612fd1565b845260208401935060208301925050600181019050612eb2565b5050509392505050565b6000612efc612ef784613ee6565b613e95565b90508083825260208201905082856020860282011115612f1b57600080fd5b60005b85811015612f4b5781612f318882613161565b845260208401935060208301925050600181019050612f1e565b5050509392505050565b6000612f68612f6384613f12565b613e95565b905082815260208101848484011115612f8057600080fd5b612f8b8482856140f6565b509392505050565b6000612fa6612fa184613f43565b613e95565b905082815260208101848484011115612fbe57600080fd5b612fc98482856140f6565b509392505050565b600081359050612fe081614914565b92915050565b60008083601f840112612ff857600080fd5b8235905067ffffffffffffffff81111561301157600080fd5b60208301915083602082028301111561302957600080fd5b9250929050565b600082601f83011261304157600080fd5b8135613051848260208601612e7d565b91505092915050565b60008083601f84011261306c57600080fd5b8235905067ffffffffffffffff81111561308557600080fd5b60208301915083602082028301111561309d57600080fd5b9250929050565b600082601f8301126130b557600080fd5b81356130c5848260208601612ee9565b91505092915050565b6000813590506130dd8161492b565b92915050565b6000813590506130f281614942565b92915050565b60008151905061310781614942565b92915050565b600082601f83011261311e57600080fd5b813561312e848260208601612f55565b91505092915050565b600082601f83011261314857600080fd5b8135613158848260208601612f93565b91505092915050565b60008135905061317081614959565b92915050565b60006020828403121561318857600080fd5b600061319684828501612fd1565b91505092915050565b600080604083850312156131b257600080fd5b60006131c085828601612fd1565b92505060206131d185828601612fd1565b9150509250929050565b600080600080600060a086880312156131f357600080fd5b600061320188828901612fd1565b955050602061321288828901612fd1565b945050604086013567ffffffffffffffff81111561322f57600080fd5b61323b888289016130a4565b935050606086013567ffffffffffffffff81111561325857600080fd5b613264888289016130a4565b925050608086013567ffffffffffffffff81111561328157600080fd5b61328d8882890161310d565b9150509295509295909350565b600080600080600060a086880312156132b257600080fd5b60006132c088828901612fd1565b95505060206132d188828901612fd1565b94505060406132e288828901613161565b93505060606132f388828901613161565b925050608086013567ffffffffffffffff81111561331057600080fd5b61331c8882890161310d565b9150509295509295909350565b6000806040838503121561333c57600080fd5b600061334a85828601612fd1565b925050602061335b858286016130ce565b9150509250929050565b6000806040838503121561337857600080fd5b600061338685828601612fd1565b925050602061339785828601613161565b9150509250929050565b600080600080604085870312156133b757600080fd5b600085013567ffffffffffffffff8111156133d157600080fd5b6133dd87828801612fe6565b9450945050602085013567ffffffffffffffff8111156133fc57600080fd5b6134088782880161305a565b925092505092959194509250565b6000806040838503121561342957600080fd5b600083013567ffffffffffffffff81111561344357600080fd5b61344f85828601613030565b925050602083013567ffffffffffffffff81111561346c57600080fd5b613478858286016130a4565b9150509250929050565b60006020828403121561349457600080fd5b60006134a2848285016130e3565b91505092915050565b6000602082840312156134bd57600080fd5b60006134cb848285016130f8565b91505092915050565b6000602082840312156134e657600080fd5b600082013567ffffffffffffffff81111561350057600080fd5b61350c8482850161310d565b91505092915050565b60006020828403121561352757600080fd5b600082013567ffffffffffffffff81111561354157600080fd5b61354d84828501613137565b91505092915050565b60006020828403121561356857600080fd5b600061357684828501613161565b91505092915050565b600061358b838361399b565b60208301905092915050565b6135a081614046565b82525050565b6135b76135b282614046565b6141e4565b82525050565b60006135c882613f84565b6135d28185613fb2565b93506135dd83613f74565b8060005b8381101561360e5781516135f5888261357f565b975061360083613fa5565b9250506001810190506135e1565b5085935050505092915050565b61362481614058565b82525050565b61363381614064565b82525050565b61364a61364582614064565b6141f6565b82525050565b600061365b82613f8f565b6136658185613fc3565b9350613675818560208601614105565b61367e816142fa565b840191505092915050565b613692816140e4565b82525050565b60006136a382613f9a565b6136ad8185613fd4565b93506136bd818560208601614105565b6136c6816142fa565b840191505092915050565b60006136dc82613f9a565b6136e68185613fe5565b93506136f6818560208601614105565b80840191505092915050565b600061370f601883613fd4565b915061371a82614325565b602082019050919050565b6000613732603483613fd4565b915061373d8261434e565b604082019050919050565b6000613755602883613fd4565b91506137608261439d565b604082019050919050565b6000613778601f83613fd4565b9150613783826143ec565b602082019050919050565b600061379b601c83613fe5565b91506137a682614415565b601c82019050919050565b60006137be602b83613fd4565b91506137c98261443e565b604082019050919050565b60006137e1602683613fd4565b91506137ec8261448d565b604082019050919050565b6000613804602983613fd4565b915061380f826144dc565b604082019050919050565b6000613827602283613fd4565b91506138328261452b565b604082019050919050565b600061384a602583613fd4565b91506138558261457a565b604082019050919050565b600061386d603283613fd4565b9150613878826145c9565b604082019050919050565b6000613890602283613fd4565b915061389b82614618565b604082019050919050565b60006138b3602a83613fd4565b91506138be82614667565b604082019050919050565b60006138d6602083613fd4565b91506138e1826146b6565b602082019050919050565b60006138f9602883613fd4565b9150613904826146df565b604082019050919050565b600061391c602983613fd4565b91506139278261472e565b604082019050919050565b600061393f602983613fd4565b915061394a8261477d565b604082019050919050565b6000613962602883613fd4565b915061396d826147cc565b604082019050919050565b6000613985602183613fd4565b91506139908261481b565b604082019050919050565b6139a4816140cd565b82525050565b6139b3816140cd565b82525050565b6139ca6139c5826140cd565b614212565b82525050565b6139d9816140d7565b82525050565b60006139eb82866136d1565b91506139f782856139b9565b602082019150613a0782846135a6565b601482019150819050949350505050565b6000613a238261378e565b9150613a2f8284613639565b60208201915081905092915050565b6000602082019050613a536000830184613597565b92915050565b600060a082019050613a6e6000830188613597565b613a7b6020830187613597565b8181036040830152613a8d81866135bd565b90508181036060830152613aa181856135bd565b90508181036080830152613ab58184613650565b90509695505050505050565b600060a082019050613ad66000830188613597565b613ae36020830187613597565b613af060408301866139aa565b613afd60608301856139aa565b8181036080830152613b0f8184613650565b90509695505050505050565b60006020820190508181036000830152613b3581846135bd565b905092915050565b60006040820190508181036000830152613b5781856135bd565b90508181036020830152613b6b81846135bd565b90509392505050565b6000602082019050613b89600083018461361b565b92915050565b6000608082019050613ba4600083018761362a565b613bb160208301866139d0565b613bbe604083018561362a565b613bcb606083018461362a565b95945050505050565b6000602082019050613be96000830184613689565b92915050565b60006020820190508181036000830152613c098184613698565b905092915050565b60006020820190508181036000830152613c2a81613702565b9050919050565b60006020820190508181036000830152613c4a81613725565b9050919050565b60006020820190508181036000830152613c6a81613748565b9050919050565b60006020820190508181036000830152613c8a8161376b565b9050919050565b60006020820190508181036000830152613caa816137b1565b9050919050565b60006020820190508181036000830152613cca816137d4565b9050919050565b60006020820190508181036000830152613cea816137f7565b9050919050565b60006020820190508181036000830152613d0a8161381a565b9050919050565b60006020820190508181036000830152613d2a8161383d565b9050919050565b60006020820190508181036000830152613d4a81613860565b9050919050565b60006020820190508181036000830152613d6a81613883565b9050919050565b60006020820190508181036000830152613d8a816138a6565b9050919050565b60006020820190508181036000830152613daa816138c9565b9050919050565b60006020820190508181036000830152613dca816138ec565b9050919050565b60006020820190508181036000830152613dea8161390f565b9050919050565b60006020820190508181036000830152613e0a81613932565b9050919050565b60006020820190508181036000830152613e2a81613955565b9050919050565b60006020820190508181036000830152613e4a81613978565b9050919050565b6000602082019050613e6660008301846139aa565b92915050565b6000604082019050613e8160008301856139aa565b613e8e60208301846139aa565b9392505050565b6000613e9f613eb0565b9050613eab828261416a565b919050565b6000604051905090565b600067ffffffffffffffff821115613ed557613ed46142a9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613f0157613f006142a9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613f2d57613f2c6142a9565b5b613f36826142fa565b9050602081019050919050565b600067ffffffffffffffff821115613f5e57613f5d6142a9565b5b613f67826142fa565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ffb826140cd565b9150614006836140cd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561403b5761403a61421c565b5b828201905092915050565b6000614051826140ad565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506140a882614900565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006140ef8261409a565b9050919050565b82818337600083830152505050565b60005b83811015614123578082015181840152602081019050614108565b83811115614132576000848401525b50505050565b6000600282049050600182168061415057607f821691505b602082108114156141645761416361427a565b5b50919050565b614173826142fa565b810181811067ffffffffffffffff82111715614192576141916142a9565b5b80604052505050565b60006141a6826140cd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141d9576141d861421c565b5b600182019050919050565b60006141ef82614200565b9050919050565b6000819050919050565b600061420b8261430b565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156142f75760046000803e6142f4600051614318565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561487a576148fd565b614882613eb0565b60043d036004823e80513d602482011167ffffffffffffffff821117156148aa5750506148fd565b808201805167ffffffffffffffff8111156148c857505050506148fd565b80602083010160043d0385018111156148e55750505050506148fd565b6148f48260200185018661416a565b82955050505050505b90565b600281106149115761491061424b565b5b50565b61491d81614046565b811461492857600080fd5b50565b61493481614058565b811461493f57600080fd5b50565b61494b8161406e565b811461495657600080fd5b50565b614962816140cd565b811461496d57600080fd5b5056fea26469706673582212207a98cfd3b1454dff060e8c9b77c69ad179c8c484f2c729da65404a7799be327664736f6c63430008040033
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.