NewConfig
NewConfig constructs a governance configuration from the supplied delays, thresholds, quorum percentage, and execution window.
Parameters:
- votingStartDelay: delay from proposal creation until voting opens, in seconds
- votingPeriod: duration for which voting remains open, in seconds
- votingWeightSmoothingDuration: interval used to smooth delegation weight, in seconds
- quorum: required approval percentage of total xGNS supply, from 0 through 100
- proposalCreationThreshold: minimum xGNS amount required to create a proposal
- executionDelay: delay after voting ends before execution, in seconds
- executionWindow: duration after the execution delay during which execution is allowed, in seconds
Returns:
- Config: configuration value populated with the supplied governance parameters
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/governance.NewConfig(,,,,,,)"
Result