ERC-721
Overview
Max Total Supply
6,566 LETTERS
Holders
612
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 LETTERSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Letters
Compiler Version
v0.8.0+commit.c7dfd78e
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; /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@8GLLG8@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@0f: :f0@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@C1, ;L8@@0L; ,1C@@@@@@@@@@@@@@@ @@@@@@@@@@@0f; .1G@@0fiif0@@G1. ;f0@@@@@@@@@@@ @@@@@@@@0t, :f8@8Ci, ,iC@@8f: ,t0@@@@@@@@ @@@@@@@L :L@@0f: :tG@8L: L@@@@@@@ @@@@@@@: ;@@L, .;;. .i0@@@; :@@@@@@@ @@@@@@@: 1@8 :1C8@@8C1:;f0@@@@@@1 :@@@@@@@ @@@@@@@: 1@8. C@@@@@@@@@@@@@@@@@@@1 :@@@@@@@ @@@@@@@: 1@8. .@@@@@@@@@@@@@@@@@@@@1 :@@@@@@@ @@@@@@@: 1@8. .@@@@@@@@@@@@@@@@@@@@1 :@@@@@@@ @@@@@@@: 1@8. C@@@@@@@@@@@@@@@@@@@1 :@@@@@@@ @@@@@@@: 1@8 :1C8@@8C1:;f0@@@@@@1 :@@@@@@@ @@@@@@@: ;@@L, .;;. .10@@@; :@@@@@@@ @@@@@@@L :L@@0f: .:tG@8L: C@@@@@@@ @@@@@@@@0t, :f8@@Ci, ,iC@@8f: ,t0@@@@@@@@ @@@@@@@@@@@0f; .1G@@0fiif0@@G1. ;f0@@@@@@@@@@@ @@@@@@@@@@@@@@@C1, ;L0@@0L; ,1C@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@0f: ;f0@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@8GLLG8@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ A characters.group collection Contract by mskd.eth (@maskeddd_) */ import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract Letters is Ownable, ERC721A, ReentrancyGuard { string _baseTokenURI; uint256 public price = 0.04 ether; uint256 public immutable collectionSize = 6666; uint256 public immutable maxBatchSize = 10; uint256 public immutable reserves = 100; uint256 public saleState = 0; address public treasuryWallet; bytes32 public merkleRoot; mapping(address => uint256) public addressToMinted; constructor(string memory baseTokenURI_, address _treasuryWallet) ERC721A("Letters", "LETTERS") { _baseTokenURI = baseTokenURI_; treasuryWallet = _treasuryWallet; } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract."); _; } function privateSaleMint( uint256 quantity, uint256 allowance, bytes32[] calldata proof ) public payable callerIsUser { string memory payload = string(abi.encodePacked(_msgSender())); require(saleState > 0, "Presale must be active to mint."); require( _verify(_leaf(Strings.toString(allowance), payload), proof), "Invalid Merkle Tree proof supplied." ); require(addressToMinted[_msgSender()] + quantity <= allowance, "Exceeds allowance."); require(quantity * price == msg.value, "Invalid funds provided."); addressToMinted[_msgSender()] += quantity; _safeMint(msg.sender, quantity); refundIfOver(price * quantity); } function publicSaleMint(uint256 quantity) external payable callerIsUser { require(saleState > 1, "Sale must be active to mint."); require(totalSupply() + quantity <= collectionSize - reserves, "Exceeds max supply."); require(quantity <= maxBatchSize, "Cannot mint this many."); require(quantity * price == msg.value, "Invalid funds provided."); _safeMint(msg.sender, quantity); refundIfOver(price * quantity); } function refundIfOver(uint256 _price) private { require(msg.value >= _price, "Need to send more ETH."); if (msg.value > _price) { payable(msg.sender).transfer(msg.value - _price); } } function devMint(uint256 quantity) external onlyOwner { require(totalSupply() + quantity <= reserves, "Exceeds reserved supply."); require(quantity % maxBatchSize == 0, "Can only mint a multiple of the maxBatchSize."); uint256 numChunks = quantity / maxBatchSize; for (uint256 i = 0; i < numChunks; i++) { _safeMint(msg.sender, maxBatchSize); } } function setSaleState(uint256 _saleState) public onlyOwner { saleState = _saleState; } function setPrice(uint256 _newPrice) public onlyOwner { price = _newPrice; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function _leaf(string memory allowance, string memory payload) internal pure returns (bytes32) { return keccak256(abi.encodePacked(payload, allowance)); } function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) { return MerkleProof.verify(proof, merkleRoot, leaf); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setTreasuryWallet(address wallet) public onlyOwner { treasuryWallet = wallet; } function withdrawMoney() external onlyOwner nonReentrant { require(address(this).balance > 0, "No funds to withdraw."); _withdraw(treasuryWallet, (address(this).balance * 10) / 100); _withdraw(msg.sender, address(this).balance); } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{ value: _amount }(""); require(success, "Transfer failed."); } function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return ownershipOf(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @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; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs 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 and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex = 0; // 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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert('ERC721A: unable to get token of owner by index'); } /** * @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 override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); for (uint256 curr = tokenId; ; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: approve to caller'); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: 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 returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), 'ERC721A: token already minted'); require(quantity > 0, 'ERC721A: quantity must be greater 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); updatedIndex++; } 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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; } _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) 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) { 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "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":[{"internalType":"string","name":"baseTokenURI_","type":"string"},{"internalType":"address","name":"_treasuryWallet","type":"address"}],"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":"","type":"address"}],"name":"addressToMinted","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":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"maxBatchSize","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":"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"privateSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserves","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":"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":[],"name":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleState","type":"uint256"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setTreasuryWallet","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":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e060405260006001819055668e1bc9bf040000600a908155611a0a60805260a052606460c052600b553480156200003657600080fd5b50604051620031273803806200312783398101604081905262000059916200023a565b604051806040016040528060078152602001664c65747465727360c81b815250604051806040016040528060078152602001664c45545445525360c81b815250620000b3620000ad6200012360201b60201c565b62000127565b8151620000c890600290602085019062000177565b508051620000de90600390602084019062000177565b50506001600855508151620000fb90600990602085019062000177565b50600c80546001600160a01b0319166001600160a01b03929092169190911790555062000371565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000185906200031e565b90600052602060002090601f016020900481019282620001a95760008555620001f4565b82601f10620001c457805160ff1916838001178555620001f4565b82800160010185558215620001f4579182015b82811115620001f4578251825591602001919060010190620001d7565b506200020292915062000206565b5090565b5b8082111562000202576000815560010162000207565b80516001600160a01b03811681146200023557600080fd5b919050565b600080604083850312156200024d578182fd5b82516001600160401b038082111562000264578384fd5b818501915085601f83011262000278578384fd5b8151818111156200028d576200028d6200035b565b6040516020601f8301601f1916820181018481118382101715620002b557620002b56200035b565b6040528282528483018101891015620002cc578687fd5b8693505b82841015620002ef5784840181015182850182015292830192620002d0565b828411156200030057868184840101525b819650620003108189016200021d565b955050505050509250929050565b6002810460018216806200033357607f821691505b602082108114156200035557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c051612d55620003d2600039600081816109f801528181610e3d015261116401526000818161089301528181610a4d01528181610a9601528181610ace01526111dc015260008181610b2101526111850152612d556000f3fe60806040526004361061021a5760003560e01c80636352211e116101235780639ec00c95116100ab578063b3ab66b01161006f578063b3ab66b0146105cf578063b88d4fde146105e2578063c87b56dd14610602578063e985e9c514610622578063f2fde38b146106425761021a565b80639ec00c9514610545578063a035b1fe14610565578063a22cb4651461057a578063a8602fea1461059a578063ac446002146105ba5761021a565b80637cb64759116100f25780637cb64759146104ae5780638da5cb5b146104ce57806391b7f5ed146104e35780639231ab2a1461050357806395d89b41146105305761021a565b80636352211e1461044457806370a0823114610464578063715018a61461048457806375172a8b146104995761021a565b80632f745c59116101a65780634626402b116101755780634626402b146103c75780634f6ccce7146103dc57806355f804b3146103fc57806356e6cfc11461041c578063603f4d521461042f5761021a565b80632f745c5914610352578063375a069a1461037257806342842e0e1461039257806345c0f533146103b25761021a565b8063095ea7b3116101ed578063095ea7b3146102c657806318160ddd146102e657806323b872dd146103085780632913daa0146103285780632eb4a7ab1461033d5761021a565b806301ffc9a71461021f57806306fdde0314610255578063081812fc14610277578063084c4088146102a4575b600080fd5b34801561022b57600080fd5b5061023f61023a36600461211d565b610662565b60405161024c9190612319565b60405180910390f35b34801561026157600080fd5b5061026a6106c5565b60405161024c919061232d565b34801561028357600080fd5b50610297610292366004612105565b610757565b60405161024c91906122c8565b3480156102b057600080fd5b506102c46102bf366004612105565b6107a3565b005b3480156102d257600080fd5b506102c46102e13660046120dc565b6107e7565b3480156102f257600080fd5b506102fb610880565b60405161024c9190612324565b34801561031457600080fd5b506102c4610323366004611f9b565b610886565b34801561033457600080fd5b506102fb610891565b34801561034957600080fd5b506102fb6108b5565b34801561035e57600080fd5b506102fb61036d3660046120dc565b6108bb565b34801561037e57600080fd5b506102c461038d366004612105565b6109b7565b34801561039e57600080fd5b506102c46103ad366004611f9b565b610b04565b3480156103be57600080fd5b506102fb610b1f565b3480156103d357600080fd5b50610297610b43565b3480156103e857600080fd5b506102fb6103f7366004612105565b610b52565b34801561040857600080fd5b506102c4610417366004612155565b610b7e565b6102c461042a3660046121c2565b610bc9565b34801561043b57600080fd5b506102fb610d8b565b34801561045057600080fd5b5061029761045f366004612105565b610d91565b34801561047057600080fd5b506102fb61047f366004611f4f565b610da3565b34801561049057600080fd5b506102c4610df0565b3480156104a557600080fd5b506102fb610e3b565b3480156104ba57600080fd5b506102c46104c9366004612105565b610e5f565b3480156104da57600080fd5b50610297610ea3565b3480156104ef57600080fd5b506102c46104fe366004612105565b610eb2565b34801561050f57600080fd5b5061052361051e366004612105565b610ef6565b60405161024c9190612b6c565b34801561053c57600080fd5b5061026a610f07565b34801561055157600080fd5b506102fb610560366004611f4f565b610f16565b34801561057157600080fd5b506102fb610f28565b34801561058657600080fd5b506102c46105953660046120a2565b610f2e565b3480156105a657600080fd5b506102c46105b5366004611f4f565b610ffc565b3480156105c657600080fd5b506102c461105d565b6102c46105dd366004612105565b61111e565b3480156105ee57600080fd5b506102c46105fd366004611fd6565b611264565b34801561060e57600080fd5b5061026a61061d366004612105565b61129d565b34801561062e57600080fd5b5061023f61063d366004611f69565b611320565b34801561064e57600080fd5b506102c461065d366004611f4f565b61134e565b60006001600160e01b031982166380ac58cd60e01b148061069357506001600160e01b03198216635b5e139f60e01b145b806106ae57506001600160e01b0319821663780e9d6360e01b145b806106bd57506106bd826113bc565b90505b919050565b6060600280546106d490612c5d565b80601f016020809104026020016040519081016040528092919081815260200182805461070090612c5d565b801561074d5780601f106107225761010080835404028352916020019161074d565b820191906000526020600020905b81548152906001019060200180831161073057829003601f168201915b5050505050905090565b6000610762826113d5565b6107875760405162461bcd60e51b815260040161077e90612b1f565b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6107ab6113dc565b6001600160a01b03166107bc610ea3565b6001600160a01b0316146107e25760405162461bcd60e51b815260040161077e9061278a565b600b55565b60006107f282610d91565b9050806001600160a01b0316836001600160a01b031614156108265760405162461bcd60e51b815260040161077e906128c4565b806001600160a01b03166108386113dc565b6001600160a01b0316148061085457506108548161063d6113dc565b6108705760405162461bcd60e51b815260040161077e906125ff565b61087b8383836113e0565b505050565b60015490565b61087b83838361143c565b7f000000000000000000000000000000000000000000000000000000000000000081565b600d5481565b60006108c683610da3565b82106108e45760405162461bcd60e51b815260040161077e90612340565b60006108ee610880565b905060008060005b83811015610998576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561094957805192505b876001600160a01b0316836001600160a01b031614156109855786841415610977575093506109b192505050565b8361098181612c98565b9450505b508061099081612c98565b9150506108f6565b5060405162461bcd60e51b815260040161077e90612a9a565b92915050565b6109bf6113dc565b6001600160a01b03166109d0610ea3565b6001600160a01b0316146109f65760405162461bcd60e51b815260040161077e9061278a565b7f000000000000000000000000000000000000000000000000000000000000000081610a20610880565b610a2a9190612bb8565b1115610a485760405162461bcd60e51b815260040161077e9061265c565b610a727f000000000000000000000000000000000000000000000000000000000000000082612cb3565b15610a8f5760405162461bcd60e51b815260040161077e906124f3565b6000610abb7f000000000000000000000000000000000000000000000000000000000000000083612bd0565b905060005b8181101561087b57610af2337f0000000000000000000000000000000000000000000000000000000000000000611705565b80610afc81612c98565b915050610ac0565b61087b83838360405180602001604052806000815250611264565b7f000000000000000000000000000000000000000000000000000000000000000081565b600c546001600160a01b031681565b6000610b5c610880565b8210610b7a5760405162461bcd60e51b815260040161077e90612540565b5090565b610b866113dc565b6001600160a01b0316610b97610ea3565b6001600160a01b031614610bbd5760405162461bcd60e51b815260040161077e9061278a565b61087b60098383611e8c565b323314610be85760405162461bcd60e51b815260040161077e906123c5565b6000610bf26113dc565b604051602001610c02919061226b565b60405160208183030381529060405290506000600b5411610c355760405162461bcd60e51b815260040161077e9061248c565b610c83610c4a610c4486611723565b83611846565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061187992505050565b610c9f5760405162461bcd60e51b815260040161077e90612382565b8385600e6000610cad6113dc565b6001600160a01b03166001600160a01b0316815260200190815260200160002054610cd89190612bb8565b1115610cf65760405162461bcd60e51b815260040161077e90612a6e565b34600a5486610d059190612be4565b14610d225760405162461bcd60e51b815260040161077e90612693565b84600e6000610d2f6113dc565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610d5e9190612bb8565b90915550610d6e90503386611705565b610d8485600a54610d7f9190612be4565b611888565b5050505050565b600b5481565b6000610d9c826118e6565b5192915050565b60006001600160a01b038216610dcb5760405162461bcd60e51b815260040161077e906126ca565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b610df86113dc565b6001600160a01b0316610e09610ea3565b6001600160a01b031614610e2f5760405162461bcd60e51b815260040161077e9061278a565b610e396000611977565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b610e676113dc565b6001600160a01b0316610e78610ea3565b6001600160a01b031614610e9e5760405162461bcd60e51b815260040161077e9061278a565b600d55565b6000546001600160a01b031690565b610eba6113dc565b6001600160a01b0316610ecb610ea3565b6001600160a01b031614610ef15760405162461bcd60e51b815260040161077e9061278a565b600a55565b610efe611f0c565b6106bd826118e6565b6060600380546106d490612c5d565b600e6020526000908152604090205481565b600a5481565b610f366113dc565b6001600160a01b0316826001600160a01b03161415610f675760405162461bcd60e51b815260040161077e9061280e565b8060076000610f746113dc565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610fb86113dc565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ff09190612319565b60405180910390a35050565b6110046113dc565b6001600160a01b0316611015610ea3565b6001600160a01b03161461103b5760405162461bcd60e51b815260040161077e9061278a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6110656113dc565b6001600160a01b0316611076610ea3565b6001600160a01b03161461109c5760405162461bcd60e51b815260040161077e9061278a565b600260085414156110bf5760405162461bcd60e51b815260040161077e90612ae8565b6002600855476110e15760405162461bcd60e51b815260040161077e90612715565b600c5461110d906001600160a01b031660646110fe47600a612be4565b6111089190612bd0565b6119c7565b61111733476119c7565b6001600855565b32331461113d5760405162461bcd60e51b815260040161077e906123c5565b6001600b541161115f5760405162461bcd60e51b815260040161077e906125c8565b6111a97f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612c03565b816111b2610880565b6111bc9190612bb8565b11156111da5760405162461bcd60e51b815260040161077e90612897565b7f000000000000000000000000000000000000000000000000000000000000000081111561121a5760405162461bcd60e51b815260040161077e906124c3565b34600a54826112299190612be4565b146112465760405162461bcd60e51b815260040161077e90612693565b6112503382611705565b61126181600a54610d7f9190612be4565b50565b61126f84848461143c565b61127b84848484611a43565b6112975760405162461bcd60e51b815260040161077e90612973565b50505050565b60606112a8826113d5565b6112c45760405162461bcd60e51b815260040161077e906127bf565b60006112ce611b5e565b905060008151116112ee5760405180602001604052806000815250611319565b806112f884611723565b604051602001611309929190612296565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6113566113dc565b6001600160a01b0316611367610ea3565b6001600160a01b03161461138d5760405162461bcd60e51b815260040161077e9061278a565b6001600160a01b0381166113b35760405162461bcd60e51b815260040161077e906123fc565b61126181611977565b6001600160e01b031981166301ffc9a760e01b14919050565b6001541190565b3390565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611447826118e6565b9050600081600001516001600160a01b03166114616113dc565b6001600160a01b0316148061149657506114796113dc565b6001600160a01b031661148b84610757565b6001600160a01b0316145b806114aa575081516114aa9061063d6113dc565b9050806114c95760405162461bcd60e51b815260040161077e90612845565b846001600160a01b031682600001516001600160a01b0316146114fe5760405162461bcd60e51b815260040161077e90612744565b6001600160a01b0384166115245760405162461bcd60e51b815260040161077e90612583565b6115318585856001611297565b61154160008484600001516113e0565b6001600160a01b03858116600090815260056020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a875260049095529285209151825494516001600160a01b031990951696169590951767ffffffffffffffff60a01b1916600160a01b93909216929092021790559061160a908590612bb8565b6000818152600460205260409020549091506001600160a01b03166116af57611632816113d5565b156116af5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526004909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116fd8686866001611297565b505050505050565b61171f828260405180602001604052806000815250611b6d565b5050565b60608161174857506040805180820190915260018152600360fc1b60208201526106c0565b8160005b8115611772578061175c81612c98565b915061176b9050600a83612bd0565b915061174c565b60008167ffffffffffffffff81111561179b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117c5576020820181803683370190505b5090505b841561183e576117da600183612c03565b91506117e7600a86612cb3565b6117f2906030612bb8565b60f81b81838151811061181557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611837600a86612bd0565b94506117c9565b949350505050565b6000818360405160200161185b929190612296565b60405160208183030381529060405280519060200120905092915050565b600061131982600d5485611db8565b803410156118a85760405162461bcd60e51b815260040161077e906129c6565b8034111561126157336108fc6118be8334612c03565b6040518115909202916000818181858888f1935050505015801561171f573d6000803e3d6000fd5b6118ee611f0c565b6118f7826113d5565b6119135760405162461bcd60e51b815260040161077e90612442565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156119645791506106c09050565b508061196f81612c46565b915050611915565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826001600160a01b0316826040516119e0906122c5565b60006040518083038185875af1925050503d8060008114611a1d576040519150601f19603f3d011682016040523d82523d6000602084013e611a22565b606091505b505090508061087b5760405162461bcd60e51b815260040161077e90612949565b6000611a57846001600160a01b0316611dce565b15611b5357836001600160a01b031663150b7a02611a736113dc565b8786866040518563ffffffff1660e01b8152600401611a9594939291906122dc565b602060405180830381600087803b158015611aaf57600080fd5b505af1925050508015611adf575060408051601f3d908101601f19168201909252611adc91810190612139565b60015b611b39573d808015611b0d576040519150601f19603f3d011682016040523d82523d6000602084013e611b12565b606091505b508051611b315760405162461bcd60e51b815260040161077e90612973565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061183e565b506001949350505050565b6060600980546106d490612c5d565b6001546001600160a01b038416611b965760405162461bcd60e51b815260040161077e90612a2d565b611b9f816113d5565b15611bbc5760405162461bcd60e51b815260040161077e906129f6565b60008311611bdc5760405162461bcd60e51b815260040161077e90612906565b611be96000858386611297565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611c45908790612b96565b6001600160801b03168152602001858360200151611c639190612b96565b6001600160801b039081169091526001600160a01b03808816600081815260056020908152604080832087518154988401518816600160801b029088166001600160801b031990991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b85811015611da55760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d696000888488611a43565b611d855760405162461bcd60e51b815260040161077e90612973565b81611d8f81612c98565b9250508080611d9d90612c98565b915050611d1c565b5060018190556116fd6000878588611297565b600082611dc58584611dd4565b14949350505050565b3b151590565b600081815b8451811015611e84576000858281518110611e0457634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611e45578281604051602001611e28929190612288565b604051602081830303815290604052805190602001209250611e71565b8083604051602001611e58929190612288565b6040516020818303038152906040528051906020012092505b5080611e7c81612c98565b915050611dd9565b509392505050565b828054611e9890612c5d565b90600052602060002090601f016020900481019282611eba5760008555611f00565b82601f10611ed35782800160ff19823516178555611f00565b82800160010185558215611f00579182015b82811115611f00578235825591602001919060010190611ee5565b50610b7a929150611f23565b604080518082019091526000808252602082015290565b5b80821115610b7a5760008155600101611f24565b80356001600160a01b03811681146106c057600080fd5b600060208284031215611f60578081fd5b61131982611f38565b60008060408385031215611f7b578081fd5b611f8483611f38565b9150611f9260208401611f38565b90509250929050565b600080600060608486031215611faf578081fd5b611fb884611f38565b9250611fc660208501611f38565b9150604084013590509250925092565b60008060008060808587031215611feb578081fd5b611ff485611f38565b93506020612003818701611f38565b935060408601359250606086013567ffffffffffffffff80821115612026578384fd5b818801915088601f830112612039578384fd5b81358181111561204b5761204b612cf3565b604051601f8201601f191681018501838111828210171561206e5761206e612cf3565b60405281815283820185018b1015612084578586fd5b81858501868301379081019093019390935250939692955090935050565b600080604083850312156120b4578182fd5b6120bd83611f38565b9150602083013580151581146120d1578182fd5b809150509250929050565b600080604083850312156120ee578182fd5b6120f783611f38565b946020939093013593505050565b600060208284031215612116578081fd5b5035919050565b60006020828403121561212e578081fd5b813561131981612d09565b60006020828403121561214a578081fd5b815161131981612d09565b60008060208385031215612167578182fd5b823567ffffffffffffffff8082111561217e578384fd5b818501915085601f830112612191578384fd5b81358181111561219f578485fd5b8660208285010111156121b0578485fd5b60209290920196919550909350505050565b600080600080606085870312156121d7578384fd5b8435935060208501359250604085013567ffffffffffffffff808211156121fc578384fd5b818701915087601f83011261220f578384fd5b81358181111561221d578485fd5b8860208083028501011115612230578485fd5b95989497505060200194505050565b60008151808452612257816020860160208601612c1a565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b600083516122a8818460208801612c1a565b8351908301906122bc818360208801612c1a565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061230f9083018461223f565b9695505050505050565b901515815260200190565b90815260200190565b600060208252611319602083018461223f565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526023908201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960408201526232b21760e91b606082015260800190565b6020808252601f908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b6020808252601f908201527f50726573616c65206d7573742062652061637469766520746f206d696e742e00604082015260600190565b60208082526016908201527521b0b73737ba1036b4b73a103a3434b99036b0b73c9760511b604082015260600190565b6020808252602d908201527f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060408201526c36b0bc2130ba31b429b4bd329760991b606082015260800190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252601c908201527f53616c65206d7573742062652061637469766520746f206d696e742e00000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526018908201527f4578636565647320726573657276656420737570706c792e0000000000000000604082015260600190565b60208082526017908201527f496e76616c69642066756e64732070726f76696465642e000000000000000000604082015260600190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b602080825260159082015274273790333ab73239903a37903bb4ba34323930bb9760591b604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526013908201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604082015260600190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526023908201527f455243373231413a207175616e74697479206d7573742062652067726561746560408201526207220360ec1b606082015260800190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601690820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b604082015260600190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526012908201527122bc31b2b2b2399030b63637bbb0b731b29760711b604082015260600190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b81516001600160a01b0316815260209182015167ffffffffffffffff169181019190915260400190565b60006001600160801b038083168185168083038211156122bc576122bc612cc7565b60008219821115612bcb57612bcb612cc7565b500190565b600082612bdf57612bdf612cdd565b500490565b6000816000190483118215151615612bfe57612bfe612cc7565b500290565b600082821015612c1557612c15612cc7565b500390565b60005b83811015612c35578181015183820152602001612c1d565b838111156112975750506000910152565b600081612c5557612c55612cc7565b506000190190565b600281046001821680612c7157607f821691505b60208210811415612c9257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cac57612cac612cc7565b5060010190565b600082612cc257612cc2612cdd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461126157600080fdfea2646970667358221220a0bf6f48d8a844fd9187028e10528ca87bca28cda91f9f082c8c493b794727b664736f6c634300080000330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000e294576f8649367b78ee8bc44372462cf6f799d6000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e636861726163746572732e67726f75702f6d657461646174612f0000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80636352211e116101235780639ec00c95116100ab578063b3ab66b01161006f578063b3ab66b0146105cf578063b88d4fde146105e2578063c87b56dd14610602578063e985e9c514610622578063f2fde38b146106425761021a565b80639ec00c9514610545578063a035b1fe14610565578063a22cb4651461057a578063a8602fea1461059a578063ac446002146105ba5761021a565b80637cb64759116100f25780637cb64759146104ae5780638da5cb5b146104ce57806391b7f5ed146104e35780639231ab2a1461050357806395d89b41146105305761021a565b80636352211e1461044457806370a0823114610464578063715018a61461048457806375172a8b146104995761021a565b80632f745c59116101a65780634626402b116101755780634626402b146103c75780634f6ccce7146103dc57806355f804b3146103fc57806356e6cfc11461041c578063603f4d521461042f5761021a565b80632f745c5914610352578063375a069a1461037257806342842e0e1461039257806345c0f533146103b25761021a565b8063095ea7b3116101ed578063095ea7b3146102c657806318160ddd146102e657806323b872dd146103085780632913daa0146103285780632eb4a7ab1461033d5761021a565b806301ffc9a71461021f57806306fdde0314610255578063081812fc14610277578063084c4088146102a4575b600080fd5b34801561022b57600080fd5b5061023f61023a36600461211d565b610662565b60405161024c9190612319565b60405180910390f35b34801561026157600080fd5b5061026a6106c5565b60405161024c919061232d565b34801561028357600080fd5b50610297610292366004612105565b610757565b60405161024c91906122c8565b3480156102b057600080fd5b506102c46102bf366004612105565b6107a3565b005b3480156102d257600080fd5b506102c46102e13660046120dc565b6107e7565b3480156102f257600080fd5b506102fb610880565b60405161024c9190612324565b34801561031457600080fd5b506102c4610323366004611f9b565b610886565b34801561033457600080fd5b506102fb610891565b34801561034957600080fd5b506102fb6108b5565b34801561035e57600080fd5b506102fb61036d3660046120dc565b6108bb565b34801561037e57600080fd5b506102c461038d366004612105565b6109b7565b34801561039e57600080fd5b506102c46103ad366004611f9b565b610b04565b3480156103be57600080fd5b506102fb610b1f565b3480156103d357600080fd5b50610297610b43565b3480156103e857600080fd5b506102fb6103f7366004612105565b610b52565b34801561040857600080fd5b506102c4610417366004612155565b610b7e565b6102c461042a3660046121c2565b610bc9565b34801561043b57600080fd5b506102fb610d8b565b34801561045057600080fd5b5061029761045f366004612105565b610d91565b34801561047057600080fd5b506102fb61047f366004611f4f565b610da3565b34801561049057600080fd5b506102c4610df0565b3480156104a557600080fd5b506102fb610e3b565b3480156104ba57600080fd5b506102c46104c9366004612105565b610e5f565b3480156104da57600080fd5b50610297610ea3565b3480156104ef57600080fd5b506102c46104fe366004612105565b610eb2565b34801561050f57600080fd5b5061052361051e366004612105565b610ef6565b60405161024c9190612b6c565b34801561053c57600080fd5b5061026a610f07565b34801561055157600080fd5b506102fb610560366004611f4f565b610f16565b34801561057157600080fd5b506102fb610f28565b34801561058657600080fd5b506102c46105953660046120a2565b610f2e565b3480156105a657600080fd5b506102c46105b5366004611f4f565b610ffc565b3480156105c657600080fd5b506102c461105d565b6102c46105dd366004612105565b61111e565b3480156105ee57600080fd5b506102c46105fd366004611fd6565b611264565b34801561060e57600080fd5b5061026a61061d366004612105565b61129d565b34801561062e57600080fd5b5061023f61063d366004611f69565b611320565b34801561064e57600080fd5b506102c461065d366004611f4f565b61134e565b60006001600160e01b031982166380ac58cd60e01b148061069357506001600160e01b03198216635b5e139f60e01b145b806106ae57506001600160e01b0319821663780e9d6360e01b145b806106bd57506106bd826113bc565b90505b919050565b6060600280546106d490612c5d565b80601f016020809104026020016040519081016040528092919081815260200182805461070090612c5d565b801561074d5780601f106107225761010080835404028352916020019161074d565b820191906000526020600020905b81548152906001019060200180831161073057829003601f168201915b5050505050905090565b6000610762826113d5565b6107875760405162461bcd60e51b815260040161077e90612b1f565b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6107ab6113dc565b6001600160a01b03166107bc610ea3565b6001600160a01b0316146107e25760405162461bcd60e51b815260040161077e9061278a565b600b55565b60006107f282610d91565b9050806001600160a01b0316836001600160a01b031614156108265760405162461bcd60e51b815260040161077e906128c4565b806001600160a01b03166108386113dc565b6001600160a01b0316148061085457506108548161063d6113dc565b6108705760405162461bcd60e51b815260040161077e906125ff565b61087b8383836113e0565b505050565b60015490565b61087b83838361143c565b7f000000000000000000000000000000000000000000000000000000000000000a81565b600d5481565b60006108c683610da3565b82106108e45760405162461bcd60e51b815260040161077e90612340565b60006108ee610880565b905060008060005b83811015610998576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561094957805192505b876001600160a01b0316836001600160a01b031614156109855786841415610977575093506109b192505050565b8361098181612c98565b9450505b508061099081612c98565b9150506108f6565b5060405162461bcd60e51b815260040161077e90612a9a565b92915050565b6109bf6113dc565b6001600160a01b03166109d0610ea3565b6001600160a01b0316146109f65760405162461bcd60e51b815260040161077e9061278a565b7f000000000000000000000000000000000000000000000000000000000000006481610a20610880565b610a2a9190612bb8565b1115610a485760405162461bcd60e51b815260040161077e9061265c565b610a727f000000000000000000000000000000000000000000000000000000000000000a82612cb3565b15610a8f5760405162461bcd60e51b815260040161077e906124f3565b6000610abb7f000000000000000000000000000000000000000000000000000000000000000a83612bd0565b905060005b8181101561087b57610af2337f000000000000000000000000000000000000000000000000000000000000000a611705565b80610afc81612c98565b915050610ac0565b61087b83838360405180602001604052806000815250611264565b7f0000000000000000000000000000000000000000000000000000000000001a0a81565b600c546001600160a01b031681565b6000610b5c610880565b8210610b7a5760405162461bcd60e51b815260040161077e90612540565b5090565b610b866113dc565b6001600160a01b0316610b97610ea3565b6001600160a01b031614610bbd5760405162461bcd60e51b815260040161077e9061278a565b61087b60098383611e8c565b323314610be85760405162461bcd60e51b815260040161077e906123c5565b6000610bf26113dc565b604051602001610c02919061226b565b60405160208183030381529060405290506000600b5411610c355760405162461bcd60e51b815260040161077e9061248c565b610c83610c4a610c4486611723565b83611846565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061187992505050565b610c9f5760405162461bcd60e51b815260040161077e90612382565b8385600e6000610cad6113dc565b6001600160a01b03166001600160a01b0316815260200190815260200160002054610cd89190612bb8565b1115610cf65760405162461bcd60e51b815260040161077e90612a6e565b34600a5486610d059190612be4565b14610d225760405162461bcd60e51b815260040161077e90612693565b84600e6000610d2f6113dc565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610d5e9190612bb8565b90915550610d6e90503386611705565b610d8485600a54610d7f9190612be4565b611888565b5050505050565b600b5481565b6000610d9c826118e6565b5192915050565b60006001600160a01b038216610dcb5760405162461bcd60e51b815260040161077e906126ca565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b610df86113dc565b6001600160a01b0316610e09610ea3565b6001600160a01b031614610e2f5760405162461bcd60e51b815260040161077e9061278a565b610e396000611977565b565b7f000000000000000000000000000000000000000000000000000000000000006481565b610e676113dc565b6001600160a01b0316610e78610ea3565b6001600160a01b031614610e9e5760405162461bcd60e51b815260040161077e9061278a565b600d55565b6000546001600160a01b031690565b610eba6113dc565b6001600160a01b0316610ecb610ea3565b6001600160a01b031614610ef15760405162461bcd60e51b815260040161077e9061278a565b600a55565b610efe611f0c565b6106bd826118e6565b6060600380546106d490612c5d565b600e6020526000908152604090205481565b600a5481565b610f366113dc565b6001600160a01b0316826001600160a01b03161415610f675760405162461bcd60e51b815260040161077e9061280e565b8060076000610f746113dc565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610fb86113dc565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ff09190612319565b60405180910390a35050565b6110046113dc565b6001600160a01b0316611015610ea3565b6001600160a01b03161461103b5760405162461bcd60e51b815260040161077e9061278a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6110656113dc565b6001600160a01b0316611076610ea3565b6001600160a01b03161461109c5760405162461bcd60e51b815260040161077e9061278a565b600260085414156110bf5760405162461bcd60e51b815260040161077e90612ae8565b6002600855476110e15760405162461bcd60e51b815260040161077e90612715565b600c5461110d906001600160a01b031660646110fe47600a612be4565b6111089190612bd0565b6119c7565b61111733476119c7565b6001600855565b32331461113d5760405162461bcd60e51b815260040161077e906123c5565b6001600b541161115f5760405162461bcd60e51b815260040161077e906125c8565b6111a97f00000000000000000000000000000000000000000000000000000000000000647f0000000000000000000000000000000000000000000000000000000000001a0a612c03565b816111b2610880565b6111bc9190612bb8565b11156111da5760405162461bcd60e51b815260040161077e90612897565b7f000000000000000000000000000000000000000000000000000000000000000a81111561121a5760405162461bcd60e51b815260040161077e906124c3565b34600a54826112299190612be4565b146112465760405162461bcd60e51b815260040161077e90612693565b6112503382611705565b61126181600a54610d7f9190612be4565b50565b61126f84848461143c565b61127b84848484611a43565b6112975760405162461bcd60e51b815260040161077e90612973565b50505050565b60606112a8826113d5565b6112c45760405162461bcd60e51b815260040161077e906127bf565b60006112ce611b5e565b905060008151116112ee5760405180602001604052806000815250611319565b806112f884611723565b604051602001611309929190612296565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6113566113dc565b6001600160a01b0316611367610ea3565b6001600160a01b03161461138d5760405162461bcd60e51b815260040161077e9061278a565b6001600160a01b0381166113b35760405162461bcd60e51b815260040161077e906123fc565b61126181611977565b6001600160e01b031981166301ffc9a760e01b14919050565b6001541190565b3390565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611447826118e6565b9050600081600001516001600160a01b03166114616113dc565b6001600160a01b0316148061149657506114796113dc565b6001600160a01b031661148b84610757565b6001600160a01b0316145b806114aa575081516114aa9061063d6113dc565b9050806114c95760405162461bcd60e51b815260040161077e90612845565b846001600160a01b031682600001516001600160a01b0316146114fe5760405162461bcd60e51b815260040161077e90612744565b6001600160a01b0384166115245760405162461bcd60e51b815260040161077e90612583565b6115318585856001611297565b61154160008484600001516113e0565b6001600160a01b03858116600090815260056020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a875260049095529285209151825494516001600160a01b031990951696169590951767ffffffffffffffff60a01b1916600160a01b93909216929092021790559061160a908590612bb8565b6000818152600460205260409020549091506001600160a01b03166116af57611632816113d5565b156116af5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526004909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116fd8686866001611297565b505050505050565b61171f828260405180602001604052806000815250611b6d565b5050565b60608161174857506040805180820190915260018152600360fc1b60208201526106c0565b8160005b8115611772578061175c81612c98565b915061176b9050600a83612bd0565b915061174c565b60008167ffffffffffffffff81111561179b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117c5576020820181803683370190505b5090505b841561183e576117da600183612c03565b91506117e7600a86612cb3565b6117f2906030612bb8565b60f81b81838151811061181557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611837600a86612bd0565b94506117c9565b949350505050565b6000818360405160200161185b929190612296565b60405160208183030381529060405280519060200120905092915050565b600061131982600d5485611db8565b803410156118a85760405162461bcd60e51b815260040161077e906129c6565b8034111561126157336108fc6118be8334612c03565b6040518115909202916000818181858888f1935050505015801561171f573d6000803e3d6000fd5b6118ee611f0c565b6118f7826113d5565b6119135760405162461bcd60e51b815260040161077e90612442565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156119645791506106c09050565b508061196f81612c46565b915050611915565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826001600160a01b0316826040516119e0906122c5565b60006040518083038185875af1925050503d8060008114611a1d576040519150601f19603f3d011682016040523d82523d6000602084013e611a22565b606091505b505090508061087b5760405162461bcd60e51b815260040161077e90612949565b6000611a57846001600160a01b0316611dce565b15611b5357836001600160a01b031663150b7a02611a736113dc565b8786866040518563ffffffff1660e01b8152600401611a9594939291906122dc565b602060405180830381600087803b158015611aaf57600080fd5b505af1925050508015611adf575060408051601f3d908101601f19168201909252611adc91810190612139565b60015b611b39573d808015611b0d576040519150601f19603f3d011682016040523d82523d6000602084013e611b12565b606091505b508051611b315760405162461bcd60e51b815260040161077e90612973565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061183e565b506001949350505050565b6060600980546106d490612c5d565b6001546001600160a01b038416611b965760405162461bcd60e51b815260040161077e90612a2d565b611b9f816113d5565b15611bbc5760405162461bcd60e51b815260040161077e906129f6565b60008311611bdc5760405162461bcd60e51b815260040161077e90612906565b611be96000858386611297565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611c45908790612b96565b6001600160801b03168152602001858360200151611c639190612b96565b6001600160801b039081169091526001600160a01b03808816600081815260056020908152604080832087518154988401518816600160801b029088166001600160801b031990991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b85811015611da55760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d696000888488611a43565b611d855760405162461bcd60e51b815260040161077e90612973565b81611d8f81612c98565b9250508080611d9d90612c98565b915050611d1c565b5060018190556116fd6000878588611297565b600082611dc58584611dd4565b14949350505050565b3b151590565b600081815b8451811015611e84576000858281518110611e0457634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611e45578281604051602001611e28929190612288565b604051602081830303815290604052805190602001209250611e71565b8083604051602001611e58929190612288565b6040516020818303038152906040528051906020012092505b5080611e7c81612c98565b915050611dd9565b509392505050565b828054611e9890612c5d565b90600052602060002090601f016020900481019282611eba5760008555611f00565b82601f10611ed35782800160ff19823516178555611f00565b82800160010185558215611f00579182015b82811115611f00578235825591602001919060010190611ee5565b50610b7a929150611f23565b604080518082019091526000808252602082015290565b5b80821115610b7a5760008155600101611f24565b80356001600160a01b03811681146106c057600080fd5b600060208284031215611f60578081fd5b61131982611f38565b60008060408385031215611f7b578081fd5b611f8483611f38565b9150611f9260208401611f38565b90509250929050565b600080600060608486031215611faf578081fd5b611fb884611f38565b9250611fc660208501611f38565b9150604084013590509250925092565b60008060008060808587031215611feb578081fd5b611ff485611f38565b93506020612003818701611f38565b935060408601359250606086013567ffffffffffffffff80821115612026578384fd5b818801915088601f830112612039578384fd5b81358181111561204b5761204b612cf3565b604051601f8201601f191681018501838111828210171561206e5761206e612cf3565b60405281815283820185018b1015612084578586fd5b81858501868301379081019093019390935250939692955090935050565b600080604083850312156120b4578182fd5b6120bd83611f38565b9150602083013580151581146120d1578182fd5b809150509250929050565b600080604083850312156120ee578182fd5b6120f783611f38565b946020939093013593505050565b600060208284031215612116578081fd5b5035919050565b60006020828403121561212e578081fd5b813561131981612d09565b60006020828403121561214a578081fd5b815161131981612d09565b60008060208385031215612167578182fd5b823567ffffffffffffffff8082111561217e578384fd5b818501915085601f830112612191578384fd5b81358181111561219f578485fd5b8660208285010111156121b0578485fd5b60209290920196919550909350505050565b600080600080606085870312156121d7578384fd5b8435935060208501359250604085013567ffffffffffffffff808211156121fc578384fd5b818701915087601f83011261220f578384fd5b81358181111561221d578485fd5b8860208083028501011115612230578485fd5b95989497505060200194505050565b60008151808452612257816020860160208601612c1a565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b600083516122a8818460208801612c1a565b8351908301906122bc818360208801612c1a565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061230f9083018461223f565b9695505050505050565b901515815260200190565b90815260200190565b600060208252611319602083018461223f565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526023908201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960408201526232b21760e91b606082015260800190565b6020808252601f908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b6020808252601f908201527f50726573616c65206d7573742062652061637469766520746f206d696e742e00604082015260600190565b60208082526016908201527521b0b73737ba1036b4b73a103a3434b99036b0b73c9760511b604082015260600190565b6020808252602d908201527f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060408201526c36b0bc2130ba31b429b4bd329760991b606082015260800190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252601c908201527f53616c65206d7573742062652061637469766520746f206d696e742e00000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526018908201527f4578636565647320726573657276656420737570706c792e0000000000000000604082015260600190565b60208082526017908201527f496e76616c69642066756e64732070726f76696465642e000000000000000000604082015260600190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b602080825260159082015274273790333ab73239903a37903bb4ba34323930bb9760591b604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526013908201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604082015260600190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526023908201527f455243373231413a207175616e74697479206d7573742062652067726561746560408201526207220360ec1b606082015260800190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601690820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b604082015260600190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526012908201527122bc31b2b2b2399030b63637bbb0b731b29760711b604082015260600190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b81516001600160a01b0316815260209182015167ffffffffffffffff169181019190915260400190565b60006001600160801b038083168185168083038211156122bc576122bc612cc7565b60008219821115612bcb57612bcb612cc7565b500190565b600082612bdf57612bdf612cdd565b500490565b6000816000190483118215151615612bfe57612bfe612cc7565b500290565b600082821015612c1557612c15612cc7565b500390565b60005b83811015612c35578181015183820152602001612c1d565b838111156112975750506000910152565b600081612c5557612c55612cc7565b506000190190565b600281046001821680612c7157607f821691505b60208210811415612c9257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cac57612cac612cc7565b5060010190565b600082612cc257612cc2612cdd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461126157600080fdfea2646970667358221220a0bf6f48d8a844fd9187028e10528ca87bca28cda91f9f082c8c493b794727b664736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000e294576f8649367b78ee8bc44372462cf6f799d6000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e636861726163746572732e67726f75702f6d657461646174612f0000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseTokenURI_ (string): https://api.characters.group/metadata/
Arg [1] : _treasuryWallet (address): 0xE294576f8649367B78eE8bc44372462Cf6F799d6
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000e294576f8649367b78ee8bc44372462cf6f799d6
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [3] : 68747470733a2f2f6170692e636861726163746572732e67726f75702f6d6574
Arg [4] : 61646174612f0000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.