More Info
Private Name Tags
ContractCreator
Latest 15 from a total of 15 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Release | 21379780 | 12 hrs ago | IN | 0 ETH | 0.00241419 | ||||
Release | 20970242 | 57 days ago | IN | 0 ETH | 0.00098895 | ||||
Release | 20502709 | 122 days ago | IN | 0 ETH | 0.00005418 | ||||
Release | 20502706 | 122 days ago | IN | 0 ETH | 0.00007799 | ||||
Release | 19534428 | 258 days ago | IN | 0 ETH | 0.00268044 | ||||
Release | 19019083 | 330 days ago | IN | 0 ETH | 0.00198385 | ||||
Release | 18531590 | 398 days ago | IN | 0 ETH | 0.00173609 | ||||
Release | 18412016 | 415 days ago | IN | 0 ETH | 0.00048585 | ||||
Release | 17663760 | 520 days ago | IN | 0 ETH | 0.00241343 | ||||
Release | 17427333 | 553 days ago | IN | 0 ETH | 0.00143642 | ||||
Release | 17308171 | 570 days ago | IN | 0 ETH | 0.00241727 | ||||
Release | 17164930 | 590 days ago | IN | 0 ETH | 0.00276503 | ||||
Release | 16980747 | 616 days ago | IN | 0 ETH | 0.00188663 | ||||
Release | 16959528 | 619 days ago | IN | 0 ETH | 0.0011904 | ||||
Release | 16941176 | 622 days ago | IN | 0 ETH | 0.00261426 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xDd09Ad9E...A54D338Aa The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ExordeVestingWallet
Compiler Version
v0.8.8+commit.dddeac2f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-07 */ // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.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 * ==== * * [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://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 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); } } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-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); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.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); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @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)); } } 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"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/token-distribution/ExordeVestingWallet.sol pragma solidity 0.8.8; /** * @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); event BeneficiaryUpdated(address indexed previousBeneficiary, address newBeneficiary); uint256 private _released; mapping(address => uint256) private _erc20Released; address private _beneficiary; // can be updated by the beneficiary only 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 ) payable { 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 Getter for the amount of releasable eth. */ function releasable() public view virtual returns (uint256) { return vestedAmount(uint64(block.timestamp)) - released(); } /** * @dev Getter for the amount of releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(address token) public view virtual returns (uint256) { return vestedAmount(token, uint64(block.timestamp)) - released(token); } /** * @dev Release the native token (ether) that have already vested. * * Emits a {EtherReleased} event. */ function release() public virtual { uint256 amount = releasable(); _released += amount; emit EtherReleased(amount); Address.sendValue(payable(beneficiary()), amount); } /** * @dev Release the tokens that have already vested. * * Emits a {ERC20Released} event. */ function release(address token) public virtual { uint256 amount = releasable(token); _erc20Released[token] += amount; emit ERC20Released(token, amount); SafeERC20.safeTransfer(IERC20(token), beneficiary(), amount); } /** * @dev Update the beneficiary address */ function updateBeneficiary(address replacementBeneficiaryAddress_) public virtual { require(msg.sender == beneficiary(), "Only the current beneficiary can update the address"); require(replacementBeneficiaryAddress_ != address(0), "The new beneficiary must be non zero"); _beneficiary = replacementBeneficiaryAddress_; emit BeneficiaryUpdated(msg.sender, replacementBeneficiaryAddress_); } /** * @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 amount 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(); } } } contract ExordeVestingWallet is VestingWallet { uint64 public investor_id; // internal ID uint64 public durationSeconds; string public info; // extra info/data constructor( uint64 investor_id_, string memory info_, address beneficiaryAddress_, uint64 startTimestamp_, uint64 durationSeconds_ ) VestingWallet(beneficiaryAddress_, startTimestamp_, durationSeconds_) { investor_id = investor_id_; durationSeconds = durationSeconds_; info = info_; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint64","name":"investor_id_","type":"uint64"},{"internalType":"string","name":"info_","type":"string"},{"internalType":"address","name":"beneficiaryAddress_","type":"address"},{"internalType":"uint64","name":"startTimestamp_","type":"uint64"},{"internalType":"uint64","name":"durationSeconds_","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousBeneficiary","type":"address"},{"indexed":false,"internalType":"address","name":"newBeneficiary","type":"address"}],"name":"BeneficiaryUpdated","type":"event"},{"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":[],"name":"durationSeconds","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"info","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"investor_id","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releasable","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":"address","name":"replacementBeneficiaryAddress_","type":"address"}],"name":"updateBeneficiary","outputs":[],"stateMutability":"nonpayable","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"}]
Deployed Bytecode
0x6080604052600436106100ec5760003560e01c806386d1a69f1161008a578063a3f8eace11610059578063a3f8eace146102ae578063be9a6555146102ce578063e02577e8146102e3578063fbccedae1461030b57600080fd5b806386d1a69f1461021457806396132521146102295780639852595c1461023e5780639acba2af1461027457600080fd5b806319165587116100c6578063191655871461018a578063370158ea146101aa57806338af3eed146101cc578063810ec23b146101f457600080fd5b80630a17b06b146100f85780630aaffd2a1461012b5780630fb5a6b41461014d57600080fd5b366100f357005b600080fd5b34801561010457600080fd5b50610118610113366004610bf5565b610320565b6040519081526020015b60405180910390f35b34801561013757600080fd5b5061014b610146366004610c27565b610344565b005b34801561015957600080fd5b507f0000000000000000000000000000000000000000000000000000000003c3228067ffffffffffffffff16610118565b34801561019657600080fd5b5061014b6101a5366004610c27565b610477565b3480156101b657600080fd5b506101bf610512565b6040516101229190610c72565b3480156101d857600080fd5b506002546040516001600160a01b039091168152602001610122565b34801561020057600080fd5b5061011861020f366004610ca5565b6105a0565b34801561022057600080fd5b5061014b610645565b34801561023557600080fd5b50600054610118565b34801561024a57600080fd5b50610118610259366004610c27565b6001600160a01b031660009081526001602052604090205490565b34801561028057600080fd5b506003546102959067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b3480156102ba57600080fd5b506101186102c9366004610c27565b6106b8565b3480156102da57600080fd5b506101186106e5565b3480156102ef57600080fd5b5060025461029590600160a01b900467ffffffffffffffff1681565b34801561031757600080fd5b50610118610713565b600061033e61032e60005490565b6103389047610cee565b8361072f565b92915050565b6002546001600160a01b031633146103bf5760405162461bcd60e51b815260206004820152603360248201527f4f6e6c79207468652063757272656e742062656e65666963696172792063616e6044820152722075706461746520746865206164647265737360681b60648201526084015b60405180910390fd5b6001600160a01b0381166104215760405162461bcd60e51b8152602060048201526024808201527f546865206e65772062656e6566696369617279206d757374206265206e6f6e206044820152637a65726f60e01b60648201526084016103b6565b600280546001600160a01b0319166001600160a01b03831690811790915560405190815233907fe72eaf6addaa195f3c83095031dd08f3a96808dcf047babed1fe4e4f69d6c6229060200160405180910390a250565b6000610482826106b8565b6001600160a01b0383166000908152600160205260408120805492935083929091906104af908490610cee565b90915550506040518181526001600160a01b038316907fc0e523490dd523c33b1878c9eb14ff46991e3f5b2cd33710918618f2a39cba1b9060200160405180910390a261050e826105086002546001600160a01b031690565b83610809565b5050565b6004805461051f90610d06565b80601f016020809104026020016040519081016040528092919081815260200182805461054b90610d06565b80156105985780601f1061056d57610100808354040283529160200191610598565b820191906000526020600020905b81548152906001019060200180831161057b57829003601f168201915b505050505081565b6001600160a01b03821660009081526001602052604081205461063e906040516370a0823160e01b81523060048201526001600160a01b038616906370a082319060240160206040518083038186803b1580156105fc57600080fd5b505afa158015610610573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190610d41565b6103389190610cee565b9392505050565b600061064f610713565b9050806000808282546106629190610cee565b90915550506040518181527fda9d4e5f101b8b9b1c5b76d0c5a9f7923571acfc02376aa076b75a8c080c956b9060200160405180910390a16106b56106af6002546001600160a01b031690565b82610860565b50565b6001600160a01b0381166000908152600160205260408120546106db83426105a0565b61033e9190610d5a565b67ffffffffffffffff7f0000000000000000000000000000000000000000000000000000000064110a801690565b6000805461072042610320565b61072a9190610d5a565b905090565b60006107396106e5565b8267ffffffffffffffff1610156107525750600061033e565b7f0000000000000000000000000000000000000000000000000000000003c3228067ffffffffffffffff166107856106e5565b61078f9190610cee565b8267ffffffffffffffff1611156107a757508161033e565b7f0000000000000000000000000000000000000000000000000000000003c3228067ffffffffffffffff166107da6106e5565b6107ee9067ffffffffffffffff8516610d5a565b6107f89085610d71565b6108029190610d90565b905061033e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261085b908490610979565b505050565b804710156108b05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016103b6565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146108fd576040519150601f19603f3d011682016040523d82523d6000602084013e610902565b606091505b505090508061085b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016103b6565b60006109ce826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a4b9092919063ffffffff16565b80519091501561085b57808060200190518101906109ec9190610db2565b61085b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103b6565b6060610a5a8484600085610a62565b949350505050565b606082471015610ac35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103b6565b600080866001600160a01b03168587604051610adf9190610dd4565b60006040518083038185875af1925050503d8060008114610b1c576040519150601f19603f3d011682016040523d82523d6000602084013e610b21565b606091505b5091509150610b3287838387610b3d565b979650505050505050565b60608315610ba9578251610ba2576001600160a01b0385163b610ba25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b6565b5081610a5a565b610a5a8383815115610bbe5781518083602001fd5b8060405162461bcd60e51b81526004016103b69190610c72565b803567ffffffffffffffff81168114610bf057600080fd5b919050565b600060208284031215610c0757600080fd5b61063e82610bd8565b80356001600160a01b0381168114610bf057600080fd5b600060208284031215610c3957600080fd5b61063e82610c10565b60005b83811015610c5d578181015183820152602001610c45565b83811115610c6c576000848401525b50505050565b6020815260008251806020840152610c91816040850160208701610c42565b601f01601f19169190910160400192915050565b60008060408385031215610cb857600080fd5b610cc183610c10565b9150610ccf60208401610bd8565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610d0157610d01610cd8565b500190565b600181811c90821680610d1a57607f821691505b60208210811415610d3b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610d5357600080fd5b5051919050565b600082821015610d6c57610d6c610cd8565b500390565b6000816000190483118215151615610d8b57610d8b610cd8565b500290565b600082610dad57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610dc457600080fd5b8151801515811461063e57600080fd5b60008251610de6818460208701610c42565b919091019291505056fea264697066735822122086d85fe569db82b4ad20777d4ef3631f707c28a2cd6db9810a2c5e5cfd8b0cd764736f6c63430008080033
Deployed Bytecode Sourcemap
25732:568:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24633:167;;;;;;;;;;-1:-1:-1;24633:167:0;;;;;:::i;:::-;;:::i;:::-;;;525:25:1;;;513:2;498:18;24633:167:0;;;;;;;;24058:430;;;;;;;;;;-1:-1:-1;24058:430:0;;;;;:::i;:::-;;:::i;:::-;;22271:93;;;;;;;;;;-1:-1:-1;22347:9:0;22340:16;;22271:93;;23731:257;;;;;;;;;;-1:-1:-1;23731:257:0;;;;;:::i;:::-;;:::i;25870:18::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;21940:99::-;;;;;;;;;;-1:-1:-1;22019:12:0;;21940:99;;-1:-1:-1;;;;;22019:12:0;;;1727:51:1;;1715:2;1700:18;21940:99:0;1581:203:1;24946:204:0;;;;;;;;;;-1:-1:-1;24946:204:0;;;;;:::i;:::-;;:::i;23391:209::-;;;;;;;;;;;;;:::i;22434:93::-;;;;;;;;;;-1:-1:-1;22483:7:0;22510:9;22434:93;;22599:118;;;;;;;;;;-1:-1:-1;22599:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;22688:21:0;22661:7;22688:21;;;:14;:21;;;;;;;22599:118;25834:29;;;;;;;;;;-1:-1:-1;25834:29:0;;;;;;;;;;;2226:18:1;2214:31;;;2196:50;;2184:2;2169:18;25834:29:0;2052:200:1;23085:161:0;;;;;;;;;;-1:-1:-1;23085:161:0;;;;;:::i;:::-;;:::i;22112:87::-;;;;;;;;;;;;;:::i;25787:25::-;;;;;;;;;;-1:-1:-1;25787:25:0;;;;-1:-1:-1;;;25787:25:0;;;;;;22797:136;;;;;;;;;;;;;:::i;24633:167::-;24702:7;24729:63;24770:10;22483:7;22510:9;;22434:93;24770:10;24746:34;;:21;:34;:::i;:::-;24782:9;24729:16;:63::i;:::-;24722:70;24633:167;-1:-1:-1;;24633:167:0:o;24058:430::-;22019:12;;-1:-1:-1;;;;;22019:12:0;24159:10;:27;24151:91;;;;-1:-1:-1;;;24151:91:0;;2724:2:1;24151:91:0;;;2706:21:1;2763:2;2743:18;;;2736:30;2802:34;2782:18;;;2775:62;-1:-1:-1;;;2853:18:1;;;2846:49;2912:19;;24151:91:0;;;;;;;;;-1:-1:-1;;;;;24261:44:0;;24253:93;;;;-1:-1:-1;;;24253:93:0;;3144:2:1;24253:93:0;;;3126:21:1;3183:2;3163:18;;;3156:30;3222:34;3202:18;;;3195:62;-1:-1:-1;;;3273:18:1;;;3266:34;3317:19;;24253:93:0;2942:400:1;24253:93:0;24357:12;:45;;-1:-1:-1;;;;;;24357:45:0;-1:-1:-1;;;;;24357:45:0;;;;;;;;24418:62;;1727:51:1;;;24437:10:0;;24418:62;;1715:2:1;1700:18;24418:62:0;;;;;;;24058:430;:::o;23731:257::-;23789:14;23806:17;23817:5;23806:10;:17::i;:::-;-1:-1:-1;;;;;23834:21:0;;;;;;:14;:21;;;;;:31;;23789:34;;-1:-1:-1;23789:34:0;;23834:21;;;:31;;23789:34;;23834:31;:::i;:::-;;;;-1:-1:-1;;23881:28:0;;525:25:1;;;-1:-1:-1;;;;;23881:28:0;;;;;513:2:1;498:18;23881:28:0;;;;;;;23920:60;23950:5;23958:13;22019:12;;-1:-1:-1;;;;;22019:12:0;;21940:99;23958:13;23973:6;23920:22;:60::i;:::-;23778:210;23731:257;:::o;25870:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24946:204::-;-1:-1:-1;;;;;22688:21:0;;25030:7;22688:21;;;:14;:21;;;;;;25057:85;;25074:38;;-1:-1:-1;;;25074:38:0;;25106:4;25074:38;;;1727:51:1;-1:-1:-1;;;;;25074:23:0;;;;;1700:18:1;;25074:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;;:::i;25057:85::-;25050:92;24946:204;-1:-1:-1;;;24946:204:0:o;23391:209::-;23436:14;23453:12;:10;:12::i;:::-;23436:29;;23489:6;23476:9;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;;23511:21:0;;525:25:1;;;23511:21:0;;513:2:1;498:18;23511:21:0;;;;;;;23543:49;23569:13;22019:12;;-1:-1:-1;;;;;22019:12:0;;21940:99;23569:13;23585:6;23543:17;:49::i;:::-;23425:175;23391:209::o;23085:161::-;-1:-1:-1;;;;;22688:21:0;;23149:7;22688:21;;;:14;:21;;;;;;23176:44;23189:5;23203:15;23176:12;:44::i;:::-;:62;;;;:::i;22112:87::-;22178:13;22185:6;22178:13;;22112:87::o;22797:136::-;22848:7;22510:9;;22875:37;22895:15;22875:12;:37::i;:::-;:50;;;;:::i;:::-;22868:57;;22797:136;:::o;25351:374::-;25451:7;25487;:5;:7::i;:::-;25475:9;:19;;;25471:247;;;-1:-1:-1;25518:1:0;25511:8;;25471:247;22347:9;22340:16;;25553:7;:5;:7::i;:::-;:20;;;;:::i;:::-;25541:9;:32;;;25537:181;;;-1:-1:-1;25597:15:0;25590:22;;25537:181;22347:9;22340:16;;25684:7;:5;:7::i;:::-;25672:19;;;;;;:::i;:::-;25653:39;;:15;:39;:::i;:::-;25652:54;;;;:::i;:::-;25645:61;;;;16279:211;16423:58;;;-1:-1:-1;;;;;4638:32:1;;16423:58:0;;;4620:51:1;4687:18;;;;4680:34;;;16423:58:0;;;;;;;;;;4593:18:1;;;;16423:58:0;;;;;;;;-1:-1:-1;;;;;16423:58:0;-1:-1:-1;;;16423:58:0;;;16396:86;;16416:5;;16396:19;:86::i;:::-;16279:211;;;:::o;3387:317::-;3502:6;3477:21;:31;;3469:73;;;;-1:-1:-1;;;3469:73:0;;4927:2:1;3469:73:0;;;4909:21:1;4966:2;4946:18;;;4939:30;5005:31;4985:18;;;4978:59;5054:18;;3469:73:0;4725:353:1;3469:73:0;3556:12;3574:9;-1:-1:-1;;;;;3574:14:0;3596:6;3574:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3555:52;;;3626:7;3618:78;;;;-1:-1:-1;;;3618:78:0;;5495:2:1;3618:78:0;;;5477:21:1;5534:2;5514:18;;;5507:30;5573:34;5553:18;;;5546:62;5644:28;5624:18;;;5617:56;5690:19;;3618:78:0;5293:422:1;19346:716:0;19770:23;19796:69;19824:4;19796:69;;;;;;;;;;;;;;;;;19804:5;-1:-1:-1;;;;;19796:27:0;;;:69;;;;;:::i;:::-;19880:17;;19770:95;;-1:-1:-1;19880:21:0;19876:179;;19977:10;19966:30;;;;;;;;;;;;:::i;:::-;19958:85;;;;-1:-1:-1;;;19958:85:0;;6204:2:1;19958:85:0;;;6186:21:1;6243:2;6223:18;;;6216:30;6282:34;6262:18;;;6255:62;-1:-1:-1;;;6333:18:1;;;6326:40;6383:19;;19958:85:0;6002:406:1;4883:229:0;5020:12;5052:52;5074:6;5082:4;5088:1;5091:12;5052:21;:52::i;:::-;5045:59;4883:229;-1:-1:-1;;;;4883:229:0:o;6003:455::-;6173:12;6231:5;6206:21;:30;;6198:81;;;;-1:-1:-1;;;6198:81:0;;6615:2:1;6198:81:0;;;6597:21:1;6654:2;6634:18;;;6627:30;6693:34;6673:18;;;6666:62;-1:-1:-1;;;6744:18:1;;;6737:36;6790:19;;6198:81:0;6413:402:1;6198:81:0;6291:12;6305:23;6332:6;-1:-1:-1;;;;;6332:11:0;6351:5;6358:4;6332:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6290:73;;;;6381:69;6408:6;6416:7;6425:10;6437:12;6381:26;:69::i;:::-;6374:76;6003:455;-1:-1:-1;;;;;;;6003:455:0:o;8576:644::-;8761:12;8790:7;8786:427;;;8818:17;;8814:290;;-1:-1:-1;;;;;2421:19:0;;;9028:60;;;;-1:-1:-1;;;9028:60:0;;7301:2:1;9028:60:0;;;7283:21:1;7340:2;7320:18;;;7313:30;7379:31;7359:18;;;7352:59;7428:18;;9028:60:0;7099:353:1;9028:60:0;-1:-1:-1;9125:10:0;9118:17;;8786:427;9168:33;9176:10;9188:12;9923:17;;:21;9919:388;;10155:10;10149:17;10212:15;10199:10;10195:2;10191:19;10184:44;9919:388;10282:12;10275:20;;-1:-1:-1;;;10275:20:0;;;;;;;;:::i;14:171:1:-;81:20;;141:18;130:30;;120:41;;110:69;;175:1;172;165:12;110:69;14:171;;;:::o;190:184::-;248:6;301:2;289:9;280:7;276:23;272:32;269:52;;;317:1;314;307:12;269:52;340:28;358:9;340:28;:::i;561:173::-;629:20;;-1:-1:-1;;;;;678:31:1;;668:42;;658:70;;724:1;721;714:12;739:186;798:6;851:2;839:9;830:7;826:23;822:32;819:52;;;867:1;864;857:12;819:52;890:29;909:9;890:29;:::i;930:258::-;1002:1;1012:113;1026:6;1023:1;1020:13;1012:113;;;1102:11;;;1096:18;1083:11;;;1076:39;1048:2;1041:10;1012:113;;;1143:6;1140:1;1137:13;1134:48;;;1178:1;1169:6;1164:3;1160:16;1153:27;1134:48;;930:258;;;:::o;1193:383::-;1342:2;1331:9;1324:21;1305:4;1374:6;1368:13;1417:6;1412:2;1401:9;1397:18;1390:34;1433:66;1492:6;1487:2;1476:9;1472:18;1467:2;1459:6;1455:15;1433:66;:::i;:::-;1560:2;1539:15;-1:-1:-1;;1535:29:1;1520:45;;;;1567:2;1516:54;;1193:383;-1:-1:-1;;1193:383:1:o;1789:258::-;1856:6;1864;1917:2;1905:9;1896:7;1892:23;1888:32;1885:52;;;1933:1;1930;1923:12;1885:52;1956:29;1975:9;1956:29;:::i;:::-;1946:39;;2004:37;2037:2;2026:9;2022:18;2004:37;:::i;:::-;1994:47;;1789:258;;;;;:::o;2257:127::-;2318:10;2313:3;2309:20;2306:1;2299:31;2349:4;2346:1;2339:15;2373:4;2370:1;2363:15;2389:128;2429:3;2460:1;2456:6;2453:1;2450:13;2447:39;;;2466:18;;:::i;:::-;-1:-1:-1;2502:9:1;;2389:128::o;3347:380::-;3426:1;3422:12;;;;3469;;;3490:61;;3544:4;3536:6;3532:17;3522:27;;3490:61;3597:2;3589:6;3586:14;3566:18;3563:38;3560:161;;;3643:10;3638:3;3634:20;3631:1;3624:31;3678:4;3675:1;3668:15;3706:4;3703:1;3696:15;3560:161;;3347:380;;;:::o;3732:184::-;3802:6;3855:2;3843:9;3834:7;3830:23;3826:32;3823:52;;;3871:1;3868;3861:12;3823:52;-1:-1:-1;3894:16:1;;3732:184;-1:-1:-1;3732:184:1:o;3921:125::-;3961:4;3989:1;3986;3983:8;3980:34;;;3994:18;;:::i;:::-;-1:-1:-1;4031:9:1;;3921:125::o;4051:168::-;4091:7;4157:1;4153;4149:6;4145:14;4142:1;4139:21;4134:1;4127:9;4120:17;4116:45;4113:71;;;4164:18;;:::i;:::-;-1:-1:-1;4204:9:1;;4051:168::o;4224:217::-;4264:1;4290;4280:132;;4334:10;4329:3;4325:20;4322:1;4315:31;4369:4;4366:1;4359:15;4397:4;4394:1;4387:15;4280:132;-1:-1:-1;4426:9:1;;4224:217::o;5720:277::-;5787:6;5840:2;5828:9;5819:7;5815:23;5811:32;5808:52;;;5856:1;5853;5846:12;5808:52;5888:9;5882:16;5941:5;5934:13;5927:21;5920:5;5917:32;5907:60;;5963:1;5960;5953:12;6820:274;6949:3;6987:6;6981:13;7003:53;7049:6;7044:3;7037:4;7029:6;7025:17;7003:53;:::i;:::-;7072:16;;;;;6820:274;-1:-1:-1;;6820:274:1:o
Swarm Source
ipfs://86d85fe569db82b4ad20777d4ef3631f707c28a2cd6db9810a2c5e5cfd8b0cd7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.040133 | 28,278.0915 | $1,134.87 |
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.