Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

governance/v1 package

Function

NewProposalScheduleStatus

func NewProposalScheduleStatus( votingStartDelay, votingPeriod, executionDelay, executionWindow, createdAt int64, ) *governance.ProposalScheduleStatus
Ask AI Claude ChatGPT

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

Params

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/gov/governance/v1.NewProposalScheduleStatus(,,,,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/gnoswap/gov/governance/v1, for example a function call with arguments.