gov_parameters.gno
Configures parameters related to the governance.
Init
Initializes the default governance parameters: the 33% quorum, the 3-day voting period, the 1-day deposit period, and the 10,000,000 GNS minimum deposit.
SubmitProposalGovParameterDepositMinimum
Submits a proposal to modify the minimum deposit.
Parameters
Name | Type | Description |
---|---|---|
| string | The title of the proposal. |
| string | The executive summary of the proposal. |
| string | The detailed content of the proposal. |
| uint64 | The amount of tokens to initially deposit. |
| uint64 | A new minimum deposit. |
Return Values
Name | Type | Description |
---|---|---|
| uint64 | The ID of the proposal. |
SubmitProposalGovParameterDepositPeriod
Submits a proposal to modify the deposit period.
Parameters
Name | Type | Description |
---|---|---|
| string | The title of the proposal. |
| string | An executive summary of the proposal. |
| string | The detailed content of the proposal. |
| uint64 | The amount of tokens to initially deposit. |
| uint64 | A new deposit period. |
Return Values
Name | Type | Description |
---|---|---|
| uint64 | The ID of the proposal. |
SubmitProposalGovParameterVotingPeriod
Submits a proposal to modify the voting period.
Parameters
Name | Type | Description |
---|---|---|
| string | The title of the proposal. |
| string | An executive summary of the proposal. |
| string | The detailed content of the proposal. |
| uint64 | The amount of tokens to initially deposit. |
| uint64 | A new voting period. |
Return Values
Name | Type | Description |
---|---|---|
| uint64 | The ID of the proposal. |
SubmitProposalGovParameterVoteQuorum
Submits a proposal to modify the quorum.
Parameters
Name | Type | Description |
---|---|---|
| string | The title of the proposal. |
| string | An executive summary of the proposal. |
| string | The detailed content of the proposal. |
| uint64 | The amount of tokens to initially deposit. |
| uint64 | The numerator of a new quorum. |
| uint64 | The denominator of a new quorum. |
Return Values
Name | Type | Description |
---|---|---|
| uint64 | The ID of the proposal. |
Last updated