NewProposalScheduleStatus
NewProposalScheduleStatus creates a new schedule status with calculated timestamps. This constructor takes the governance timing parameters and calculates all important timestamps for the proposal's lifecycle.
Parameters:
- votingStartDelay: delay before voting starts (seconds)
- votingPeriod: duration of voting period (seconds)
- executionDelay: delay before execution can start (seconds)
- executionWindow: window during which execution is allowed (seconds)
- createdAt: timestamp when proposal was created
Returns:
- *ProposalScheduleStatus: new schedule status with calculated times
Command
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/gov/governance/v1.NewProposalScheduleStatus(,,,,)"
Result