Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

params state

Back to all declarations

NewSetFeeCollectorRequest

func(addr .uverse.address) dao.ProposalRequest
Open
OID
03ed0f…5f68:3
NewSetFeeCollectorRequest details

Inspect func

nodeModulePrefix

untyped string

Value

"node"

haltHeightKey

untyped string

Value

"halt_height"

haltMinVersionKey

untyped string

Value

"halt_min_version"

NewSetHaltRequest

func(height int64, minVersion string) dao.ProposalRequest

NewSetHaltRequest creates a GovDAO proposal to halt all chain nodes at the given block height. Once approved and executed, nodes will gracefully stop after committing the specified block, enabling coordinated chain upgrades. minVersion, if non-empty, sets the minimum binary version required to resume after the halt. Nodes will refuse to restart unless their version satisfies the minimum requirement, preventing old binaries from accidentally resuming a chain halted for an upgrade. Example: minVersion="chain/gnoland1.1" prevents gnoland1.0 from resuming. Use height=0 to cancel a previously scheduled halt.

Open
OID
03ed0f…5f68:5
NewSetHaltRequest details

Inspect func

syskey

func(module string, submodule string, name string) string

this is only used for emitting events.

Open
OID
03ed0f…5f68:7
syskey details

Inspect func

assertNotValsetKey

func(module string, submodule string)

assertNotValsetKey rejects governance proposals that target the node:valset:\* key family. Those keys are reserved for the realm-side gate in r/sys/params/valset.gno (SetValsetProposal) which checks the immediate caller is gno.land/r/sys/validators/v3. Without this guard, a generic NewSysParam\*PropRequest("node","valset",...) would let any GovDAO supermajority bypass the v3 authorization and write validator-set state directly.

Open
OID
03ed0f…5f68:9
assertNotValsetKey details

Inspect func

NewSysParamStringPropRequest

func(module string, submodule string, name string, value string) dao.ProposalRequest
Open
OID
03ed0f…5f68:10
NewSysParamStringPropRequest details

Inspect func

NewSysParamInt64PropRequest

func(module string, submodule string, name string, value int64) dao.ProposalRequest
Open
OID
03ed0f…5f68:11
NewSysParamInt64PropRequest details

Inspect func

NewSysParamUint64PropRequest

func(module string, submodule string, name string, value uint64) dao.ProposalRequest
Open
OID
03ed0f…5f68:12
NewSysParamUint64PropRequest details

Inspect func

NewSysParamBoolPropRequest

func(module string, submodule string, name string, value bool) dao.ProposalRequest
Open
OID
03ed0f…5f68:13
NewSysParamBoolPropRequest details

Inspect func

NewSysParamBytesPropRequest

func(module string, submodule string, name string, value []uint8) dao.ProposalRequest
Open
OID
03ed0f…5f68:14
NewSysParamBytesPropRequest details

Inspect func

NewSysParamStringsPropRequest

func(module string, submodule string, name string, value []string) dao.ProposalRequest
Open
OID
03ed0f…5f68:15
NewSysParamStringsPropRequest details

Inspect func

NewSysParamStringsPropRequestWithTitle

func(module string, submodule string, name string, title string, value []string) dao.ProposalRequest
Open
OID
03ed0f…5f68:16
NewSysParamStringsPropRequestWithTitle details

Inspect func

NewSysParamStringsPropRequestAddWithTitle

func(module string, submodule string, name string, title string, value []string) dao.ProposalRequest
Open
OID
03ed0f…5f68:17
NewSysParamStringsPropRequestAddWithTitle details

Inspect func

NewSysParamStringsPropRequestRemoveWithTitle

func(module string, submodule string, name string, title string, value []string) dao.ProposalRequest
Open
OID
03ed0f…5f68:18
NewSysParamStringsPropRequestRemoveWithTitle details

Inspect func

newPropRequest

func(key string, fn func(...), title string) dao.ProposalRequest
Open
OID
03ed0f…5f68:19
newPropRequest details

Inspect func

bankModulePrefix

untyped string

Value

"bank"

restrictedDenomsKey

