Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TreasuryVester
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 10000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* _____ _ ______ _ _ / ____| | | ____(_) | | | | | |__ ___ ___ ___| |__ _ ___| |__ | | | '_ \ / _ \/ __/ __| __| | / __| '_ \ | |____| | | | __/\__ \__ \ | | \__ \ | | | \_____|_| |_|\___||___/___/_| |_|___/_| |_| */ /// @title ChessFish Treasury Vester /// @author Uniswap & updated by ChessFish /// @notice https://github.com/Uniswap/governance/blob/master/contracts/TreasuryVester.sol /// @notice https://github.com/Chess-Fish pragma solidity ^0.8.22; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract TreasuryVester { using SafeMath for uint; address public splitter; address public cfsh; address public recipient; uint public vestingAmount; uint public vestingBegin; uint public vestingCliff; uint public vestingEnd; uint public lastUpdate; constructor( address cfsh_, address recipient_, uint vestingAmount_, uint vestingBegin_, uint vestingCliff_, uint vestingEnd_ ) { require(vestingBegin_ >= block.timestamp, "TreasuryVester::constructor: vesting begin too early"); require(vestingCliff_ >= vestingBegin_, "TreasuryVester::constructor: cliff is too early"); require(vestingEnd_ > vestingCliff_, "TreasuryVester::constructor: end is too early"); cfsh = cfsh_; recipient = recipient_; vestingAmount = vestingAmount_; vestingBegin = vestingBegin_; vestingCliff = vestingCliff_; vestingEnd = vestingEnd_; lastUpdate = vestingBegin; } function setRecipient(address recipient_) public { require(msg.sender == recipient, "TreasuryVester::setRecipient: unauthorized"); recipient = recipient_; } function claim() public { require(block.timestamp >= vestingCliff, "TreasuryVester::claim: not time yet"); uint amount; if (block.timestamp >= vestingEnd) { amount = ICFSH(cfsh).balanceOf(address(this)); } else { amount = vestingAmount.mul(block.timestamp - lastUpdate).div(vestingEnd - vestingBegin); lastUpdate = block.timestamp; } ICFSH(cfsh).transfer(recipient, amount); } function releaseDividendsERC20(address token) external { uint amount = IPaymentSplitter(splitter).releasableERC20(token, address(this)); IPaymentSplitter(splitter).releaseERC20(token, address(this)); IERC20(token).transfer(recipient, amount); } function releaseDividendsNative() external { uint amount = IPaymentSplitter(splitter).releasableNative(address(this)); IPaymentSplitter(splitter).releaseNative(address(this)); payable(recipient).transfer(amount); } function setSplitterContract(address _splitter) external { require(msg.sender == recipient, "TreasuryVester::setRecipient: unauthorized"); splitter = _splitter; } } interface ICFSH { function balanceOf(address account) external view returns (uint); function transfer(address dst, uint rawAmount) external returns (bool); } interface IPaymentSplitter { function releasableERC20(address token, address account) external returns (uint256); function releasableNative(address account) external returns (uint256); function releaseERC20(address token, address account) external; function releaseNative(address account) external; }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 10000 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"cfsh_","type":"address"},{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"vestingAmount_","type":"uint256"},{"internalType":"uint256","name":"vestingBegin_","type":"uint256"},{"internalType":"uint256","name":"vestingCliff_","type":"uint256"},{"internalType":"uint256","name":"vestingEnd_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"cfsh","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"releaseDividendsERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseDividendsNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"}],"name":"setRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_splitter","type":"address"}],"name":"setSplitterContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"splitter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingBegin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingCliff","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610c93380380610c9383398101604081905261002f916101df565b428310156100aa5760405162461bcd60e51b815260206004820152603460248201527f54726561737572795665737465723a3a636f6e7374727563746f723a2076657360448201527f74696e6720626567696e20746f6f206561726c7900000000000000000000000060648201526084015b60405180910390fd5b828210156101125760405162461bcd60e51b815260206004820152602f60248201527f54726561737572795665737465723a3a636f6e7374727563746f723a20636c6960448201526e666620697320746f6f206561726c7960881b60648201526084016100a1565b8181116101775760405162461bcd60e51b815260206004820152602d60248201527f54726561737572795665737465723a3a636f6e7374727563746f723a20656e6460448201526c20697320746f6f206561726c7960981b60648201526084016100a1565b600180546001600160a01b039788166001600160a01b03199182161790915560028054969097169516949094179094556003919091556004819055600592909255600655600755610237565b80516001600160a01b03811681146101da57600080fd5b919050565b60008060008060008060c087890312156101f857600080fd5b610201876101c3565b955061020f602088016101c3565b945060408701519350606087015192506080870151915060a087015190509295509295509295565b610a4d806102466000396000f3fe608060405234801561001057600080fd5b50600436106100de5760003560e01c80638d3e67081161008c578063c046371111610066578063c0463711146101c5578063c4a61fa3146101ce578063e29bc68b146101e1578063f3640e74146101ea57600080fd5b80638d3e67081461018a5780639db7384a146101aa578063aaab0737146101b257600080fd5b80634e71d92d116100bd5780634e71d92d1461015957806366d003ac1461016157806384a1931f1461018157600080fd5b8062728f76146100e35780633bbed4a0146100ff5780633cd8045e14610114575b600080fd5b6100ec60035481565b6040519081526020015b60405180910390f35b61011261010d366004610934565b6101f3565b005b6000546101349073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f6565b6101126102e6565b6002546101349073ffffffffffffffffffffffffffffffffffffffff1681565b6100ec60065481565b6001546101349073ffffffffffffffffffffffffffffffffffffffff1681565b6101126104f9565b6101126101c0366004610934565b610659565b6100ec60075481565b6101126101dc366004610934565b610747565b6100ec60045481565b6100ec60055481565b60025473ffffffffffffffffffffffffffffffffffffffff16331461029f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f54726561737572795665737465723a3a736574526563697069656e743a20756e60448201527f617574686f72697a65640000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600554421015610378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54726561737572795665737465723a3a636c61696d3a206e6f742074696d652060448201527f79657400000000000000000000000000000000000000000000000000000000006064820152608401610296565b6000600654421061041c576001546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa1580156103f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104159190610971565b9050610456565b61044f60045460065461042f91906109b9565b6104496007544261044091906109b9565b60035490610913565b90610928565b4260075590505b6001546002546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810184905291169063a9059cbb906044016020604051808303816000875af11580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906109cc565b5050565b600080546040517f595bf89900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169063595bf899906024016020604051808303816000875af115801561056a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058e9190610971565b6000546040517f35853b8000000000000000000000000000000000000000000000000000000000815230600482015291925073ffffffffffffffffffffffffffffffffffffffff16906335853b8090602401600060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b505060025460405173ffffffffffffffffffffffffffffffffffffffff909116925083156108fc02915083906000818181858888f193505050501580156104f5573d6000803e3d6000fd5b60025473ffffffffffffffffffffffffffffffffffffffff163314610700576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f54726561737572795665737465723a3a736574526563697069656e743a20756e60448201527f617574686f72697a6564000000000000000000000000000000000000000000006064820152608401610296565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600080546040517f466bc05700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301523060248301529091169063466bc057906044016020604051808303816000875af11580156107c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e49190610971565b6000546040517ff9a76be200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015230602483015292935091169063f9a76be290604401600060405180830381600087803b15801561085957600080fd5b505af115801561086d573d6000803e3d6000fd5b50506002546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101859052908516925063a9059cbb91506044016020604051808303816000875af11580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e91906109cc565b505050565b600061091f82846109ee565b90505b92915050565b600061091f8284610a05565b60006020828403121561094657600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461096a57600080fd5b9392505050565b60006020828403121561098357600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156109225761092261098a565b6000602082840312156109de57600080fd5b8151801515811461096a57600080fd5b80820281158282048414176109225761092261098a565b600082610a3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea164736f6c6343000816000a000000000000000000000000e2976a66e8cef3932cdaeb935e114dcd5ce20f20000000000000000000000000c61bdcc3a088323d39dbe364c10281982836506c00000000000000000000000000000000000000000000152d02c7e14af680000000000000000000000000000000000000000000000000000000000000656574d600000000000000000000000000000000000000000000000000000000658bb05600000000000000000000000000000000000000000000000000000000674556d6
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100de5760003560e01c80638d3e67081161008c578063c046371111610066578063c0463711146101c5578063c4a61fa3146101ce578063e29bc68b146101e1578063f3640e74146101ea57600080fd5b80638d3e67081461018a5780639db7384a146101aa578063aaab0737146101b257600080fd5b80634e71d92d116100bd5780634e71d92d1461015957806366d003ac1461016157806384a1931f1461018157600080fd5b8062728f76146100e35780633bbed4a0146100ff5780633cd8045e14610114575b600080fd5b6100ec60035481565b6040519081526020015b60405180910390f35b61011261010d366004610934565b6101f3565b005b6000546101349073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f6565b6101126102e6565b6002546101349073ffffffffffffffffffffffffffffffffffffffff1681565b6100ec60065481565b6001546101349073ffffffffffffffffffffffffffffffffffffffff1681565b6101126104f9565b6101126101c0366004610934565b610659565b6100ec60075481565b6101126101dc366004610934565b610747565b6100ec60045481565b6100ec60055481565b60025473ffffffffffffffffffffffffffffffffffffffff16331461029f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f54726561737572795665737465723a3a736574526563697069656e743a20756e60448201527f617574686f72697a65640000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600554421015610378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54726561737572795665737465723a3a636c61696d3a206e6f742074696d652060448201527f79657400000000000000000000000000000000000000000000000000000000006064820152608401610296565b6000600654421061041c576001546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa1580156103f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104159190610971565b9050610456565b61044f60045460065461042f91906109b9565b6104496007544261044091906109b9565b60035490610913565b90610928565b4260075590505b6001546002546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810184905291169063a9059cbb906044016020604051808303816000875af11580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906109cc565b5050565b600080546040517f595bf89900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169063595bf899906024016020604051808303816000875af115801561056a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058e9190610971565b6000546040517f35853b8000000000000000000000000000000000000000000000000000000000815230600482015291925073ffffffffffffffffffffffffffffffffffffffff16906335853b8090602401600060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b505060025460405173ffffffffffffffffffffffffffffffffffffffff909116925083156108fc02915083906000818181858888f193505050501580156104f5573d6000803e3d6000fd5b60025473ffffffffffffffffffffffffffffffffffffffff163314610700576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f54726561737572795665737465723a3a736574526563697069656e743a20756e60448201527f617574686f72697a6564000000000000000000000000000000000000000000006064820152608401610296565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600080546040517f466bc05700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301523060248301529091169063466bc057906044016020604051808303816000875af11580156107c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e49190610971565b6000546040517ff9a76be200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015230602483015292935091169063f9a76be290604401600060405180830381600087803b15801561085957600080fd5b505af115801561086d573d6000803e3d6000fd5b50506002546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101859052908516925063a9059cbb91506044016020604051808303816000875af11580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e91906109cc565b505050565b600061091f82846109ee565b90505b92915050565b600061091f8284610a05565b60006020828403121561094657600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461096a57600080fd5b9392505050565b60006020828403121561098357600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156109225761092261098a565b6000602082840312156109de57600080fd5b8151801515811461096a57600080fd5b80820281158282048414176109225761092261098a565b600082610a3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea164736f6c6343000816000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e2976a66e8cef3932cdaeb935e114dcd5ce20f20000000000000000000000000c61bdcc3a088323d39dbe364c10281982836506c00000000000000000000000000000000000000000000152d02c7e14af680000000000000000000000000000000000000000000000000000000000000656574d600000000000000000000000000000000000000000000000000000000658bb05600000000000000000000000000000000000000000000000000000000674556d6
-----Decoded View---------------
Arg [0] : cfsh_ (address): 0xE2976A66E8CEF3932CDAEb935E114dCd5ce20F20
Arg [1] : recipient_ (address): 0xC61bDCC3A088323D39Dbe364C10281982836506c
Arg [2] : vestingAmount_ (uint256): 100000000000000000000000
Arg [3] : vestingBegin_ (uint256): 1701147862
Arg [4] : vestingCliff_ (uint256): 1703653462
Arg [5] : vestingEnd_ (uint256): 1732597462
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000e2976a66e8cef3932cdaeb935e114dcd5ce20f20
Arg [1] : 000000000000000000000000c61bdcc3a088323d39dbe364c10281982836506c
Arg [2] : 00000000000000000000000000000000000000000000152d02c7e14af6800000
Arg [3] : 00000000000000000000000000000000000000000000000000000000656574d6
Arg [4] : 00000000000000000000000000000000000000000000000000000000658bb056
Arg [5] : 00000000000000000000000000000000000000000000000000000000674556d6
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $1.35 | 160,000 | $216,000 |
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.