IVestingSafeDispatcherTrait
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait
Part of the group: dispatchers
pub trait IVestingSafeDispatcherTrait<T>
Trait functions
start
Returns the timestamp marking the beginning of the vesting period.
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait::start
fn start(self: T) -> Result<u64, Array<felt252>>
cliff
Returns the timestamp marking the end of the cliff period.
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait::cliff
fn cliff(self: T) -> Result<u64, Array<felt252>>
duration
Returns the total duration of the vesting period.
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait::duration
fn duration(self: T) -> Result<u64, Array<felt252>>
end
Returns the timestamp marking the end of the vesting period.
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait::end
fn end(self: T) -> Result<u64, Array<felt252>>
released
Returns the already released amount for a given token.
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait::released
fn released(self: T, token: ContractAddress) -> Result<u256, Array<felt252>>
releasable
Returns the amount of a given token that can be released at the time of the call.
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait::releasable
fn releasable(self: T, token: ContractAddress) -> Result<u256, Array<felt252>>
vested_amount
Returns the total vested amount of a specified token at a given timestamp.
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait::vested_amount
fn vested_amount(self: T, token: ContractAddress, timestamp: u64) -> Result<u256, Array<felt252>>
release
Releases the amount of a given token that has already vested.
Fully qualified path: openzeppelin_interfaces::finance::vesting::IVestingSafeDispatcherTrait::release
fn release(self: T, token: ContractAddress) -> Result<u256, Array<felt252>>