You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An account's VestingRecord cannot currently be accessed via the view methods of 0x1::vesting_without_staking. Consequently, we cannot use the smart contract to calculate the currently claimable amount for a given account. The contract exposes the remaining_grant, but this is the entirety of the remaining allocation, not the unlocked portion.
If we add a view function to display theVestingRecord for an account, then a client can calculate the currently available amount by using the init_amount from the record in conjunction with the start_timestamp_secs, period_duration and schedule of the related VestingSchedule.
We should aim to release this patch in the first framework upgrade.
The text was updated successfully, but these errors were encountered:
isaacdoidge
changed the title
Add a view function to display an account VestingRecord
Add a view function to display an account's VestingRecordNov 29, 2024
An account's
VestingRecord
cannot currently be accessed via the view methods of0x1::vesting_without_staking
. Consequently, we cannot use the smart contract to calculate the currently claimable amount for a given account. The contract exposes theremaining_grant
, but this is the entirety of the remaining allocation, not the unlocked portion.If we add a view function to display the
VestingRecord
for an account, then a client can calculate the currently available amount by using theinit_amount
from the record in conjunction with thestart_timestamp_secs
,period_duration
andschedule
of the relatedVestingSchedule
.We should aim to release this patch in the first framework upgrade.
The text was updated successfully, but these errors were encountered: