proposal.gno
ProposeText
Creates a new text proposal with the provided data.
Parameters
Name | Type | Description |
---|---|---|
| string | The title of the proposal. |
| string | The description of the proposal. |
Return Values
Name | Type | Description |
---|---|---|
proposalId | uint64 | The ID of the proposal. |
ProposeCommunityPoolSpend
Creates a CommunityPoolSpend proposal with the provided data.
Parameters
Name | Type | Description |
---|---|---|
| string | The title of the proposal. |
| string | The description of the proposal. |
| std.Address | The address to receive the spent token. |
| string | The path of the token to be sent. |
| uint64 | The amount of the token to be sent. |
Return Values
Name | Type | Description |
---|---|---|
proposalId | uint64 | The ID of the proposal. |
ProposeParameterChange
Creates a ParameterChange proposal with the provided data.
Parameters
Name | Type | Description |
---|---|---|
| string | The title of the proposal. |
| string | The description of the proposal. |
| uint64 | The number of changes to execute. |
| string | The list of changes to execute. |
Return Values
Name | Type | Description |
---|---|---|
proposalId | uint64 | The ID of the proposal. |
Last updated