Module gauge::gauge

source · []
Expand description

The gauge program.

Functions

Creates an EpochGauge. Permissionless.

Creates a Gauge. Permissionless.

Creates a GaugeVote. Permissionless.

Creates a GaugeVoter. Permissionless.

Commits the vote of a Gauge. Anyone can call this on any voter’s gauge votes.

Disables a Gauge.

Enables a Gauge.

Reverts a vote commitment of a Gauge. Only the voter can call this.

Sets the vote of a Gauge.

Creates an EpochGaugeVoter. Permissionless.

Resets an EpochGaugeVoter; that is, syncs the EpochGaugeVoter with the latest power amount only if the votes have yet to be committed. Permissionless.

Sets new parameters on the Gaugemeister. Only the Gaugemeister::foreman may call this.

Synchronizes the quarry_mine::Quarry with the relevant EpochGauge. Permissionless.

Triggers the next epoch. Permissionless.