VestingWalletStandalone
Inherits: VestingWallet, Initializable
Title: VestingWalletStandalone
Author: Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/finance/VestingWallet.sol)
A non-Diamond deployable VestingWallet that can be used as a standalone contract.
Combines VestingWallet functionality with direct ownership via OwnableLib. The beneficiary is the Ownable owner; to change the beneficiary transfer ownership.
Notes:
- lattice-version: 0.1.0
- lattice-source: OpenZeppelin v5.1.0
Functions
constructor
constructor(address beneficiary, uint64 startTimestamp, uint64 durationSeconds) initializer;Parameters
| Name | Type | Description |
|---|---|---|
| beneficiary | address | The initial beneficiary (owner) who will receive vested tokens. |
| startTimestamp | uint64 | The Unix timestamp at which vesting begins. |
| durationSeconds | uint64 | The total duration of the vesting period in seconds. |
receive
Accepts ETH deposits.
receive() external payable;