Overview
TokenID
68
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TritonPass
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.4; 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); } } pragma solidity ^0.8.4; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } } pragma solidity ^0.8.4; library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.4; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.4; /** * @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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.4; /** * @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); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } pragma solidity >=0.8.0 <0.9.0; contract TritonPass is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string public _baseTokenURI = "https://ipfs.io/ipfs/QmWR8PPpBEMGrLd93oxwqufis5pmvpG5wtXh8iY5yaMGL7/1.json"; bytes32 public merkleRoot = 0xb2a3090a161706a41e64270ba5a7b6478d1a8279f718c94e889e5470d2a9a3b1; uint256 public cost = 0.5 ether; uint256 public maxSupply = 333; bool public paused = true; bool public whitelistPaused = true; mapping (address => bool) public hasAddressMinted; constructor( ) ERC721A("Triton Pass", "Triton") { _safeMint(0x7d30285238699b79FEF01c1882E1788c45b4b04A, 1); } address private wallet1 = 0x612fE35c38fA52eD7b0E5100D30DFC0de5A6Ce7C; address private wallet2 = 0xd34826b45eE0B51678Ac27D17D11356BeFeD5317; function mint() public payable nonReentrant { require(hasAddressMinted[msg.sender] == false, "Address has already minted"); require(totalSupply() + 1 <= maxSupply, "Max supply exceeded!"); require(!paused, "The contract is paused!"); require(msg.value >= cost, "Insufficient funds!"); hasAddressMinted[msg.sender] = true; _safeMint(_msgSender(), 1); } function whitelistMint(bytes32[] calldata _proof) public payable nonReentrant { require(hasAddressMinted[msg.sender] == false, "Address has already minted"); require(totalSupply() + 1 <= maxSupply, "Max supply exceeded!"); require(MerkleProof.verify(_proof,merkleRoot,keccak256(abi.encodePacked(msg.sender))),"Invalid proof."); require(!whitelistPaused, "The contract is paused!"); require(msg.value >= cost, "Insufficient funds!"); hasAddressMinted[msg.sender] = true; _safeMint(_msgSender(), 1); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setWhitelistPaused(bool _state) public onlyOwner { whitelistPaused = _state; } function setMerkleRoot(bytes32 _root) public onlyOwner { merkleRoot = _root; } function withdraw() public onlyOwner nonReentrant { uint256 teamBal = address(this).balance; uint256 p1= SafeMath.div(SafeMath.mul(teamBal,50), 100); uint256 p2 = SafeMath.div(SafeMath.mul(teamBal,50), 100); payable(wallet1).transfer(p1); payable(wallet2).transfer(p2); payable(owner()).transfer(address(this).balance); } function setBaseURI(string calldata baseURI) public onlyOwner { _baseTokenURI = baseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { return _baseTokenURI; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasAddressMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060800160405280604a8152602001620041e8604a9139600a908051906020019062000035929190620007e4565b507fb2a3090a161706a41e64270ba5a7b6478d1a8279f718c94e889e5470d2a9a3b160001b600b556706f05b59d3b20000600c5561014d600d556001600e60006101000a81548160ff0219169083151502179055506001600e60016101000a81548160ff02191690831515021790555073612fe35c38fa52ed7b0e5100d30dfc0de5a6ce7c601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d34826b45ee0b51678ac27d17d11356befed5317601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200015c57600080fd5b506040518060400160405280600b81526020017f547269746f6e20506173730000000000000000000000000000000000000000008152506040518060400160405280600681526020017f547269746f6e00000000000000000000000000000000000000000000000000008152508160029080519060200190620001e1929190620007e4565b508060039080519060200190620001fa929190620007e4565b506200020b6200026860201b60201c565b600081905550505062000233620002276200027160201b60201c565b6200027960201b60201c565b600160098190555062000262737d30285238699b79fef01c1882e1788c45b4b04a60016200033f60201b60201c565b62000ae5565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003618282604051806020016040528060008152506200036560201b60201c565b5050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415620003d3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156200040f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200042460008583866200064a60201b60201c565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e162000491600185146200065060201b60201c565b901b60a042901b620004a9866200065a60201b60201c565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14620005ba575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46200056660008784806001019550876200066460201b60201c565b6200059d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210620004ef578260005414620005b457600080fd5b62000626565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210620005bb575b816000819055505050620006446000858386620007d660201b60201c565b50505050565b50505050565b6000819050919050565b6000819050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000692620007dc60201b60201c565b8786866040518563ffffffff1660e01b8152600401620006b6949392919062000940565b602060405180830381600087803b158015620006d157600080fd5b505af19250505080156200070557506040513d601f19601f82011682018060405250810190620007029190620008ab565b60015b62000783573d806000811462000738576040519150601f19603f3d011682016040523d82523d6000602084013e6200073d565b606091505b506000815114156200077b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b600033905090565b828054620007f29062000a50565b90600052602060002090601f01602090048101928262000816576000855562000862565b82601f106200083157805160ff191683800117855562000862565b8280016001018555821562000862579182015b828111156200086157825182559160200191906001019062000844565b5b50905062000871919062000875565b5090565b5b808211156200089057600081600090555060010162000876565b5090565b600081519050620008a58162000acb565b92915050565b600060208284031215620008c457620008c362000ab5565b5b6000620008d48482850162000894565b91505092915050565b620008e881620009b0565b82525050565b6000620008fb8262000994565b6200090781856200099f565b93506200091981856020860162000a1a565b620009248162000aba565b840191505092915050565b6200093a8162000a10565b82525050565b6000608082019050620009576000830187620008dd565b620009666020830186620008dd565b6200097560408301856200092f565b8181036060830152620009898184620008ee565b905095945050505050565b600081519050919050565b600082825260208201905092915050565b6000620009bd82620009f0565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000a3a57808201518184015260208101905062000a1d565b8381111562000a4a576000848401525b50505050565b6000600282049050600182168062000a6957607f821691505b6020821081141562000a805762000a7f62000a86565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b62000ad681620009c4565b811462000ae257600080fd5b50565b6136f38062000af56000396000f3fe6080604052600436106101e35760003560e01c806361e61a2511610102578063b7203b8f11610095578063cfc86f7b11610064578063cfc86f7b1461069c578063d5abeb01146106c7578063e985e9c5146106f2578063f2fde38b1461072f576101e3565b8063b7203b8f146105d0578063b88d4fde146105f9578063c87b56dd14610622578063c94ccfc71461065f576101e3565b80637cb64759116100d15780637cb64759146105285780638da5cb5b1461055157806395d89b411461057c578063a22cb465146105a7576101e3565b806361e61a251461046c5780636352211e1461049757806370a08231146104d4578063715018a614610511576101e3565b806323b872dd1161017a57806342842e0e1161014957806342842e0e146103c657806344a0d68a146103ef57806355f804b3146104185780635c975abb14610441576101e3565b806323b872dd1461033f5780632eb4a7ab14610368578063372f657c146103935780633ccfd60b146103af576101e3565b80631249c58b116101b65780631249c58b146102b657806313faede6146102c057806316c38b3c146102eb57806318160ddd14610314576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612bc3565b610758565b60405161021c9190612f39565b60405180910390f35b34801561023157600080fd5b5061023a6107ea565b6040516102479190612f6f565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612c6a565b61087c565b6040516102849190612ed2565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612adc565b6108f8565b005b6102be610a9f565b005b3480156102cc57600080fd5b506102d5610ce1565b6040516102e29190613091565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d9190612b69565b610ce7565b005b34801561032057600080fd5b50610329610d80565b6040516103369190613091565b60405180910390f35b34801561034b57600080fd5b50610366600480360381019061036191906129c6565b610d97565b005b34801561037457600080fd5b5061037d610da7565b60405161038a9190612f54565b60405180910390f35b6103ad60048036038101906103a89190612b1c565b610dad565b005b3480156103bb57600080fd5b506103c46110a4565b005b3480156103d257600080fd5b506103ed60048036038101906103e891906129c6565b6112d2565b005b3480156103fb57600080fd5b5061041660048036038101906104119190612c6a565b6112f2565b005b34801561042457600080fd5b5061043f600480360381019061043a9190612c1d565b611378565b005b34801561044d57600080fd5b5061045661140a565b6040516104639190612f39565b60405180910390f35b34801561047857600080fd5b5061048161141d565b60405161048e9190612f39565b60405180910390f35b3480156104a357600080fd5b506104be60048036038101906104b99190612c6a565b611430565b6040516104cb9190612ed2565b60405180910390f35b3480156104e057600080fd5b506104fb60048036038101906104f69190612959565b611442565b6040516105089190613091565b60405180910390f35b34801561051d57600080fd5b506105266114fb565b005b34801561053457600080fd5b5061054f600480360381019061054a9190612b96565b611583565b005b34801561055d57600080fd5b50610566611609565b6040516105739190612ed2565b60405180910390f35b34801561058857600080fd5b50610591611633565b60405161059e9190612f6f565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c99190612a9c565b6116c5565b005b3480156105dc57600080fd5b506105f760048036038101906105f29190612b69565b61183d565b005b34801561060557600080fd5b50610620600480360381019061061b9190612a19565b6118d6565b005b34801561062e57600080fd5b5061064960048036038101906106449190612c6a565b611949565b6040516106569190612f6f565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190612959565b6119dd565b6040516106939190612f39565b60405180910390f35b3480156106a857600080fd5b506106b16119fd565b6040516106be9190612f6f565b60405180910390f35b3480156106d357600080fd5b506106dc611a8b565b6040516106e99190613091565b60405180910390f35b3480156106fe57600080fd5b5061071960048036038101906107149190612986565b611a91565b6040516107269190612f39565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190612959565b611b25565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107b357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107e35750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107f9906132db565b80601f0160208091040260200160405190810160405280929190818152602001828054610825906132db565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050905090565b600061088782611c1d565b6108bd576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090382611c7c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561096b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661098a611d4a565b73ffffffffffffffffffffffffffffffffffffffff16146109ed576109b6816109b1611d4a565b611a91565b6109ec576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60026009541415610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc90613051565b60405180910390fd5b600260098190555060001515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790612fb1565b60405180910390fd5b600d546001610b8d610d80565b610b97919061313a565b1115610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf90613011565b60405180910390fd5b600e60009054906101000a900460ff1615610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f90612ff1565b60405180910390fd5b600c54341015610c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6490613071565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cd7610cd0611d52565b6001611d5a565b6001600981905550565b600c5481565b610cef611d52565b73ffffffffffffffffffffffffffffffffffffffff16610d0d611609565b73ffffffffffffffffffffffffffffffffffffffff1614610d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5a90612fd1565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6000610d8a611d78565b6001546000540303905090565b610da2838383611d81565b505050565b600b5481565b60026009541415610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea90613051565b60405180910390fd5b600260098190555060001515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590612fb1565b60405180910390fd5b600d546001610e9b610d80565b610ea5919061313a565b1115610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90613011565b60405180910390fd5b610f5a828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5433604051602001610f3f9190612e8b565b6040516020818303038152906040528051906020012061212b565b610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090613031565b60405180910390fd5b600e60019054906101000a900460ff1615610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe090612ff1565b60405180910390fd5b600c5434101561102e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102590613071565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611098611091611d52565b6001611d5a565b60016009819055505050565b6110ac611d52565b73ffffffffffffffffffffffffffffffffffffffff166110ca611609565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790612fd1565b60405180910390fd5b60026009541415611166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115d90613051565b60405180910390fd5b60026009819055506000479050600061118a611183836032612142565b6064612158565b905060006111a361119c846032612142565b6064612158565b9050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561120d573d6000803e3d6000fd5b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611276573d6000803e3d6000fd5b5061127f611609565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156112c4573d6000803e3d6000fd5b505050506001600981905550565b6112ed838383604051806020016040528060008152506118d6565b505050565b6112fa611d52565b73ffffffffffffffffffffffffffffffffffffffff16611318611609565b73ffffffffffffffffffffffffffffffffffffffff161461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136590612fd1565b60405180910390fd5b80600c8190555050565b611380611d52565b73ffffffffffffffffffffffffffffffffffffffff1661139e611609565b73ffffffffffffffffffffffffffffffffffffffff16146113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb90612fd1565b60405180910390fd5b8181600a919061140592919061271c565b505050565b600e60009054906101000a900460ff1681565b600e60019054906101000a900460ff1681565b600061143b82611c7c565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114aa576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611503611d52565b73ffffffffffffffffffffffffffffffffffffffff16611521611609565b73ffffffffffffffffffffffffffffffffffffffff1614611577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156e90612fd1565b60405180910390fd5b611581600061216e565b565b61158b611d52565b73ffffffffffffffffffffffffffffffffffffffff166115a9611609565b73ffffffffffffffffffffffffffffffffffffffff16146115ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f690612fd1565b60405180910390fd5b80600b8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611642906132db565b80601f016020809104026020016040519081016040528092919081815260200182805461166e906132db565b80156116bb5780601f10611690576101008083540402835291602001916116bb565b820191906000526020600020905b81548152906001019060200180831161169e57829003601f168201915b5050505050905090565b6116cd611d4a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611732576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061173f611d4a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117ec611d4a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118319190612f39565b60405180910390a35050565b611845611d52565b73ffffffffffffffffffffffffffffffffffffffff16611863611609565b73ffffffffffffffffffffffffffffffffffffffff16146118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b090612fd1565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b6118e1848484611d81565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119435761190c84848484612234565b611942576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600a8054611958906132db565b80601f0160208091040260200160405190810160405280929190818152602001828054611984906132db565b80156119d15780601f106119a6576101008083540402835291602001916119d1565b820191906000526020600020905b8154815290600101906020018083116119b457829003601f168201915b50505050509050919050565b600f6020528060005260406000206000915054906101000a900460ff1681565b600a8054611a0a906132db565b80601f0160208091040260200160405190810160405280929190818152602001828054611a36906132db565b8015611a835780601f10611a5857610100808354040283529160200191611a83565b820191906000526020600020905b815481529060010190602001808311611a6657829003601f168201915b505050505081565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b2d611d52565b73ffffffffffffffffffffffffffffffffffffffff16611b4b611609565b73ffffffffffffffffffffffffffffffffffffffff1614611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9890612fd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890612f91565b60405180910390fd5b611c1a8161216e565b50565b600081611c28611d78565b11158015611c37575060005482105b8015611c75575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080611c8b611d78565b11611d1357600054811015611d125760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611d10575b6000811415611d06576004600083600190039350838152602001908152602001600020549050611cdb565b8092505050611d45565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b611d74828260405180602001604052806000815250612394565b5050565b60006001905090565b6000611d8c82611c7c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611df3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611e14611d4a565b73ffffffffffffffffffffffffffffffffffffffff161480611e435750611e4285611e3d611d4a565b611a91565b5b80611e885750611e51611d4a565b73ffffffffffffffffffffffffffffffffffffffff16611e708461087c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611ec1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f28576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f358585856001612649565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6120328661264f565b1717600460008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831614156120bc5760006001840190506000600460008381526020019081526020016000205414156120ba5760005481146120b9578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121248585856001612659565b5050505050565b600082612138858461265f565b1490509392505050565b6000818361215091906131c1565b905092915050565b600081836121669190613190565b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261225a611d4a565b8786866040518563ffffffff1660e01b815260040161227c9493929190612eed565b602060405180830381600087803b15801561229657600080fd5b505af19250505080156122c757506040513d601f19601f820116820180604052508101906122c49190612bf0565b60015b612341573d80600081146122f7576040519150601f19603f3d011682016040523d82523d6000602084013e6122fc565b606091505b50600081511415612339576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612401576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083141561243c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124496000858386612649565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16124ae60018514612712565b901b60a042901b6124be8661264f565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146125c2575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125726000878480600101955087612234565b6125a8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106125035782600054146125bd57600080fd5b61262d565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106125c3575b8160008190555050506126436000858386612659565b50505050565b50505050565b6000819050919050565b50505050565b60008082905060005b845181101561270757600085828151811061268657612685613442565b5b602002602001015190508083116126c75782816040516020016126aa929190612ea6565b6040516020818303038152906040528051906020012092506126f3565b80836040516020016126da929190612ea6565b6040516020818303038152906040528051906020012092505b5080806126ff9061333e565b915050612668565b508091505092915050565b6000819050919050565b828054612728906132db565b90600052602060002090601f01602090048101928261274a5760008555612791565b82601f1061276357803560ff1916838001178555612791565b82800160010185558215612791579182015b82811115612790578235825591602001919060010190612775565b5b50905061279e91906127a2565b5090565b5b808211156127bb5760008160009055506001016127a3565b5090565b60006127d26127cd846130d1565b6130ac565b9050828152602081018484840111156127ee576127ed6134af565b5b6127f9848285613299565b509392505050565b6000813590506128108161364a565b92915050565b60008083601f84011261282c5761282b6134a5565b5b8235905067ffffffffffffffff811115612849576128486134a0565b5b602083019150836020820283011115612865576128646134aa565b5b9250929050565b60008135905061287b81613661565b92915050565b60008135905061289081613678565b92915050565b6000813590506128a58161368f565b92915050565b6000815190506128ba8161368f565b92915050565b600082601f8301126128d5576128d46134a5565b5b81356128e58482602086016127bf565b91505092915050565b60008083601f840112612904576129036134a5565b5b8235905067ffffffffffffffff811115612921576129206134a0565b5b60208301915083600182028301111561293d5761293c6134aa565b5b9250929050565b600081359050612953816136a6565b92915050565b60006020828403121561296f5761296e6134b9565b5b600061297d84828501612801565b91505092915050565b6000806040838503121561299d5761299c6134b9565b5b60006129ab85828601612801565b92505060206129bc85828601612801565b9150509250929050565b6000806000606084860312156129df576129de6134b9565b5b60006129ed86828701612801565b93505060206129fe86828701612801565b9250506040612a0f86828701612944565b9150509250925092565b60008060008060808587031215612a3357612a326134b9565b5b6000612a4187828801612801565b9450506020612a5287828801612801565b9350506040612a6387828801612944565b925050606085013567ffffffffffffffff811115612a8457612a836134b4565b5b612a90878288016128c0565b91505092959194509250565b60008060408385031215612ab357612ab26134b9565b5b6000612ac185828601612801565b9250506020612ad28582860161286c565b9150509250929050565b60008060408385031215612af357612af26134b9565b5b6000612b0185828601612801565b9250506020612b1285828601612944565b9150509250929050565b60008060208385031215612b3357612b326134b9565b5b600083013567ffffffffffffffff811115612b5157612b506134b4565b5b612b5d85828601612816565b92509250509250929050565b600060208284031215612b7f57612b7e6134b9565b5b6000612b8d8482850161286c565b91505092915050565b600060208284031215612bac57612bab6134b9565b5b6000612bba84828501612881565b91505092915050565b600060208284031215612bd957612bd86134b9565b5b6000612be784828501612896565b91505092915050565b600060208284031215612c0657612c056134b9565b5b6000612c14848285016128ab565b91505092915050565b60008060208385031215612c3457612c336134b9565b5b600083013567ffffffffffffffff811115612c5257612c516134b4565b5b612c5e858286016128ee565b92509250509250929050565b600060208284031215612c8057612c7f6134b9565b5b6000612c8e84828501612944565b91505092915050565b612ca08161321b565b82525050565b612cb7612cb28261321b565b613387565b82525050565b612cc68161322d565b82525050565b612cd581613239565b82525050565b612cec612ce782613239565b613399565b82525050565b6000612cfd82613102565b612d078185613118565b9350612d178185602086016132a8565b612d20816134be565b840191505092915050565b6000612d368261310d565b612d408185613129565b9350612d508185602086016132a8565b612d59816134be565b840191505092915050565b6000612d71602683613129565b9150612d7c826134dc565b604082019050919050565b6000612d94601a83613129565b9150612d9f8261352b565b602082019050919050565b6000612db7602083613129565b9150612dc282613554565b602082019050919050565b6000612dda601783613129565b9150612de58261357d565b602082019050919050565b6000612dfd601483613129565b9150612e08826135a6565b602082019050919050565b6000612e20600e83613129565b9150612e2b826135cf565b602082019050919050565b6000612e43601f83613129565b9150612e4e826135f8565b602082019050919050565b6000612e66601383613129565b9150612e7182613621565b602082019050919050565b612e858161328f565b82525050565b6000612e978284612ca6565b60148201915081905092915050565b6000612eb28285612cdb565b602082019150612ec28284612cdb565b6020820191508190509392505050565b6000602082019050612ee76000830184612c97565b92915050565b6000608082019050612f026000830187612c97565b612f0f6020830186612c97565b612f1c6040830185612e7c565b8181036060830152612f2e8184612cf2565b905095945050505050565b6000602082019050612f4e6000830184612cbd565b92915050565b6000602082019050612f696000830184612ccc565b92915050565b60006020820190508181036000830152612f898184612d2b565b905092915050565b60006020820190508181036000830152612faa81612d64565b9050919050565b60006020820190508181036000830152612fca81612d87565b9050919050565b60006020820190508181036000830152612fea81612daa565b9050919050565b6000602082019050818103600083015261300a81612dcd565b9050919050565b6000602082019050818103600083015261302a81612df0565b9050919050565b6000602082019050818103600083015261304a81612e13565b9050919050565b6000602082019050818103600083015261306a81612e36565b9050919050565b6000602082019050818103600083015261308a81612e59565b9050919050565b60006020820190506130a66000830184612e7c565b92915050565b60006130b66130c7565b90506130c2828261330d565b919050565b6000604051905090565b600067ffffffffffffffff8211156130ec576130eb613471565b5b6130f5826134be565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006131458261328f565b91506131508361328f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613185576131846133b5565b5b828201905092915050565b600061319b8261328f565b91506131a68361328f565b9250826131b6576131b56133e4565b5b828204905092915050565b60006131cc8261328f565b91506131d78361328f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132105761320f6133b5565b5b828202905092915050565b60006132268261326f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156132c65780820151818401526020810190506132ab565b838111156132d5576000848401525b50505050565b600060028204905060018216806132f357607f821691505b6020821081141561330757613306613413565b5b50919050565b613316826134be565b810181811067ffffffffffffffff8211171561333557613334613471565b5b80604052505050565b60006133498261328f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561337c5761337b6133b5565b5b600182019050919050565b6000613392826133a3565b9050919050565b6000819050919050565b60006133ae826134cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573732068617320616c7265616479206d696e746564000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f496e76616c69642070726f6f662e000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6136538161321b565b811461365e57600080fd5b50565b61366a8161322d565b811461367557600080fd5b50565b61368181613239565b811461368c57600080fd5b50565b61369881613243565b81146136a357600080fd5b50565b6136af8161328f565b81146136ba57600080fd5b5056fea2646970667358221220e12bd5cd6fa5f66ebc4c26653a4a50567d3d3ce2d2bde41609bb73cb331a82b064736f6c6343000807003368747470733a2f2f697066732e696f2f697066732f516d57523850507042454d47724c6439336f7877717566697335706d76704735777458683869593579614d474c372f312e6a736f6e
Deployed Bytecode
0x6080604052600436106101e35760003560e01c806361e61a2511610102578063b7203b8f11610095578063cfc86f7b11610064578063cfc86f7b1461069c578063d5abeb01146106c7578063e985e9c5146106f2578063f2fde38b1461072f576101e3565b8063b7203b8f146105d0578063b88d4fde146105f9578063c87b56dd14610622578063c94ccfc71461065f576101e3565b80637cb64759116100d15780637cb64759146105285780638da5cb5b1461055157806395d89b411461057c578063a22cb465146105a7576101e3565b806361e61a251461046c5780636352211e1461049757806370a08231146104d4578063715018a614610511576101e3565b806323b872dd1161017a57806342842e0e1161014957806342842e0e146103c657806344a0d68a146103ef57806355f804b3146104185780635c975abb14610441576101e3565b806323b872dd1461033f5780632eb4a7ab14610368578063372f657c146103935780633ccfd60b146103af576101e3565b80631249c58b116101b65780631249c58b146102b657806313faede6146102c057806316c38b3c146102eb57806318160ddd14610314576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612bc3565b610758565b60405161021c9190612f39565b60405180910390f35b34801561023157600080fd5b5061023a6107ea565b6040516102479190612f6f565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612c6a565b61087c565b6040516102849190612ed2565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612adc565b6108f8565b005b6102be610a9f565b005b3480156102cc57600080fd5b506102d5610ce1565b6040516102e29190613091565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d9190612b69565b610ce7565b005b34801561032057600080fd5b50610329610d80565b6040516103369190613091565b60405180910390f35b34801561034b57600080fd5b50610366600480360381019061036191906129c6565b610d97565b005b34801561037457600080fd5b5061037d610da7565b60405161038a9190612f54565b60405180910390f35b6103ad60048036038101906103a89190612b1c565b610dad565b005b3480156103bb57600080fd5b506103c46110a4565b005b3480156103d257600080fd5b506103ed60048036038101906103e891906129c6565b6112d2565b005b3480156103fb57600080fd5b5061041660048036038101906104119190612c6a565b6112f2565b005b34801561042457600080fd5b5061043f600480360381019061043a9190612c1d565b611378565b005b34801561044d57600080fd5b5061045661140a565b6040516104639190612f39565b60405180910390f35b34801561047857600080fd5b5061048161141d565b60405161048e9190612f39565b60405180910390f35b3480156104a357600080fd5b506104be60048036038101906104b99190612c6a565b611430565b6040516104cb9190612ed2565b60405180910390f35b3480156104e057600080fd5b506104fb60048036038101906104f69190612959565b611442565b6040516105089190613091565b60405180910390f35b34801561051d57600080fd5b506105266114fb565b005b34801561053457600080fd5b5061054f600480360381019061054a9190612b96565b611583565b005b34801561055d57600080fd5b50610566611609565b6040516105739190612ed2565b60405180910390f35b34801561058857600080fd5b50610591611633565b60405161059e9190612f6f565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c99190612a9c565b6116c5565b005b3480156105dc57600080fd5b506105f760048036038101906105f29190612b69565b61183d565b005b34801561060557600080fd5b50610620600480360381019061061b9190612a19565b6118d6565b005b34801561062e57600080fd5b5061064960048036038101906106449190612c6a565b611949565b6040516106569190612f6f565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190612959565b6119dd565b6040516106939190612f39565b60405180910390f35b3480156106a857600080fd5b506106b16119fd565b6040516106be9190612f6f565b60405180910390f35b3480156106d357600080fd5b506106dc611a8b565b6040516106e99190613091565b60405180910390f35b3480156106fe57600080fd5b5061071960048036038101906107149190612986565b611a91565b6040516107269190612f39565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190612959565b611b25565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107b357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107e35750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107f9906132db565b80601f0160208091040260200160405190810160405280929190818152602001828054610825906132db565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050905090565b600061088782611c1d565b6108bd576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090382611c7c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561096b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661098a611d4a565b73ffffffffffffffffffffffffffffffffffffffff16146109ed576109b6816109b1611d4a565b611a91565b6109ec576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60026009541415610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc90613051565b60405180910390fd5b600260098190555060001515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790612fb1565b60405180910390fd5b600d546001610b8d610d80565b610b97919061313a565b1115610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf90613011565b60405180910390fd5b600e60009054906101000a900460ff1615610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f90612ff1565b60405180910390fd5b600c54341015610c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6490613071565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cd7610cd0611d52565b6001611d5a565b6001600981905550565b600c5481565b610cef611d52565b73ffffffffffffffffffffffffffffffffffffffff16610d0d611609565b73ffffffffffffffffffffffffffffffffffffffff1614610d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5a90612fd1565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6000610d8a611d78565b6001546000540303905090565b610da2838383611d81565b505050565b600b5481565b60026009541415610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea90613051565b60405180910390fd5b600260098190555060001515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590612fb1565b60405180910390fd5b600d546001610e9b610d80565b610ea5919061313a565b1115610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90613011565b60405180910390fd5b610f5a828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5433604051602001610f3f9190612e8b565b6040516020818303038152906040528051906020012061212b565b610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090613031565b60405180910390fd5b600e60019054906101000a900460ff1615610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe090612ff1565b60405180910390fd5b600c5434101561102e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102590613071565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611098611091611d52565b6001611d5a565b60016009819055505050565b6110ac611d52565b73ffffffffffffffffffffffffffffffffffffffff166110ca611609565b73ffffffffffffffffffffffffffffffffffffffff1614611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790612fd1565b60405180910390fd5b60026009541415611166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115d90613051565b60405180910390fd5b60026009819055506000479050600061118a611183836032612142565b6064612158565b905060006111a361119c846032612142565b6064612158565b9050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561120d573d6000803e3d6000fd5b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611276573d6000803e3d6000fd5b5061127f611609565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156112c4573d6000803e3d6000fd5b505050506001600981905550565b6112ed838383604051806020016040528060008152506118d6565b505050565b6112fa611d52565b73ffffffffffffffffffffffffffffffffffffffff16611318611609565b73ffffffffffffffffffffffffffffffffffffffff161461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136590612fd1565b60405180910390fd5b80600c8190555050565b611380611d52565b73ffffffffffffffffffffffffffffffffffffffff1661139e611609565b73ffffffffffffffffffffffffffffffffffffffff16146113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb90612fd1565b60405180910390fd5b8181600a919061140592919061271c565b505050565b600e60009054906101000a900460ff1681565b600e60019054906101000a900460ff1681565b600061143b82611c7c565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114aa576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611503611d52565b73ffffffffffffffffffffffffffffffffffffffff16611521611609565b73ffffffffffffffffffffffffffffffffffffffff1614611577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156e90612fd1565b60405180910390fd5b611581600061216e565b565b61158b611d52565b73ffffffffffffffffffffffffffffffffffffffff166115a9611609565b73ffffffffffffffffffffffffffffffffffffffff16146115ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f690612fd1565b60405180910390fd5b80600b8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611642906132db565b80601f016020809104026020016040519081016040528092919081815260200182805461166e906132db565b80156116bb5780601f10611690576101008083540402835291602001916116bb565b820191906000526020600020905b81548152906001019060200180831161169e57829003601f168201915b5050505050905090565b6116cd611d4a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611732576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061173f611d4a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117ec611d4a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118319190612f39565b60405180910390a35050565b611845611d52565b73ffffffffffffffffffffffffffffffffffffffff16611863611609565b73ffffffffffffffffffffffffffffffffffffffff16146118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b090612fd1565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b6118e1848484611d81565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119435761190c84848484612234565b611942576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600a8054611958906132db565b80601f0160208091040260200160405190810160405280929190818152602001828054611984906132db565b80156119d15780601f106119a6576101008083540402835291602001916119d1565b820191906000526020600020905b8154815290600101906020018083116119b457829003601f168201915b50505050509050919050565b600f6020528060005260406000206000915054906101000a900460ff1681565b600a8054611a0a906132db565b80601f0160208091040260200160405190810160405280929190818152602001828054611a36906132db565b8015611a835780601f10611a5857610100808354040283529160200191611a83565b820191906000526020600020905b815481529060010190602001808311611a6657829003601f168201915b505050505081565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b2d611d52565b73ffffffffffffffffffffffffffffffffffffffff16611b4b611609565b73ffffffffffffffffffffffffffffffffffffffff1614611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9890612fd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890612f91565b60405180910390fd5b611c1a8161216e565b50565b600081611c28611d78565b11158015611c37575060005482105b8015611c75575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080611c8b611d78565b11611d1357600054811015611d125760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611d10575b6000811415611d06576004600083600190039350838152602001908152602001600020549050611cdb565b8092505050611d45565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b611d74828260405180602001604052806000815250612394565b5050565b60006001905090565b6000611d8c82611c7c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611df3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611e14611d4a565b73ffffffffffffffffffffffffffffffffffffffff161480611e435750611e4285611e3d611d4a565b611a91565b5b80611e885750611e51611d4a565b73ffffffffffffffffffffffffffffffffffffffff16611e708461087c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611ec1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f28576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f358585856001612649565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6120328661264f565b1717600460008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831614156120bc5760006001840190506000600460008381526020019081526020016000205414156120ba5760005481146120b9578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121248585856001612659565b5050505050565b600082612138858461265f565b1490509392505050565b6000818361215091906131c1565b905092915050565b600081836121669190613190565b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261225a611d4a565b8786866040518563ffffffff1660e01b815260040161227c9493929190612eed565b602060405180830381600087803b15801561229657600080fd5b505af19250505080156122c757506040513d601f19601f820116820180604052508101906122c49190612bf0565b60015b612341573d80600081146122f7576040519150601f19603f3d011682016040523d82523d6000602084013e6122fc565b606091505b50600081511415612339576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612401576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083141561243c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124496000858386612649565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16124ae60018514612712565b901b60a042901b6124be8661264f565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146125c2575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125726000878480600101955087612234565b6125a8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106125035782600054146125bd57600080fd5b61262d565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106125c3575b8160008190555050506126436000858386612659565b50505050565b50505050565b6000819050919050565b50505050565b60008082905060005b845181101561270757600085828151811061268657612685613442565b5b602002602001015190508083116126c75782816040516020016126aa929190612ea6565b6040516020818303038152906040528051906020012092506126f3565b80836040516020016126da929190612ea6565b6040516020818303038152906040528051906020012092505b5080806126ff9061333e565b915050612668565b508091505092915050565b6000819050919050565b828054612728906132db565b90600052602060002090601f01602090048101928261274a5760008555612791565b82601f1061276357803560ff1916838001178555612791565b82800160010185558215612791579182015b82811115612790578235825591602001919060010190612775565b5b50905061279e91906127a2565b5090565b5b808211156127bb5760008160009055506001016127a3565b5090565b60006127d26127cd846130d1565b6130ac565b9050828152602081018484840111156127ee576127ed6134af565b5b6127f9848285613299565b509392505050565b6000813590506128108161364a565b92915050565b60008083601f84011261282c5761282b6134a5565b5b8235905067ffffffffffffffff811115612849576128486134a0565b5b602083019150836020820283011115612865576128646134aa565b5b9250929050565b60008135905061287b81613661565b92915050565b60008135905061289081613678565b92915050565b6000813590506128a58161368f565b92915050565b6000815190506128ba8161368f565b92915050565b600082601f8301126128d5576128d46134a5565b5b81356128e58482602086016127bf565b91505092915050565b60008083601f840112612904576129036134a5565b5b8235905067ffffffffffffffff811115612921576129206134a0565b5b60208301915083600182028301111561293d5761293c6134aa565b5b9250929050565b600081359050612953816136a6565b92915050565b60006020828403121561296f5761296e6134b9565b5b600061297d84828501612801565b91505092915050565b6000806040838503121561299d5761299c6134b9565b5b60006129ab85828601612801565b92505060206129bc85828601612801565b9150509250929050565b6000806000606084860312156129df576129de6134b9565b5b60006129ed86828701612801565b93505060206129fe86828701612801565b9250506040612a0f86828701612944565b9150509250925092565b60008060008060808587031215612a3357612a326134b9565b5b6000612a4187828801612801565b9450506020612a5287828801612801565b9350506040612a6387828801612944565b925050606085013567ffffffffffffffff811115612a8457612a836134b4565b5b612a90878288016128c0565b91505092959194509250565b60008060408385031215612ab357612ab26134b9565b5b6000612ac185828601612801565b9250506020612ad28582860161286c565b9150509250929050565b60008060408385031215612af357612af26134b9565b5b6000612b0185828601612801565b9250506020612b1285828601612944565b9150509250929050565b60008060208385031215612b3357612b326134b9565b5b600083013567ffffffffffffffff811115612b5157612b506134b4565b5b612b5d85828601612816565b92509250509250929050565b600060208284031215612b7f57612b7e6134b9565b5b6000612b8d8482850161286c565b91505092915050565b600060208284031215612bac57612bab6134b9565b5b6000612bba84828501612881565b91505092915050565b600060208284031215612bd957612bd86134b9565b5b6000612be784828501612896565b91505092915050565b600060208284031215612c0657612c056134b9565b5b6000612c14848285016128ab565b91505092915050565b60008060208385031215612c3457612c336134b9565b5b600083013567ffffffffffffffff811115612c5257612c516134b4565b5b612c5e858286016128ee565b92509250509250929050565b600060208284031215612c8057612c7f6134b9565b5b6000612c8e84828501612944565b91505092915050565b612ca08161321b565b82525050565b612cb7612cb28261321b565b613387565b82525050565b612cc68161322d565b82525050565b612cd581613239565b82525050565b612cec612ce782613239565b613399565b82525050565b6000612cfd82613102565b612d078185613118565b9350612d178185602086016132a8565b612d20816134be565b840191505092915050565b6000612d368261310d565b612d408185613129565b9350612d508185602086016132a8565b612d59816134be565b840191505092915050565b6000612d71602683613129565b9150612d7c826134dc565b604082019050919050565b6000612d94601a83613129565b9150612d9f8261352b565b602082019050919050565b6000612db7602083613129565b9150612dc282613554565b602082019050919050565b6000612dda601783613129565b9150612de58261357d565b602082019050919050565b6000612dfd601483613129565b9150612e08826135a6565b602082019050919050565b6000612e20600e83613129565b9150612e2b826135cf565b602082019050919050565b6000612e43601f83613129565b9150612e4e826135f8565b602082019050919050565b6000612e66601383613129565b9150612e7182613621565b602082019050919050565b612e858161328f565b82525050565b6000612e978284612ca6565b60148201915081905092915050565b6000612eb28285612cdb565b602082019150612ec28284612cdb565b6020820191508190509392505050565b6000602082019050612ee76000830184612c97565b92915050565b6000608082019050612f026000830187612c97565b612f0f6020830186612c97565b612f1c6040830185612e7c565b8181036060830152612f2e8184612cf2565b905095945050505050565b6000602082019050612f4e6000830184612cbd565b92915050565b6000602082019050612f696000830184612ccc565b92915050565b60006020820190508181036000830152612f898184612d2b565b905092915050565b60006020820190508181036000830152612faa81612d64565b9050919050565b60006020820190508181036000830152612fca81612d87565b9050919050565b60006020820190508181036000830152612fea81612daa565b9050919050565b6000602082019050818103600083015261300a81612dcd565b9050919050565b6000602082019050818103600083015261302a81612df0565b9050919050565b6000602082019050818103600083015261304a81612e13565b9050919050565b6000602082019050818103600083015261306a81612e36565b9050919050565b6000602082019050818103600083015261308a81612e59565b9050919050565b60006020820190506130a66000830184612e7c565b92915050565b60006130b66130c7565b90506130c2828261330d565b919050565b6000604051905090565b600067ffffffffffffffff8211156130ec576130eb613471565b5b6130f5826134be565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006131458261328f565b91506131508361328f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613185576131846133b5565b5b828201905092915050565b600061319b8261328f565b91506131a68361328f565b9250826131b6576131b56133e4565b5b828204905092915050565b60006131cc8261328f565b91506131d78361328f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132105761320f6133b5565b5b828202905092915050565b60006132268261326f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156132c65780820151818401526020810190506132ab565b838111156132d5576000848401525b50505050565b600060028204905060018216806132f357607f821691505b6020821081141561330757613306613413565b5b50919050565b613316826134be565b810181811067ffffffffffffffff8211171561333557613334613471565b5b80604052505050565b60006133498261328f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561337c5761337b6133b5565b5b600182019050919050565b6000613392826133a3565b9050919050565b6000819050919050565b60006133ae826134cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573732068617320616c7265616479206d696e746564000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f496e76616c69642070726f6f662e000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6136538161321b565b811461365e57600080fd5b50565b61366a8161322d565b811461367557600080fd5b50565b61368181613239565b811461368c57600080fd5b50565b61369881613243565b81146136a357600080fd5b50565b6136af8161328f565b81146136ba57600080fd5b5056fea2646970667358221220e12bd5cd6fa5f66ebc4c26653a4a50567d3d3ce2d2bde41609bb73cb331a82b064736f6c63430008070033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.