untyped string

Value

"restricted_denoms"

unlockTransferTitle

untyped string

Value

"Proposal to unlock the transfer of ugnot."

lockTransferTitle

untyped string

Value

"Proposal to lock the transfer of ugnot."

authModulePrefix

untyped string

Value

"auth"

unrestrictedAddrsKey

untyped string

Value

"unrestricted_addrs"

ProposeUnlockTransferRequest

func() dao.ProposalRequest
Open
OID
03ed0f…5f68:20
ProposeUnlockTransferRequest details

Inspect func

ProposeLockTransferRequest

func() dao.ProposalRequest
Open
OID
03ed0f…5f68:22
ProposeLockTransferRequest details

Inspect func

ProposeAddUnrestrictedAcctsRequest

func(addrs [].uverse.address) dao.ProposalRequest
Open
OID
03ed0f…5f68:23
ProposeAddUnrestrictedAcctsRequest details

Inspect func

ProposeRemoveUnrestrictedAcctsRequest

func(addrs [].uverse.address) dao.ProposalRequest
Open
OID
03ed0f…5f68:24
ProposeRemoveUnrestrictedAcctsRequest details

Inspect func

valoperSubmodule

untyped string

Valoper sys-param keys consumed by r/gnops/valopers (Register + UpdateSigningKey). Governance can update them via the generic NewSysParam\*PropRequest factories — no realm-side gate is needed because the values only affect fees and throttle inside valopers.

Value

"valoper"

valoperRegisterFeeKey

untyped string

Valoper sys-param keys consumed by r/gnops/valopers (Register + UpdateSigningKey). Governance can update them via the generic NewSysParam\*PropRequest factories — no realm-side gate is needed because the values only affect fees and throttle inside valopers.

Value

"register_fee"

valoperRotationFeeKey

untyped string

Valoper sys-param keys consumed by r/gnops/valopers (Register + UpdateSigningKey). Governance can update them via the generic NewSysParam\*PropRequest factories — no realm-side gate is needed because the values only affect fees and throttle inside valopers.

Value

"rotation_fee"

valoperRotationPeriodBlocksKey

untyped string

Valoper sys-param keys consumed by r/gnops/valopers (Register + UpdateSigningKey). Governance can update them via the generic NewSysParam\*PropRequest factories — no realm-side gate is needed because the values only affect fees and throttle inside valopers.

Value

"rotation_period_blocks"

defaultValoperRegisterFee

uint64

Default values used when the sys-param has never been set by governance. Zero fees (GNOT transfers are disabled chain-wide pre-fork) and a ~1-hour throttle at 6s/block.

Value

0

defaultValoperRotationFee

uint64

Default values used when the sys-param has never been set by governance. Zero fees (GNOT transfers are disabled chain-wide pre-fork) and a ~1-hour throttle at 6s/block.

Value

0

defaultValoperRotationPeriodBlocks

int64

Default values used when the sys-param has never been set by governance. Zero fees (GNOT transfers are disabled chain-wide pre-fork) and a ~1-hour throttle at 6s/block.

Value

600

GetValoperRegisterFee

func() uint64

GetValoperRegisterFee returns the fee (in ugnot) required to call valopers.Register. Defaults to 0 if governance hasn't set it.

Open
OID
03ed0f…5f68:25
GetValoperRegisterFee details

Inspect func

GetValoperRotationFee

func() uint64

GetValoperRotationFee returns the fee (in ugnot) required to call valopers.UpdateSigningKey. Defaults to 0.

Open
OID
03ed0f…5f68:27
GetValoperRotationFee details

Inspect func

GetValoperRotationPeriodBlocks

func() int64

GetValoperRotationPeriodBlocks returns the per-operator rotation throttle (in blocks). Defaults to ~1h worth at 6s/block (600). This is the primary anti-spam defense pre-fee while rotation\_fee stays at 0; tightens further once non-zero fees become enforceable.

Open
OID
03ed0f…5f68:28
GetValoperRotationPeriodBlocks details

Inspect func

valsetSubmodule

untyped string

