staker.gno
Last updated
Was this helpful?
Last updated
Was this helpful?
Delegates/Undeleates GNS for governance.
Delegates GNS to a delegate.
to
std.Address
The address to delegate.
amount
uint64
The amount of GNS.
Redelegates xGNS from the existing delegate to another.
from
std.Address
The address to undelegate.
to
std.Address
The address to delegate.
amount
uint64
The amount of xGNS.
Undelegates xGNS from the existing delegate.
from
std.Address
The address to undelegate.
amount
uint64
The amount of xGNS.
tokenId
uint64
The ID of the position.
Collects the amount of the undelegated GNS.
amount
uint64
The amount of GNS token collected.
Collects the rewards from the protocol fee contract based on the holdings of xGNS.
Collects the rewards from the protocol fee contract based on the holdings of xGNS in the launchpad contract (only callable by the launchpad contract).
to
std.Address
The address to delegate.
tokenId
uint64
The ID of the position.