Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,030 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 18661678 | 462 days ago | IN | 0 ETH | 0.00174283 | ||||
Claim | 18509763 | 483 days ago | IN | 0 ETH | 0.0008472 | ||||
Claim | 18094771 | 541 days ago | IN | 0 ETH | 0.00092015 | ||||
Claim | 18040580 | 549 days ago | IN | 0 ETH | 0.0018206 | ||||
Claim | 18000982 | 554 days ago | IN | 0 ETH | 0.0009647 | ||||
Claim | 17999193 | 555 days ago | IN | 0 ETH | 0.00070439 | ||||
Claim | 17993620 | 555 days ago | IN | 0 ETH | 0.00211133 | ||||
Claim | 17985062 | 557 days ago | IN | 0 ETH | 0.00283694 | ||||
Claim | 17962710 | 560 days ago | IN | 0 ETH | 0.00130774 | ||||
Claim | 17957122 | 560 days ago | IN | 0 ETH | 0.0009727 | ||||
Claim | 17953761 | 561 days ago | IN | 0 ETH | 0.00068162 | ||||
Claim | 17953274 | 561 days ago | IN | 0 ETH | 0.00056272 | ||||
Claim | 17951356 | 561 days ago | IN | 0 ETH | 0.00089515 | ||||
Claim | 17946187 | 562 days ago | IN | 0 ETH | 0.00070738 | ||||
Claim | 17944700 | 562 days ago | IN | 0 ETH | 0.00164901 | ||||
Claim | 17941971 | 563 days ago | IN | 0 ETH | 0.00255166 | ||||
Claim | 17941519 | 563 days ago | IN | 0 ETH | 0.00184128 | ||||
Claim | 17940994 | 563 days ago | IN | 0 ETH | 0.00139402 | ||||
Claim | 17938326 | 563 days ago | IN | 0 ETH | 0.00287401 | ||||
Claim | 17934638 | 564 days ago | IN | 0 ETH | 0.00167422 | ||||
Claim | 17934565 | 564 days ago | IN | 0 ETH | 0.00184432 | ||||
Claim | 17933965 | 564 days ago | IN | 0 ETH | 0.00082248 | ||||
Claim | 17933962 | 564 days ago | IN | 0 ETH | 0.00084934 | ||||
Claim | 17933962 | 564 days ago | IN | 0 ETH | 0.00084934 | ||||
Claim | 17933960 | 564 days ago | IN | 0 ETH | 0.00127362 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Vesting
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Vesting is Ownable { using SafeERC20 for IERC20; IERC20 public token; uint public startTime; uint public duration; uint public tgeUnlock; // BASE 1000 uint constant TGE_UNLOCK_BASE = 1000; mapping(address => uint) public allocation; mapping(address => uint) public claimed; uint public totalAllocation; uint public totalClaimed; constructor( IERC20 token_, // address[] memory recipients_, // uint[] memory allocations_, uint startTime_, uint duration_, uint tgeUnlock_ ) { require(tgeUnlock_ < TGE_UNLOCK_BASE); token = token_; startTime = startTime_; duration = duration_; tgeUnlock = tgeUnlock_; // for (uint i = 0; i < recipients_.length; i++) { // allocation[recipients_[i]] = allocations_[i]; // } // addAllocations(recipients_, allocations_); } function claim() external { require(block.timestamp >= startTime, "LinearVesting: has not started"); uint amount = _available(msg.sender); token.safeTransfer(msg.sender, amount); claimed[msg.sender] += amount; totalClaimed += amount; } function available(address address_) external view returns (uint) { return _available(address_); } function released(address address_) external view returns (uint) { return _released(address_); } function outstanding(address address_) external view returns (uint) { return allocation[address_] - _released(address_); } // add vesting allocation function addAllocations( address[] memory recipients_, uint[] memory allocations_ ) external onlyOwner { for (uint i = 0; i < recipients_.length; i++) { totalAllocation = totalAllocation + allocations_[i] - allocation[recipients_[i]]; allocation[recipients_[i]] = allocations_[i]; } } // get stuck token function withdrawStuckToken( address _token, address _to ) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(_to, _contractBalance); } function _available(address address_) internal view returns (uint) { return _released(address_) - claimed[address_]; } function _released(address address_) internal view returns (uint) { if (block.timestamp < startTime) { return 0; } else { if (block.timestamp > startTime + duration) { return allocation[address_]; } else { uint unlockedAtTGE = (allocation[address_] * tgeUnlock) / TGE_UNLOCK_BASE; uint lockedAtTGE = allocation[address_] - unlockedAtTGE; return unlockedAtTGE + (lockedAtTGE * (block.timestamp - startTime)) / duration; } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.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; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ 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)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ 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"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to * 0 before setting it to a non-zero value. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @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). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // 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 cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IERC20","name":"token_","type":"address"},{"internalType":"uint256","name":"startTime_","type":"uint256"},{"internalType":"uint256","name":"duration_","type":"uint256"},{"internalType":"uint256","name":"tgeUnlock_","type":"uint256"}],"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":[{"internalType":"address[]","name":"recipients_","type":"address[]"},{"internalType":"uint256[]","name":"allocations_","type":"uint256[]"}],"name":"addAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"outstanding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tgeUnlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001d2938038062001d2983398181016040528101906200003791906200024b565b620000576200004b620000c660201b60201c565b620000ce60201b60201c565b6103e881106200006657600080fd5b83600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600281905550816003819055508060048190555050505050620002bd565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001c48262000197565b9050919050565b6000620001d882620001b7565b9050919050565b620001ea81620001cb565b8114620001f657600080fd5b50565b6000815190506200020a81620001df565b92915050565b6000819050919050565b620002258162000210565b81146200023157600080fd5b50565b60008151905062000245816200021a565b92915050565b6000806000806080858703121562000268576200026762000192565b5b60006200027887828801620001f9565b94505060206200028b8782880162000234565b93505060406200029e8782880162000234565b9250506060620002b18782880162000234565b91505092959194509250565b611a5c80620002cd6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80639852595c116100a2578063d54ad2a111610071578063d54ad2a114610296578063d6a606e8146102b4578063de58bafa146102d0578063f2fde38b14610300578063fc0c546a1461031c5761010b565b80639852595c146101ea578063b81b86301461021a578063bc205ad31461024a578063c884ef83146102665761010b565b8063715018a6116100de578063715018a61461018657806378e979251461019057806379203dc4146101ae5780638da5cb5b146101cc5761010b565b80630fb5a6b41461011057806310098ad51461012e5780634e71d92d1461015e57806362012f3014610168575b600080fd5b61011861033a565b6040516101259190610ee3565b60405180910390f35b61014860048036038101906101439190610f70565b610340565b6040516101559190610ee3565b60405180910390f35b610166610352565b005b610170610463565b60405161017d9190610ee3565b60405180910390f35b61018e610469565b005b61019861047d565b6040516101a59190610ee3565b60405180910390f35b6101b6610483565b6040516101c39190610ee3565b60405180910390f35b6101d4610489565b6040516101e19190610fac565b60405180910390f35b61020460048036038101906101ff9190610f70565b6104b2565b6040516102119190610ee3565b60405180910390f35b610234600480360381019061022f9190610f70565b6104c4565b6040516102419190610ee3565b60405180910390f35b610264600480360381019061025f9190610fc7565b6104dc565b005b610280600480360381019061027b9190610f70565b610655565b60405161028d9190610ee3565b60405180910390f35b61029e61066d565b6040516102ab9190610ee3565b60405180910390f35b6102ce60048036038101906102c9919061124f565b610673565b005b6102ea60048036038101906102e59190610f70565b6107a9565b6040516102f79190610ee3565b60405180910390f35b61031a60048036038101906103159190610f70565b610805565b005b610324610888565b6040516103319190611326565b60405180910390f35b60035481565b600061034b826108ae565b9050919050565b600254421015610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038e9061139e565b60405180910390fd5b60006103a2336108ae565b90506103f13382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661090a9092919063ffffffff16565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461044091906113ed565b92505081905550806008600082825461045991906113ed565b9250508190555050565b60045481565b610471610990565b61047b6000610a0e565b565b60025481565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006104bd82610ad2565b9050919050565b60056020528060005260406000206000915090505481565b6104e4610990565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a9061146d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161058e9190610fac565b602060405180830381865afa1580156105ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cf91906114a2565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161060c9291906114cf565b6020604051808303816000875af115801561062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064f9190611530565b50505050565b60066020528060005260406000206000915090505481565b60085481565b61067b610990565b60005b82518110156107a4576005600084838151811061069e5761069d61155d565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548282815181106106f4576106f361155d565b5b602002602001015160075461070991906113ed565b610713919061158c565b60078190555081818151811061072c5761072b61155d565b5b60200260200101516005600085848151811061074b5761074a61155d565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061079c906115c0565b91505061067e565b505050565b60006107b482610ad2565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107fe919061158c565b9050919050565b61080d610990565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361087c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108739061167a565b60405180910390fd5b61088581610a0e565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108f983610ad2565b610903919061158c565b9050919050565b61098b8363a9059cbb60e01b84846040516024016109299291906114cf565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610c2d565b505050565b610998610cf5565b73ffffffffffffffffffffffffffffffffffffffff166109b6610489565b73ffffffffffffffffffffffffffffffffffffffff1614610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a03906116e6565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600254421015610ae75760009050610c28565b600354600254610af791906113ed565b421115610b4557600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610c28565b60006103e8600454600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b979190611706565b610ba19190611777565b9050600081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bf0919061158c565b905060035460025442610c03919061158c565b82610c0e9190611706565b610c189190611777565b82610c2391906113ed565b925050505b919050565b6000610c8f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610cfd9092919063ffffffff16565b9050600081511480610cb1575080806020019051810190610cb09190611530565b5b610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce79061181a565b60405180910390fd5b505050565b600033905090565b6060610d0c8484600085610d15565b90509392505050565b606082471015610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d51906118ac565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610d83919061193d565b60006040518083038185875af1925050503d8060008114610dc0576040519150601f19603f3d011682016040523d82523d6000602084013e610dc5565b606091505b5091509150610dd687838387610de2565b92505050949350505050565b60608315610e44576000835103610e3c57610dfc85610e57565b610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e32906119a0565b60405180910390fd5b5b829050610e4f565b610e4e8383610e7a565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115610e8d5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec19190611a04565b60405180910390fd5b6000819050919050565b610edd81610eca565b82525050565b6000602082019050610ef86000830184610ed4565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f3d82610f12565b9050919050565b610f4d81610f32565b8114610f5857600080fd5b50565b600081359050610f6a81610f44565b92915050565b600060208284031215610f8657610f85610f08565b5b6000610f9484828501610f5b565b91505092915050565b610fa681610f32565b82525050565b6000602082019050610fc16000830184610f9d565b92915050565b60008060408385031215610fde57610fdd610f08565b5b6000610fec85828601610f5b565b9250506020610ffd85828601610f5b565b9150509250929050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6110558261100c565b810181811067ffffffffffffffff821117156110745761107361101d565b5b80604052505050565b6000611087610efe565b9050611093828261104c565b919050565b600067ffffffffffffffff8211156110b3576110b261101d565b5b602082029050602081019050919050565b600080fd5b60006110dc6110d784611098565b61107d565b905080838252602082019050602084028301858111156110ff576110fe6110c4565b5b835b8181101561112857806111148882610f5b565b845260208401935050602081019050611101565b5050509392505050565b600082601f83011261114757611146611007565b5b81356111578482602086016110c9565b91505092915050565b600067ffffffffffffffff82111561117b5761117a61101d565b5b602082029050602081019050919050565b61119581610eca565b81146111a057600080fd5b50565b6000813590506111b28161118c565b92915050565b60006111cb6111c684611160565b61107d565b905080838252602082019050602084028301858111156111ee576111ed6110c4565b5b835b81811015611217578061120388826111a3565b8452602084019350506020810190506111f0565b5050509392505050565b600082601f83011261123657611235611007565b5b81356112468482602086016111b8565b91505092915050565b6000806040838503121561126657611265610f08565b5b600083013567ffffffffffffffff81111561128457611283610f0d565b5b61129085828601611132565b925050602083013567ffffffffffffffff8111156112b1576112b0610f0d565b5b6112bd85828601611221565b9150509250929050565b6000819050919050565b60006112ec6112e76112e284610f12565b6112c7565b610f12565b9050919050565b60006112fe826112d1565b9050919050565b6000611310826112f3565b9050919050565b61132081611305565b82525050565b600060208201905061133b6000830184611317565b92915050565b600082825260208201905092915050565b7f4c696e65617256657374696e673a20686173206e6f7420737461727465640000600082015250565b6000611388601e83611341565b915061139382611352565b602082019050919050565b600060208201905081810360008301526113b78161137b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006113f882610eca565b915061140383610eca565b925082820190508082111561141b5761141a6113be565b5b92915050565b7f5f746f6b656e20616464726573732063616e6e6f742062652030000000000000600082015250565b6000611457601a83611341565b915061146282611421565b602082019050919050565b600060208201905081810360008301526114868161144a565b9050919050565b60008151905061149c8161118c565b92915050565b6000602082840312156114b8576114b7610f08565b5b60006114c68482850161148d565b91505092915050565b60006040820190506114e46000830185610f9d565b6114f16020830184610ed4565b9392505050565b60008115159050919050565b61150d816114f8565b811461151857600080fd5b50565b60008151905061152a81611504565b92915050565b60006020828403121561154657611545610f08565b5b60006115548482850161151b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061159782610eca565b91506115a283610eca565b92508282039050818111156115ba576115b96113be565b5b92915050565b60006115cb82610eca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036115fd576115fc6113be565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611664602683611341565b915061166f82611608565b604082019050919050565b6000602082019050818103600083015261169381611657565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006116d0602083611341565b91506116db8261169a565b602082019050919050565b600060208201905081810360008301526116ff816116c3565b9050919050565b600061171182610eca565b915061171c83610eca565b925082820261172a81610eca565b91508282048414831517611741576117406113be565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061178282610eca565b915061178d83610eca565b92508261179d5761179c611748565b5b828204905092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000611804602a83611341565b915061180f826117a8565b604082019050919050565b60006020820190508181036000830152611833816117f7565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000611896602683611341565b91506118a18261183a565b604082019050919050565b600060208201905081810360008301526118c581611889565b9050919050565b600081519050919050565b600081905092915050565b60005b838110156119005780820151818401526020810190506118e5565b60008484015250505050565b6000611917826118cc565b61192181856118d7565b93506119318185602086016118e2565b80840191505092915050565b6000611949828461190c565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061198a601d83611341565b915061199582611954565b602082019050919050565b600060208201905081810360008301526119b98161197d565b9050919050565b600081519050919050565b60006119d6826119c0565b6119e08185611341565b93506119f08185602086016118e2565b6119f98161100c565b840191505092915050565b60006020820190508181036000830152611a1e81846119cb565b90509291505056fea2646970667358221220f236d82489a816c4a540c8f1196c247632d21e7eae6fe45fd16b56fda68f59fd64736f6c63430008110033000000000000000000000000b478c6245e3d85d6ec3486b62ea872128d5625410000000000000000000000000000000000000000000000000000000064b2c0280000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000000014d
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80639852595c116100a2578063d54ad2a111610071578063d54ad2a114610296578063d6a606e8146102b4578063de58bafa146102d0578063f2fde38b14610300578063fc0c546a1461031c5761010b565b80639852595c146101ea578063b81b86301461021a578063bc205ad31461024a578063c884ef83146102665761010b565b8063715018a6116100de578063715018a61461018657806378e979251461019057806379203dc4146101ae5780638da5cb5b146101cc5761010b565b80630fb5a6b41461011057806310098ad51461012e5780634e71d92d1461015e57806362012f3014610168575b600080fd5b61011861033a565b6040516101259190610ee3565b60405180910390f35b61014860048036038101906101439190610f70565b610340565b6040516101559190610ee3565b60405180910390f35b610166610352565b005b610170610463565b60405161017d9190610ee3565b60405180910390f35b61018e610469565b005b61019861047d565b6040516101a59190610ee3565b60405180910390f35b6101b6610483565b6040516101c39190610ee3565b60405180910390f35b6101d4610489565b6040516101e19190610fac565b60405180910390f35b61020460048036038101906101ff9190610f70565b6104b2565b6040516102119190610ee3565b60405180910390f35b610234600480360381019061022f9190610f70565b6104c4565b6040516102419190610ee3565b60405180910390f35b610264600480360381019061025f9190610fc7565b6104dc565b005b610280600480360381019061027b9190610f70565b610655565b60405161028d9190610ee3565b60405180910390f35b61029e61066d565b6040516102ab9190610ee3565b60405180910390f35b6102ce60048036038101906102c9919061124f565b610673565b005b6102ea60048036038101906102e59190610f70565b6107a9565b6040516102f79190610ee3565b60405180910390f35b61031a60048036038101906103159190610f70565b610805565b005b610324610888565b6040516103319190611326565b60405180910390f35b60035481565b600061034b826108ae565b9050919050565b600254421015610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038e9061139e565b60405180910390fd5b60006103a2336108ae565b90506103f13382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661090a9092919063ffffffff16565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461044091906113ed565b92505081905550806008600082825461045991906113ed565b9250508190555050565b60045481565b610471610990565b61047b6000610a0e565b565b60025481565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006104bd82610ad2565b9050919050565b60056020528060005260406000206000915090505481565b6104e4610990565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a9061146d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161058e9190610fac565b602060405180830381865afa1580156105ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cf91906114a2565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161060c9291906114cf565b6020604051808303816000875af115801561062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064f9190611530565b50505050565b60066020528060005260406000206000915090505481565b60085481565b61067b610990565b60005b82518110156107a4576005600084838151811061069e5761069d61155d565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548282815181106106f4576106f361155d565b5b602002602001015160075461070991906113ed565b610713919061158c565b60078190555081818151811061072c5761072b61155d565b5b60200260200101516005600085848151811061074b5761074a61155d565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061079c906115c0565b91505061067e565b505050565b60006107b482610ad2565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107fe919061158c565b9050919050565b61080d610990565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361087c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108739061167a565b60405180910390fd5b61088581610a0e565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108f983610ad2565b610903919061158c565b9050919050565b61098b8363a9059cbb60e01b84846040516024016109299291906114cf565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610c2d565b505050565b610998610cf5565b73ffffffffffffffffffffffffffffffffffffffff166109b6610489565b73ffffffffffffffffffffffffffffffffffffffff1614610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a03906116e6565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600254421015610ae75760009050610c28565b600354600254610af791906113ed565b421115610b4557600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610c28565b60006103e8600454600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b979190611706565b610ba19190611777565b9050600081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bf0919061158c565b905060035460025442610c03919061158c565b82610c0e9190611706565b610c189190611777565b82610c2391906113ed565b925050505b919050565b6000610c8f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610cfd9092919063ffffffff16565b9050600081511480610cb1575080806020019051810190610cb09190611530565b5b610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce79061181a565b60405180910390fd5b505050565b600033905090565b6060610d0c8484600085610d15565b90509392505050565b606082471015610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d51906118ac565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610d83919061193d565b60006040518083038185875af1925050503d8060008114610dc0576040519150601f19603f3d011682016040523d82523d6000602084013e610dc5565b606091505b5091509150610dd687838387610de2565b92505050949350505050565b60608315610e44576000835103610e3c57610dfc85610e57565b610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e32906119a0565b60405180910390fd5b5b829050610e4f565b610e4e8383610e7a565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115610e8d5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec19190611a04565b60405180910390fd5b6000819050919050565b610edd81610eca565b82525050565b6000602082019050610ef86000830184610ed4565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f3d82610f12565b9050919050565b610f4d81610f32565b8114610f5857600080fd5b50565b600081359050610f6a81610f44565b92915050565b600060208284031215610f8657610f85610f08565b5b6000610f9484828501610f5b565b91505092915050565b610fa681610f32565b82525050565b6000602082019050610fc16000830184610f9d565b92915050565b60008060408385031215610fde57610fdd610f08565b5b6000610fec85828601610f5b565b9250506020610ffd85828601610f5b565b9150509250929050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6110558261100c565b810181811067ffffffffffffffff821117156110745761107361101d565b5b80604052505050565b6000611087610efe565b9050611093828261104c565b919050565b600067ffffffffffffffff8211156110b3576110b261101d565b5b602082029050602081019050919050565b600080fd5b60006110dc6110d784611098565b61107d565b905080838252602082019050602084028301858111156110ff576110fe6110c4565b5b835b8181101561112857806111148882610f5b565b845260208401935050602081019050611101565b5050509392505050565b600082601f83011261114757611146611007565b5b81356111578482602086016110c9565b91505092915050565b600067ffffffffffffffff82111561117b5761117a61101d565b5b602082029050602081019050919050565b61119581610eca565b81146111a057600080fd5b50565b6000813590506111b28161118c565b92915050565b60006111cb6111c684611160565b61107d565b905080838252602082019050602084028301858111156111ee576111ed6110c4565b5b835b81811015611217578061120388826111a3565b8452602084019350506020810190506111f0565b5050509392505050565b600082601f83011261123657611235611007565b5b81356112468482602086016111b8565b91505092915050565b6000806040838503121561126657611265610f08565b5b600083013567ffffffffffffffff81111561128457611283610f0d565b5b61129085828601611132565b925050602083013567ffffffffffffffff8111156112b1576112b0610f0d565b5b6112bd85828601611221565b9150509250929050565b6000819050919050565b60006112ec6112e76112e284610f12565b6112c7565b610f12565b9050919050565b60006112fe826112d1565b9050919050565b6000611310826112f3565b9050919050565b61132081611305565b82525050565b600060208201905061133b6000830184611317565b92915050565b600082825260208201905092915050565b7f4c696e65617256657374696e673a20686173206e6f7420737461727465640000600082015250565b6000611388601e83611341565b915061139382611352565b602082019050919050565b600060208201905081810360008301526113b78161137b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006113f882610eca565b915061140383610eca565b925082820190508082111561141b5761141a6113be565b5b92915050565b7f5f746f6b656e20616464726573732063616e6e6f742062652030000000000000600082015250565b6000611457601a83611341565b915061146282611421565b602082019050919050565b600060208201905081810360008301526114868161144a565b9050919050565b60008151905061149c8161118c565b92915050565b6000602082840312156114b8576114b7610f08565b5b60006114c68482850161148d565b91505092915050565b60006040820190506114e46000830185610f9d565b6114f16020830184610ed4565b9392505050565b60008115159050919050565b61150d816114f8565b811461151857600080fd5b50565b60008151905061152a81611504565b92915050565b60006020828403121561154657611545610f08565b5b60006115548482850161151b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061159782610eca565b91506115a283610eca565b92508282039050818111156115ba576115b96113be565b5b92915050565b60006115cb82610eca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036115fd576115fc6113be565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611664602683611341565b915061166f82611608565b604082019050919050565b6000602082019050818103600083015261169381611657565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006116d0602083611341565b91506116db8261169a565b602082019050919050565b600060208201905081810360008301526116ff816116c3565b9050919050565b600061171182610eca565b915061171c83610eca565b925082820261172a81610eca565b91508282048414831517611741576117406113be565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061178282610eca565b915061178d83610eca565b92508261179d5761179c611748565b5b828204905092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000611804602a83611341565b915061180f826117a8565b604082019050919050565b60006020820190508181036000830152611833816117f7565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000611896602683611341565b91506118a18261183a565b604082019050919050565b600060208201905081810360008301526118c581611889565b9050919050565b600081519050919050565b600081905092915050565b60005b838110156119005780820151818401526020810190506118e5565b60008484015250505050565b6000611917826118cc565b61192181856118d7565b93506119318185602086016118e2565b80840191505092915050565b6000611949828461190c565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061198a601d83611341565b915061199582611954565b602082019050919050565b600060208201905081810360008301526119b98161197d565b9050919050565b600081519050919050565b60006119d6826119c0565b6119e08185611341565b93506119f08185602086016118e2565b6119f98161100c565b840191505092915050565b60006020820190508181036000830152611a1e81846119cb565b90509291505056fea2646970667358221220f236d82489a816c4a540c8f1196c247632d21e7eae6fe45fd16b56fda68f59fd64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b478c6245e3d85d6ec3486b62ea872128d5625410000000000000000000000000000000000000000000000000000000064b2c0280000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000000014d
-----Decoded View---------------
Arg [0] : token_ (address): 0xb478c6245e3D85D6EC3486B62ea872128d562541
Arg [1] : startTime_ (uint256): 1689436200
Arg [2] : duration_ (uint256): 2592000
Arg [3] : tgeUnlock_ (uint256): 333
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000b478c6245e3d85d6ec3486b62ea872128d562541
Arg [1] : 0000000000000000000000000000000000000000000000000000000064b2c028
Arg [2] : 0000000000000000000000000000000000000000000000000000000000278d00
Arg [3] : 000000000000000000000000000000000000000000000000000000000000014d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.067795 | 56,115.0093 | $3,804.31 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.