Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 128 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Contribute ETH | 13736280 | 1150 days ago | IN | 0.5 ETH | 0.0082428 | ||||
Contribute ETH | 13736016 | 1150 days ago | IN | 0.41 ETH | 0.00472456 | ||||
Contribute EGT | 13735234 | 1150 days ago | IN | 0 ETH | 0.03848611 | ||||
Contribute ETH | 13735022 | 1150 days ago | IN | 0.5 ETH | 0.00614194 | ||||
Contribute ETH | 13734851 | 1150 days ago | IN | 5 ETH | 0.0086252 | ||||
Contribute EGT | 13734694 | 1150 days ago | IN | 0 ETH | 0.03122872 | ||||
Contribute ETH | 13734671 | 1150 days ago | IN | 3 ETH | 0.00808148 | ||||
Contribute ETH | 13734595 | 1150 days ago | IN | 25 ETH | 0.00908801 | ||||
Contribute ETH | 13733193 | 1150 days ago | IN | 0.2 ETH | 0.00587654 | ||||
Contribute ETH | 13733011 | 1150 days ago | IN | 20 ETH | 0.00422712 | ||||
Contribute ETH | 13730719 | 1151 days ago | IN | 0.35 ETH | 0.00677273 | ||||
Contribute ETH | 13728577 | 1151 days ago | IN | 1 ETH | 0.00678547 | ||||
Contribute ETH | 13728004 | 1151 days ago | IN | 14 ETH | 0.00463038 | ||||
Contribute ETH | 13727904 | 1151 days ago | IN | 10 ETH | 0.00460595 | ||||
Contribute EGT | 13724624 | 1152 days ago | IN | 0 ETH | 0.03215684 | ||||
Contribute ETH | 13724166 | 1152 days ago | IN | 0.25 ETH | 0.00616044 | ||||
Contribute ETH | 13723767 | 1152 days ago | IN | 5 ETH | 0.00525726 | ||||
Contribute ETH | 13720441 | 1152 days ago | IN | 1 ETH | 0.00757469 | ||||
Contribute EGT | 13715969 | 1153 days ago | IN | 0 ETH | 0.0306123 | ||||
Contribute ETH | 13708670 | 1154 days ago | IN | 1.31 ETH | 0.00528504 | ||||
Contribute EGT | 13707519 | 1155 days ago | IN | 0 ETH | 0.02511708 | ||||
Contribute ETH | 13706970 | 1155 days ago | IN | 0.3 ETH | 0.00502669 | ||||
Contribute EGT | 13706340 | 1155 days ago | IN | 0 ETH | 0.03018568 | ||||
Contribute EGT | 13703778 | 1155 days ago | IN | 0 ETH | 0.02743388 | ||||
Contribute ETH | 13700347 | 1156 days ago | IN | 0.02 ETH | 0.006268 |
Latest 23 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
13736280 | 1150 days ago | 0.5 ETH | ||||
13736016 | 1150 days ago | 0.41 ETH | ||||
13735022 | 1150 days ago | 0.5 ETH | ||||
13734851 | 1150 days ago | 5 ETH | ||||
13734671 | 1150 days ago | 3 ETH | ||||
13734595 | 1150 days ago | 25 ETH | ||||
13733193 | 1150 days ago | 0.2 ETH | ||||
13733011 | 1150 days ago | 20 ETH | ||||
13730719 | 1151 days ago | 0.35 ETH | ||||
13728577 | 1151 days ago | 1 ETH | ||||
13728004 | 1151 days ago | 14 ETH | ||||
13727904 | 1151 days ago | 10 ETH | ||||
13724166 | 1152 days ago | 0.25 ETH | ||||
13723767 | 1152 days ago | 5 ETH | ||||
13720441 | 1152 days ago | 1 ETH | ||||
13708670 | 1154 days ago | 1.31 ETH | ||||
13706970 | 1155 days ago | 0.3 ETH | ||||
13700347 | 1156 days ago | 0.02 ETH | ||||
13694700 | 1157 days ago | 0.1 ETH | ||||
13694690 | 1157 days ago | 0.1 ETH | ||||
13694537 | 1157 days ago | 1 ETH | ||||
13692272 | 1157 days ago | 0.5 ETH | ||||
13692270 | 1157 days ago | 1.99 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PreSeed
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.4; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract PreSeed is Ownable { using SafeERC20 for IERC20; address public immutable egtAddress; address public immutable multiSigVaultAddress; uint256 public immutable egtPerKWei; // egt amount per 1000 wei uint256 public immutable maxWeiCollected; uint256 public immutable startDate; // pre-seed start date uint256 public immutable ethStartDate; // date at which eth or EGT is now accepted uint256 public constant DECIMALS = 10**18; uint256 public constant KWEI = 1000; uint256 public weiCollected; bool public isSeedActive = true; mapping(address => uint256) public weiCollectedByAddress; modifier isETHSeedOpen { require( block.timestamp >= ethStartDate && isSeedActive, "ETH_NOT_ACTIVE" ); _; } modifier isEGTSeedOpen { require(block.timestamp >= startDate && isSeedActive, "EGT_NOT_ACTIVE"); _; } modifier isNotFull { require(maxWeiCollected > weiCollected, "FULL"); _; } event EthContributed( address indexed contributor, uint256 egtAmount, uint256 ethAmount ); constructor( address _egtAddress, address _multiSigVaultAddress, uint256 _egtPerKWei, uint256 _maxWeiCollected, uint256 _startDate, uint256 _ethStartDate ) { require(_ethStartDate > _startDate, "INVALID_DATES"); egtAddress = _egtAddress; multiSigVaultAddress = _multiSigVaultAddress; egtPerKWei = _egtPerKWei; maxWeiCollected = _maxWeiCollected; startDate = _startDate; ethStartDate = _ethStartDate; } function contributeETH() external payable isETHSeedOpen() isNotFull() { require(msg.value > 0, "AMOUNT_TOO_SMALL"); weiCollected = weiCollected + msg.value; require(weiCollected <= maxWeiCollected, "INVALID_AMOUNT"); weiCollectedByAddress[msg.sender] = weiCollectedByAddress[msg.sender] + msg.value; // send eth to vault (bool isSent, ) = multiSigVaultAddress.call{value: msg.value}(""); require(isSent, "TRANSFER_FAILED"); emit EthContributed(msg.sender, 0, msg.value); } function contributeEGT(uint256 _egtAmount) external isEGTSeedOpen() isNotFull() { require(_egtAmount > 0, "AMOUNT_TOO_SMALL"); uint256 weiAmount = (_egtAmount * KWEI) / egtPerKWei; weiCollected = weiCollected + weiAmount; require(weiCollected <= maxWeiCollected, "INVALID_AMOUNT"); weiCollectedByAddress[msg.sender] = weiCollectedByAddress[msg.sender] + weiAmount; // send EGT to vault IERC20(egtAddress).safeTransferFrom( msg.sender, multiSigVaultAddress, _egtAmount ); emit EthContributed(msg.sender, _egtAmount, weiAmount); } function closeSeed() external onlyOwner { isSeedActive = false; } function flushEGT() external { uint256 egtBalance = IERC20(egtAddress).balanceOf(address(this)); if (egtBalance > 0) { IERC20(egtAddress).safeTransfer(multiSigVaultAddress, egtBalance); } } }
// 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; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) 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 `amount` 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 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// 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; } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_egtAddress","type":"address"},{"internalType":"address","name":"_multiSigVaultAddress","type":"address"},{"internalType":"uint256","name":"_egtPerKWei","type":"uint256"},{"internalType":"uint256","name":"_maxWeiCollected","type":"uint256"},{"internalType":"uint256","name":"_startDate","type":"uint256"},{"internalType":"uint256","name":"_ethStartDate","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"contributor","type":"address"},{"indexed":false,"internalType":"uint256","name":"egtAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"EthContributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"KWEI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_egtAmount","type":"uint256"}],"name":"contributeEGT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contributeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"egtAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"egtPerKWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethStartDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flushEGT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isSeedActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWeiCollected","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiSigVaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"startDate","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":"weiCollected","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"weiCollectedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101406040526002805460ff1916600117905534801561001e57600080fd5b5060405161120838038061120883398101604081905261003d91610128565b610046336100bc565b8181116100895760405162461bcd60e51b815260206004820152600d60248201526c494e56414c49445f444154455360981b604482015260640160405180910390fd5b6001600160601b0319606096871b81166080529490951b90931660a05260c09190915260e052610100526101205261017f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b038116811461012357600080fd5b919050565b60008060008060008060c08789031215610140578182fd5b6101498761010c565b95506101576020880161010c565b945060408701519350606087015192506080870151915060a087015190509295509295509295565b60805160601c60a05160601c60c05160e0516101005161012051610fd961022f6000396000818161025f01526103f401526000818161013701526107be0152600081816101b8015281816104660152818161051301528181610830015261091801526000818161020101526108cc015260008181610307015281816105ac0152818161079401526109d5015260008181610391015281816106db0152818161077201526109aa0152610fd96000f3fe6080604052600436106101095760003560e01c80638b15da7d11610095578063d1be4ac811610064578063d1be4ac8146102f5578063e1476a9014610329578063f0d77ddf14610349578063f2fde38b1461035f578063f91c2ad31461037f57600080fd5b80638b15da7d1461024d5780638da5cb5b146102815780638fe7db4a146102b3578063c19cd4f1146102e057600080fd5b806339b8ce98116100dc57806339b8ce98146101905780636be4a2d2146101a6578063715018a6146101da578063840a6046146101ef5780638621b0691461022357600080fd5b8063034749351461010e5780630b97bc8614610125578063175323a81461016c5780632e0f262514610174575b600080fd5b34801561011a57600080fd5b506101236103b3565b005b34801561013157600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b6101236103f2565b34801561018057600080fd5b50610159670de0b6b3a764000081565b34801561019c57600080fd5b5061015960015481565b3480156101b257600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b3480156101e657600080fd5b5061012361068d565b3480156101fb57600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b34801561022f57600080fd5b5060025461023d9060ff1681565b6040519015158152602001610163565b34801561025957600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b34801561028d57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610163565b3480156102bf57600080fd5b506101596102ce366004610e0f565b60036020526000908152604090205481565b3480156102ec57600080fd5b506101236106c3565b34801561030157600080fd5b5061029b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561033557600080fd5b50610123610344366004610e56565b6107bc565b34801561035557600080fd5b506101596103e881565b34801561036b57600080fd5b5061012361037a366004610e0f565b610a39565b34801561038b57600080fd5b5061029b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031633146103e65760405162461bcd60e51b81526004016103dd90610ed5565b60405180910390fd5b6002805460ff19169055565b7f00000000000000000000000000000000000000000000000000000000000000004210158015610424575060025460ff165b6104615760405162461bcd60e51b815260206004820152600e60248201526d4554485f4e4f545f41435449564560901b60448201526064016103dd565b6001547f0000000000000000000000000000000000000000000000000000000000000000116104bb5760405162461bcd60e51b81526004016103dd906020808252600490820152631195531360e21b604082015260600190565b600034116104fe5760405162461bcd60e51b815260206004820152601060248201526f105353d5539517d513d3d7d4d350531360821b60448201526064016103dd565b3460015461050c9190610f0a565b60018190557f000000000000000000000000000000000000000000000000000000000000000010156105715760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b60448201526064016103dd565b3360009081526003602052604090205461058c903490610f0a565b336000908152600360205260408082209290925590516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169034908381818185875af1925050503d8060008114610607576040519150601f19603f3d011682016040523d82523d6000602084013e61060c565b606091505b505090508061064f5760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b60448201526064016103dd565b604080516000815234602082015233917fc4ef253131958eccf7fae68884ff63298c83d75b228b672dd74e8b2b630013c3910160405180910390a250565b6000546001600160a01b031633146106b75760405162461bcd60e51b81526004016103dd90610ed5565b6106c16000610acd565b565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561072557600080fd5b505afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190610e6e565b905080156107b9576107b96001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083610b1d565b50565b7f000000000000000000000000000000000000000000000000000000000000000042101580156107ee575060025460ff165b61082b5760405162461bcd60e51b815260206004820152600e60248201526d4547545f4e4f545f41435449564560901b60448201526064016103dd565b6001547f0000000000000000000000000000000000000000000000000000000000000000116108855760405162461bcd60e51b81526004016103dd906020808252600490820152631195531360e21b604082015260600190565b600081116108c85760405162461bcd60e51b815260206004820152601060248201526f105353d5539517d513d3d7d4d350531360821b60448201526064016103dd565b60007f00000000000000000000000000000000000000000000000000000000000000006108f76103e884610f42565b6109019190610f22565b9050806001546109119190610f0a565b60018190557f000000000000000000000000000000000000000000000000000000000000000010156109765760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b60448201526064016103dd565b33600090815260036020526040902054610991908290610f0a565b336000818152600360205260409020919091556109fa907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316907f000000000000000000000000000000000000000000000000000000000000000085610b85565b604080518381526020810183905233917fc4ef253131958eccf7fae68884ff63298c83d75b228b672dd74e8b2b630013c3910160405180910390a25050565b6000546001600160a01b03163314610a635760405162461bcd60e51b81526004016103dd90610ed5565b6001600160a01b038116610ac85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103dd565b6107b9815b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b038316602482015260448101829052610b8090849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610bc3565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610bbd9085906323b872dd60e01b90608401610b49565b50505050565b6000610c18826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c959092919063ffffffff16565b805190915015610b805780806020019051810190610c369190610e36565b610b805760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103dd565b6060610ca48484600085610cae565b90505b9392505050565b606082471015610d0f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103dd565b843b610d5d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103dd565b600080866001600160a01b03168587604051610d799190610e86565b60006040518083038185875af1925050503d8060008114610db6576040519150601f19603f3d011682016040523d82523d6000602084013e610dbb565b606091505b5091509150610dcb828286610dd6565b979650505050505050565b60608315610de5575081610ca7565b825115610df55782518084602001fd5b8160405162461bcd60e51b81526004016103dd9190610ea2565b600060208284031215610e20578081fd5b81356001600160a01b0381168114610ca7578182fd5b600060208284031215610e47578081fd5b81518015158114610ca7578182fd5b600060208284031215610e67578081fd5b5035919050565b600060208284031215610e7f578081fd5b5051919050565b60008251610e98818460208701610f61565b9190910192915050565b6020815260008251806020840152610ec1816040850160208701610f61565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610f1d57610f1d610f8d565b500190565b600082610f3d57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610f5c57610f5c610f8d565b500290565b60005b83811015610f7c578181015183820152602001610f64565b83811115610bbd5750506000910152565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220435dae28ab0014efd9f295cc35fc2df97ca858b58e0017e5bc28fcf8a808cfd864736f6c634300080400330000000000000000000000002aa5ce395b00cc486159adbdd97c55b535cf2cf90000000000000000000000006ca79f0fa0abb8072d1998138600dbeffbe5a9bb0000000000000000000000000000000000000000000000000000000000007f7100000000000000000000000000000000000000000000002086ac3510526000000000000000000000000000000000000000000000000000000000000061981e600000000000000000000000000000000000000000000000000000000061a158e0
Deployed Bytecode
0x6080604052600436106101095760003560e01c80638b15da7d11610095578063d1be4ac811610064578063d1be4ac8146102f5578063e1476a9014610329578063f0d77ddf14610349578063f2fde38b1461035f578063f91c2ad31461037f57600080fd5b80638b15da7d1461024d5780638da5cb5b146102815780638fe7db4a146102b3578063c19cd4f1146102e057600080fd5b806339b8ce98116100dc57806339b8ce98146101905780636be4a2d2146101a6578063715018a6146101da578063840a6046146101ef5780638621b0691461022357600080fd5b8063034749351461010e5780630b97bc8614610125578063175323a81461016c5780632e0f262514610174575b600080fd5b34801561011a57600080fd5b506101236103b3565b005b34801561013157600080fd5b506101597f0000000000000000000000000000000000000000000000000000000061981e6081565b6040519081526020015b60405180910390f35b6101236103f2565b34801561018057600080fd5b50610159670de0b6b3a764000081565b34801561019c57600080fd5b5061015960015481565b3480156101b257600080fd5b506101597f00000000000000000000000000000000000000000000002086ac35105260000081565b3480156101e657600080fd5b5061012361068d565b3480156101fb57600080fd5b506101597f0000000000000000000000000000000000000000000000000000000000007f7181565b34801561022f57600080fd5b5060025461023d9060ff1681565b6040519015158152602001610163565b34801561025957600080fd5b506101597f0000000000000000000000000000000000000000000000000000000061a158e081565b34801561028d57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610163565b3480156102bf57600080fd5b506101596102ce366004610e0f565b60036020526000908152604090205481565b3480156102ec57600080fd5b506101236106c3565b34801561030157600080fd5b5061029b7f0000000000000000000000006ca79f0fa0abb8072d1998138600dbeffbe5a9bb81565b34801561033557600080fd5b50610123610344366004610e56565b6107bc565b34801561035557600080fd5b506101596103e881565b34801561036b57600080fd5b5061012361037a366004610e0f565b610a39565b34801561038b57600080fd5b5061029b7f0000000000000000000000002aa5ce395b00cc486159adbdd97c55b535cf2cf981565b6000546001600160a01b031633146103e65760405162461bcd60e51b81526004016103dd90610ed5565b60405180910390fd5b6002805460ff19169055565b7f0000000000000000000000000000000000000000000000000000000061a158e04210158015610424575060025460ff165b6104615760405162461bcd60e51b815260206004820152600e60248201526d4554485f4e4f545f41435449564560901b60448201526064016103dd565b6001547f00000000000000000000000000000000000000000000002086ac351052600000116104bb5760405162461bcd60e51b81526004016103dd906020808252600490820152631195531360e21b604082015260600190565b600034116104fe5760405162461bcd60e51b815260206004820152601060248201526f105353d5539517d513d3d7d4d350531360821b60448201526064016103dd565b3460015461050c9190610f0a565b60018190557f00000000000000000000000000000000000000000000002086ac35105260000010156105715760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b60448201526064016103dd565b3360009081526003602052604090205461058c903490610f0a565b336000908152600360205260408082209290925590516001600160a01b037f0000000000000000000000006ca79f0fa0abb8072d1998138600dbeffbe5a9bb169034908381818185875af1925050503d8060008114610607576040519150601f19603f3d011682016040523d82523d6000602084013e61060c565b606091505b505090508061064f5760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b60448201526064016103dd565b604080516000815234602082015233917fc4ef253131958eccf7fae68884ff63298c83d75b228b672dd74e8b2b630013c3910160405180910390a250565b6000546001600160a01b031633146106b75760405162461bcd60e51b81526004016103dd90610ed5565b6106c16000610acd565b565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000002aa5ce395b00cc486159adbdd97c55b535cf2cf96001600160a01b0316906370a082319060240160206040518083038186803b15801561072557600080fd5b505afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190610e6e565b905080156107b9576107b96001600160a01b037f0000000000000000000000002aa5ce395b00cc486159adbdd97c55b535cf2cf9167f0000000000000000000000006ca79f0fa0abb8072d1998138600dbeffbe5a9bb83610b1d565b50565b7f0000000000000000000000000000000000000000000000000000000061981e6042101580156107ee575060025460ff165b61082b5760405162461bcd60e51b815260206004820152600e60248201526d4547545f4e4f545f41435449564560901b60448201526064016103dd565b6001547f00000000000000000000000000000000000000000000002086ac351052600000116108855760405162461bcd60e51b81526004016103dd906020808252600490820152631195531360e21b604082015260600190565b600081116108c85760405162461bcd60e51b815260206004820152601060248201526f105353d5539517d513d3d7d4d350531360821b60448201526064016103dd565b60007f0000000000000000000000000000000000000000000000000000000000007f716108f76103e884610f42565b6109019190610f22565b9050806001546109119190610f0a565b60018190557f00000000000000000000000000000000000000000000002086ac35105260000010156109765760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b60448201526064016103dd565b33600090815260036020526040902054610991908290610f0a565b336000818152600360205260409020919091556109fa907f0000000000000000000000002aa5ce395b00cc486159adbdd97c55b535cf2cf96001600160a01b0316907f0000000000000000000000006ca79f0fa0abb8072d1998138600dbeffbe5a9bb85610b85565b604080518381526020810183905233917fc4ef253131958eccf7fae68884ff63298c83d75b228b672dd74e8b2b630013c3910160405180910390a25050565b6000546001600160a01b03163314610a635760405162461bcd60e51b81526004016103dd90610ed5565b6001600160a01b038116610ac85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103dd565b6107b9815b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b038316602482015260448101829052610b8090849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610bc3565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610bbd9085906323b872dd60e01b90608401610b49565b50505050565b6000610c18826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c959092919063ffffffff16565b805190915015610b805780806020019051810190610c369190610e36565b610b805760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103dd565b6060610ca48484600085610cae565b90505b9392505050565b606082471015610d0f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103dd565b843b610d5d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103dd565b600080866001600160a01b03168587604051610d799190610e86565b60006040518083038185875af1925050503d8060008114610db6576040519150601f19603f3d011682016040523d82523d6000602084013e610dbb565b606091505b5091509150610dcb828286610dd6565b979650505050505050565b60608315610de5575081610ca7565b825115610df55782518084602001fd5b8160405162461bcd60e51b81526004016103dd9190610ea2565b600060208284031215610e20578081fd5b81356001600160a01b0381168114610ca7578182fd5b600060208284031215610e47578081fd5b81518015158114610ca7578182fd5b600060208284031215610e67578081fd5b5035919050565b600060208284031215610e7f578081fd5b5051919050565b60008251610e98818460208701610f61565b9190910192915050565b6020815260008251806020840152610ec1816040850160208701610f61565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610f1d57610f1d610f8d565b500190565b600082610f3d57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610f5c57610f5c610f8d565b500290565b60005b83811015610f7c578181015183820152602001610f64565b83811115610bbd5750506000910152565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220435dae28ab0014efd9f295cc35fc2df97ca858b58e0017e5bc28fcf8a808cfd864736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002aa5ce395b00cc486159adbdd97c55b535cf2cf90000000000000000000000006ca79f0fa0abb8072d1998138600dbeffbe5a9bb0000000000000000000000000000000000000000000000000000000000007f7100000000000000000000000000000000000000000000002086ac3510526000000000000000000000000000000000000000000000000000000000000061981e600000000000000000000000000000000000000000000000000000000061a158e0
-----Decoded View---------------
Arg [0] : _egtAddress (address): 0x2aA5cE395b00CC486159aDbDD97c55b535CF2cf9
Arg [1] : _multiSigVaultAddress (address): 0x6cA79F0FA0Abb8072d1998138600DbeFfBE5a9bB
Arg [2] : _egtPerKWei (uint256): 32625
Arg [3] : _maxWeiCollected (uint256): 600000000000000000000
Arg [4] : _startDate (uint256): 1637359200
Arg [5] : _ethStartDate (uint256): 1637964000
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000002aa5ce395b00cc486159adbdd97c55b535cf2cf9
Arg [1] : 0000000000000000000000006ca79f0fa0abb8072d1998138600dbeffbe5a9bb
Arg [2] : 0000000000000000000000000000000000000000000000000000000000007f71
Arg [3] : 00000000000000000000000000000000000000000000002086ac351052600000
Arg [4] : 0000000000000000000000000000000000000000000000000000000061981e60
Arg [5] : 0000000000000000000000000000000000000000000000000000000061a158e0
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.