Param keys read by gno.land/pkg/gnoland (EndBlocker). Keep in sync with gno.land/pkg/gnoland/node\_params.go. nodeModulePrefix is declared in halt.gno (same package).

Value

"valset"

valsetDirtyKey

untyped string

Param keys read by gno.land/pkg/gnoland (EndBlocker). Keep in sync with gno.land/pkg/gnoland/node\_params.go. nodeModulePrefix is declared in halt.gno (same package).

Value

"dirty"

valsetProposedKey

untyped string

Param keys read by gno.land/pkg/gnoland (EndBlocker). Keep in sync with gno.land/pkg/gnoland/node\_params.go. nodeModulePrefix is declared in halt.gno (same package).

Value

"proposed"

valsetCurrentKey

untyped string

Param keys read by gno.land/pkg/gnoland (EndBlocker). Keep in sync with gno.land/pkg/gnoland/node\_params.go. nodeModulePrefix is declared in halt.gno (same package).

Value

"current"

valsetPubKeyTypesKey

untyped string

Param keys read by gno.land/pkg/gnoland (EndBlocker). Keep in sync with gno.land/pkg/gnoland/node\_params.go. nodeModulePrefix is declared in halt.gno (same package).

Value

"pubkey_types"

valsetAuthorizedRealm

untyped string

Param keys read by gno.land/pkg/gnoland (EndBlocker). Keep in sync with gno.land/pkg/gnoland/node\_params.go. nodeModulePrefix is declared in halt.gno (same package).

Value

"gno.land/r/sys/validators/v3"

SetValsetProposal

func(entries []string)

SetValsetProposal publishes the realm's desired valset. Each entry is "\<bech32-pubkey>:\<decimal-power>"; power=0 removes the validator. The chain reads this on the next EndBlocker, diffs it against valset:current, and propagates the changes to consensus.

Open
OID
03ed0f…5f68:29
SetValsetProposal details

Inspect func

GetValsetEntries

func() []validators.Validator

GetValsetEntries returns the chain's authoritative committed validator set (the contents of valset:current). This is the V\_{H+2} view — the set that will be active at H+2 once the most recent EndBlock's updates apply, NOT the set signing the current block. Callers that want "what v3 reports as the current validator set" — including the in-flight proposed set during the dirty window — should call GetValsetEffective instead.

Open
OID
03ed0f…5f68:31
GetValsetEntries details

Inspect func

ValsetDirty

func() bool

ValsetDirty reports whether valset:proposed is awaiting EndBlocker. Realm callers MUST treat this as transient: the dirty flag is set by SetValsetProposal and cleared by the chain's EndBlocker (every block where dirty=true on entry exits with dirty=false).

Open
OID
03ed0f…5f68:32
ValsetDirty details

Inspect func

GetValsetEffective

func() []validators.Validator

GetValsetEffective returns the set that WILL be active at H+2: valset:proposed if dirty, else valset:current. Used by v3 so that (a) reads after a same-block proposal callback see that proposal's effects, and (b) sequential same-block proposals accumulate correctly on top of each other. Misuse warning: this exists for r/sys/validators/v3's internal reads. Other realms making "is X a validator" decisions should call v3.IsValidator, not this directly, so future changes to v3's read semantics propagate uniformly.

Open
OID
03ed0f…5f68:33
GetValsetEffective details

Inspect func

parseValsetSlot

func(key string) []validators.Validator
Open
OID
03ed0f…5f68:34
parseValsetSlot details

Inspect func

parseEntry

func(entry string) (validators.Validator, .uverse.error)

parseEntry splits "\<bech32-pubkey>:\<decimal-power>" and derives the validator address via the chain.PubKeyAddress native helper.

Open
OID
03ed0f…5f68:35
parseEntry details

Inspect func

GetValsetPubKeyTypes

func() []string

GetValsetPubKeyTypes returns the validator pubkey-type allow-list mirrored from consensus params (empty means accept any).

Open
OID
03ed0f…5f68:36
GetValsetPubKeyTypes details

Inspect func

assertValsetCaller

