staker.gno
Last updated
Last updated
Delegates/Undeleates GNS for governance.
Delegates GNS to a delegate.
Redelegates xGNS from the existing delegate to another.
Undelegates xGNS from the existing delegate.
Collects the amount of the undelegated GNS.
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).
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
to
std.Address
The address to delegate.
amount
uint64
The amount of GNS.
from
std.Address
The address to undelegate.
to
std.Address
The address to delegate.
amount
uint64
The amount of xGNS.
from
std.Address
The address to undelegate.
amount
uint64
The amount of xGNS.
tokenId
uint64
The ID of the position.
amount
uint64
The amount of GNS token collected.
to
std.Address
The address to delegate.
tokenId
uint64
The ID of the position.