NFT
Overview
TokenID
3002
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:
MetaPenguinIslandToken
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721X.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract MetaPenguinIslandToken is ERC721X, Ownable { // Use OZ MerkleProof Library to verify Merkle proofs using MerkleProof for bytes32[]; uint256 public immutable price = 240000000000000000; // 0.24 Ether uint256 public immutable maxTotalSupply = 8888; uint256 public immutable maxAdminMint = 100; uint256 public adminMintCount = 0; mapping(address => uint256) private mints; string private theBaseURI; bytes32 public root; constructor() ERC721X("Meta Penguin Island", "MPI") {} function buy(bool _amount, uint256 _startTime, bytes32[] memory _proof) public payable { uint256 n = !_amount ? 1 : 2; require(msg.sender == tx.origin, "mint from contract not allowed"); require(msg.value >= price * n, "incorrect price"); require(nextId <= maxTotalSupply - maxAdminMint, "not enough tokens"); require(mints[msg.sender] + n <= 2, "mint limit reached"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender, _startTime)); require(_proof.verify(root, leaf), "invalid proof"); require(_startTime <= block.timestamp, "too early"); mints[msg.sender] += n; _mint(msg.sender, _amount); } function _baseURI() internal view override returns (string memory) { return theBaseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { theBaseURI = _newBaseURI; } function setRoot(bytes32 _newRoot) public onlyOwner { root = _newRoot; } function adminBuy(address _to, bool _amount) public onlyOwner { uint256 n = !_amount ? 1 : 2; adminMintCount += n; require(nextId <= maxTotalSupply && adminMintCount <= maxAdminMint, "not enough tokens"); _mint(_to, _amount); } function withdraw() public { address payable addr1 = payable(0x1166b0531F5DCeccB6658721fC5937110fB854Af); address payable addr2 = payable(0x3ae45Fa77a429C03c18Be56fb2222C2b0b59Ac1A); require(msg.sender == owner() || msg.sender == addr1 || msg.sender == addr2, "access denied"); uint256 balance = address(this).balance; uint256 value1 = balance / 2; uint256 value2 = balance - value1; addr1.transfer(value1); addr2.transfer(value2); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension and the Enumerable extension * * @dev Only allows token IDs are minted serially starting from token ID 1 * * @dev Does not support burning tokens or in any way changing the ownership of a token * to address(0) */ contract ERC721X is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // 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; /** * @dev Returns next token ID to be mint */ uint256 public nextId = 1; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. It * also sets a `maxTotalSupply` variable to cap the tokens to ever be created */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721X: balance query for the zero address"); uint256 count = 0; for(uint256 i = 1; _exists(i); i++) { if(_owners[i] == owner) { count++; if(_owners[i + 1] == address(0) && _exists(i + 1)) count++; } } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721X: owner query for nonexistent token"); return _owners[tokenId] != address(0) ? _owners[tokenId] : _owners[tokenId - 1]; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); require(to != owner, "ERC721X: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721X: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721X: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721X: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721X: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721X: transfer to non ERC721Receiver implementer"); } /** * @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 virtual returns (bool) { return tokenId != 0 && tokenId < nextId; } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721X: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints the token with next consecutive ID and transfers it to `to`. Setting * `amount` to `true` will mint another nft. * * Requirements: * * - `tokenId` must not exist. * - `maxTotalSupply` maximum total supply has not been reached * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, bool amount) internal virtual { _safeMint(to, amount, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, bool amount, bytes memory _data ) internal virtual { _mint(to, amount); uint256 n = !amount ? 1 : 2; for(uint256 i = 0; i < n; i++) { require( _checkOnERC721Received(address(0), to, nextId - i - 1, _data), "ERC721X: transfer to non ERC721Receiver implementer" ); } } /** * @dev Mints the token with next consecutive ID and transfers it to `to`. Setting * `amount` to `true` will mint another nft. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `to` cannot be the zero address. * - `maxTotalSupply` maximum total supply has not been reached * * Emits a {Transfer} event. */ function _mint(address to, bool amount) internal virtual { // The below calculations do not depend on user input and // are very hard to overflow (nextId must be >= 2^256-2 for // that to happen) so using `unchecked` as a means of saving // gas is safe here unchecked { require(to != address(0), "ERC721X: mint to the zero address"); uint256 n = !amount ? 1 : 2; _owners[nextId] = to; for(uint256 i = 0; i < n; i++) { _beforeTokenTransfer(address(0), to, nextId + i); emit Transfer(address(0), to, nextId + i); } nextId += n; } } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { // The below calculations are very hard to overflow (nextId must // be = 2^256-1 for that to happen) so using `unchecked` as // a means of saving gas is safe here unchecked { require( ownerOf(tokenId) == from, "ERC721X: transfer of token that is not own" ); require(to != address(0), "ERC721X: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); if(_owners[tokenId] == address(0)) { _owners[tokenId] = to; } else { _owners[tokenId] = to; if(_owners[tokenId + 1] == address(0)) { _owners[tokenId + 1] = from; } } emit Transfer(from, to, tokenId); } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721X: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721X: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev See {IEnumerableERC721-totalSupply}. */ function totalSupply() external view returns (uint256) { return nextId - 1; } /** * @dev See {IEnumerableERC721-tokenByIndex}. */ function tokenByIndex(uint256 index) external view returns (uint256) { require(_exists(index + 1), "ERC721X: global index out of bounds"); return index + 1; } /** * @dev See {IEnumerableERC721-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256) { require(owner != address(0), "ERC721X: balance query for the zero address"); uint256 count = 0; uint256 i = 1; for(; _exists(i) && count < index + 1; i++) { if(_owners[i] == owner) { count++; if(_owners[i + 1] == address(0) && count < index + 1 && _exists(i + 1)) { count++; i++; } } } if(count == index + 1) return i - 1; else revert("ERC721X: owner index out of bounds"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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) { 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)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"bool","name":"_amount","type":"bool"}],"name":"adminBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"bool","name":"_amount","type":"bool"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"buy","outputs":[],"stateMutability":"payable","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAdminMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newRoot","type":"bytes32"}],"name":"setRoot","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040526001600555670354a6ba7a1800006080526122b860a052606460c05260006007553480156200003257600080fd5b50604080518082018252601381527f4d6574612050656e6775696e2049736c616e64000000000000000000000000006020808301918252835180850190945260038452624d504960e81b908401528151919291620000939160009162000122565b508051620000a990600190602084019062000122565b505050620000c6620000c0620000cc60201b60201c565b620000d0565b62000205565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013090620001c8565b90600052602060002090601f0160209004810192826200015457600085556200019f565b82601f106200016f57805160ff19168380011785556200019f565b828001600101855582156200019f579182015b828111156200019f57825182559160200191906001019062000182565b50620001ad929150620001b1565b5090565b5b80821115620001ad5760008155600101620001b2565b600181811c90821680620001dd57607f821691505b60208210811415620001ff57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c0516123b0620002586000396000818161052601528181610c8501526110800152600081816102d801528181610ca601526110560152600081816104720152610c1b01526123b06000f3fe6080604052600436106101cd5760003560e01c80636e930549116100f7578063b88d4fde11610095578063e985e9c511610064578063e985e9c514610548578063ebf0c71714610591578063efc6dbf2146105a7578063f2fde38b146105bd57600080fd5b8063b88d4fde146104b4578063c87b56dd146104d4578063dab5f340146104f4578063de6aef481461051457600080fd5b80638da5cb5b116100d15780638da5cb5b1461042d57806395d89b411461044b578063a035b1fe14610460578063a22cb4651461049457600080fd5b80636e930549146103d857806370a08231146103f8578063715018a61461041857600080fd5b80632f745c591161016f5780634f6ccce71161013e5780634f6ccce71461036257806355f804b31461038257806361b8ce8c146103a25780636352211e146103b857600080fd5b80632f745c59146102fa5780633ccfd60b1461031a57806342842e0e1461032f5780634f62ddd61461034f57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a65780632ab4d052146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611ced565b6105dd565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c61064a565b6040516101fe9190611d62565b34801561023557600080fd5b50610249610244366004611d75565b6106dc565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004611daa565b61076a565b005b34801561028f57600080fd5b50610298610881565b6040519081526020016101fe565b3480156102b257600080fd5b506102816102c1366004611dd4565b610897565b3480156102d257600080fd5b506102987f000000000000000000000000000000000000000000000000000000000000000081565b34801561030657600080fd5b50610298610315366004611daa565b6108c8565b34801561032657600080fd5b50610281610a4e565b34801561033b57600080fd5b5061028161034a366004611dd4565b610b94565b61028161035d366004611e67565b610baf565b34801561036e57600080fd5b5061029861037d366004611d75565b610e75565b34801561038e57600080fd5b5061028161039d366004611f81565b610ee8565b3480156103ae57600080fd5b5061029860055481565b3480156103c457600080fd5b506102496103d3366004611d75565b610f29565b3480156103e457600080fd5b506102816103f3366004611fca565b610ff9565b34801561040457600080fd5b50610298610413366004611ffd565b6110ef565b34801561042457600080fd5b506102816111c6565b34801561043957600080fd5b506006546001600160a01b0316610249565b34801561045757600080fd5b5061021c6111fc565b34801561046c57600080fd5b506102987f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a057600080fd5b506102816104af366004611fca565b61120b565b3480156104c057600080fd5b506102816104cf366004612018565b611216565b3480156104e057600080fd5b5061021c6104ef366004611d75565b61124e565b34801561050057600080fd5b5061028161050f366004611d75565b611319565b34801561052057600080fd5b506102987f000000000000000000000000000000000000000000000000000000000000000081565b34801561055457600080fd5b506101f2610563366004612094565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561059d57600080fd5b50610298600a5481565b3480156105b357600080fd5b5061029860075481565b3480156105c957600080fd5b506102816105d8366004611ffd565b611348565b60006001600160e01b031982166380ac58cd60e01b148061060e57506001600160e01b03198216635b5e139f60e01b145b8061062957506001600160e01b0319821663780e9d6360e01b145b8061064457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610659906120be565b80601f0160208091040260200160405190810160405280929190818152602001828054610685906120be565b80156106d25780601f106106a7576101008083540402835291602001916106d2565b820191906000526020600020905b8154815290600101906020018083116106b557829003601f168201915b5050505050905090565b60006106e7826113e3565b61074e5760405162461bcd60e51b815260206004820152602d60248201527f455243373231583a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061077582610f29565b9050806001600160a01b0316836001600160a01b031614156107e45760405162461bcd60e51b815260206004820152602260248201527f455243373231583a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610745565b336001600160a01b038216148061080057506108008133610563565b6108725760405162461bcd60e51b815260206004820152603960248201527f455243373231583a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610745565b61087c83836113f7565b505050565b60006001600554610892919061210f565b905090565b6108a13382611465565b6108bd5760405162461bcd60e51b815260040161074590612126565b61087c838383611550565b60006001600160a01b0383166108f05760405162461bcd60e51b815260040161074590612178565b600060015b6108fe816113e3565b801561091357506109108460016121c3565b82105b156109d5576000818152600260205260409020546001600160a01b03868116911614156109c35781610944816121db565b9250600090506002816109588460016121c3565b81526020810191909152604001600020546001600160a01b031614801561098857506109858460016121c3565b82105b80156109a257506109a261099d8260016121c3565b6113e3565b156109c357816109b1816121db565b92505080806109bf906121db565b9150505b806109cd816121db565b9150506108f5565b6109e08460016121c3565b8214156109fb576109f260018261210f565b92505050610644565b60405162461bcd60e51b815260206004820152602260248201527f455243373231583a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610745565b731166b0531f5dceccb6658721fc5937110fb854af733ae45fa77a429c03c18be56fb2222c2b0b59ac1a610a8a6006546001600160a01b031690565b6001600160a01b0316336001600160a01b03161480610ab15750336001600160a01b038316145b80610ac45750336001600160a01b038216145b610b005760405162461bcd60e51b815260206004820152600d60248201526c1858d8d95cdcc819195b9a5959609a1b6044820152606401610745565b476000610b0e60028361220c565b90506000610b1c828461210f565b6040519091506001600160a01b0386169083156108fc029084906000818181858888f19350505050158015610b55573d6000803e3d6000fd5b506040516001600160a01b0385169082156108fc029083906000818181858888f19350505050158015610b8c573d6000803e3d6000fd5b505050505050565b61087c83838360405180602001604052806000815250611216565b60008315610bbe576002610bc1565b60015b60ff169050333214610c155760405162461bcd60e51b815260206004820152601e60248201527f6d696e742066726f6d20636f6e7472616374206e6f7420616c6c6f77656400006044820152606401610745565b610c3f817f0000000000000000000000000000000000000000000000000000000000000000612220565b341015610c805760405162461bcd60e51b815260206004820152600f60248201526e696e636f727265637420707269636560881b6044820152606401610745565b610cca7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061210f565b6005541115610d0f5760405162461bcd60e51b81526020600482015260116024820152706e6f7420656e6f75676820746f6b656e7360781b6044820152606401610745565b33600090815260086020526040902054600290610d2d9083906121c3565b1115610d705760405162461bcd60e51b81526020600482015260126024820152711b5a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610745565b6040516bffffffffffffffffffffffff193360601b16602082015260348101849052600090605401604051602081830303815290604052805190602001209050610dc7600a5482856117309092919063ffffffff16565b610e035760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b6044820152606401610745565b42841115610e3f5760405162461bcd60e51b8152602060048201526009602482015268746f6f206561726c7960b81b6044820152606401610745565b3360009081526008602052604081208054849290610e5e9084906121c3565b90915550610e6e905033866117df565b5050505050565b6000610e8561099d8360016121c3565b610edd5760405162461bcd60e51b815260206004820152602360248201527f455243373231583a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610745565b6106448260016121c3565b6006546001600160a01b03163314610f125760405162461bcd60e51b81526004016107459061223f565b8051610f25906009906020840190611c3e565b5050565b6000610f34826113e3565b610f935760405162461bcd60e51b815260206004820152602a60248201527f455243373231583a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610745565b6000828152600260205260409020546001600160a01b0316610fdd5760026000610fbe60018561210f565b81526020810191909152604001600020546001600160a01b0316610644565b506000908152600260205260409020546001600160a01b031690565b6006546001600160a01b031633146110235760405162461bcd60e51b81526004016107459061223f565b60008115611032576002611035565b60015b60ff169050806007600082825461104c91906121c3565b90915550506005547f0000000000000000000000000000000000000000000000000000000000000000108015906110a557507f000000000000000000000000000000000000000000000000000000000000000060075411155b6110e55760405162461bcd60e51b81526020600482015260116024820152706e6f7420656e6f75676820746f6b656e7360781b6044820152606401610745565b61087c83836117df565b60006001600160a01b0382166111175760405162461bcd60e51b815260040161074590612178565b600060015b611125816113e3565b156111bf576000818152600260205260409020546001600160a01b03858116911614156111ad5781611156816121db565b92506000905060028161116a8460016121c3565b81526020810191909152604001600020546001600160a01b031614801561119a575061119a61099d8260016121c3565b156111ad57816111a9816121db565b9250505b806111b7816121db565b91505061111c565b5092915050565b6006546001600160a01b031633146111f05760405162461bcd60e51b81526004016107459061223f565b6111fa60006118df565b565b606060018054610659906120be565b610f25338383611931565b6112203383611465565b61123c5760405162461bcd60e51b815260040161074590612126565b61124884848484611a00565b50505050565b6060611259826113e3565b6112bd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610745565b60006112c7611a33565b905060008151116112e75760405180602001604052806000815250611312565b806112f184611a42565b604051602001611302929190612274565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146113435760405162461bcd60e51b81526004016107459061223f565b600a55565b6006546001600160a01b031633146113725760405162461bcd60e51b81526004016107459061223f565b6001600160a01b0381166113d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610745565b6113e0816118df565b50565b600081158015906106445750506005541190565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061142c82610f29565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611470826113e3565b6114d25760405162461bcd60e51b815260206004820152602d60248201527f455243373231583a206f70657261746f7220717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610745565b60006114dd83610f29565b9050806001600160a01b0316846001600160a01b031614806115185750836001600160a01b031661150d846106dc565b6001600160a01b0316145b8061154857506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661156382610f29565b6001600160a01b0316146115cc5760405162461bcd60e51b815260206004820152602a60248201527f455243373231583a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b6064820152608401610745565b6001600160a01b0382166116305760405162461bcd60e51b815260206004820152602560248201527f455243373231583a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610745565b61163b6000826113f7565b6000818152600260205260409020546001600160a01b031661168357600081815260026020526040902080546001600160a01b0319166001600160a01b0384161790556116ea565b60008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691909117909155600184018352912054166116ea5760018101600090815260026020526040902080546001600160a01b0319166001600160a01b0385161790555b80826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081815b85518110156117d4576000868281518110611752576117526122a3565b602002602001015190508083116117945760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506117c1565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806117cc816121db565b915050611735565b509092149392505050565b6001600160a01b03821661183f5760405162461bcd60e51b815260206004820152602160248201527f455243373231583a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610745565b6000811561184e576002611851565b60015b600554600090815260026020526040812080546001600160a01b0319166001600160a01b03871617905560ff9190911691505b818110156118d157600554604051908201906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4600101611884565b506005805490910190555050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156119935760405162461bcd60e51b815260206004820152601a60248201527f455243373231583a20617070726f766520746f2063616c6c65720000000000006044820152606401610745565b6001600160a01b03838116600081815260046020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611a0b848484611550565b611a1784848484611b40565b6112485760405162461bcd60e51b8152600401610745906122b9565b606060098054610659906120be565b606081611a665750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a905780611a7a816121db565b9150611a899050600a8361220c565b9150611a6a565b60008167ffffffffffffffff811115611aab57611aab611e20565b6040519080825280601f01601f191660200182016040528015611ad5576020820181803683370190505b5090505b841561154857611aea60018361210f565b9150611af7600a8661230c565b611b029060306121c3565b60f81b818381518110611b1757611b176122a3565b60200101906001600160f81b031916908160001a905350611b39600a8661220c565b9450611ad9565b60006001600160a01b0384163b15611c3357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b84903390899088908890600401612320565b6020604051808303816000875af1925050508015611bbf575060408051601f3d908101601f19168201909252611bbc9181019061235d565b60015b611c19573d808015611bed576040519150601f19603f3d011682016040523d82523d6000602084013e611bf2565b606091505b508051611c115760405162461bcd60e51b8152600401610745906122b9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611548565b506001949350505050565b828054611c4a906120be565b90600052602060002090601f016020900481019282611c6c5760008555611cb2565b82601f10611c8557805160ff1916838001178555611cb2565b82800160010185558215611cb2579182015b82811115611cb2578251825591602001919060010190611c97565b50611cbe929150611cc2565b5090565b5b80821115611cbe5760008155600101611cc3565b6001600160e01b0319811681146113e057600080fd5b600060208284031215611cff57600080fd5b813561131281611cd7565b60005b83811015611d25578181015183820152602001611d0d565b838111156112485750506000910152565b60008151808452611d4e816020860160208601611d0a565b601f01601f19169290920160200192915050565b6020815260006113126020830184611d36565b600060208284031215611d8757600080fd5b5035919050565b80356001600160a01b0381168114611da557600080fd5b919050565b60008060408385031215611dbd57600080fd5b611dc683611d8e565b946020939093013593505050565b600080600060608486031215611de957600080fd5b611df284611d8e565b9250611e0060208501611d8e565b9150604084013590509250925092565b80358015158114611da557600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611e5f57611e5f611e20565b604052919050565b600080600060608486031215611e7c57600080fd5b611e8584611e10565b92506020808501359250604085013567ffffffffffffffff80821115611eaa57600080fd5b818701915087601f830112611ebe57600080fd5b813581811115611ed057611ed0611e20565b8060051b9150611ee1848301611e36565b818152918301840191848101908a841115611efb57600080fd5b938501935b83851015611f1957843582529385019390850190611f00565b8096505050505050509250925092565b600067ffffffffffffffff831115611f4357611f43611e20565b611f56601f8401601f1916602001611e36565b9050828152838383011115611f6a57600080fd5b828260208301376000602084830101529392505050565b600060208284031215611f9357600080fd5b813567ffffffffffffffff811115611faa57600080fd5b8201601f81018413611fbb57600080fd5b61154884823560208401611f29565b60008060408385031215611fdd57600080fd5b611fe683611d8e565b9150611ff460208401611e10565b90509250929050565b60006020828403121561200f57600080fd5b61131282611d8e565b6000806000806080858703121561202e57600080fd5b61203785611d8e565b935061204560208601611d8e565b925060408501359150606085013567ffffffffffffffff81111561206857600080fd5b8501601f8101871361207957600080fd5b61208887823560208401611f29565b91505092959194509250565b600080604083850312156120a757600080fd5b6120b083611d8e565b9150611ff460208401611d8e565b600181811c908216806120d257607f821691505b602082108114156120f357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612121576121216120f9565b500390565b60208082526032908201527f455243373231583a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602b908201527f455243373231583a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b600082198211156121d6576121d66120f9565b500190565b60006000198214156121ef576121ef6120f9565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261221b5761221b6121f6565b500490565b600081600019048311821515161561223a5761223a6120f9565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008351612286818460208801611d0a565b83519083019061229a818360208801611d0a565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b60208082526033908201527f455243373231583a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008261231b5761231b6121f6565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061235390830184611d36565b9695505050505050565b60006020828403121561236f57600080fd5b815161131281611cd756fea26469706673582212209317f71606f7c7a385e373baae73c692aa1e5f358f632a59489af022b4d8431f64736f6c634300080b0033
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80636e930549116100f7578063b88d4fde11610095578063e985e9c511610064578063e985e9c514610548578063ebf0c71714610591578063efc6dbf2146105a7578063f2fde38b146105bd57600080fd5b8063b88d4fde146104b4578063c87b56dd146104d4578063dab5f340146104f4578063de6aef481461051457600080fd5b80638da5cb5b116100d15780638da5cb5b1461042d57806395d89b411461044b578063a035b1fe14610460578063a22cb4651461049457600080fd5b80636e930549146103d857806370a08231146103f8578063715018a61461041857600080fd5b80632f745c591161016f5780634f6ccce71161013e5780634f6ccce71461036257806355f804b31461038257806361b8ce8c146103a25780636352211e146103b857600080fd5b80632f745c59146102fa5780633ccfd60b1461031a57806342842e0e1461032f5780634f62ddd61461034f57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a65780632ab4d052146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611ced565b6105dd565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c61064a565b6040516101fe9190611d62565b34801561023557600080fd5b50610249610244366004611d75565b6106dc565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004611daa565b61076a565b005b34801561028f57600080fd5b50610298610881565b6040519081526020016101fe565b3480156102b257600080fd5b506102816102c1366004611dd4565b610897565b3480156102d257600080fd5b506102987f00000000000000000000000000000000000000000000000000000000000022b881565b34801561030657600080fd5b50610298610315366004611daa565b6108c8565b34801561032657600080fd5b50610281610a4e565b34801561033b57600080fd5b5061028161034a366004611dd4565b610b94565b61028161035d366004611e67565b610baf565b34801561036e57600080fd5b5061029861037d366004611d75565b610e75565b34801561038e57600080fd5b5061028161039d366004611f81565b610ee8565b3480156103ae57600080fd5b5061029860055481565b3480156103c457600080fd5b506102496103d3366004611d75565b610f29565b3480156103e457600080fd5b506102816103f3366004611fca565b610ff9565b34801561040457600080fd5b50610298610413366004611ffd565b6110ef565b34801561042457600080fd5b506102816111c6565b34801561043957600080fd5b506006546001600160a01b0316610249565b34801561045757600080fd5b5061021c6111fc565b34801561046c57600080fd5b506102987f0000000000000000000000000000000000000000000000000354a6ba7a18000081565b3480156104a057600080fd5b506102816104af366004611fca565b61120b565b3480156104c057600080fd5b506102816104cf366004612018565b611216565b3480156104e057600080fd5b5061021c6104ef366004611d75565b61124e565b34801561050057600080fd5b5061028161050f366004611d75565b611319565b34801561052057600080fd5b506102987f000000000000000000000000000000000000000000000000000000000000006481565b34801561055457600080fd5b506101f2610563366004612094565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561059d57600080fd5b50610298600a5481565b3480156105b357600080fd5b5061029860075481565b3480156105c957600080fd5b506102816105d8366004611ffd565b611348565b60006001600160e01b031982166380ac58cd60e01b148061060e57506001600160e01b03198216635b5e139f60e01b145b8061062957506001600160e01b0319821663780e9d6360e01b145b8061064457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610659906120be565b80601f0160208091040260200160405190810160405280929190818152602001828054610685906120be565b80156106d25780601f106106a7576101008083540402835291602001916106d2565b820191906000526020600020905b8154815290600101906020018083116106b557829003601f168201915b5050505050905090565b60006106e7826113e3565b61074e5760405162461bcd60e51b815260206004820152602d60248201527f455243373231583a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061077582610f29565b9050806001600160a01b0316836001600160a01b031614156107e45760405162461bcd60e51b815260206004820152602260248201527f455243373231583a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610745565b336001600160a01b038216148061080057506108008133610563565b6108725760405162461bcd60e51b815260206004820152603960248201527f455243373231583a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610745565b61087c83836113f7565b505050565b60006001600554610892919061210f565b905090565b6108a13382611465565b6108bd5760405162461bcd60e51b815260040161074590612126565b61087c838383611550565b60006001600160a01b0383166108f05760405162461bcd60e51b815260040161074590612178565b600060015b6108fe816113e3565b801561091357506109108460016121c3565b82105b156109d5576000818152600260205260409020546001600160a01b03868116911614156109c35781610944816121db565b9250600090506002816109588460016121c3565b81526020810191909152604001600020546001600160a01b031614801561098857506109858460016121c3565b82105b80156109a257506109a261099d8260016121c3565b6113e3565b156109c357816109b1816121db565b92505080806109bf906121db565b9150505b806109cd816121db565b9150506108f5565b6109e08460016121c3565b8214156109fb576109f260018261210f565b92505050610644565b60405162461bcd60e51b815260206004820152602260248201527f455243373231583a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610745565b731166b0531f5dceccb6658721fc5937110fb854af733ae45fa77a429c03c18be56fb2222c2b0b59ac1a610a8a6006546001600160a01b031690565b6001600160a01b0316336001600160a01b03161480610ab15750336001600160a01b038316145b80610ac45750336001600160a01b038216145b610b005760405162461bcd60e51b815260206004820152600d60248201526c1858d8d95cdcc819195b9a5959609a1b6044820152606401610745565b476000610b0e60028361220c565b90506000610b1c828461210f565b6040519091506001600160a01b0386169083156108fc029084906000818181858888f19350505050158015610b55573d6000803e3d6000fd5b506040516001600160a01b0385169082156108fc029083906000818181858888f19350505050158015610b8c573d6000803e3d6000fd5b505050505050565b61087c83838360405180602001604052806000815250611216565b60008315610bbe576002610bc1565b60015b60ff169050333214610c155760405162461bcd60e51b815260206004820152601e60248201527f6d696e742066726f6d20636f6e7472616374206e6f7420616c6c6f77656400006044820152606401610745565b610c3f817f0000000000000000000000000000000000000000000000000354a6ba7a180000612220565b341015610c805760405162461bcd60e51b815260206004820152600f60248201526e696e636f727265637420707269636560881b6044820152606401610745565b610cca7f00000000000000000000000000000000000000000000000000000000000000647f00000000000000000000000000000000000000000000000000000000000022b861210f565b6005541115610d0f5760405162461bcd60e51b81526020600482015260116024820152706e6f7420656e6f75676820746f6b656e7360781b6044820152606401610745565b33600090815260086020526040902054600290610d2d9083906121c3565b1115610d705760405162461bcd60e51b81526020600482015260126024820152711b5a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610745565b6040516bffffffffffffffffffffffff193360601b16602082015260348101849052600090605401604051602081830303815290604052805190602001209050610dc7600a5482856117309092919063ffffffff16565b610e035760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b6044820152606401610745565b42841115610e3f5760405162461bcd60e51b8152602060048201526009602482015268746f6f206561726c7960b81b6044820152606401610745565b3360009081526008602052604081208054849290610e5e9084906121c3565b90915550610e6e905033866117df565b5050505050565b6000610e8561099d8360016121c3565b610edd5760405162461bcd60e51b815260206004820152602360248201527f455243373231583a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610745565b6106448260016121c3565b6006546001600160a01b03163314610f125760405162461bcd60e51b81526004016107459061223f565b8051610f25906009906020840190611c3e565b5050565b6000610f34826113e3565b610f935760405162461bcd60e51b815260206004820152602a60248201527f455243373231583a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610745565b6000828152600260205260409020546001600160a01b0316610fdd5760026000610fbe60018561210f565b81526020810191909152604001600020546001600160a01b0316610644565b506000908152600260205260409020546001600160a01b031690565b6006546001600160a01b031633146110235760405162461bcd60e51b81526004016107459061223f565b60008115611032576002611035565b60015b60ff169050806007600082825461104c91906121c3565b90915550506005547f00000000000000000000000000000000000000000000000000000000000022b8108015906110a557507f000000000000000000000000000000000000000000000000000000000000006460075411155b6110e55760405162461bcd60e51b81526020600482015260116024820152706e6f7420656e6f75676820746f6b656e7360781b6044820152606401610745565b61087c83836117df565b60006001600160a01b0382166111175760405162461bcd60e51b815260040161074590612178565b600060015b611125816113e3565b156111bf576000818152600260205260409020546001600160a01b03858116911614156111ad5781611156816121db565b92506000905060028161116a8460016121c3565b81526020810191909152604001600020546001600160a01b031614801561119a575061119a61099d8260016121c3565b156111ad57816111a9816121db565b9250505b806111b7816121db565b91505061111c565b5092915050565b6006546001600160a01b031633146111f05760405162461bcd60e51b81526004016107459061223f565b6111fa60006118df565b565b606060018054610659906120be565b610f25338383611931565b6112203383611465565b61123c5760405162461bcd60e51b815260040161074590612126565b61124884848484611a00565b50505050565b6060611259826113e3565b6112bd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610745565b60006112c7611a33565b905060008151116112e75760405180602001604052806000815250611312565b806112f184611a42565b604051602001611302929190612274565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146113435760405162461bcd60e51b81526004016107459061223f565b600a55565b6006546001600160a01b031633146113725760405162461bcd60e51b81526004016107459061223f565b6001600160a01b0381166113d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610745565b6113e0816118df565b50565b600081158015906106445750506005541190565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061142c82610f29565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611470826113e3565b6114d25760405162461bcd60e51b815260206004820152602d60248201527f455243373231583a206f70657261746f7220717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610745565b60006114dd83610f29565b9050806001600160a01b0316846001600160a01b031614806115185750836001600160a01b031661150d846106dc565b6001600160a01b0316145b8061154857506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661156382610f29565b6001600160a01b0316146115cc5760405162461bcd60e51b815260206004820152602a60248201527f455243373231583a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b6064820152608401610745565b6001600160a01b0382166116305760405162461bcd60e51b815260206004820152602560248201527f455243373231583a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610745565b61163b6000826113f7565b6000818152600260205260409020546001600160a01b031661168357600081815260026020526040902080546001600160a01b0319166001600160a01b0384161790556116ea565b60008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691909117909155600184018352912054166116ea5760018101600090815260026020526040902080546001600160a01b0319166001600160a01b0385161790555b80826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081815b85518110156117d4576000868281518110611752576117526122a3565b602002602001015190508083116117945760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506117c1565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806117cc816121db565b915050611735565b509092149392505050565b6001600160a01b03821661183f5760405162461bcd60e51b815260206004820152602160248201527f455243373231583a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610745565b6000811561184e576002611851565b60015b600554600090815260026020526040812080546001600160a01b0319166001600160a01b03871617905560ff9190911691505b818110156118d157600554604051908201906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4600101611884565b506005805490910190555050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156119935760405162461bcd60e51b815260206004820152601a60248201527f455243373231583a20617070726f766520746f2063616c6c65720000000000006044820152606401610745565b6001600160a01b03838116600081815260046020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611a0b848484611550565b611a1784848484611b40565b6112485760405162461bcd60e51b8152600401610745906122b9565b606060098054610659906120be565b606081611a665750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a905780611a7a816121db565b9150611a899050600a8361220c565b9150611a6a565b60008167ffffffffffffffff811115611aab57611aab611e20565b6040519080825280601f01601f191660200182016040528015611ad5576020820181803683370190505b5090505b841561154857611aea60018361210f565b9150611af7600a8661230c565b611b029060306121c3565b60f81b818381518110611b1757611b176122a3565b60200101906001600160f81b031916908160001a905350611b39600a8661220c565b9450611ad9565b60006001600160a01b0384163b15611c3357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b84903390899088908890600401612320565b6020604051808303816000875af1925050508015611bbf575060408051601f3d908101601f19168201909252611bbc9181019061235d565b60015b611c19573d808015611bed576040519150601f19603f3d011682016040523d82523d6000602084013e611bf2565b606091505b508051611c115760405162461bcd60e51b8152600401610745906122b9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611548565b506001949350505050565b828054611c4a906120be565b90600052602060002090601f016020900481019282611c6c5760008555611cb2565b82601f10611c8557805160ff1916838001178555611cb2565b82800160010185558215611cb2579182015b82811115611cb2578251825591602001919060010190611c97565b50611cbe929150611cc2565b5090565b5b80821115611cbe5760008155600101611cc3565b6001600160e01b0319811681146113e057600080fd5b600060208284031215611cff57600080fd5b813561131281611cd7565b60005b83811015611d25578181015183820152602001611d0d565b838111156112485750506000910152565b60008151808452611d4e816020860160208601611d0a565b601f01601f19169290920160200192915050565b6020815260006113126020830184611d36565b600060208284031215611d8757600080fd5b5035919050565b80356001600160a01b0381168114611da557600080fd5b919050565b60008060408385031215611dbd57600080fd5b611dc683611d8e565b946020939093013593505050565b600080600060608486031215611de957600080fd5b611df284611d8e565b9250611e0060208501611d8e565b9150604084013590509250925092565b80358015158114611da557600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611e5f57611e5f611e20565b604052919050565b600080600060608486031215611e7c57600080fd5b611e8584611e10565b92506020808501359250604085013567ffffffffffffffff80821115611eaa57600080fd5b818701915087601f830112611ebe57600080fd5b813581811115611ed057611ed0611e20565b8060051b9150611ee1848301611e36565b818152918301840191848101908a841115611efb57600080fd5b938501935b83851015611f1957843582529385019390850190611f00565b8096505050505050509250925092565b600067ffffffffffffffff831115611f4357611f43611e20565b611f56601f8401601f1916602001611e36565b9050828152838383011115611f6a57600080fd5b828260208301376000602084830101529392505050565b600060208284031215611f9357600080fd5b813567ffffffffffffffff811115611faa57600080fd5b8201601f81018413611fbb57600080fd5b61154884823560208401611f29565b60008060408385031215611fdd57600080fd5b611fe683611d8e565b9150611ff460208401611e10565b90509250929050565b60006020828403121561200f57600080fd5b61131282611d8e565b6000806000806080858703121561202e57600080fd5b61203785611d8e565b935061204560208601611d8e565b925060408501359150606085013567ffffffffffffffff81111561206857600080fd5b8501601f8101871361207957600080fd5b61208887823560208401611f29565b91505092959194509250565b600080604083850312156120a757600080fd5b6120b083611d8e565b9150611ff460208401611d8e565b600181811c908216806120d257607f821691505b602082108114156120f357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612121576121216120f9565b500390565b60208082526032908201527f455243373231583a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602b908201527f455243373231583a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b600082198211156121d6576121d66120f9565b500190565b60006000198214156121ef576121ef6120f9565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261221b5761221b6121f6565b500490565b600081600019048311821515161561223a5761223a6120f9565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008351612286818460208801611d0a565b83519083019061229a818360208801611d0a565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b60208082526033908201527f455243373231583a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008261231b5761231b6121f6565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061235390830184611d36565b9695505050505050565b60006020828403121561236f57600080fd5b815161131281611cd756fea26469706673582212209317f71606f7c7a385e373baae73c692aa1e5f358f632a59489af022b4d8431f64736f6c634300080b0033
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.