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