giveth:unlock
Unlock GIV locks that ended at the given GIVpower round, making the tokens unstakeable again. Anyone can unlock for any account once the round is over; the round must be earlier than the current one (see @giveth:round).
Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.
Syntax
Section titled “Syntax”giveth:unlock <round> [...account]Arguments
Section titled “Arguments”| Name | Type | Evaluation | Description |
|---|---|---|---|
round | number | Runtime in smart blocks | The round the locks ended at (must be earlier than the current round) |
[...account] | address | Runtime in smart blocks | Accounts to unlock (defaults to the connected account) |
Examples
Section titled “Examples”# Unlock your GIV locks that ended at the previous roundgiveth:unlock @num(@giveth:round - 1)