ERC-721
Overview
Max Total Supply
3,000 CAE
Holders
216
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CAELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
CyberpunkApeExecutives
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 100000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./Signer.sol"; contract CyberpunkApeExecutives is ERC721, Ownable, ReentrancyGuard { constructor( uint16 maxSupply, uint16 maxPresale, uint16 publicTransactionMax, uint256 price, address signer, uint256 presaleMintStart, uint256 presaleMintEnd, uint256 publicMintStart ) ERC721("Cyberpunk Ape Executives", "CAE") { require(maxSupply > 0, "Zero supply"); mintSigner = signer; totalSupply = maxSupply; mintPrice = price; // CONFIGURE PRESALE Mint presaleMint.startDate = presaleMintStart; presaleMint.endDate = presaleMintEnd; presaleMint.maxMinted = maxPresale; // CONFIGURE PUBLIC MINT publicMint.startDate = publicMintStart; publicMint.maxPerTransaction = publicTransactionMax; } event Paid(address sender, uint256 amount); event Withdraw(address recipient, uint256 amount); struct WhitelistedMint { /** * The start date in unix seconds */ uint256 startDate; /** * The end date in unix seconds */ uint256 endDate; /** * The total number of tokens minted in this whitelist */ uint16 totalMinted; /** * The maximum number of tokens minted in this whitelist */ uint16 maxMinted; /** * The minters in this whitelisted mint * mapped to the number minted */ mapping(address => uint16) minted; } struct PublicMint { /** * The start date in unix seconds */ uint256 startDate; /** * The maximum per transaction */ uint16 maxPerTransaction; } string baseURI; uint16 public totalSupply; uint16 public minted; address private mintSigner; mapping(address => uint16) public lastMintNonce; uint256 public mintPrice; /** * An exclusive mint for members granted * presale */ WhitelistedMint public presaleMint; /** * The public mint for everybody. */ PublicMint public publicMint; /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. */ function _baseURI() internal view virtual override returns (string memory) { return baseURI; } /** * Sets the base URI for all tokens * * @dev be sure to terminate with a slash * @param uri - the target base uri (ex: 'https://google.com/') */ function setBaseURI(string calldata uri) public onlyOwner { baseURI = uri; } /** * Sets the signer for presale transactions * * @param signer - the new signer's address */ function setSigner(address signer) public onlyOwner { mintSigner = signer; } /** * Burns the provided token id if you own it. * Reduces the supply by 1. * * @param tokenId - the ID of the token to be burned. */ function burn(uint256 tokenId) public { require(ownerOf(tokenId) == msg.sender, "You do not own this token"); _burn(tokenId); } // ------------------------------------------------ MINT STUFFS ------------------------------------------------ function getPresaleMints(address user) external view returns (uint16) { return presaleMint.minted[user]; } /** * Updates the presale mint's characteristics * * @param startDate - the start date for that mint in UNIX seconds * @param endDate - the end date for that mint in UNIX seconds */ function updatePresaleMint( uint256 startDate, uint256 endDate, uint16 maxMinted ) public onlyOwner { presaleMint.startDate = startDate; presaleMint.endDate = endDate; presaleMint.maxMinted = maxMinted; } /** * Updates the public mint's characteristics * * @param maxPerTransaction - the maximum amount allowed in a wallet to mint in the public mint * @param startDate - the start date for that mint in UNIX seconds */ function updatePublicMint(uint16 maxPerTransaction, uint256 startDate) public onlyOwner { publicMint.maxPerTransaction = maxPerTransaction; publicMint.startDate = startDate; } /** * Sets the mint price for whitelist and public mints. * @param price - the cost for the mints in WEI * @dev only for the contract owner */ function setMintPrice(uint256 price) external onlyOwner { mintPrice = price; } function getPremintHash( address minter, uint16 quantity, uint16 nonce ) public pure returns (bytes32) { return VerifySignature.getMessageHash(minter, quantity, nonce); } /** * Mints in the premint stage by using a signed transaction from a centralized whitelist. * The message signer is expected to only sign messages when they fall within the whitelist * specifications. * * @param quantity - the number to mint * @param nonce - a random nonce which indicates that a signed transaction hasn't already been used. * @param signature - the signature given by the centralized whitelist authority, signed by * the account specified as mintSigner. */ function premint( uint16 quantity, uint16 nonce, bytes calldata signature ) public payable nonReentrant { uint256 remaining = totalSupply - minted; require(remaining > 0, "Mint over"); require(quantity >= 1, "Zero mint"); require(quantity <= remaining, "Not enough"); require(lastMintNonce[msg.sender] < nonce, "Nonce used"); require( presaleMint.startDate <= block.timestamp && presaleMint.endDate >= block.timestamp, "No mint" ); require( VerifySignature.verify( mintSigner, msg.sender, quantity, nonce, signature ), "Invalid sig" ); require(mintPrice * quantity == msg.value, "Bad value"); require( presaleMint.totalMinted + quantity <= presaleMint.maxMinted, "Limit exceeded" ); presaleMint.minted[msg.sender] += quantity; presaleMint.totalMinted += quantity; lastMintNonce[msg.sender] = nonce; // update nonce // DISTRIBUTE THE TOKENS uint16 i; for (i; i < quantity; i++) { minted += 1; _safeMint(msg.sender, minted); } } /** * Mints the given quantity of tokens provided it is possible to. * * @notice This function allows minting in the public sale * or at any time for the owner of the contract. * * @param quantity - the number of tokens to mint */ function mint(uint16 quantity) public payable { mintTo(msg.sender, quantity); } /** * Mints the given quantity of tokens provided it is possible to. * * @notice This function allows minting in the public sale * or at any time for the owner of the contract. * * @param quantity - the number of tokens to mint * @param user - the recipient of the mint */ function mintTo(address user, uint16 quantity) public payable nonReentrant { uint256 remaining = totalSupply - minted; require(remaining > 0, "Mint over"); require(quantity >= 1, "Zero mint"); require(quantity <= remaining, "Not enough"); if (owner() == msg.sender) { // OWNER MINTING FOR FREE require(msg.value == 0, "Owner paid"); } else if (block.timestamp >= publicMint.startDate) { // PUBLIC MINT require(quantity <= publicMint.maxPerTransaction, "Exceeds max"); require(quantity * mintPrice == msg.value, "Invalid value"); } else { // NOT ELIGIBLE FOR PUBLIC MINT revert("No mint"); } // DISTRIBUTE THE TOKENS uint16 i; for (i; i < quantity; i++) { minted += 1; _safeMint(user, minted); } } /** * Withdraws balance from the contract to the owner (sender). * @param amount - the amount to withdraw, much be <= contract balance. */ function withdraw(uint256 amount) external onlyOwner { require(address(this).balance >= amount, "Invalid amt"); (bool success, ) = msg.sender.call{value: amount}(""); require(success, "Trans failed"); emit Withdraw(msg.sender, amount); } /** * The receive function, does nothing */ receive() external payable { emit Paid(msg.sender, msg.value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: 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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// 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 pragma solidity ^0.8.3; /* Signature Verification How to Sign and Verify # Signing 1. Create message to sign 2. Hash the message 3. Sign the hash (off chain, keep your private key secret) # Verify 1. Recreate hash from the original message 2. Recover signer from signature and hash 3. Compare recovered signer to claimed signer */ library VerifySignature { /* 1. Unlock MetaMask account ethereum.enable() */ /* 2. Get message hash to sign getMessageHash( 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C, 123, "coffee and donuts", 1 ) hash = "0xcf36ac4f97dc10d91fc2cbb20d718e94a8cbfe0f82eaedc6a4aa38946fb797cd" */ function getMessageHash( address _minter, uint _quantity, uint _nonce ) public pure returns (bytes32) { return keccak256(abi.encodePacked(_minter, _quantity, _nonce)); } /* 3. Sign message hash # using browser account = "copy paste account of signer here" ethereum.request({ method: "personal_sign", params: [account, hash]}).then(console.log) # using web3 web3.personal.sign(hash, web3.eth.defaultAccount, console.log) Signature will be different for different accounts 0x993dab3dd91f5c6dc28e17439be475478f5635c92a56e17e82349d3fb2f166196f466c0b4e0c146f285204f0dcb13e5ae67bc33f4b888ec32dfe0a063e8f3f781b */ function getEthSignedMessageHash(bytes32 _messageHash) public pure returns (bytes32) { /* Signature is produced by signing a keccak256 hash with the following format: "\x19Ethereum Signed Message\n" + len(msg) + msg */ return keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash) ); } /* 4. Verify signature signer = 0xB273216C05A8c0D4F0a4Dd0d7Bae1D2EfFE636dd to = 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C amount = 123 message = "coffee and donuts" nonce = 1 signature = 0x993dab3dd91f5c6dc28e17439be475478f5635c92a56e17e82349d3fb2f166196f466c0b4e0c146f285204f0dcb13e5ae67bc33f4b888ec32dfe0a063e8f3f781b */ function verify( address _signer, address _minter, uint _quantity, uint _nonce, bytes memory signature ) public pure returns (bool) { bytes32 messageHash = getMessageHash(_minter, _quantity, _nonce); bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); return recoverSigner(ethSignedMessageHash, signature) == _signer; } function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) public pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function splitSignature(bytes memory sig) public pure returns ( bytes32 r, bytes32 s, uint8 v ) { require(sig.length == 65, "invalid signature length"); assembly { /* First 32 bytes stores the length of the signature add(sig, 32) = pointer of sig + 32 effectively, skips first 32 bytes of signature mload(p) loads next 32 bytes starting at the memory address p into memory */ // first 32 bytes, after the length prefix r := mload(add(sig, 32)) // second 32 bytes s := mload(add(sig, 64)) // final byte (first byte of the next 32 bytes) v := byte(0, mload(add(sig, 96))) } // implicitly return (r, s, v) } }
// 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 (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/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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": 100000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": { "contracts/Signer.sol": { "VerifySignature": "0xa02c6f87d7ac55637e0feb7455f2e1ef3e1359c0" } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"uint16","name":"maxPresale","type":"uint16"},{"internalType":"uint16","name":"publicTransactionMax","type":"uint16"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"signer","type":"address"},{"internalType":"uint256","name":"presaleMintStart","type":"uint256"},{"internalType":"uint256","name":"presaleMintEnd","type":"uint256"},{"internalType":"uint256","name":"publicMintStart","type":"uint256"}],"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":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Paid","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","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":"address","name":"minter","type":"address"},{"internalType":"uint16","name":"quantity","type":"uint16"},{"internalType":"uint16","name":"nonce","type":"uint16"}],"name":"getPremintHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getPresaleMints","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"lastMintNonce","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"internalType":"uint16","name":"quantity","type":"uint16"},{"internalType":"uint16","name":"nonce","type":"uint16"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"premint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleMint","outputs":[{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint256","name":"endDate","type":"uint256"},{"internalType":"uint16","name":"totalMinted","type":"uint16"},{"internalType":"uint16","name":"maxMinted","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint16","name":"maxPerTransaction","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint256","name":"endDate","type":"uint256"},{"internalType":"uint16","name":"maxMinted","type":"uint16"}],"name":"updatePresaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"maxPerTransaction","type":"uint16"},{"internalType":"uint256","name":"startDate","type":"uint256"}],"name":"updatePublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162003c9938038062003c9983398101604081905262000034916200029d565b604080518082018252601881527f437962657270756e6b204170652045786563757469766573000000000000000060208083019182528351808501909452600384526243414560e81b9084015281519192916200009491600091620001df565b508051620000aa906001906020840190620001df565b505050620000c7620000c16200018960201b60201c565b6200018d565b600160075561ffff8816620001105760405162461bcd60e51b815260206004820152600b60248201526a5a65726f20737570706c7960a81b604482015260640160405180910390fd5b6009805461ffff998a1661ffff196001600160a01b0390971664010000000002871663ffff0001600160c01b031990921691909117179055600b94909455600c91909155600d55600e8054948616620100000263ffff00001990951694909417909355601055601180549190931691161790556200036c565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001ed906200032f565b90600052602060002090601f0160209004810192826200021157600085556200025c565b82601f106200022c57805160ff19168380011785556200025c565b828001600101855582156200025c579182015b828111156200025c5782518255916020019190600101906200023f565b506200026a9291506200026e565b5090565b5b808211156200026a57600081556001016200026f565b805161ffff811681146200029857600080fd5b919050565b600080600080600080600080610100898b031215620002bb57600080fd5b620002c68962000285565b9750620002d660208a0162000285565b9650620002e660408a0162000285565b60608a015160808b015191975095506001600160a01b03811681146200030b57600080fd5b60a08a015160c08b015160e0909b0151999c989b5096999598909790945092505050565b600181811c908216806200034457607f821691505b602082108114156200036657634e487b7160e01b600052602260045260246000fd5b50919050565b61391d806200037c6000396000f3fe60806040526004361061021d5760003560e01c80636352211e1161011d57806395d89b41116100b0578063c87b56dd1161007f578063e985e9c511610064578063e985e9c5146106e6578063f2fde38b1461073c578063f4a0a5281461075c57600080fd5b8063c87b56dd14610695578063e2cedd49146106b557600080fd5b806395d89b41146105f9578063a22cb4651461060e578063b88d4fde1461062e578063baa551ee1461064e57600080fd5b806370a08231116100ec57806370a0823114610586578063715018a6146105a65780638da5cb5b146105bb5780639207b05a146105e657600080fd5b80636352211e146105025780636817c76c1461052257806368bef344146105465780636c19e7831461056657600080fd5b806325102b64116101b057806342842e0e1161017f5780634f02c420116101645780634f02c4201461046a57806355f804b31461048b57806359533d6c146104ab57600080fd5b806342842e0e1461042a57806342966c681461044a57600080fd5b806325102b64146103a057806326092b83146103c05780632e1a7d4d146103f75780633f84ac0e1461041757600080fd5b80630bd0e3a3116101ec5780630bd0e3a31461031f57806318160ddd1461033f57806323b872dd1461036d57806323cf0a221461038d57600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102fd57600080fd5b3661025c57604080513381523460208201527f737c69225d647e5994eab1a6c301bf6d9232beb2759ae1e27a8966b4732bc489910160405180910390a1005b600080fd5b34801561026d57600080fd5b5061028161027c366004613387565b61077c565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab610861565b60405161028d919061362d565b3480156102c457600080fd5b506102d86102d336600461349b565b6108f3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161028d565b34801561030957600080fd5b5061031d610318366004613327565b6109d2565b005b34801561032b57600080fd5b5061031d61033a3660046134b4565b610b5f565b34801561034b57600080fd5b5060095461035a9061ffff1681565b60405161ffff909116815260200161028d565b34801561037957600080fd5b5061031d61038836600461314d565b610c24565b61031d61039b366004613403565b610cc5565b3480156103ac57600080fd5b5061031d6103bb36600461347f565b610cd2565b3480156103cc57600080fd5b506010546011546103df919061ffff1682565b6040805192835261ffff90911660208301520161028d565b34801561040357600080fd5b5061031d61041236600461349b565b610d8c565b61031d6104253660046132ba565b610f66565b34801561043657600080fd5b5061031d61044536600461314d565b6113cb565b34801561045657600080fd5b5061031d61046536600461349b565b6113e6565b34801561047657600080fd5b5060095461035a9062010000900461ffff1681565b34801561049757600080fd5b5061031d6104a63660046133c1565b611476565b3480156104b757600080fd5b50600c54600d54600e546104d892919061ffff808216916201000090041684565b60408051948552602085019390935261ffff9182169284019290925216606082015260800161028d565b34801561050e57600080fd5b506102d861051d36600461349b565b611503565b34801561052e57600080fd5b50610538600b5481565b60405190815260200161028d565b34801561055257600080fd5b506105386105613660046132e4565b6115b5565b34801561057257600080fd5b5061031d6105813660046130ff565b611683565b34801561059257600080fd5b506105386105a13660046130ff565b611753565b3480156105b257600080fd5b5061031d611821565b3480156105c757600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff166102d8565b61031d6105f436600461341e565b6118ae565b34801561060557600080fd5b506102ab611ef4565b34801561061a57600080fd5b5061031d610629366004613283565b611f03565b34801561063a57600080fd5b5061031d610649366004613189565b611f12565b34801561065a57600080fd5b5061035a6106693660046130ff565b73ffffffffffffffffffffffffffffffffffffffff166000908152600f602052604090205461ffff1690565b3480156106a157600080fd5b506102ab6106b036600461349b565b611fba565b3480156106c157600080fd5b5061035a6106d03660046130ff565b600a6020526000908152604090205461ffff1681565b3480156106f257600080fd5b5061028161070136600461311a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561074857600080fd5b5061031d6107573660046130ff565b6120ca565b34801561076857600080fd5b5061031d61077736600461349b565b6121f7565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061080f57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061085b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546108709061372c565b80601f016020809104026020016040519081016040528092919081815260200182805461089c9061372c565b80156108e95780601f106108be576101008083540402835291602001916108e9565b820191906000526020600020905b8154815290600101906020018083116108cc57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006109dd82611503565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109a0565b3373ffffffffffffffffffffffffffffffffffffffff82161480610ac45750610ac48133610701565b610b50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109a0565b610b5a838361227d565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610be0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b600c92909255600d55600e805461ffff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff909216919091179055565b610c2e338261231d565b610cba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109a0565b610b5a838383612489565b610ccf3382610f66565b50565b60065473ffffffffffffffffffffffffffffffffffffffff163314610d53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b601180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff9390931692909217909155601055565b60065473ffffffffffffffffffffffffffffffffffffffff163314610e0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b80471015610e77576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c696420616d7400000000000000000000000000000000000000000060448201526064016109a0565b604051600090339083908381818185875af1925050503d8060008114610eb9576040519150601f19603f3d011682016040523d82523d6000602084013e610ebe565b606091505b5050905080610f29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5472616e73206661696c6564000000000000000000000000000000000000000060448201526064016109a0565b60408051338152602081018490527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b60026007541415610fd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109a0565b6002600755600954600090610ff49061ffff620100008204811691166136c6565b61ffff16905060008111611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4d696e74206f766572000000000000000000000000000000000000000000000060448201526064016109a0565b60018261ffff1610156110d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f5a65726f206d696e74000000000000000000000000000000000000000000000060448201526064016109a0565b808261ffff161115611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f7420656e6f7567680000000000000000000000000000000000000000000060448201526064016109a0565b3361116160065473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614156111ea5734156111e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4f776e657220706169640000000000000000000000000000000000000000000060448201526064016109a0565b611343565b60105442106112e15760115461ffff9081169083161115611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f45786365656473206d617800000000000000000000000000000000000000000060448201526064016109a0565b34600b548361ffff1661127a9190613689565b146111e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f496e76616c69642076616c75650000000000000000000000000000000000000060448201526064016109a0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4e6f206d696e740000000000000000000000000000000000000000000000000060448201526064016109a0565b60005b8261ffff168161ffff1610156113c0576001600960028282829054906101000a900461ffff166113769190613640565b92506101000a81548161ffff021916908361ffff1602179055506113ae84600960029054906101000a900461ffff1661ffff166126f0565b806113b881613780565b915050611346565b505060016007555050565b610b5a83838360405180602001604052806000815250611f12565b336113f082611503565b73ffffffffffffffffffffffffffffffffffffffff161461146d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f596f7520646f206e6f74206f776e207468697320746f6b656e0000000000000060448201526064016109a0565b610ccf8161270a565b60065473ffffffffffffffffffffffffffffffffffffffff1633146114f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b610b5a60088383612fc4565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061085b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109a0565b6040517fd2b0737b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015261ffff80841660248301528216604482015260009073a02c6f87d7ac55637e0feb7455f2e1ef3e1359c09063d2b0737b9060640160206040518083038186803b15801561164357600080fd5b505af4158015611657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167b919061336e565b949350505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611704576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b6009805473ffffffffffffffffffffffffffffffffffffffff909216640100000000027fffffffffffffffff0000000000000000000000000000000000000000ffffffff909216919091179055565b600073ffffffffffffffffffffffffffffffffffffffff82166117f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109a0565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff1633146118a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b6118ac60006127d7565b565b6002600754141561191b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109a0565b600260075560095460009061193c9061ffff620100008204811691166136c6565b61ffff169050600081116119ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4d696e74206f766572000000000000000000000000000000000000000000000060448201526064016109a0565b60018561ffff161015611a1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f5a65726f206d696e74000000000000000000000000000000000000000000000060448201526064016109a0565b808561ffff161115611a89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f7420656e6f7567680000000000000000000000000000000000000000000060448201526064016109a0565b336000908152600a602052604090205461ffff808616911610611b08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f6e636520757365640000000000000000000000000000000000000000000060448201526064016109a0565b600c544210801590611b1c5750600d544211155b611b82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4e6f206d696e740000000000000000000000000000000000000000000000000060448201526064016109a0565b6009546040517fcffc18eb00000000000000000000000000000000000000000000000000000000815273a02c6f87d7ac55637e0feb7455f2e1ef3e1359c09163cffc18eb91611bfc91640100000000900473ffffffffffffffffffffffffffffffffffffffff169033908a908a908a908a90600401613559565b60206040518083038186803b158015611c1457600080fd5b505af4158015611c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4c9190613351565b611cb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c69642073696700000000000000000000000000000000000000000060448201526064016109a0565b348561ffff16600b54611cc59190613689565b14611d2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4261642076616c7565000000000000000000000000000000000000000000000060448201526064016109a0565b600e5461ffff620100008204811691611d4791889116613640565b61ffff161115611db3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4c696d697420657863656564656400000000000000000000000000000000000060448201526064016109a0565b336000908152600f602052604081208054879290611dd690849061ffff16613640565b92506101000a81548161ffff021916908361ffff16021790555084600c60020160008282829054906101000a900461ffff16611e129190613640565b82546101009290920a61ffff818102199093169183160217909155336000908152600a6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169288169290921790915590505b8561ffff168161ffff161015611ee7576001600960028282829054906101000a900461ffff16611e9d9190613640565b92506101000a81548161ffff021916908361ffff160217905550611ed533600960029054906101000a900461ffff1661ffff166126f0565b80611edf81613780565b915050611e6d565b5050600160075550505050565b6060600180546108709061372c565b611f0e33838361284e565b5050565b611f1c338361231d565b611fa8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109a0565b611fb48484848461297c565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff1661206e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016109a0565b6000612078612a1f565b9050600081511161209857604051806020016040528060008152506120c3565b806120a284612a2e565b6040516020016120b392919061352a565b6040516020818303038152906040525b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff16331461214b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b73ffffffffffffffffffffffffffffffffffffffff81166121ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109a0565b610ccf816127d7565b60065473ffffffffffffffffffffffffffffffffffffffff163314612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b600b55565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906122d782611503565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166123ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109a0565b60006123d983611503565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061244857508373ffffffffffffffffffffffffffffffffffffffff16612430846108f3565b73ffffffffffffffffffffffffffffffffffffffff16145b8061167b575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff1661167b565b8273ffffffffffffffffffffffffffffffffffffffff166124a982611503565b73ffffffffffffffffffffffffffffffffffffffff161461254c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109a0565b73ffffffffffffffffffffffffffffffffffffffff82166125ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109a0565b6125f960008261227d565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812080546001929061262f9084906136e9565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061266a90849061365d565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611f0e828260405180602001604052806000815250612b60565b600061271582611503565b905061272260008361227d565b73ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604081208054600192906127589084906136e9565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a0565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612987848484612489565b61299384848484612c03565b611fb4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a0565b6060600880546108709061372c565b606081612a6e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612a985780612a82816137a2565b9150612a919050600a83613675565b9150612a72565b60008167ffffffffffffffff811115612ab357612ab361387c565b6040519080825280601f01601f191660200182016040528015612add576020820181803683370190505b5090505b841561167b57612af26001836136e9565b9150612aff600a866137db565b612b0a90603061365d565b60f81b818381518110612b1f57612b1f61384d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612b59600a86613675565b9450612ae1565b612b6a8383612e02565b612b776000848484612c03565b610b5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a0565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612df7576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612c7a9033908990889088906004016135e4565b602060405180830381600087803b158015612c9457600080fd5b505af1925050508015612ce2575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612cdf918101906133a4565b60015b612dac573d808015612d10576040519150601f19603f3d011682016040523d82523d6000602084013e612d15565b606091505b508051612da4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a0565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061167b565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8216612e7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109a0565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612f0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a0565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612f4190849061365d565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612fd09061372c565b90600052602060002090601f016020900481019282612ff25760008555613056565b82601f10613029578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613056565b82800160010185558215613056579182015b8281111561305657823582559160200191906001019061303b565b50613062929150613066565b5090565b5b808211156130625760008155600101613067565b803573ffffffffffffffffffffffffffffffffffffffff8116811461309f57600080fd5b919050565b60008083601f8401126130b657600080fd5b50813567ffffffffffffffff8111156130ce57600080fd5b6020830191508360208285010111156130e657600080fd5b9250929050565b803561ffff8116811461309f57600080fd5b60006020828403121561311157600080fd5b6120c38261307b565b6000806040838503121561312d57600080fd5b6131368361307b565b91506131446020840161307b565b90509250929050565b60008060006060848603121561316257600080fd5b61316b8461307b565b92506131796020850161307b565b9150604084013590509250925092565b6000806000806080858703121561319f57600080fd5b6131a88561307b565b93506131b66020860161307b565b925060408501359150606085013567ffffffffffffffff808211156131da57600080fd5b818701915087601f8301126131ee57600080fd5b8135818111156132005761320061387c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156132465761324661387c565b816040528281528a602084870101111561325f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561329657600080fd5b61329f8361307b565b915060208301356132af816138ab565b809150509250929050565b600080604083850312156132cd57600080fd5b6132d68361307b565b9150613144602084016130ed565b6000806000606084860312156132f957600080fd5b6133028461307b565b9250613310602085016130ed565b915061331e604085016130ed565b90509250925092565b6000806040838503121561333a57600080fd5b6133438361307b565b946020939093013593505050565b60006020828403121561336357600080fd5b81516120c3816138ab565b60006020828403121561338057600080fd5b5051919050565b60006020828403121561339957600080fd5b81356120c3816138b9565b6000602082840312156133b657600080fd5b81516120c3816138b9565b600080602083850312156133d457600080fd5b823567ffffffffffffffff8111156133eb57600080fd5b6133f7858286016130a4565b90969095509350505050565b60006020828403121561341557600080fd5b6120c3826130ed565b6000806000806060858703121561343457600080fd5b61343d856130ed565b935061344b602086016130ed565b9250604085013567ffffffffffffffff81111561346757600080fd5b613473878288016130a4565b95989497509550505050565b6000806040838503121561349257600080fd5b613343836130ed565b6000602082840312156134ad57600080fd5b5035919050565b6000806000606084860312156134c957600080fd5b833592506020840135915061331e604085016130ed565b600081518084526134f8816020860160208601613700565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000835161353c818460208801613700565b835190830190613550818360208801613700565b01949350505050565b73ffffffffffffffffffffffffffffffffffffffff87811682528616602082015261ffff85811660408301528416606082015260a06080820181905281018290526000828460c0840137600060c0848401015260c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501168301019050979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261362360808301846134e0565b9695505050505050565b6020815260006120c360208301846134e0565b600061ffff808316818516808303821115613550576135506137ef565b60008219821115613670576136706137ef565b500190565b6000826136845761368461381e565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136c1576136c16137ef565b500290565b600061ffff838116908316818110156136e1576136e16137ef565b039392505050565b6000828210156136fb576136fb6137ef565b500390565b60005b8381101561371b578181015183820152602001613703565b83811115611fb45750506000910152565b600181811c9082168061374057607f821691505b6020821081141561377a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600061ffff80831681811415613798576137986137ef565b6001019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137d4576137d46137ef565b5060010190565b6000826137ea576137ea61381e565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b8015158114610ccf57600080fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ccf57600080fdfea264697066735822122052b47664deda25f2542dff5846392fcb77331e0f019d0bdba1073d686f694ba764736f6c634300080700330000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000d529ae9e86000000000000000000000000000093a8da89d5c86d14139b8a5e55e8d67384c060870000000000000000000000000000000000000000000000000000000061e9e9700000000000000000000000000000000000000000000000000000000061ea92300000000000000000000000000000000000000000000000000000000061eb3af0
Deployed Bytecode
0x60806040526004361061021d5760003560e01c80636352211e1161011d57806395d89b41116100b0578063c87b56dd1161007f578063e985e9c511610064578063e985e9c5146106e6578063f2fde38b1461073c578063f4a0a5281461075c57600080fd5b8063c87b56dd14610695578063e2cedd49146106b557600080fd5b806395d89b41146105f9578063a22cb4651461060e578063b88d4fde1461062e578063baa551ee1461064e57600080fd5b806370a08231116100ec57806370a0823114610586578063715018a6146105a65780638da5cb5b146105bb5780639207b05a146105e657600080fd5b80636352211e146105025780636817c76c1461052257806368bef344146105465780636c19e7831461056657600080fd5b806325102b64116101b057806342842e0e1161017f5780634f02c420116101645780634f02c4201461046a57806355f804b31461048b57806359533d6c146104ab57600080fd5b806342842e0e1461042a57806342966c681461044a57600080fd5b806325102b64146103a057806326092b83146103c05780632e1a7d4d146103f75780633f84ac0e1461041757600080fd5b80630bd0e3a3116101ec5780630bd0e3a31461031f57806318160ddd1461033f57806323b872dd1461036d57806323cf0a221461038d57600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102fd57600080fd5b3661025c57604080513381523460208201527f737c69225d647e5994eab1a6c301bf6d9232beb2759ae1e27a8966b4732bc489910160405180910390a1005b600080fd5b34801561026d57600080fd5b5061028161027c366004613387565b61077c565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab610861565b60405161028d919061362d565b3480156102c457600080fd5b506102d86102d336600461349b565b6108f3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161028d565b34801561030957600080fd5b5061031d610318366004613327565b6109d2565b005b34801561032b57600080fd5b5061031d61033a3660046134b4565b610b5f565b34801561034b57600080fd5b5060095461035a9061ffff1681565b60405161ffff909116815260200161028d565b34801561037957600080fd5b5061031d61038836600461314d565b610c24565b61031d61039b366004613403565b610cc5565b3480156103ac57600080fd5b5061031d6103bb36600461347f565b610cd2565b3480156103cc57600080fd5b506010546011546103df919061ffff1682565b6040805192835261ffff90911660208301520161028d565b34801561040357600080fd5b5061031d61041236600461349b565b610d8c565b61031d6104253660046132ba565b610f66565b34801561043657600080fd5b5061031d61044536600461314d565b6113cb565b34801561045657600080fd5b5061031d61046536600461349b565b6113e6565b34801561047657600080fd5b5060095461035a9062010000900461ffff1681565b34801561049757600080fd5b5061031d6104a63660046133c1565b611476565b3480156104b757600080fd5b50600c54600d54600e546104d892919061ffff808216916201000090041684565b60408051948552602085019390935261ffff9182169284019290925216606082015260800161028d565b34801561050e57600080fd5b506102d861051d36600461349b565b611503565b34801561052e57600080fd5b50610538600b5481565b60405190815260200161028d565b34801561055257600080fd5b506105386105613660046132e4565b6115b5565b34801561057257600080fd5b5061031d6105813660046130ff565b611683565b34801561059257600080fd5b506105386105a13660046130ff565b611753565b3480156105b257600080fd5b5061031d611821565b3480156105c757600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff166102d8565b61031d6105f436600461341e565b6118ae565b34801561060557600080fd5b506102ab611ef4565b34801561061a57600080fd5b5061031d610629366004613283565b611f03565b34801561063a57600080fd5b5061031d610649366004613189565b611f12565b34801561065a57600080fd5b5061035a6106693660046130ff565b73ffffffffffffffffffffffffffffffffffffffff166000908152600f602052604090205461ffff1690565b3480156106a157600080fd5b506102ab6106b036600461349b565b611fba565b3480156106c157600080fd5b5061035a6106d03660046130ff565b600a6020526000908152604090205461ffff1681565b3480156106f257600080fd5b5061028161070136600461311a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561074857600080fd5b5061031d6107573660046130ff565b6120ca565b34801561076857600080fd5b5061031d61077736600461349b565b6121f7565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061080f57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061085b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546108709061372c565b80601f016020809104026020016040519081016040528092919081815260200182805461089c9061372c565b80156108e95780601f106108be576101008083540402835291602001916108e9565b820191906000526020600020905b8154815290600101906020018083116108cc57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006109dd82611503565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109a0565b3373ffffffffffffffffffffffffffffffffffffffff82161480610ac45750610ac48133610701565b610b50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109a0565b610b5a838361227d565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610be0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b600c92909255600d55600e805461ffff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff909216919091179055565b610c2e338261231d565b610cba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109a0565b610b5a838383612489565b610ccf3382610f66565b50565b60065473ffffffffffffffffffffffffffffffffffffffff163314610d53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b601180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff9390931692909217909155601055565b60065473ffffffffffffffffffffffffffffffffffffffff163314610e0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b80471015610e77576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c696420616d7400000000000000000000000000000000000000000060448201526064016109a0565b604051600090339083908381818185875af1925050503d8060008114610eb9576040519150601f19603f3d011682016040523d82523d6000602084013e610ebe565b606091505b5050905080610f29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5472616e73206661696c6564000000000000000000000000000000000000000060448201526064016109a0565b60408051338152602081018490527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b60026007541415610fd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109a0565b6002600755600954600090610ff49061ffff620100008204811691166136c6565b61ffff16905060008111611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4d696e74206f766572000000000000000000000000000000000000000000000060448201526064016109a0565b60018261ffff1610156110d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f5a65726f206d696e74000000000000000000000000000000000000000000000060448201526064016109a0565b808261ffff161115611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f7420656e6f7567680000000000000000000000000000000000000000000060448201526064016109a0565b3361116160065473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614156111ea5734156111e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4f776e657220706169640000000000000000000000000000000000000000000060448201526064016109a0565b611343565b60105442106112e15760115461ffff9081169083161115611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f45786365656473206d617800000000000000000000000000000000000000000060448201526064016109a0565b34600b548361ffff1661127a9190613689565b146111e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f496e76616c69642076616c75650000000000000000000000000000000000000060448201526064016109a0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4e6f206d696e740000000000000000000000000000000000000000000000000060448201526064016109a0565b60005b8261ffff168161ffff1610156113c0576001600960028282829054906101000a900461ffff166113769190613640565b92506101000a81548161ffff021916908361ffff1602179055506113ae84600960029054906101000a900461ffff1661ffff166126f0565b806113b881613780565b915050611346565b505060016007555050565b610b5a83838360405180602001604052806000815250611f12565b336113f082611503565b73ffffffffffffffffffffffffffffffffffffffff161461146d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f596f7520646f206e6f74206f776e207468697320746f6b656e0000000000000060448201526064016109a0565b610ccf8161270a565b60065473ffffffffffffffffffffffffffffffffffffffff1633146114f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b610b5a60088383612fc4565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061085b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109a0565b6040517fd2b0737b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015261ffff80841660248301528216604482015260009073a02c6f87d7ac55637e0feb7455f2e1ef3e1359c09063d2b0737b9060640160206040518083038186803b15801561164357600080fd5b505af4158015611657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167b919061336e565b949350505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611704576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b6009805473ffffffffffffffffffffffffffffffffffffffff909216640100000000027fffffffffffffffff0000000000000000000000000000000000000000ffffffff909216919091179055565b600073ffffffffffffffffffffffffffffffffffffffff82166117f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109a0565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff1633146118a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b6118ac60006127d7565b565b6002600754141561191b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109a0565b600260075560095460009061193c9061ffff620100008204811691166136c6565b61ffff169050600081116119ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4d696e74206f766572000000000000000000000000000000000000000000000060448201526064016109a0565b60018561ffff161015611a1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f5a65726f206d696e74000000000000000000000000000000000000000000000060448201526064016109a0565b808561ffff161115611a89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f7420656e6f7567680000000000000000000000000000000000000000000060448201526064016109a0565b336000908152600a602052604090205461ffff808616911610611b08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f6e636520757365640000000000000000000000000000000000000000000060448201526064016109a0565b600c544210801590611b1c5750600d544211155b611b82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4e6f206d696e740000000000000000000000000000000000000000000000000060448201526064016109a0565b6009546040517fcffc18eb00000000000000000000000000000000000000000000000000000000815273a02c6f87d7ac55637e0feb7455f2e1ef3e1359c09163cffc18eb91611bfc91640100000000900473ffffffffffffffffffffffffffffffffffffffff169033908a908a908a908a90600401613559565b60206040518083038186803b158015611c1457600080fd5b505af4158015611c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4c9190613351565b611cb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c69642073696700000000000000000000000000000000000000000060448201526064016109a0565b348561ffff16600b54611cc59190613689565b14611d2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4261642076616c7565000000000000000000000000000000000000000000000060448201526064016109a0565b600e5461ffff620100008204811691611d4791889116613640565b61ffff161115611db3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4c696d697420657863656564656400000000000000000000000000000000000060448201526064016109a0565b336000908152600f602052604081208054879290611dd690849061ffff16613640565b92506101000a81548161ffff021916908361ffff16021790555084600c60020160008282829054906101000a900461ffff16611e129190613640565b82546101009290920a61ffff818102199093169183160217909155336000908152600a6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169288169290921790915590505b8561ffff168161ffff161015611ee7576001600960028282829054906101000a900461ffff16611e9d9190613640565b92506101000a81548161ffff021916908361ffff160217905550611ed533600960029054906101000a900461ffff1661ffff166126f0565b80611edf81613780565b915050611e6d565b5050600160075550505050565b6060600180546108709061372c565b611f0e33838361284e565b5050565b611f1c338361231d565b611fa8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109a0565b611fb48484848461297c565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff1661206e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016109a0565b6000612078612a1f565b9050600081511161209857604051806020016040528060008152506120c3565b806120a284612a2e565b6040516020016120b392919061352a565b6040516020818303038152906040525b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff16331461214b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b73ffffffffffffffffffffffffffffffffffffffff81166121ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109a0565b610ccf816127d7565b60065473ffffffffffffffffffffffffffffffffffffffff163314612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a0565b600b55565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906122d782611503565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166123ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109a0565b60006123d983611503565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061244857508373ffffffffffffffffffffffffffffffffffffffff16612430846108f3565b73ffffffffffffffffffffffffffffffffffffffff16145b8061167b575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff1661167b565b8273ffffffffffffffffffffffffffffffffffffffff166124a982611503565b73ffffffffffffffffffffffffffffffffffffffff161461254c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109a0565b73ffffffffffffffffffffffffffffffffffffffff82166125ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109a0565b6125f960008261227d565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812080546001929061262f9084906136e9565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061266a90849061365d565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611f0e828260405180602001604052806000815250612b60565b600061271582611503565b905061272260008361227d565b73ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604081208054600192906127589084906136e9565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a0565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612987848484612489565b61299384848484612c03565b611fb4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a0565b6060600880546108709061372c565b606081612a6e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612a985780612a82816137a2565b9150612a919050600a83613675565b9150612a72565b60008167ffffffffffffffff811115612ab357612ab361387c565b6040519080825280601f01601f191660200182016040528015612add576020820181803683370190505b5090505b841561167b57612af26001836136e9565b9150612aff600a866137db565b612b0a90603061365d565b60f81b818381518110612b1f57612b1f61384d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612b59600a86613675565b9450612ae1565b612b6a8383612e02565b612b776000848484612c03565b610b5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a0565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612df7576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612c7a9033908990889088906004016135e4565b602060405180830381600087803b158015612c9457600080fd5b505af1925050508015612ce2575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612cdf918101906133a4565b60015b612dac573d808015612d10576040519150601f19603f3d011682016040523d82523d6000602084013e612d15565b606091505b508051612da4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a0565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061167b565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8216612e7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109a0565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612f0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a0565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612f4190849061365d565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612fd09061372c565b90600052602060002090601f016020900481019282612ff25760008555613056565b82601f10613029578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613056565b82800160010185558215613056579182015b8281111561305657823582559160200191906001019061303b565b50613062929150613066565b5090565b5b808211156130625760008155600101613067565b803573ffffffffffffffffffffffffffffffffffffffff8116811461309f57600080fd5b919050565b60008083601f8401126130b657600080fd5b50813567ffffffffffffffff8111156130ce57600080fd5b6020830191508360208285010111156130e657600080fd5b9250929050565b803561ffff8116811461309f57600080fd5b60006020828403121561311157600080fd5b6120c38261307b565b6000806040838503121561312d57600080fd5b6131368361307b565b91506131446020840161307b565b90509250929050565b60008060006060848603121561316257600080fd5b61316b8461307b565b92506131796020850161307b565b9150604084013590509250925092565b6000806000806080858703121561319f57600080fd5b6131a88561307b565b93506131b66020860161307b565b925060408501359150606085013567ffffffffffffffff808211156131da57600080fd5b818701915087601f8301126131ee57600080fd5b8135818111156132005761320061387c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156132465761324661387c565b816040528281528a602084870101111561325f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561329657600080fd5b61329f8361307b565b915060208301356132af816138ab565b809150509250929050565b600080604083850312156132cd57600080fd5b6132d68361307b565b9150613144602084016130ed565b6000806000606084860312156132f957600080fd5b6133028461307b565b9250613310602085016130ed565b915061331e604085016130ed565b90509250925092565b6000806040838503121561333a57600080fd5b6133438361307b565b946020939093013593505050565b60006020828403121561336357600080fd5b81516120c3816138ab565b60006020828403121561338057600080fd5b5051919050565b60006020828403121561339957600080fd5b81356120c3816138b9565b6000602082840312156133b657600080fd5b81516120c3816138b9565b600080602083850312156133d457600080fd5b823567ffffffffffffffff8111156133eb57600080fd5b6133f7858286016130a4565b90969095509350505050565b60006020828403121561341557600080fd5b6120c3826130ed565b6000806000806060858703121561343457600080fd5b61343d856130ed565b935061344b602086016130ed565b9250604085013567ffffffffffffffff81111561346757600080fd5b613473878288016130a4565b95989497509550505050565b6000806040838503121561349257600080fd5b613343836130ed565b6000602082840312156134ad57600080fd5b5035919050565b6000806000606084860312156134c957600080fd5b833592506020840135915061331e604085016130ed565b600081518084526134f8816020860160208601613700565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000835161353c818460208801613700565b835190830190613550818360208801613700565b01949350505050565b73ffffffffffffffffffffffffffffffffffffffff87811682528616602082015261ffff85811660408301528416606082015260a06080820181905281018290526000828460c0840137600060c0848401015260c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501168301019050979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261362360808301846134e0565b9695505050505050565b6020815260006120c360208301846134e0565b600061ffff808316818516808303821115613550576135506137ef565b60008219821115613670576136706137ef565b500190565b6000826136845761368461381e565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136c1576136c16137ef565b500290565b600061ffff838116908316818110156136e1576136e16137ef565b039392505050565b6000828210156136fb576136fb6137ef565b500390565b60005b8381101561371b578181015183820152602001613703565b83811115611fb45750506000910152565b600181811c9082168061374057607f821691505b6020821081141561377a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600061ffff80831681811415613798576137986137ef565b6001019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137d4576137d46137ef565b5060010190565b6000826137ea576137ea61381e565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b8015158114610ccf57600080fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ccf57600080fdfea264697066735822122052b47664deda25f2542dff5846392fcb77331e0f019d0bdba1073d686f694ba764736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000d529ae9e86000000000000000000000000000093a8da89d5c86d14139b8a5e55e8d67384c060870000000000000000000000000000000000000000000000000000000061e9e9700000000000000000000000000000000000000000000000000000000061ea92300000000000000000000000000000000000000000000000000000000061eb3af0
-----Decoded View---------------
Arg [0] : maxSupply (uint16): 3000
Arg [1] : maxPresale (uint16): 1500
Arg [2] : publicTransactionMax (uint16): 4
Arg [3] : price (uint256): 60000000000000000
Arg [4] : signer (address): 0x93a8da89d5C86D14139B8A5e55E8D67384c06087
Arg [5] : presaleMintStart (uint256): 1642719600
Arg [6] : presaleMintEnd (uint256): 1642762800
Arg [7] : publicMintStart (uint256): 1642806000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [1] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 00000000000000000000000000000000000000000000000000d529ae9e860000
Arg [4] : 00000000000000000000000093a8da89d5c86d14139b8a5e55e8d67384c06087
Arg [5] : 0000000000000000000000000000000000000000000000000000000061e9e970
Arg [6] : 0000000000000000000000000000000000000000000000000000000061ea9230
Arg [7] : 0000000000000000000000000000000000000000000000000000000061eb3af0
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.