Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 225 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
FCFS Whitelist S... | 19134227 | 418 days ago | IN | 0 ETH | 0.00254894 | ||||
FCFS Whitelist S... | 19133431 | 418 days ago | IN | 0 ETH | 0.00163406 | ||||
FCFS Whitelist S... | 19132223 | 418 days ago | IN | 0 ETH | 0.00161696 | ||||
FCFS Whitelist S... | 19130738 | 419 days ago | IN | 0 ETH | 0.00255589 | ||||
FCFS Whitelist S... | 19129272 | 419 days ago | IN | 0 ETH | 0.00265381 | ||||
FCFS Whitelist S... | 19128897 | 419 days ago | IN | 0 ETH | 0.00225184 | ||||
FCFS Whitelist S... | 19127857 | 419 days ago | IN | 0 ETH | 0.00322035 | ||||
FCFS Whitelist S... | 19127668 | 419 days ago | IN | 0 ETH | 0.00413448 | ||||
FCFS Whitelist S... | 19127633 | 419 days ago | IN | 0 ETH | 0.00295125 | ||||
FCFS Whitelist S... | 19127594 | 419 days ago | IN | 0 ETH | 0.00274297 | ||||
FCFS Whitelist S... | 19127562 | 419 days ago | IN | 0 ETH | 0.00365579 | ||||
FCFS Whitelist S... | 19127508 | 419 days ago | IN | 0 ETH | 0.00325129 | ||||
FCFS Whitelist S... | 19127358 | 419 days ago | IN | 0 ETH | 0.00298313 | ||||
FCFS Whitelist S... | 19127333 | 419 days ago | IN | 0 ETH | 0.00380888 | ||||
FCFS Whitelist S... | 19127302 | 419 days ago | IN | 0 ETH | 0.00415986 | ||||
FCFS Whitelist S... | 19127284 | 419 days ago | IN | 0 ETH | 0.00324865 | ||||
FCFS Whitelist S... | 19127277 | 419 days ago | IN | 0 ETH | 0.00432366 | ||||
FCFS Whitelist S... | 19127272 | 419 days ago | IN | 0 ETH | 0.00398462 | ||||
FCFS Whitelist S... | 19127267 | 419 days ago | IN | 0 ETH | 0.00403842 | ||||
FCFS Whitelist S... | 19127262 | 419 days ago | IN | 0 ETH | 0.0035076 | ||||
FCFS Whitelist S... | 19127254 | 419 days ago | IN | 0 ETH | 0.00319128 | ||||
FCFS Whitelist S... | 19127244 | 419 days ago | IN | 0 ETH | 0.00355201 | ||||
FCFS Whitelist S... | 19127243 | 419 days ago | IN | 0 ETH | 0.00379853 | ||||
FCFS Whitelist S... | 19127239 | 419 days ago | IN | 0 ETH | 0.00355019 | ||||
FCFS Whitelist S... | 19127237 | 419 days ago | IN | 0 ETH | 0.00295123 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
VINEIDO
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract VINEIDO is Ownable { bytes32 public guaranteedWhitelistRoot; bytes32 public FCFSWhitelistRoot; uint256 public guaranteedWhitelistSaleTime; uint256 public FCFSWhitelistSaleTime; uint256 public totalWhitelistCap = 200_000 * 1e6; uint256 public totalGuaranteedWhitelistCap = 100_000 * 1e6; uint256 public maxWhitelistAmount = 1_000 * 1e6; uint256 public totalWhitelistSaleAmount; uint256 public totalGuaranteedWhitelistSaleAmount; IERC20 public USDC = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48); mapping(address => uint256) public user2GuaranteedWhitelistSaleAmount; mapping(address => uint256) public user2FCFSWhitelistSaleAmount; event ParticipateInGuaranteedWhitelistSale(address indexed user, uint256 amount, uint256 timestamp); event ParticipateInFCFSWhitelistSale(address indexed user, uint256 amount, uint256 timestamp); constructor( uint256 _guaranteedWhitelistSaleTime, uint256 _FCFSWhitelistSaleTime ) Ownable(msg.sender) { guaranteedWhitelistSaleTime = _guaranteedWhitelistSaleTime; FCFSWhitelistSaleTime = _FCFSWhitelistSaleTime; } function setMerkleRoot( bytes32 _guaranteedWhitelistRoot, bytes32 _FCFSWhitelistRoot ) external onlyOwner { guaranteedWhitelistRoot = _guaranteedWhitelistRoot; FCFSWhitelistRoot = _FCFSWhitelistRoot; } function guaranteedWhitelistSale(bytes32[] memory proof, uint256 amount) external { require( block.timestamp >= guaranteedWhitelistSaleTime && block.timestamp < guaranteedWhitelistSaleTime + 1 days, "The time does not match" ); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(proof, guaranteedWhitelistRoot, leaf), "Invalid proof" ); require( user2GuaranteedWhitelistSaleAmount[msg.sender] + amount <= maxWhitelistAmount, "Insufficient amount available for purchase" ); require( totalGuaranteedWhitelistSaleAmount + amount <= totalGuaranteedWhitelistCap, "Insufficient amount available for purchase" ); bool success = USDC.transferFrom(msg.sender, address(this), amount); require(success, "Transfer failed"); user2GuaranteedWhitelistSaleAmount[msg.sender] += amount; totalGuaranteedWhitelistSaleAmount += amount; totalWhitelistSaleAmount += amount; emit ParticipateInGuaranteedWhitelistSale(msg.sender, amount, block.timestamp); } function FCFSWhitelistSale(bytes32[] memory proof, uint256 amount) external { require( block.timestamp >= FCFSWhitelistSaleTime && block.timestamp < FCFSWhitelistSaleTime + 1 days, "The time does not match" ); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(proof, FCFSWhitelistRoot, leaf), "Invalid proof" ); require( user2FCFSWhitelistSaleAmount[msg.sender] + amount <= maxWhitelistAmount, "Insufficient amount available for purchase" ); require( totalWhitelistSaleAmount + amount <= totalWhitelistCap, "Insufficient amount available for purchase" ); bool success = USDC.transferFrom(msg.sender, address(this), amount); require(success, "Transfer failed"); user2FCFSWhitelistSaleAmount[msg.sender] += amount; totalWhitelistSaleAmount += amount; emit ParticipateInFCFSWhitelistSale(msg.sender, amount, block.timestamp); } function withdraw() external onlyOwner { require( block.timestamp >= FCFSWhitelistSaleTime + 1 days, "The time does not match" ); uint256 amount = USDC.balanceOf(address(this)); USDC.transfer(owner(), amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the Merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates Merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** *@dev The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"_guaranteedWhitelistSaleTime","type":"uint256"},{"internalType":"uint256","name":"_FCFSWhitelistSaleTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ParticipateInFCFSWhitelistSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ParticipateInGuaranteedWhitelistSale","type":"event"},{"inputs":[],"name":"FCFSWhitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FCFSWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"FCFSWhitelistSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guaranteedWhitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"guaranteedWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"guaranteedWhitelistSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelistAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_guaranteedWhitelistRoot","type":"bytes32"},{"internalType":"bytes32","name":"_FCFSWhitelistRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalGuaranteedWhitelistCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalGuaranteedWhitelistSaleAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWhitelistCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWhitelistSaleAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"user2FCFSWhitelistSaleAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"user2GuaranteedWhitelistSaleAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052642e90edd00060055564174876e800600655633b9aca00600755600a80546001600160a01b03191673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4817905534801561004f575f80fd5b50604051610d2a380380610d2a83398101604081905261006e916100fa565b338061009357604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61009c816100ab565b5060039190915560045561011c565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f806040838503121561010b575f80fd5b505080516020909101519092909150565b610c01806101295f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c806389a30271116100a9578063d318199b1161006e578063d318199b1461021a578063e03c04c614610223578063ef57b3a014610236578063f2fde38b1461023f578063f79ddadf14610252575f80fd5b806389a30271146101ba5780638da5cb5b146101e55780638e38c459146101f5578063b249c821146101fe578063b2a41ed714610207575f80fd5b80633ccfd60b116100ef5780633ccfd60b14610183578063514f1b031461018d5780636afce2a814610196578063715018a61461019f57806375edcbe0146101a7575f80fd5b806319b968a414610120578063252f7f9614610152578063343365f614610171578063385b88e61461017a575b5f80fd5b61013f61012e3660046109c8565b600c6020525f908152604090205481565b6040519081526020015b60405180910390f35b61013f6101603660046109c8565b600b6020525f908152604090205481565b61013f60075481565b61013f60025481565b61018b61025b565b005b61013f60015481565b61013f60055481565b61018b61039c565b61018b6101b53660046109ee565b6103af565b600a546101cd906001600160a01b031681565b6040516001600160a01b039091168152602001610149565b5f546001600160a01b03166101cd565b61013f60035481565b61013f60045481565b61018b610215366004610a22565b6103c2565b61013f60085481565b61018b610231366004610a22565b610636565b61013f60065481565b61018b61024d3660046109c8565b610888565b61013f60095481565b6102636108c5565b6004546102739062015180610ae1565b42101561029b5760405162461bcd60e51b815260040161029290610b00565b60405180910390fd5b600a546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa1580156102e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103059190610b37565b600a549091506001600160a01b031663a9059cbb61032a5f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610374573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103989190610b4e565b5050565b6103a46108c5565b6103ad5f6108f1565b565b6103b76108c5565b600191909155600255565b60035442101580156103e257506003546103df9062015180610ae1565b42105b6103fe5760405162461bcd60e51b815260040161029290610b00565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506104438360015483610940565b61047f5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610292565b600754335f908152600b602052604090205461049c908490610ae1565b11156104ba5760405162461bcd60e51b815260040161029290610b6d565b600654826009546104cb9190610ae1565b11156104e95760405162461bcd60e51b815260040161029290610b6d565b600a546040516323b872dd60e01b8152336004820152306024820152604481018490525f916001600160a01b0316906323b872dd906064016020604051808303815f875af115801561053d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105619190610b4e565b9050806105a25760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610292565b335f908152600b6020526040812080548592906105c0908490610ae1565b925050819055508260095f8282546105d89190610ae1565b925050819055508260085f8282546105f09190610ae1565b90915550506040805184815242602082015233917f24c088639372e627b52f7276f286536fb172e6fd5c7bbec6b822a531815538e791015b60405180910390a250505050565b600454421015801561065657506004546106539062015180610ae1565b42105b6106725760405162461bcd60e51b815260040161029290610b00565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506106b78360025483610940565b6106f35760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610292565b600754335f908152600c6020526040902054610710908490610ae1565b111561072e5760405162461bcd60e51b815260040161029290610b6d565b6005548260085461073f9190610ae1565b111561075d5760405162461bcd60e51b815260040161029290610b6d565b600a546040516323b872dd60e01b8152336004820152306024820152604481018490525f916001600160a01b0316906323b872dd906064016020604051808303815f875af11580156107b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d59190610b4e565b9050806108165760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610292565b335f908152600c602052604081208054859290610834908490610ae1565b925050819055508260085f82825461084c9190610ae1565b90915550506040805184815242602082015233917f920bf491f10d0e5026aa5811b276b8dccd82b5a1db69e24e28b044082d9cffc09101610628565b6108906108c5565b6001600160a01b0381166108b957604051631e4fbdf760e01b81525f6004820152602401610292565b6108c2816108f1565b50565b5f546001600160a01b031633146103ad5760405163118cdaa760e01b8152336004820152602401610292565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f8261094c8584610955565b14949350505050565b5f81815b845181101561098f576109858286838151811061097857610978610bb7565b6020026020010151610999565b9150600101610959565b5090505b92915050565b5f8183106109b3575f8281526020849052604090206109c1565b5f8381526020839052604090205b9392505050565b5f602082840312156109d8575f80fd5b81356001600160a01b03811681146109c1575f80fd5b5f80604083850312156109ff575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f8060408385031215610a33575f80fd5b823567ffffffffffffffff80821115610a4a575f80fd5b818501915085601f830112610a5d575f80fd5b8135602082821115610a7157610a71610a0e565b8160051b604051601f19603f83011681018181108682111715610a9657610a96610a0e565b604052928352818301935084810182019289841115610ab3575f80fd5b948201945b83861015610ad157853585529482019493820193610ab8565b9997909101359750505050505050565b8082018082111561099357634e487b7160e01b5f52601160045260245ffd5b60208082526017908201527f5468652074696d6520646f6573206e6f74206d61746368000000000000000000604082015260600190565b5f60208284031215610b47575f80fd5b5051919050565b5f60208284031215610b5e575f80fd5b815180151581146109c1575f80fd5b6020808252602a908201527f496e73756666696369656e7420616d6f756e7420617661696c61626c6520666f6040820152697220707572636861736560b01b606082015260800190565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220fc9843f09095a716adc3b7de880783b09052fbc11a56b204f6ff6822bd75608564736f6c634300081600330000000000000000000000000000000000000000000000000000000065b8e4c00000000000000000000000000000000000000000000000000000000065ba6070
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061011c575f3560e01c806389a30271116100a9578063d318199b1161006e578063d318199b1461021a578063e03c04c614610223578063ef57b3a014610236578063f2fde38b1461023f578063f79ddadf14610252575f80fd5b806389a30271146101ba5780638da5cb5b146101e55780638e38c459146101f5578063b249c821146101fe578063b2a41ed714610207575f80fd5b80633ccfd60b116100ef5780633ccfd60b14610183578063514f1b031461018d5780636afce2a814610196578063715018a61461019f57806375edcbe0146101a7575f80fd5b806319b968a414610120578063252f7f9614610152578063343365f614610171578063385b88e61461017a575b5f80fd5b61013f61012e3660046109c8565b600c6020525f908152604090205481565b6040519081526020015b60405180910390f35b61013f6101603660046109c8565b600b6020525f908152604090205481565b61013f60075481565b61013f60025481565b61018b61025b565b005b61013f60015481565b61013f60055481565b61018b61039c565b61018b6101b53660046109ee565b6103af565b600a546101cd906001600160a01b031681565b6040516001600160a01b039091168152602001610149565b5f546001600160a01b03166101cd565b61013f60035481565b61013f60045481565b61018b610215366004610a22565b6103c2565b61013f60085481565b61018b610231366004610a22565b610636565b61013f60065481565b61018b61024d3660046109c8565b610888565b61013f60095481565b6102636108c5565b6004546102739062015180610ae1565b42101561029b5760405162461bcd60e51b815260040161029290610b00565b60405180910390fd5b600a546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa1580156102e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103059190610b37565b600a549091506001600160a01b031663a9059cbb61032a5f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610374573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103989190610b4e565b5050565b6103a46108c5565b6103ad5f6108f1565b565b6103b76108c5565b600191909155600255565b60035442101580156103e257506003546103df9062015180610ae1565b42105b6103fe5760405162461bcd60e51b815260040161029290610b00565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506104438360015483610940565b61047f5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610292565b600754335f908152600b602052604090205461049c908490610ae1565b11156104ba5760405162461bcd60e51b815260040161029290610b6d565b600654826009546104cb9190610ae1565b11156104e95760405162461bcd60e51b815260040161029290610b6d565b600a546040516323b872dd60e01b8152336004820152306024820152604481018490525f916001600160a01b0316906323b872dd906064016020604051808303815f875af115801561053d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105619190610b4e565b9050806105a25760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610292565b335f908152600b6020526040812080548592906105c0908490610ae1565b925050819055508260095f8282546105d89190610ae1565b925050819055508260085f8282546105f09190610ae1565b90915550506040805184815242602082015233917f24c088639372e627b52f7276f286536fb172e6fd5c7bbec6b822a531815538e791015b60405180910390a250505050565b600454421015801561065657506004546106539062015180610ae1565b42105b6106725760405162461bcd60e51b815260040161029290610b00565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506106b78360025483610940565b6106f35760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610292565b600754335f908152600c6020526040902054610710908490610ae1565b111561072e5760405162461bcd60e51b815260040161029290610b6d565b6005548260085461073f9190610ae1565b111561075d5760405162461bcd60e51b815260040161029290610b6d565b600a546040516323b872dd60e01b8152336004820152306024820152604481018490525f916001600160a01b0316906323b872dd906064016020604051808303815f875af11580156107b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d59190610b4e565b9050806108165760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610292565b335f908152600c602052604081208054859290610834908490610ae1565b925050819055508260085f82825461084c9190610ae1565b90915550506040805184815242602082015233917f920bf491f10d0e5026aa5811b276b8dccd82b5a1db69e24e28b044082d9cffc09101610628565b6108906108c5565b6001600160a01b0381166108b957604051631e4fbdf760e01b81525f6004820152602401610292565b6108c2816108f1565b50565b5f546001600160a01b031633146103ad5760405163118cdaa760e01b8152336004820152602401610292565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f8261094c8584610955565b14949350505050565b5f81815b845181101561098f576109858286838151811061097857610978610bb7565b6020026020010151610999565b9150600101610959565b5090505b92915050565b5f8183106109b3575f8281526020849052604090206109c1565b5f8381526020839052604090205b9392505050565b5f602082840312156109d8575f80fd5b81356001600160a01b03811681146109c1575f80fd5b5f80604083850312156109ff575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f8060408385031215610a33575f80fd5b823567ffffffffffffffff80821115610a4a575f80fd5b818501915085601f830112610a5d575f80fd5b8135602082821115610a7157610a71610a0e565b8160051b604051601f19603f83011681018181108682111715610a9657610a96610a0e565b604052928352818301935084810182019289841115610ab3575f80fd5b948201945b83861015610ad157853585529482019493820193610ab8565b9997909101359750505050505050565b8082018082111561099357634e487b7160e01b5f52601160045260245ffd5b60208082526017908201527f5468652074696d6520646f6573206e6f74206d61746368000000000000000000604082015260600190565b5f60208284031215610b47575f80fd5b5051919050565b5f60208284031215610b5e575f80fd5b815180151581146109c1575f80fd5b6020808252602a908201527f496e73756666696369656e7420616d6f756e7420617661696c61626c6520666f6040820152697220707572636861736560b01b606082015260800190565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220fc9843f09095a716adc3b7de880783b09052fbc11a56b204f6ff6822bd75608564736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000065b8e4c00000000000000000000000000000000000000000000000000000000065ba6070
-----Decoded View---------------
Arg [0] : _guaranteedWhitelistSaleTime (uint256): 1706616000
Arg [1] : _FCFSWhitelistSaleTime (uint256): 1706713200
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000065b8e4c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000065ba6070
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.