staker_delegation_snapshot.gno
CleanStakerDelegationSnapshotByAdmin
func CleanStakerDelegationSnapshotByAdmin(
cur realm,
threshold int64
)CleanStakerDelegationSnapshotByAdmin removes old delegation snapshots. Only callable by admin.
Parameters
Name
Type
Description
cur
realm
Pass cross as argument.
threshold
int64
timestamp threshold for cleanup
SetUnDelegationLockupPeriodByAdmin
SetUnDelegationLockupPeriodByAdmin sets the undelegation lockup period. Only callable by admin.
Parameters
Name
Type
Description
cur
realm
Pass cross as argument.
period
int64
lockup period in seconds
Last updated