More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TeamVesting
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/finance/VestingWallet.sol"; contract TeamVesting is VestingWallet { constructor( address beneficiaryAddress, uint64 startTimestamp ) VestingWallet(beneficiaryAddress, startTimestamp, 365 days) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (finance/VestingWallet.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/Math.sol"; /** * @title VestingWallet * @dev This contract handles the vesting of Eth and ERC20 tokens for a given beneficiary. Custody of multiple tokens * can be given to this contract, which will release the token to the beneficiary following a given vesting schedule. * The vesting schedule is customizable through the {vestedAmount} function. * * Any token transferred to this contract will follow the vesting schedule as if they were locked from the beginning. * Consequently, if the vesting has already started, any amount of tokens sent to this contract will (at least partly) * be immediately releasable. */ contract VestingWallet is Context { event EtherReleased(uint256 amount); event ERC20Released(address indexed token, uint256 amount); uint256 private _released; mapping(address => uint256) private _erc20Released; address private immutable _beneficiary; uint64 private immutable _start; uint64 private immutable _duration; /** * @dev Set the beneficiary, start timestamp and vesting duration of the vesting wallet. */ constructor( address beneficiaryAddress, uint64 startTimestamp, uint64 durationSeconds ) { require(beneficiaryAddress != address(0), "VestingWallet: beneficiary is zero address"); _beneficiary = beneficiaryAddress; _start = startTimestamp; _duration = durationSeconds; } /** * @dev The contract should be able to receive Eth. */ receive() external payable virtual {} /** * @dev Getter for the beneficiary address. */ function beneficiary() public view virtual returns (address) { return _beneficiary; } /** * @dev Getter for the start timestamp. */ function start() public view virtual returns (uint256) { return _start; } /** * @dev Getter for the vesting duration. */ function duration() public view virtual returns (uint256) { return _duration; } /** * @dev Amount of eth already released */ function released() public view virtual returns (uint256) { return _released; } /** * @dev Amount of token already released */ function released(address token) public view virtual returns (uint256) { return _erc20Released[token]; } /** * @dev Release the native token (ether) that have already vested. * * Emits a {TokensReleased} event. */ function release() public virtual { uint256 releasable = vestedAmount(uint64(block.timestamp)) - released(); _released += releasable; emit EtherReleased(releasable); Address.sendValue(payable(beneficiary()), releasable); } /** * @dev Release the tokens that have already vested. * * Emits a {TokensReleased} event. */ function release(address token) public virtual { uint256 releasable = vestedAmount(token, uint64(block.timestamp)) - released(token); _erc20Released[token] += releasable; emit ERC20Released(token, releasable); SafeERC20.safeTransfer(IERC20(token), beneficiary(), releasable); } /** * @dev Calculates the amount of ether that has already vested. Default implementation is a linear vesting curve. */ function vestedAmount(uint64 timestamp) public view virtual returns (uint256) { return _vestingSchedule(address(this).balance + released(), timestamp); } /** * @dev Calculates the amount of tokens that has already vested. Default implementation is a linear vesting curve. */ function vestedAmount(address token, uint64 timestamp) public view virtual returns (uint256) { return _vestingSchedule(IERC20(token).balanceOf(address(this)) + released(token), timestamp); } /** * @dev Virtual implementation of the vesting formula. This returns the amout vested, as a function of time, for * an asset given its total historical allocation. */ function _vestingSchedule(uint256 totalAllocation, uint64 timestamp) internal view virtual returns (uint256) { if (timestamp < start()) { return 0; } else if (timestamp > start() + duration()) { return totalAllocation; } else { return (totalAllocation * (timestamp - start())) / duration(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) 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 // OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) 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 // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.0 (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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "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":"beneficiaryAddress","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Released","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EtherReleased","type":"event"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"timestamp","type":"uint64"}],"name":"vestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint64","name":"timestamp","type":"uint64"}],"name":"vestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040523480156200001157600080fd5b50604051620014bb380380620014bb83398181016040528101906200003791906200015f565b81816301e13380600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620000b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a890620001c7565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508167ffffffffffffffff1660a08167ffffffffffffffff1660c01b815250508067ffffffffffffffff1660c08167ffffffffffffffff1660c01b815250505050505050620002c5565b600081519050620001428162000291565b92915050565b6000815190506200015981620002ab565b92915050565b600080604083850312156200017357600080fd5b6000620001838582860162000131565b9250506020620001968582860162000148565b9150509250929050565b6000620001af602a83620001e9565b9150620001bc8262000242565b604082019050919050565b60006020820190508181036000830152620001e281620001a0565b9050919050565b600082825260208201905092915050565b600062000207826200020e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600067ffffffffffffffff82169050919050565b7f56657374696e6757616c6c65743a2062656e6566696369617279206973207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6200029c81620001fa565b8114620002a857600080fd5b50565b620002b6816200022e565b8114620002c257600080fd5b50565b60805160601c60a05160c01c60c05160c01c6111bd620002fe60003960006102620152600061051a0152600061036f01526111bd6000f3fe60806040526004361061008a5760003560e01c8063810ec23b11610059578063810ec23b1461015257806386d1a69f1461018f57806396132521146101a65780639852595c146101d1578063be9a65551461020e57610091565b80630a17b06b146100965780630fb5a6b4146100d357806319165587146100fe57806338af3eed1461012757610091565b3661009157005b600080fd5b3480156100a257600080fd5b506100bd60048036038101906100b89190610ad4565b610239565b6040516100ca9190610d89565b60405180910390f35b3480156100df57600080fd5b506100e861025e565b6040516100f59190610d89565b60405180910390f35b34801561010a57600080fd5b5061012560048036038101906101209190610a1d565b610290565b005b34801561013357600080fd5b5061013c61036b565b6040516101499190610c83565b60405180910390f35b34801561015e57600080fd5b5061017960048036038101906101749190610a46565b610393565b6040516101869190610d89565b60405180910390f35b34801561019b57600080fd5b506101a4610442565b005b3480156101b257600080fd5b506101bb6104c4565b6040516101c89190610d89565b60405180910390f35b3480156101dd57600080fd5b506101f860048036038101906101f39190610a1d565b6104cd565b6040516102059190610d89565b60405180910390f35b34801561021a57600080fd5b50610223610516565b6040516102309190610d89565b60405180910390f35b60006102576102466104c4565b476102519190610dd6565b83610548565b9050919050565b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16905090565b600061029b826104cd565b6102a58342610393565b6102af9190610eb7565b905080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546103009190610dd6565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167fc0e523490dd523c33b1878c9eb14ff46991e3f5b2cd33710918618f2a39cba1b8260405161034d9190610d89565b60405180910390a26103678261036161036b565b836105e2565b5050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b600061043a6103a1846104cd565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103da9190610c83565b60206040518083038186803b1580156103f257600080fd5b505afa158015610406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042a9190610aab565b6104349190610dd6565b83610548565b905092915050565b600061044c6104c4565b61045542610239565b61045f9190610eb7565b9050806000808282546104729190610dd6565b925050819055507fda9d4e5f101b8b9b1c5b76d0c5a9f7923571acfc02376aa076b75a8c080c956b816040516104a89190610d89565b60405180910390a16104c16104bb61036b565b82610668565b50565b60008054905090565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16905090565b6000610552610516565b8267ffffffffffffffff16101561056c57600090506105dc565b61057461025e565b61057c610516565b6105869190610dd6565b8267ffffffffffffffff16111561059f578290506105dc565b6105a761025e565b6105af610516565b8367ffffffffffffffff166105c49190610eb7565b846105cf9190610e5d565b6105d99190610e2c565b90505b92915050565b6106638363a9059cbb60e01b8484604051602401610601929190610c9e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061075c565b505050565b804710156106ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a290610d09565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516106d190610c6e565b60006040518083038185875af1925050503d806000811461070e576040519150601f19603f3d011682016040523d82523d6000602084013e610713565b606091505b5050905080610757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074e90610ce9565b60405180910390fd5b505050565b60006107be826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166108239092919063ffffffff16565b905060008151111561081e57808060200190518101906107de9190610a82565b61081d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081490610d69565b60405180910390fd5b5b505050565b6060610832848460008561083b565b90509392505050565b606082471015610880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087790610d29565b60405180910390fd5b6108898561094f565b6108c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf90610d49565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516108f19190610c57565b60006040518083038185875af1925050503d806000811461092e576040519150601f19603f3d011682016040523d82523d6000602084013e610933565b606091505b5091509150610943828286610962565b92505050949350505050565b600080823b905060008111915050919050565b60608315610972578290506109c2565b6000835111156109855782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b99190610cc7565b60405180910390fd5b9392505050565b6000813590506109d88161112b565b92915050565b6000815190506109ed81611142565b92915050565b600081519050610a0281611159565b92915050565b600081359050610a1781611170565b92915050565b600060208284031215610a2f57600080fd5b6000610a3d848285016109c9565b91505092915050565b60008060408385031215610a5957600080fd5b6000610a67858286016109c9565b9250506020610a7885828601610a08565b9150509250929050565b600060208284031215610a9457600080fd5b6000610aa2848285016109de565b91505092915050565b600060208284031215610abd57600080fd5b6000610acb848285016109f3565b91505092915050565b600060208284031215610ae657600080fd5b6000610af484828501610a08565b91505092915050565b610b0681610eeb565b82525050565b6000610b1782610da4565b610b218185610dba565b9350610b31818560208601610f47565b80840191505092915050565b6000610b4882610daf565b610b528185610dc5565b9350610b62818560208601610f47565b610b6b81610fd8565b840191505092915050565b6000610b83603a83610dc5565b9150610b8e82610fe9565b604082019050919050565b6000610ba6601d83610dc5565b9150610bb182611038565b602082019050919050565b6000610bc9602683610dc5565b9150610bd482611061565b604082019050919050565b6000610bec600083610dba565b9150610bf7826110b0565b600082019050919050565b6000610c0f601d83610dc5565b9150610c1a826110b3565b602082019050919050565b6000610c32602a83610dc5565b9150610c3d826110dc565b604082019050919050565b610c5181610f29565b82525050565b6000610c638284610b0c565b915081905092915050565b6000610c7982610bdf565b9150819050919050565b6000602082019050610c986000830184610afd565b92915050565b6000604082019050610cb36000830185610afd565b610cc06020830184610c48565b9392505050565b60006020820190508181036000830152610ce18184610b3d565b905092915050565b60006020820190508181036000830152610d0281610b76565b9050919050565b60006020820190508181036000830152610d2281610b99565b9050919050565b60006020820190508181036000830152610d4281610bbc565b9050919050565b60006020820190508181036000830152610d6281610c02565b9050919050565b60006020820190508181036000830152610d8281610c25565b9050919050565b6000602082019050610d9e6000830184610c48565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610de182610f29565b9150610dec83610f29565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610e2157610e20610f7a565b5b828201905092915050565b6000610e3782610f29565b9150610e4283610f29565b925082610e5257610e51610fa9565b5b828204905092915050565b6000610e6882610f29565b9150610e7383610f29565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610eac57610eab610f7a565b5b828202905092915050565b6000610ec282610f29565b9150610ecd83610f29565b925082821015610ee057610edf610f7a565b5b828203905092915050565b6000610ef682610f09565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b60005b83811015610f65578082015181840152602081019050610f4a565b83811115610f74576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b61113481610eeb565b811461113f57600080fd5b50565b61114b81610efd565b811461115657600080fd5b50565b61116281610f29565b811461116d57600080fd5b50565b61117981610f33565b811461118457600080fd5b5056fea264697066735822122024f6c806cdc056abfbbb6d947c2cfdaecd437991fb76eb28cb349b515d57288564736f6c63430008040033000000000000000000000000ad2e71aaaa2621dcc6666db6f37566862fad19cd000000000000000000000000000000000000000000000000000000006393cc00
Deployed Bytecode
0x60806040526004361061008a5760003560e01c8063810ec23b11610059578063810ec23b1461015257806386d1a69f1461018f57806396132521146101a65780639852595c146101d1578063be9a65551461020e57610091565b80630a17b06b146100965780630fb5a6b4146100d357806319165587146100fe57806338af3eed1461012757610091565b3661009157005b600080fd5b3480156100a257600080fd5b506100bd60048036038101906100b89190610ad4565b610239565b6040516100ca9190610d89565b60405180910390f35b3480156100df57600080fd5b506100e861025e565b6040516100f59190610d89565b60405180910390f35b34801561010a57600080fd5b5061012560048036038101906101209190610a1d565b610290565b005b34801561013357600080fd5b5061013c61036b565b6040516101499190610c83565b60405180910390f35b34801561015e57600080fd5b5061017960048036038101906101749190610a46565b610393565b6040516101869190610d89565b60405180910390f35b34801561019b57600080fd5b506101a4610442565b005b3480156101b257600080fd5b506101bb6104c4565b6040516101c89190610d89565b60405180910390f35b3480156101dd57600080fd5b506101f860048036038101906101f39190610a1d565b6104cd565b6040516102059190610d89565b60405180910390f35b34801561021a57600080fd5b50610223610516565b6040516102309190610d89565b60405180910390f35b60006102576102466104c4565b476102519190610dd6565b83610548565b9050919050565b60007f0000000000000000000000000000000000000000000000000000000001e1338067ffffffffffffffff16905090565b600061029b826104cd565b6102a58342610393565b6102af9190610eb7565b905080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546103009190610dd6565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167fc0e523490dd523c33b1878c9eb14ff46991e3f5b2cd33710918618f2a39cba1b8260405161034d9190610d89565b60405180910390a26103678261036161036b565b836105e2565b5050565b60007f000000000000000000000000ad2e71aaaa2621dcc6666db6f37566862fad19cd905090565b600061043a6103a1846104cd565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103da9190610c83565b60206040518083038186803b1580156103f257600080fd5b505afa158015610406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042a9190610aab565b6104349190610dd6565b83610548565b905092915050565b600061044c6104c4565b61045542610239565b61045f9190610eb7565b9050806000808282546104729190610dd6565b925050819055507fda9d4e5f101b8b9b1c5b76d0c5a9f7923571acfc02376aa076b75a8c080c956b816040516104a89190610d89565b60405180910390a16104c16104bb61036b565b82610668565b50565b60008054905090565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f000000000000000000000000000000000000000000000000000000006393cc0067ffffffffffffffff16905090565b6000610552610516565b8267ffffffffffffffff16101561056c57600090506105dc565b61057461025e565b61057c610516565b6105869190610dd6565b8267ffffffffffffffff16111561059f578290506105dc565b6105a761025e565b6105af610516565b8367ffffffffffffffff166105c49190610eb7565b846105cf9190610e5d565b6105d99190610e2c565b90505b92915050565b6106638363a9059cbb60e01b8484604051602401610601929190610c9e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061075c565b505050565b804710156106ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a290610d09565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516106d190610c6e565b60006040518083038185875af1925050503d806000811461070e576040519150601f19603f3d011682016040523d82523d6000602084013e610713565b606091505b5050905080610757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074e90610ce9565b60405180910390fd5b505050565b60006107be826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166108239092919063ffffffff16565b905060008151111561081e57808060200190518101906107de9190610a82565b61081d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081490610d69565b60405180910390fd5b5b505050565b6060610832848460008561083b565b90509392505050565b606082471015610880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087790610d29565b60405180910390fd5b6108898561094f565b6108c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf90610d49565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516108f19190610c57565b60006040518083038185875af1925050503d806000811461092e576040519150601f19603f3d011682016040523d82523d6000602084013e610933565b606091505b5091509150610943828286610962565b92505050949350505050565b600080823b905060008111915050919050565b60608315610972578290506109c2565b6000835111156109855782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b99190610cc7565b60405180910390fd5b9392505050565b6000813590506109d88161112b565b92915050565b6000815190506109ed81611142565b92915050565b600081519050610a0281611159565b92915050565b600081359050610a1781611170565b92915050565b600060208284031215610a2f57600080fd5b6000610a3d848285016109c9565b91505092915050565b60008060408385031215610a5957600080fd5b6000610a67858286016109c9565b9250506020610a7885828601610a08565b9150509250929050565b600060208284031215610a9457600080fd5b6000610aa2848285016109de565b91505092915050565b600060208284031215610abd57600080fd5b6000610acb848285016109f3565b91505092915050565b600060208284031215610ae657600080fd5b6000610af484828501610a08565b91505092915050565b610b0681610eeb565b82525050565b6000610b1782610da4565b610b218185610dba565b9350610b31818560208601610f47565b80840191505092915050565b6000610b4882610daf565b610b528185610dc5565b9350610b62818560208601610f47565b610b6b81610fd8565b840191505092915050565b6000610b83603a83610dc5565b9150610b8e82610fe9565b604082019050919050565b6000610ba6601d83610dc5565b9150610bb182611038565b602082019050919050565b6000610bc9602683610dc5565b9150610bd482611061565b604082019050919050565b6000610bec600083610dba565b9150610bf7826110b0565b600082019050919050565b6000610c0f601d83610dc5565b9150610c1a826110b3565b602082019050919050565b6000610c32602a83610dc5565b9150610c3d826110dc565b604082019050919050565b610c5181610f29565b82525050565b6000610c638284610b0c565b915081905092915050565b6000610c7982610bdf565b9150819050919050565b6000602082019050610c986000830184610afd565b92915050565b6000604082019050610cb36000830185610afd565b610cc06020830184610c48565b9392505050565b60006020820190508181036000830152610ce18184610b3d565b905092915050565b60006020820190508181036000830152610d0281610b76565b9050919050565b60006020820190508181036000830152610d2281610b99565b9050919050565b60006020820190508181036000830152610d4281610bbc565b9050919050565b60006020820190508181036000830152610d6281610c02565b9050919050565b60006020820190508181036000830152610d8281610c25565b9050919050565b6000602082019050610d9e6000830184610c48565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610de182610f29565b9150610dec83610f29565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610e2157610e20610f7a565b5b828201905092915050565b6000610e3782610f29565b9150610e4283610f29565b925082610e5257610e51610fa9565b5b828204905092915050565b6000610e6882610f29565b9150610e7383610f29565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610eac57610eab610f7a565b5b828202905092915050565b6000610ec282610f29565b9150610ecd83610f29565b925082821015610ee057610edf610f7a565b5b828203905092915050565b6000610ef682610f09565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b60005b83811015610f65578082015181840152602081019050610f4a565b83811115610f74576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b61113481610eeb565b811461113f57600080fd5b50565b61114b81610efd565b811461115657600080fd5b50565b61116281610f29565b811461116d57600080fd5b50565b61117981610f33565b811461118457600080fd5b5056fea264697066735822122024f6c806cdc056abfbbb6d947c2cfdaecd437991fb76eb28cb349b515d57288564736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ad2e71aaaa2621dcc6666db6f37566862fad19cd000000000000000000000000000000000000000000000000000000006393cc00
-----Decoded View---------------
Arg [0] : beneficiaryAddress (address): 0xad2E71aAAa2621DCC6666dB6f37566862fAd19Cd
Arg [1] : startTimestamp (uint64): 1670630400
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ad2e71aaaa2621dcc6666db6f37566862fad19cd
Arg [1] : 000000000000000000000000000000000000000000000000000000006393cc00
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.