func(int, rlm .uverse.realm)
Open
OID
03ed0f…5f68:37
assertValsetCaller details

Inspect func
NewSetFeeCollectorRequest : func(addr .uverse.address) dao.ProposalRequest Inspect
nodeModulePrefix : untyped string ="node"
haltHeightKey : untyped string ="halt_height"
haltMinVersionKey : untyped string ="halt_min_version"
NewSetHaltRequest : func(height int64, minVersion string) dao.ProposalRequest Inspect
syskey : func(module string, submodule string, name string) string Inspect
assertNotValsetKey : func(module string, submodule string) Inspect
NewSysParamStringPropRequest : func(module string, submodule string, name string, value string) dao.ProposalRequest Inspect
NewSysParamInt64PropRequest : func(module string, submodule string, name string, value int64) dao.ProposalRequest Inspect
NewSysParamUint64PropRequest : func(module string, submodule string, name string, value uint64) dao.ProposalRequest Inspect
NewSysParamBoolPropRequest : func(module string, submodule string, name string, value bool) dao.ProposalRequest Inspect
NewSysParamBytesPropRequest : func(module string, submodule string, name string, value []uint8) dao.ProposalRequest Inspect
NewSysParamStringsPropRequest : func(module string, submodule string, name string, value []string) dao.ProposalRequest Inspect
NewSysParamStringsPropRequestWithTitle : func(module string, submodule string, name string, title string, value []string) dao.ProposalRequest Inspect
NewSysParamStringsPropRequestAddWithTitle : func(module string, submodule string, name string, title string, value []string) dao.ProposalRequest Inspect
NewSysParamStringsPropRequestRemoveWithTitle : func(module string, submodule string, name string, title string, value []string) dao.ProposalRequest Inspect
newPropRequest : func(key string, fn func(...), title string) dao.ProposalRequest Inspect
bankModulePrefix : untyped string ="bank"
restrictedDenomsKey : untyped string ="restricted_denoms"
unlockTransferTitle : untyped string ="Proposal to unlock the transfer of ugnot."
lockTransferTitle : untyped string ="Proposal to lock the transfer of ugnot."
authModulePrefix : untyped string ="auth"
unrestrictedAddrsKey : untyped string ="unrestricted_addrs"
ProposeUnlockTransferRequest : func() dao.ProposalRequest Inspect
ProposeLockTransferRequest : func() dao.ProposalRequest Inspect
ProposeAddUnrestrictedAcctsRequest : func(addrs [].uverse.address) dao.ProposalRequest Inspect
ProposeRemoveUnrestrictedAcctsRequest : func(addrs [].uverse.address) dao.ProposalRequest Inspect
valoperSubmodule : untyped string ="valoper"
valoperRegisterFeeKey : untyped string ="register_fee"
valoperRotationFeeKey : untyped string ="rotation_fee"
valoperRotationPeriodBlocksKey : untyped string ="rotation_period_blocks"
defaultValoperRegisterFee : uint64 =0
defaultValoperRotationFee : uint64 =0
defaultValoperRotationPeriodBlocks : int64 =600
GetValoperRegisterFee : func() uint64 Inspect
GetValoperRotationFee : func() uint64 Inspect
GetValoperRotationPeriodBlocks : func() int64 Inspect
valsetSubmodule : untyped string ="valset"
valsetDirtyKey : untyped string ="dirty"
valsetProposedKey : untyped string ="proposed"
valsetCurrentKey : untyped string ="current"
valsetPubKeyTypesKey : untyped string ="pubkey_types"
valsetAuthorizedRealm : untyped string ="gno.land/r/sys/validators/v3"
SetValsetProposal : func(entries []string) Inspect
GetValsetEntries : func() []validators.Validator Inspect
ValsetDirty : func() bool Inspect
GetValsetEffective : func() []validators.Validator Inspect
parseValsetSlot : func(key string) []validators.Validator Inspect
parseEntry : func(entry string) (validators.Validator, .uverse.error) Inspect
GetValsetPubKeyTypes : func() []string Inspect
assertValsetCaller : func(int, rlm .uverse.realm) Inspect