Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Z4GPresaleV3
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
/**
* @title Z4GPresaleV3
*
* @notice
* - Fixed price: 0.01 USD per Z4G at 3100 USD / ETH → ~310,000 Z4G per 1 ETH.
* - No timer and no automatic burn of leftovers.
* - Presale stops naturally when `hardCapTokens` have been sold (soldOut = true),
* or when you simply stop promoting it.
*
* IMPORTANT:
* - You must pre-load this contract with EXACTLY `hardCapTokens` Z4G
* from your main wallet before opening presale to the public.
*/
contract Z4GPresaleV3 {
/// @notice Z4G ERC-20 token (18 decimals)
IERC20 public immutable z4gToken;
/// @notice ETH vault (ZeddyVaultSplitter on mainnet)
address public immutable vault;
/// @notice Price for 1 full Z4G (1e18 units) in wei.
/// For 0.01 USD per Z4G at 3100 USD / ETH, use 3_225_806_451_612 wei.
uint256 public immutable pricePerTokenWei;
/// @notice Maximum number of Z4G (1e18 units) that can be sold in this presale.
uint256 public immutable hardCapTokens;
/// @notice Total Z4G sold (in 1e18 units).
uint256 public totalSold;
/// @notice Total ETH raised (in wei).
uint256 public totalRaisedWei;
/// @notice True once hardCapTokens have been fully sold.
bool public soldOut;
/// @dev Emitted on every successful purchase.
event Purchased(
address indexed buyer,
uint256 ethAmount,
uint256 tokenAmount
);
constructor(
address _z4gToken,
address _vault,
uint256 _pricePerTokenWei,
uint256 _hardCapTokens
) {
require(_z4gToken != address(0), "Z4G token address is zero");
require(_vault != address(0), "Vault address is zero");
require(_pricePerTokenWei > 0, "Price must be > 0");
require(_hardCapTokens > 0, "Hard cap must be > 0");
z4gToken = IERC20(_z4gToken);
vault = _vault;
pricePerTokenWei = _pricePerTokenWei;
hardCapTokens = _hardCapTokens;
}
/**
* @notice Compute how many Z4G (1e18 units) you get for a given wei amount.
* @dev Reverts if `weiAmount` is 0.
*/
function tokensForWei(uint256 weiAmount) public view returns (uint256) {
require(weiAmount > 0, "No ETH sent");
// tokens = (ETH * 1e18) / pricePerTokenWei
return (weiAmount * 1e18) / pricePerTokenWei;
}
/**
* @notice Remaining tokens available for sale (in 1e18 units).
*/
function remainingTokens() public view returns (uint256) {
if (totalSold >= hardCapTokens) {
return 0;
}
return hardCapTokens - totalSold;
}
/**
* @notice Convenience view for UI.
*/
function isSoldOut() external view returns (bool) {
return soldOut;
}
/**
* @notice Buy Z4G with ETH at the fixed on-chain rate.
* @dev Reverts if soldOut or if you try to buy more than remainingTokens().
*/
function buy() public payable {
require(msg.value > 0, "No ETH sent");
require(!soldOut, "Presale sold out");
uint256 tokens = tokensForWei(msg.value);
require(tokens > 0, "ETH too low for 1 token");
uint256 remaining = remainingTokens();
require(remaining > 0, "Not enough tokens remaining");
require(tokens <= remaining, "Not enough tokens remaining");
// Update accounting first
totalSold += tokens;
totalRaisedWei += msg.value;
if (totalSold == hardCapTokens) {
soldOut = true;
}
// Transfer tokens to buyer
bool okToken = z4gToken.transfer(msg.sender, tokens);
require(okToken, "Token transfer failed");
// Forward ETH to vault splitter
(bool okEth, ) = payable(vault).call{value: msg.value}("");
require(okEth, "ETH forward failed");
emit Purchased(msg.sender, msg.value, tokens);
}
/// @notice Fallback: sending ETH directly calls buy().
receive() external payable {
buy();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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);
}{
"evmVersion": "paris",
"optimizer": {
"enabled": false,
"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":"address","name":"_z4gToken","type":"address"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"uint256","name":"_pricePerTokenWei","type":"uint256"},{"internalType":"uint256","name":"_hardCapTokens","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"Purchased","type":"event"},{"inputs":[],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"hardCapTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerTokenWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"soldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"tokensForWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRaisedWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"z4gToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
61010060405234801561001157600080fd5b506040516113f83803806113f8833981810160405281019061003391906102b1565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036100a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161009990610375565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610111576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610108906103e1565b60405180910390fd5b60008211610154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014b9061044d565b60405180910390fd5b60008111610197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018e906104b9565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508160c081815250508060e08181525050505050506104d9565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102488261021d565b9050919050565b6102588161023d565b811461026357600080fd5b50565b6000815190506102758161024f565b92915050565b6000819050919050565b61028e8161027b565b811461029957600080fd5b50565b6000815190506102ab81610285565b92915050565b600080600080608085870312156102cb576102ca610218565b5b60006102d987828801610266565b94505060206102ea87828801610266565b93505060406102fb8782880161029c565b925050606061030c8782880161029c565b91505092959194509250565b600082825260208201905092915050565b7f5a344720746f6b656e2061646472657373206973207a65726f00000000000000600082015250565b600061035f601983610318565b915061036a82610329565b602082019050919050565b6000602082019050818103600083015261038e81610352565b9050919050565b7f5661756c742061646472657373206973207a65726f0000000000000000000000600082015250565b60006103cb601583610318565b91506103d682610395565b602082019050919050565b600060208201905081810360008301526103fa816103be565b9050919050565b7f5072696365206d757374206265203e2030000000000000000000000000000000600082015250565b6000610437601183610318565b915061044282610401565b602082019050919050565b600060208201905081810360008301526104668161042a565b9050919050565b7f4861726420636170206d757374206265203e2030000000000000000000000000600082015250565b60006104a3601483610318565b91506104ae8261046d565b602082019050919050565b600060208201905081810360008301526104d281610496565b9050919050565b60805160a05160c05160e051610ebc61053c6000396000818161042601528181610686015281816106cb015261070001526000818161073101526107bd01526000818161054f015261080301526000818161046d01526107550152610ebc6000f3fe6080604052600436106100a05760003560e01c8063a6f2ae3a11610064578063a6f2ae3a1461018b578063bf58390314610195578063cd742793146101c0578063e9afa653146101eb578063eca058cc14610216578063fbfa77cf14610253576100af565b80632da5ea17146100b45780634b749535146100df5780636dfdb9121461010a578063893da6c9146101355780639106d7ba14610160576100af565b366100af576100ad61027e565b005b600080fd5b3480156100c057600080fd5b506100c961066d565b6040516100d69190610840565b60405180910390f35b3480156100eb57600080fd5b506100f4610684565b6040516101019190610874565b60405180910390f35b34801561011657600080fd5b5061011f6106a8565b60405161012c9190610874565b60405180910390f35b34801561014157600080fd5b5061014a6106ae565b6040516101579190610840565b60405180910390f35b34801561016c57600080fd5b506101756106c1565b6040516101829190610874565b60405180910390f35b61019361027e565b005b3480156101a157600080fd5b506101aa6106c7565b6040516101b79190610874565b60405180910390f35b3480156101cc57600080fd5b506101d561072f565b6040516101e29190610874565b60405180910390f35b3480156101f757600080fd5b50610200610753565b60405161020d919061090e565b60405180910390f35b34801561022257600080fd5b5061023d6004803603810190610238919061095a565b610777565b60405161024a9190610874565b60405180910390f35b34801561025f57600080fd5b50610268610801565b60405161027591906109a8565b60405180910390f35b600034116102c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b890610a20565b60405180910390fd5b600260009054906101000a900460ff1615610311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030890610a8c565b60405180910390fd5b600061031c34610777565b905060008111610361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035890610af8565b60405180910390fd5b600061036b6106c7565b9050600081116103b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a790610b64565b60405180910390fd5b808211156103f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ea90610b64565b60405180910390fd5b816000808282546104049190610bb3565b92505081905550346001600082825461041d9190610bb3565b925050819055507f000000000000000000000000000000000000000000000000000000000000000060005403610469576001600260006101000a81548160ff0219169083151502179055505b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33856040518363ffffffff1660e01b81526004016104c6929190610be7565b6020604051808303816000875af11580156104e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105099190610c3c565b90508061054b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054290610cb5565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163460405161059190610d06565b60006040518083038185875af1925050503d80600081146105ce576040519150601f19603f3d011682016040523d82523d6000602084013e6105d3565b606091505b5050905080610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e90610d67565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167ff761777482b4b40d2bcc0d050cfba6829900a2d8b3484bd0244ec0feeb3db504348660405161065f929190610d87565b60405180910390a250505050565b6000600260009054906101000a900460ff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60015481565b600260009054906101000a900460ff1681565b60005481565b60007f0000000000000000000000000000000000000000000000000000000000000000600054106106fb576000905061072c565b6000547f00000000000000000000000000000000000000000000000000000000000000006107299190610db0565b90505b90565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008082116107bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b290610a20565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000670de0b6b3a7640000836107f09190610de4565b6107fa9190610e55565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008115159050919050565b61083a81610825565b82525050565b60006020820190506108556000830184610831565b92915050565b6000819050919050565b61086e8161085b565b82525050565b60006020820190506108896000830184610865565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006108d46108cf6108ca8461088f565b6108af565b61088f565b9050919050565b60006108e6826108b9565b9050919050565b60006108f8826108db565b9050919050565b610908816108ed565b82525050565b600060208201905061092360008301846108ff565b92915050565b600080fd5b6109378161085b565b811461094257600080fd5b50565b6000813590506109548161092e565b92915050565b6000602082840312156109705761096f610929565b5b600061097e84828501610945565b91505092915050565b60006109928261088f565b9050919050565b6109a281610987565b82525050565b60006020820190506109bd6000830184610999565b92915050565b600082825260208201905092915050565b7f4e6f204554482073656e74000000000000000000000000000000000000000000600082015250565b6000610a0a600b836109c3565b9150610a15826109d4565b602082019050919050565b60006020820190508181036000830152610a39816109fd565b9050919050565b7f50726573616c6520736f6c64206f757400000000000000000000000000000000600082015250565b6000610a766010836109c3565b9150610a8182610a40565b602082019050919050565b60006020820190508181036000830152610aa581610a69565b9050919050565b7f45544820746f6f206c6f7720666f72203120746f6b656e000000000000000000600082015250565b6000610ae26017836109c3565b9150610aed82610aac565b602082019050919050565b60006020820190508181036000830152610b1181610ad5565b9050919050565b7f4e6f7420656e6f75676820746f6b656e732072656d61696e696e670000000000600082015250565b6000610b4e601b836109c3565b9150610b5982610b18565b602082019050919050565b60006020820190508181036000830152610b7d81610b41565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610bbe8261085b565b9150610bc98361085b565b9250828201905080821115610be157610be0610b84565b5b92915050565b6000604082019050610bfc6000830185610999565b610c096020830184610865565b9392505050565b610c1981610825565b8114610c2457600080fd5b50565b600081519050610c3681610c10565b92915050565b600060208284031215610c5257610c51610929565b5b6000610c6084828501610c27565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000610c9f6015836109c3565b9150610caa82610c69565b602082019050919050565b60006020820190508181036000830152610cce81610c92565b9050919050565b600081905092915050565b50565b6000610cf0600083610cd5565b9150610cfb82610ce0565b600082019050919050565b6000610d1182610ce3565b9150819050919050565b7f45544820666f7277617264206661696c65640000000000000000000000000000600082015250565b6000610d516012836109c3565b9150610d5c82610d1b565b602082019050919050565b60006020820190508181036000830152610d8081610d44565b9050919050565b6000604082019050610d9c6000830185610865565b610da96020830184610865565b9392505050565b6000610dbb8261085b565b9150610dc68361085b565b9250828203905081811115610dde57610ddd610b84565b5b92915050565b6000610def8261085b565b9150610dfa8361085b565b9250828202610e088161085b565b91508282048414831517610e1f57610e1e610b84565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610e608261085b565b9150610e6b8361085b565b925082610e7b57610e7a610e26565b5b82820490509291505056fea2646970667358221220fca182e846fb399409028760790cdadb3d656cbb05cec05f36851447da929c4864736f6c634300081a00330000000000000000000000007232bd2ec999cb37dda68345be865a3f329474900000000000000000000000000b13d16960a0437723f00bdb1f3c1847acc1d58d000000000000000000000000000000000000000000000000000002ef110c339c000000000000000000000000000000000000000009bc9fee979b8b1d8e000000
Deployed Bytecode
0x6080604052600436106100a05760003560e01c8063a6f2ae3a11610064578063a6f2ae3a1461018b578063bf58390314610195578063cd742793146101c0578063e9afa653146101eb578063eca058cc14610216578063fbfa77cf14610253576100af565b80632da5ea17146100b45780634b749535146100df5780636dfdb9121461010a578063893da6c9146101355780639106d7ba14610160576100af565b366100af576100ad61027e565b005b600080fd5b3480156100c057600080fd5b506100c961066d565b6040516100d69190610840565b60405180910390f35b3480156100eb57600080fd5b506100f4610684565b6040516101019190610874565b60405180910390f35b34801561011657600080fd5b5061011f6106a8565b60405161012c9190610874565b60405180910390f35b34801561014157600080fd5b5061014a6106ae565b6040516101579190610840565b60405180910390f35b34801561016c57600080fd5b506101756106c1565b6040516101829190610874565b60405180910390f35b61019361027e565b005b3480156101a157600080fd5b506101aa6106c7565b6040516101b79190610874565b60405180910390f35b3480156101cc57600080fd5b506101d561072f565b6040516101e29190610874565b60405180910390f35b3480156101f757600080fd5b50610200610753565b60405161020d919061090e565b60405180910390f35b34801561022257600080fd5b5061023d6004803603810190610238919061095a565b610777565b60405161024a9190610874565b60405180910390f35b34801561025f57600080fd5b50610268610801565b60405161027591906109a8565b60405180910390f35b600034116102c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b890610a20565b60405180910390fd5b600260009054906101000a900460ff1615610311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030890610a8c565b60405180910390fd5b600061031c34610777565b905060008111610361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035890610af8565b60405180910390fd5b600061036b6106c7565b9050600081116103b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a790610b64565b60405180910390fd5b808211156103f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ea90610b64565b60405180910390fd5b816000808282546104049190610bb3565b92505081905550346001600082825461041d9190610bb3565b925050819055507f000000000000000000000000000000000000000009bc9fee979b8b1d8e00000060005403610469576001600260006101000a81548160ff0219169083151502179055505b60007f0000000000000000000000007232bd2ec999cb37dda68345be865a3f3294749073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33856040518363ffffffff1660e01b81526004016104c6929190610be7565b6020604051808303816000875af11580156104e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105099190610c3c565b90508061054b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054290610cb5565b60405180910390fd5b60007f0000000000000000000000000b13d16960a0437723f00bdb1f3c1847acc1d58d73ffffffffffffffffffffffffffffffffffffffff163460405161059190610d06565b60006040518083038185875af1925050503d80600081146105ce576040519150601f19603f3d011682016040523d82523d6000602084013e6105d3565b606091505b5050905080610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e90610d67565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167ff761777482b4b40d2bcc0d050cfba6829900a2d8b3484bd0244ec0feeb3db504348660405161065f929190610d87565b60405180910390a250505050565b6000600260009054906101000a900460ff16905090565b7f000000000000000000000000000000000000000009bc9fee979b8b1d8e00000081565b60015481565b600260009054906101000a900460ff1681565b60005481565b60007f000000000000000000000000000000000000000009bc9fee979b8b1d8e000000600054106106fb576000905061072c565b6000547f000000000000000000000000000000000000000009bc9fee979b8b1d8e0000006107299190610db0565b90505b90565b7f000000000000000000000000000000000000000000000000000002ef110c339c81565b7f0000000000000000000000007232bd2ec999cb37dda68345be865a3f3294749081565b60008082116107bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b290610a20565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000002ef110c339c670de0b6b3a7640000836107f09190610de4565b6107fa9190610e55565b9050919050565b7f0000000000000000000000000b13d16960a0437723f00bdb1f3c1847acc1d58d81565b60008115159050919050565b61083a81610825565b82525050565b60006020820190506108556000830184610831565b92915050565b6000819050919050565b61086e8161085b565b82525050565b60006020820190506108896000830184610865565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006108d46108cf6108ca8461088f565b6108af565b61088f565b9050919050565b60006108e6826108b9565b9050919050565b60006108f8826108db565b9050919050565b610908816108ed565b82525050565b600060208201905061092360008301846108ff565b92915050565b600080fd5b6109378161085b565b811461094257600080fd5b50565b6000813590506109548161092e565b92915050565b6000602082840312156109705761096f610929565b5b600061097e84828501610945565b91505092915050565b60006109928261088f565b9050919050565b6109a281610987565b82525050565b60006020820190506109bd6000830184610999565b92915050565b600082825260208201905092915050565b7f4e6f204554482073656e74000000000000000000000000000000000000000000600082015250565b6000610a0a600b836109c3565b9150610a15826109d4565b602082019050919050565b60006020820190508181036000830152610a39816109fd565b9050919050565b7f50726573616c6520736f6c64206f757400000000000000000000000000000000600082015250565b6000610a766010836109c3565b9150610a8182610a40565b602082019050919050565b60006020820190508181036000830152610aa581610a69565b9050919050565b7f45544820746f6f206c6f7720666f72203120746f6b656e000000000000000000600082015250565b6000610ae26017836109c3565b9150610aed82610aac565b602082019050919050565b60006020820190508181036000830152610b1181610ad5565b9050919050565b7f4e6f7420656e6f75676820746f6b656e732072656d61696e696e670000000000600082015250565b6000610b4e601b836109c3565b9150610b5982610b18565b602082019050919050565b60006020820190508181036000830152610b7d81610b41565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610bbe8261085b565b9150610bc98361085b565b9250828201905080821115610be157610be0610b84565b5b92915050565b6000604082019050610bfc6000830185610999565b610c096020830184610865565b9392505050565b610c1981610825565b8114610c2457600080fd5b50565b600081519050610c3681610c10565b92915050565b600060208284031215610c5257610c51610929565b5b6000610c6084828501610c27565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000610c9f6015836109c3565b9150610caa82610c69565b602082019050919050565b60006020820190508181036000830152610cce81610c92565b9050919050565b600081905092915050565b50565b6000610cf0600083610cd5565b9150610cfb82610ce0565b600082019050919050565b6000610d1182610ce3565b9150819050919050565b7f45544820666f7277617264206661696c65640000000000000000000000000000600082015250565b6000610d516012836109c3565b9150610d5c82610d1b565b602082019050919050565b60006020820190508181036000830152610d8081610d44565b9050919050565b6000604082019050610d9c6000830185610865565b610da96020830184610865565b9392505050565b6000610dbb8261085b565b9150610dc68361085b565b9250828203905081811115610dde57610ddd610b84565b5b92915050565b6000610def8261085b565b9150610dfa8361085b565b9250828202610e088161085b565b91508282048414831517610e1f57610e1e610b84565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610e608261085b565b9150610e6b8361085b565b925082610e7b57610e7a610e26565b5b82820490509291505056fea2646970667358221220fca182e846fb399409028760790cdadb3d656cbb05cec05f36851447da929c4864736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007232bd2ec999cb37dda68345be865a3f329474900000000000000000000000000b13d16960a0437723f00bdb1f3c1847acc1d58d000000000000000000000000000000000000000000000000000002ef110c339c000000000000000000000000000000000000000009bc9fee979b8b1d8e000000
-----Decoded View---------------
Arg [0] : _z4gToken (address): 0x7232bd2ec999Cb37DDa68345Be865a3f32947490
Arg [1] : _vault (address): 0x0b13D16960A0437723f00bDb1F3C1847acc1d58d
Arg [2] : _pricePerTokenWei (uint256): 3225806451612
Arg [3] : _hardCapTokens (uint256): 3013398400000000000000000000
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000007232bd2ec999cb37dda68345be865a3f32947490
Arg [1] : 0000000000000000000000000b13d16960a0437723f00bdb1f3c1847acc1d58d
Arg [2] : 000000000000000000000000000000000000000000000000000002ef110c339c
Arg [3] : 000000000000000000000000000000000000000009bc9fee979b8b1d8e000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.