Overview
ETH Balance
0.56 ETH
Eth Value
$1,854.96 (@ $3,312.44/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 340 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Sale | 15868793 | 637 days ago | IN | 0.08 ETH | 0.00448875 | ||||
Sale | 15866582 | 637 days ago | IN | 0.08 ETH | 0.00097332 | ||||
Sale | 15853153 | 639 days ago | IN | 0.08 ETH | 0.00151021 | ||||
Sale | 15803148 | 646 days ago | IN | 0.08 ETH | 0.00171054 | ||||
Sale | 15761473 | 652 days ago | IN | 0.08 ETH | 0.00183349 | ||||
Sale | 15731045 | 656 days ago | IN | 0.08 ETH | 0.00171757 | ||||
Sale | 15701754 | 660 days ago | IN | 0.08 ETH | 0.00070335 | ||||
Withdraw | 15451280 | 697 days ago | IN | 0 ETH | 0.00038846 | ||||
Sale | 15433603 | 700 days ago | IN | 0.08 ETH | 0.00152878 | ||||
Sale | 15327189 | 717 days ago | IN | 0.08 ETH | 0.00164066 | ||||
Withdraw | 15256007 | 728 days ago | IN | 0 ETH | 0.00025992 | ||||
Sale | 15250639 | 729 days ago | IN | 0.08 ETH | 0.00069413 | ||||
Sale | 15250592 | 729 days ago | IN | 0.08 ETH | 0.00118363 | ||||
Sale | 15199470 | 737 days ago | IN | 0.08 ETH | 0.01083693 | ||||
Sale | 15199470 | 737 days ago | IN | 0.08 ETH | 0.01200335 | ||||
Sale | 15199470 | 737 days ago | IN | 0.08 ETH | 0.01311848 | ||||
Sale | 15199470 | 737 days ago | IN | 0.08 ETH | 0.00919358 | ||||
Sale | 15128290 | 748 days ago | IN | 0.08 ETH | 0.00197039 | ||||
Sale | 15095075 | 753 days ago | IN | 0.08 ETH | 0.00238806 | ||||
Sale | 15066181 | 758 days ago | IN | 0.08 ETH | 0.00096094 | ||||
Sale | 15066144 | 758 days ago | IN | 0.08 ETH | 0.00164788 | ||||
Sale | 15064307 | 758 days ago | IN | 0.08 ETH | 0.00343466 | ||||
Sale | 15061216 | 759 days ago | IN | 0.08 ETH | 0.00113797 | ||||
Sale | 15056624 | 759 days ago | IN | 0.08 ETH | 0.00173119 | ||||
Withdraw | 15053690 | 760 days ago | IN | 0 ETH | 0.00087119 |
Loading...
Loading
Contract Name:
ChocoMintWhitelist
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../../interfaces/IChocoMintERC721.sol"; contract ChocoMintWhitelist is Ownable { using MerkleProof for bytes32[]; bytes32 public saleMerkleRoot; IChocoMintERC721 public chocomintERC721; uint256 public supplied; uint256 public mintPrice; uint256 public supplyLimit; uint256 public presaleStartTimestamp; uint256 public publicSaleStartTimestamp; address private withdrawer; constructor( address _chocomintERC721Address, uint256 _mintPrice, uint256 _supplyLimit, uint256 _saleStartTimestamp, uint256 _publicSaleStartTimestamp, address _withdrawer ) { chocomintERC721 = IChocoMintERC721(_chocomintERC721Address); mintPrice = _mintPrice; supplyLimit = _supplyLimit; presaleStartTimestamp = _saleStartTimestamp; publicSaleStartTimestamp = _publicSaleStartTimestamp; withdrawer = _withdrawer; } function setSaleMerkleRoot(bytes32 _merkleRoot) public onlyOwner { saleMerkleRoot = _merkleRoot; } function sale(bytes32[] calldata _proof, uint256 tokenId) public payable { require(block.timestamp >= presaleStartTimestamp, "ChocoMintWhitelist: sale has not started"); require(msg.value == mintPrice, "ChocoMintWhitelist: msg value must be same as mint price"); require(supplied < supplyLimit, "ChocoMintWhitelist: sale has already ended"); require(tokenId >= 1 && tokenId <= supplyLimit, "ChocoMintWhitelist: invalid tokenId"); if (block.timestamp < publicSaleStartTimestamp) { require(reviewSaleProof(msg.sender, _proof), "ChocoMintWhitelist:Proof does not match data"); } SecurityLib.SecurityData memory validSecurityData = SecurityLib.SecurityData(0, 9999999999, 0); MintERC721Lib.MintERC721Data memory mintERC721Data = MintERC721Lib.MintERC721Data( validSecurityData, address(this), msg.sender, tokenId, "" ); bytes32 root_ = MintERC721Lib.hashStruct(mintERC721Data); SignatureLib.SignatureData memory signatureData = SignatureLib.SignatureData(root_, new bytes32[](0), ""); chocomintERC721.mint(mintERC721Data, signatureData); supplied++; } function setWithdrawer(address _withdrawer) public onlyOwner { withdrawer = _withdrawer; } function withdraw() public { require(msg.sender == withdrawer, "ChocoMintWhitelist: only withdrawer can withdraw"); payable(msg.sender).transfer(address(this).balance); } function reviewSaleProof(address _sender, bytes32[] calldata _proof) public view returns (bool) { return MerkleProof.verify(_proof, saleMerkleRoot, keccak256(abi.encodePacked(_sender))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/MintERC721Lib.sol"; import "../utils/SignatureLib.sol"; interface IChocoMintERC721 { event Minted(bytes32 indexed mintERC721Hash); function mint(MintERC721Lib.MintERC721Data memory mintERC721Data, SignatureLib.SignatureData memory signatureData) external; function isMinted(uint256 tokenId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./SecurityLib.sol"; import "./SignatureLib.sol"; library MintERC721Lib { struct MintERC721Data { SecurityLib.SecurityData securityData; address minter; address to; uint256 tokenId; bytes data; } bytes32 private constant _MINT_ERC721_TYPEHASH = keccak256( bytes( "MintERC721Data(SecurityData securityData,address minter,address to,uint256 tokenId,bytes data)SecurityData(uint256 validFrom,uint256 validTo,uint256 salt)" ) ); function hashStruct(MintERC721Data memory mintERC721Data) internal pure returns (bytes32) { return keccak256( abi.encode( _MINT_ERC721_TYPEHASH, SecurityLib.hashStruct(mintERC721Data.securityData), mintERC721Data.minter, mintERC721Data.to, mintERC721Data.tokenId, keccak256(mintERC721Data.data) ) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library SignatureLib { struct SignatureData { bytes32 root; bytes32[] proof; bytes signature; } bytes32 private constant _SIGNATURE_DATA_TYPEHASH = keccak256(bytes("SignatureData(bytes32 root)")); function hashStruct(SignatureData memory signatureData) internal pure returns (bytes32) { return keccak256(abi.encode(_SIGNATURE_DATA_TYPEHASH, signatureData.root)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library SecurityLib { struct SecurityData { uint256 validFrom; uint256 validTo; uint256 salt; } bytes32 private constant _SECURITY_TYPEHASH = keccak256(abi.encodePacked("SecurityData(uint256 validFrom,uint256 validTo,uint256 salt)")); function validate(SecurityData memory securityData) internal view returns (bool, string memory) { if (securityData.validFrom > block.timestamp) { return (false, "SecurityLib: valid from verification failed"); } if (securityData.validTo < block.timestamp) { return (false, "SecurityLib: valid to verification failed"); } return (true, ""); } function hashStruct(SecurityData memory securityData) internal pure returns (bytes32) { return keccak256(abi.encode(_SECURITY_TYPEHASH, securityData.validFrom, securityData.validTo, securityData.salt)); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_chocomintERC721Address","type":"address"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_supplyLimit","type":"uint256"},{"internalType":"uint256","name":"_saleStartTimestamp","type":"uint256"},{"internalType":"uint256","name":"_publicSaleStartTimestamp","type":"uint256"},{"internalType":"address","name":"_withdrawer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"chocomintERC721","outputs":[{"internalType":"contract IChocoMintERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","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":"presaleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"reviewSaleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"sale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setSaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawer","type":"address"}],"name":"setWithdrawer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplied","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyLimit","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516110f33803806110f383398101604081905261002f916100f5565b61003f61003a610085565b610089565b600280546001600160a01b039788166001600160a01b0319918216179091556004959095556005939093556006919091556007556008805491909316911617905561014c565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100f057600080fd5b919050565b60008060008060008060c0878903121561010d578182fd5b610116876100d9565b95506020870151945060408701519350606087015192506080870151915061014060a088016100d9565b90509295509295509295565b610f988061015b6000396000f3fe6080604052600436106100e85760003560e01c8063715018a61161008a578063d4a417e611610059578063d4a417e61461021a578063d7822c991461022f578063f2fde38b14610244578063f91eb63014610264576100e8565b8063715018a6146101a15780638da5cb5b146101b65780639cf0772d146101d8578063b926e624146101ed576100e8565b80633ccfd60b116100c65780633ccfd60b1461014d5780634ea37fec146101625780636817c76c146101775780636e4228311461018c576100e8565b80630d174c24146100ed57806319d1997a1461010f578063229dd4601461013a575b600080fd5b3480156100f957600080fd5b5061010d610108366004610952565b610284565b005b34801561011b57600080fd5b506101246102ee565b6040516101319190610b7a565b60405180910390f35b61010d6101483660046109c4565b6102f4565b34801561015957600080fd5b5061010d61051a565b34801561016e57600080fd5b50610124610573565b34801561018357600080fd5b50610124610579565b34801561019857600080fd5b5061012461057f565b3480156101ad57600080fd5b5061010d610585565b3480156101c257600080fd5b506101cb6105d0565b6040516101319190610b5b565b3480156101e457600080fd5b506101cb6105df565b3480156101f957600080fd5b5061020d610208366004610973565b6105ee565b6040516101319190610b6f565b34801561022657600080fd5b5061012461065f565b34801561023b57600080fd5b50610124610665565b34801561025057600080fd5b5061010d61025f366004610952565b61066b565b34801561027057600080fd5b5061010d61027f366004610a0e565b6106d9565b61028c61071d565b6001600160a01b031661029d6105d0565b6001600160a01b0316146102cc5760405162461bcd60e51b81526004016102c390610d3b565b60405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60055481565b6006544210156103165760405162461bcd60e51b81526004016102c390610c59565b60045434146103375760405162461bcd60e51b81526004016102c390610dbc565b6005546003541061035a5760405162461bcd60e51b81526004016102c390610cf1565b6001811015801561036d57506005548111155b6103895760405162461bcd60e51b81526004016102c390610bd0565b6007544210156103ba5761039e3384846105ee565b6103ba5760405162461bcd60e51b81526004016102c390610d70565b604080516060808201835260008083526402540be3ff602080850191909152838501829052845160a0810186528481523081830152338187015292830186905284519081019094528084526080820193909352909161041882610721565b905060006040518060600160405280838152602001600067ffffffffffffffff81111561045557634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561047e578160200160208202803683370190505b5081526040805160208181018352600082529092019190915260025490516319a1411560e31b81529192506001600160a01b03169063cd0a08a8906104c99086908590600401610e19565b600060405180830381600087803b1580156104e357600080fd5b505af11580156104f7573d6000803e3d6000fd5b50506003805492509050600061050c83610ea1565b919050555050505050505050565b6008546001600160a01b031633146105445760405162461bcd60e51b81526004016102c390610ca1565b60405133904780156108fc02916000818181858888f19350505050158015610570573d6000803e3d6000fd5b50565b60065481565b60045481565b60035481565b61058d61071d565b6001600160a01b031661059e6105d0565b6001600160a01b0316146105c45760405162461bcd60e51b81526004016102c390610d3b565b6105ce600061079e565b565b6000546001600160a01b031690565b6002546001600160a01b031681565b60006106578383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060015460405190925061063c91508890602001610ae1565b604051602081830303815290604052805190602001206107ee565b949350505050565b60015481565b60075481565b61067361071d565b6001600160a01b03166106846105d0565b6001600160a01b0316146106aa5760405162461bcd60e51b81526004016102c390610d3b565b6001600160a01b0381166106d05760405162461bcd60e51b81526004016102c390610c13565b6105708161079e565b6106e161071d565b6001600160a01b03166106f26105d0565b6001600160a01b0316146107185760405162461bcd60e51b81526004016102c390610d3b565b600155565b3390565b60006040518060c00160405280609a8152602001610ec9609a91398051906020012061075083600001516108a9565b83602001518460400151856060015186608001518051906020012060405160200161078096959493929190610b83565b6040516020818303038152906040528051906020012090505b919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b855181101561089e57600086828151811061081e57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161085f578281604051602001610842929190610afe565b60405160208183030381529060405280519060200120925061088b565b8083604051602001610872929190610afe565b6040516020818303038152906040528051906020012092505b508061089681610ea1565b9150506107f3565b509092149392505050565b60006040516020016108ba90610b0c565b604051602081830303815290604052805190602001208260000151836020015184604001516040516020016107809493929190610bb5565b80356001600160a01b038116811461079957600080fd5b60008083601f84011261091a578182fd5b50813567ffffffffffffffff811115610931578182fd5b602083019150836020808302850101111561094b57600080fd5b9250929050565b600060208284031215610963578081fd5b61096c826108f2565b9392505050565b600080600060408486031215610987578182fd5b610990846108f2565b9250602084013567ffffffffffffffff8111156109ab578283fd5b6109b786828701610909565b9497909650939450505050565b6000806000604084860312156109d8578283fd5b833567ffffffffffffffff8111156109ee578384fd5b6109fa86828701610909565b909790965060209590950135949350505050565b600060208284031215610a1f578081fd5b5035919050565b60008151808452815b81811015610a4b57602081850181015186830182015201610a2f565b81811115610a5c5782602083870101525b50601f01601f19169290920160200192915050565b6000606083018251845260208084015160608287015282815180855260808801915083830194508592505b80831015610abc5784518252938301936001929092019190830190610a9c565b50604086015193508681036040880152610ad68185610a26565b979650505050505050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b7f5365637572697479446174612875696e743235362076616c696446726f6d2c7581527f696e743235362076616c6964546f2c75696e743235362073616c7429000000006020820152603c0190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b95865260208601949094526001600160a01b03928316604086015291166060840152608083015260a082015260c00190565b93845260208401929092526040830152606082015260800190565b60208082526023908201527f43686f636f4d696e7457686974656c6973743a20696e76616c696420746f6b656040820152621b925960ea1b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526028908201527f43686f636f4d696e7457686974656c6973743a2073616c6520686173206e6f74604082015267081cdd185c9d195960c21b606082015260800190565b60208082526030908201527f43686f636f4d696e7457686974656c6973743a206f6e6c79207769746864726160408201526f7765722063616e20776974686472617760801b606082015260800190565b6020808252602a908201527f43686f636f4d696e7457686974656c6973743a2073616c652068617320616c726040820152691958591e48195b99195960b21b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201527f43686f636f4d696e7457686974656c6973743a50726f6f6620646f6573206e6f60408201526b74206d61746368206461746160a01b606082015260800190565b60208082526038908201527f43686f636f4d696e7457686974656c6973743a206d73672076616c7565206d7560408201527f73742062652073616d65206173206d696e742070726963650000000000000000606082015260800190565b600060408252835180516040840152602081015160608401526040810151608084015250602084015160018060a01b0380821660a08501528060408701511660c08501525050606084015160e0830152608084015160e0610100840152610e84610120840182610a26565b90508281036020840152610e988185610a71565b95945050505050565b6000600019821415610ec157634e487b7160e01b81526011600452602481fd5b506001019056fe4d696e744552433732314461746128536563757269747944617461207365637572697479446174612c61646472657373206d696e7465722c6164647265737320746f2c75696e7432353620746f6b656e49642c62797465732064617461295365637572697479446174612875696e743235362076616c696446726f6d2c75696e743235362076616c6964546f2c75696e743235362073616c7429a26469706673582212203ab3aae5ad3f6ac18418df3736cba30ac78209841f3f75dd3293410027c2168b64736f6c6343000800003300000000000000000000000073cc538e41de05a525f138b1ed8b210b192e53af000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000062a7f9b00000000000000000000000000000000000000000000000000000000062abee30000000000000000000000000d212d4d496161a9d652c95c5237f0f5d8011baf2
Deployed Bytecode
0x6080604052600436106100e85760003560e01c8063715018a61161008a578063d4a417e611610059578063d4a417e61461021a578063d7822c991461022f578063f2fde38b14610244578063f91eb63014610264576100e8565b8063715018a6146101a15780638da5cb5b146101b65780639cf0772d146101d8578063b926e624146101ed576100e8565b80633ccfd60b116100c65780633ccfd60b1461014d5780634ea37fec146101625780636817c76c146101775780636e4228311461018c576100e8565b80630d174c24146100ed57806319d1997a1461010f578063229dd4601461013a575b600080fd5b3480156100f957600080fd5b5061010d610108366004610952565b610284565b005b34801561011b57600080fd5b506101246102ee565b6040516101319190610b7a565b60405180910390f35b61010d6101483660046109c4565b6102f4565b34801561015957600080fd5b5061010d61051a565b34801561016e57600080fd5b50610124610573565b34801561018357600080fd5b50610124610579565b34801561019857600080fd5b5061012461057f565b3480156101ad57600080fd5b5061010d610585565b3480156101c257600080fd5b506101cb6105d0565b6040516101319190610b5b565b3480156101e457600080fd5b506101cb6105df565b3480156101f957600080fd5b5061020d610208366004610973565b6105ee565b6040516101319190610b6f565b34801561022657600080fd5b5061012461065f565b34801561023b57600080fd5b50610124610665565b34801561025057600080fd5b5061010d61025f366004610952565b61066b565b34801561027057600080fd5b5061010d61027f366004610a0e565b6106d9565b61028c61071d565b6001600160a01b031661029d6105d0565b6001600160a01b0316146102cc5760405162461bcd60e51b81526004016102c390610d3b565b60405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60055481565b6006544210156103165760405162461bcd60e51b81526004016102c390610c59565b60045434146103375760405162461bcd60e51b81526004016102c390610dbc565b6005546003541061035a5760405162461bcd60e51b81526004016102c390610cf1565b6001811015801561036d57506005548111155b6103895760405162461bcd60e51b81526004016102c390610bd0565b6007544210156103ba5761039e3384846105ee565b6103ba5760405162461bcd60e51b81526004016102c390610d70565b604080516060808201835260008083526402540be3ff602080850191909152838501829052845160a0810186528481523081830152338187015292830186905284519081019094528084526080820193909352909161041882610721565b905060006040518060600160405280838152602001600067ffffffffffffffff81111561045557634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561047e578160200160208202803683370190505b5081526040805160208181018352600082529092019190915260025490516319a1411560e31b81529192506001600160a01b03169063cd0a08a8906104c99086908590600401610e19565b600060405180830381600087803b1580156104e357600080fd5b505af11580156104f7573d6000803e3d6000fd5b50506003805492509050600061050c83610ea1565b919050555050505050505050565b6008546001600160a01b031633146105445760405162461bcd60e51b81526004016102c390610ca1565b60405133904780156108fc02916000818181858888f19350505050158015610570573d6000803e3d6000fd5b50565b60065481565b60045481565b60035481565b61058d61071d565b6001600160a01b031661059e6105d0565b6001600160a01b0316146105c45760405162461bcd60e51b81526004016102c390610d3b565b6105ce600061079e565b565b6000546001600160a01b031690565b6002546001600160a01b031681565b60006106578383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060015460405190925061063c91508890602001610ae1565b604051602081830303815290604052805190602001206107ee565b949350505050565b60015481565b60075481565b61067361071d565b6001600160a01b03166106846105d0565b6001600160a01b0316146106aa5760405162461bcd60e51b81526004016102c390610d3b565b6001600160a01b0381166106d05760405162461bcd60e51b81526004016102c390610c13565b6105708161079e565b6106e161071d565b6001600160a01b03166106f26105d0565b6001600160a01b0316146107185760405162461bcd60e51b81526004016102c390610d3b565b600155565b3390565b60006040518060c00160405280609a8152602001610ec9609a91398051906020012061075083600001516108a9565b83602001518460400151856060015186608001518051906020012060405160200161078096959493929190610b83565b6040516020818303038152906040528051906020012090505b919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b855181101561089e57600086828151811061081e57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161085f578281604051602001610842929190610afe565b60405160208183030381529060405280519060200120925061088b565b8083604051602001610872929190610afe565b6040516020818303038152906040528051906020012092505b508061089681610ea1565b9150506107f3565b509092149392505050565b60006040516020016108ba90610b0c565b604051602081830303815290604052805190602001208260000151836020015184604001516040516020016107809493929190610bb5565b80356001600160a01b038116811461079957600080fd5b60008083601f84011261091a578182fd5b50813567ffffffffffffffff811115610931578182fd5b602083019150836020808302850101111561094b57600080fd5b9250929050565b600060208284031215610963578081fd5b61096c826108f2565b9392505050565b600080600060408486031215610987578182fd5b610990846108f2565b9250602084013567ffffffffffffffff8111156109ab578283fd5b6109b786828701610909565b9497909650939450505050565b6000806000604084860312156109d8578283fd5b833567ffffffffffffffff8111156109ee578384fd5b6109fa86828701610909565b909790965060209590950135949350505050565b600060208284031215610a1f578081fd5b5035919050565b60008151808452815b81811015610a4b57602081850181015186830182015201610a2f565b81811115610a5c5782602083870101525b50601f01601f19169290920160200192915050565b6000606083018251845260208084015160608287015282815180855260808801915083830194508592505b80831015610abc5784518252938301936001929092019190830190610a9c565b50604086015193508681036040880152610ad68185610a26565b979650505050505050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b7f5365637572697479446174612875696e743235362076616c696446726f6d2c7581527f696e743235362076616c6964546f2c75696e743235362073616c7429000000006020820152603c0190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b95865260208601949094526001600160a01b03928316604086015291166060840152608083015260a082015260c00190565b93845260208401929092526040830152606082015260800190565b60208082526023908201527f43686f636f4d696e7457686974656c6973743a20696e76616c696420746f6b656040820152621b925960ea1b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526028908201527f43686f636f4d696e7457686974656c6973743a2073616c6520686173206e6f74604082015267081cdd185c9d195960c21b606082015260800190565b60208082526030908201527f43686f636f4d696e7457686974656c6973743a206f6e6c79207769746864726160408201526f7765722063616e20776974686472617760801b606082015260800190565b6020808252602a908201527f43686f636f4d696e7457686974656c6973743a2073616c652068617320616c726040820152691958591e48195b99195960b21b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201527f43686f636f4d696e7457686974656c6973743a50726f6f6620646f6573206e6f60408201526b74206d61746368206461746160a01b606082015260800190565b60208082526038908201527f43686f636f4d696e7457686974656c6973743a206d73672076616c7565206d7560408201527f73742062652073616d65206173206d696e742070726963650000000000000000606082015260800190565b600060408252835180516040840152602081015160608401526040810151608084015250602084015160018060a01b0380821660a08501528060408701511660c08501525050606084015160e0830152608084015160e0610100840152610e84610120840182610a26565b90508281036020840152610e988185610a71565b95945050505050565b6000600019821415610ec157634e487b7160e01b81526011600452602481fd5b506001019056fe4d696e744552433732314461746128536563757269747944617461207365637572697479446174612c61646472657373206d696e7465722c6164647265737320746f2c75696e7432353620746f6b656e49642c62797465732064617461295365637572697479446174612875696e743235362076616c696446726f6d2c75696e743235362076616c6964546f2c75696e743235362073616c7429a26469706673582212203ab3aae5ad3f6ac18418df3736cba30ac78209841f3f75dd3293410027c2168b64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000073cc538e41de05a525f138b1ed8b210b192e53af000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000062a7f9b00000000000000000000000000000000000000000000000000000000062abee30000000000000000000000000d212d4d496161a9d652c95c5237f0f5d8011baf2
-----Decoded View---------------
Arg [0] : _chocomintERC721Address (address): 0x73CC538E41De05A525f138b1ED8b210B192E53aF
Arg [1] : _mintPrice (uint256): 80000000000000000
Arg [2] : _supplyLimit (uint256): 1000
Arg [3] : _saleStartTimestamp (uint256): 1655175600
Arg [4] : _publicSaleStartTimestamp (uint256): 1655434800
Arg [5] : _withdrawer (address): 0xd212d4d496161a9d652C95C5237F0f5D8011BAF2
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000073cc538e41de05a525f138b1ed8b210b192e53af
Arg [1] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [3] : 0000000000000000000000000000000000000000000000000000000062a7f9b0
Arg [4] : 0000000000000000000000000000000000000000000000000000000062abee30
Arg [5] : 000000000000000000000000d212d4d496161a9d652c95c5237f0f5d8011baf2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $3,312.37 | 0.56 | $1,854.93 |
Loading...
Loading
[ Download: CSV Export ]
[ 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.