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

v1 state

Back to all declarations

assertCallerIsProposer

func(gv *v1.governanceV1, proposalID int64, caller .uverse.address)

assertCallerIsProposer panics if the caller is not the proposer of the given proposal.

Open
OID
0db2d2…952d:3
assertCallerIsProposer details

Inspect func

assertIsValidSmoothingPeriod

func(smoothingPeriod int64)
Open
OID
0db2d2…952d:5
assertIsValidSmoothingPeriod details

Inspect func

assertIsValidToken

func(tokenPath string)
Open
OID
0db2d2…952d:6
assertIsValidToken details

Inspect func

makeConfig

func(votingStartDelay int64, votingPeriod int64, votingWeightSmoothingDuration int64, quorum int64, proposalCreationThreshold int64, executionDelay int64, executionWindow int64) governance.Config

makeConfig creates a new governance configuration.

Open
OID
0db2d2…952d:7
makeConfig details

Inspect func

parameterSeparator

untyped string

Value

"*EXE*"

messageSeparator

untyped string

Value

"*GOV*"

maxTitleLength

untyped bigint

Value

(255 <untyped> bigint)

maxDescriptionLength

untyped bigint

Value

(10000 <untyped> bigint)

maxNumberOfExecution

untyped bigint

Value

(10 <untyped> bigint)

maxSmoothingPeriod

untyped bigint

// 30 days

Value

(2592000 <untyped> bigint)

errInvalidInput

untyped string

Value

"[GNOSWAP-GOVERNANCE-001] invalid input"

errDataNotFound

untyped string

Value

"[GNOSWAP-GOVERNANCE-002] requested data not found"

errNotEnoughBalance

untyped string

Value

"[GNOSWAP-GOVERNANCE-003] not enough balance"

errAlreadyVoted

untyped string

Value

"[GNOSWAP-GOVERNANCE-004] cannot vote twice"

errNotEnoughVotingWeight

untyped string

Value

"[GNOSWAP-GOVERNANCE-005] not enough voting power"

errAlreadyCanceledProposal

untyped string

Value

"[GNOSWAP-GOVERNANCE-006] cannot cancel already canceled proposal"

errUnableToCancelVotingProposal

untyped string

Value

"[GNOSWAP-GOVERNANCE-007] unable to cancel voting proposal"

errTextProposalNotExecutable

untyped string

Value

"[GNOSWAP-GOVERNANCE-008] cannot execute text proposal"

errUnableToVoteOutOfPeriod

untyped string

Value

"[GNOSWAP-GOVERNANCE-009] unable to vote out of voting period"

errInvalidMessageFormat

untyped string

Value

"[GNOSWAP-GOVERNANCE-010] invalid message format"

errAlreadyActiveProposal

untyped string

Value

"[GNOSWAP-GOVERNANCE-011] already active proposal"

errProposalNotFound

untyped string

Value

"[GNOSWAP-GOVERNANCE-012] proposal not found"

errProposalNotExecutable

untyped string

Value

"[GNOSWAP-GOVERNANCE-013] proposal not executable"

errNotProposer

untyped string

Value

"[GNOSWAP-GOVERNANCE-014] not proposer"

errInvalidConfiguration

untyped string

Value

"[GNOSWAP-GOVERNANCE-015] invalid configuration"

errInvalidExecution

untyped string

Value

"[GNOSWAP-GOVERNANCE-016] invalid execution: handler not found"

errInvalidSmoothingPeriod

untyped string

Value

"[GNOSWAP-GOVERNANCE-017] invalid smoothing period"

errSpoofedRealm

untyped string

Value

"[GNOSWAP-GOVERNANCE-018] spoofed realm: captured cur no longer matches live frame"

makeErrorWithDetails

func(message string, detail string) .uverse.error

makeErrorWithDetails creates an error with additional context.

Open
OID
0db2d2…952d:9
makeErrorWithDetails details

Inspect func

executeCommunityPoolSpend

func(int, rlm .uverse.realm, proposal *governance.Proposal, parameterRegistry *v1.ParameterRegistry, executedAt int64, executedHeight int64, executedBy .uverse.address) .uverse.error

executeCommunityPoolSpend executes community pool spending proposals. Handles token transfers from community pool to specified recipients.

Open
OID
0db2d2…952d:11
executeCommunityPoolSpend details

Inspect func

executeParameterChange

func(int, rlm .uverse.realm, proposal *governance.Proposal, parameterRegistry *v1.ParameterRegistry, executedAt int64, executedHeight int64, executedBy .uverse.address) .uverse.error

executeParameterChange executes parameter change proposals. Handles governance configuration updates and system parameter modifications.

Open
OID
0db2d2…952d:13
executeParameterChange details

Inspect func

registerGovernanceV1

func()
Open
OID
0db2d2…952d:16
registerGovernanceV1 details

Inspect func

initStoreData

func(int, rlm .uverse.realm, governanceStore governance.IGovernanceStore) .uverse.error
Open
OID
0db2d2…952d:17
initStoreData details

Inspect func

formatConfigKey

func(version int64) string
Open
OID
0db2d2…952d:18
formatConfigKey details

Inspect func

governanceV1

type

Value

v1.governanceV1

NewGovernanceV1

func(governanceStore governance.IGovernanceStore, stakerAccessor governance.GovStakerAccessor) governance.IGovernance
Open
OID
0db2d2…952d:19
NewGovernanceV1 details

Inspect func

globalParameterRegistry

*v1.ParameterRegistry

globalParameterRegistry is initialized once and reused for all validation and execution. This provides consistent validation at proposal creation time and execution time.

Open
OID
0db2d2…952d:82
globalParameterRegistry details

Inspect pointer

GNS_TOKEN_KEY

untyped string

Package paths

Value

"gno.land/r/gnoswap/gns.GNS"

HALT_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/halt"

RBAC_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/rbac"

ACCESS_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/access"

EMISSION_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/emission"

COMMON_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/common"

POOL_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/pool"

POSITION_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/position"

ROUTER_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/router"

STAKER_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/staker"

LAUNCHPAD_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/launchpad"

PROTOCOL_FEE_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/protocol_fee"

COMMUNITY_POOL_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/community_pool"

GOV_GOVERNANCE_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/gov/governance"

GOV_STAKER_PATH

untyped string

Package paths

Value

"gno.land/r/gnoswap/gov/staker"

ParameterHandler

type

ParameterHandler interface defines the contract for parameter execution handlers. Each handler is responsible for executing specific parameter changes in the system.

Value

v1.ParameterHandler

ParameterHandlerOptions

type

ParameterHandlerOptions contains the configuration and execution logic for a parameter handler. This struct encapsulates all information needed to identify and execute a parameter change. NOTE: handlerFunc uses \`rlm realm\` (rather than \`cur realm\`) as the realm parameter name. The v2 preprocessor reserves the \`cur\` name for the first realm-type parameter of top-level crossing function declarations and \`t.Run\` closures only; using it as the realm-parameter name on a multi-parameter struct-field function value trips a parser check ("only the first realm type argument of a crossing function may have name \`cur\`"). Naming it \`rlm\` keeps the lowering identical without the syntax constraint.

Value

v1.ParameterHandlerOptions

paramValidator

type

paramValidator validates a single parameter value and returns an error on failure.

Value

v1.paramValidator

NewParameterHandlerOptions

func(pkgPath string, function string, paramCount int, handlerFunc func(...), paramValidators []v1.paramValidator) v1.ParameterHandler

NewParameterHandlerOptions creates a new parameter handler with the specified configuration. Parameters: - pkgPath: package path of the target contract - function: function name to be called - paramCount: expected number of parameters - handlerFunc: function that executes the parameter change - paramValidators: optional validators for each parameter (must match paramCount if provided) Returns: - ParameterHandler: configured parameter handler interface

Open
OID
0db2d2…952d:24
NewParameterHandlerOptions details

Inspect func

ParameterRegistry

type

ParameterRegistry manages the collection of parameter handlers for governance execution. This registry allows proposals to execute parameter changes across different system contracts.

Value

v1.ParameterRegistry

NewParameterRegistry

func() *v1.ParameterRegistry

NewParameterRegistry creates a new empty parameter registry. Returns: - \*ParameterRegistry: new registry instance

Open
OID
0db2d2…952d:25
NewParameterRegistry details

Inspect func

makeHandlerKey

func(pkgPath string, function string) string

makeHandlerKey creates a unique identifier for a handler based on package path and function. Parameters: - pkgPath: package path of the target contract - function: function name to be called Returns: - string: unique key in format "pkgPath:function"

Open
OID
0db2d2…952d:26
makeHandlerKey details

Inspect func

CreateParameterHandlers

func() *v1.ParameterRegistry

createParameterHandlers initializes and configures all supported parameter handlers. This function defines all the parameter changes that can be executed through governance proposals. It covers configuration changes for various system components including pools, staking, fees, etc. Returns: - \*ParameterRegistry: fully configured registry with all supported handlers

Open
OID
0db2d2…952d:27
CreateParameterHandlers details

Inspect func

registerHandlers

func(registry *v1.ParameterRegistry, handlerOptions []*v1.ParameterHandlerOptions)

registerHandlers batch registers all configured handlers into the registry. This helper function processes the handler configuration array and adds each handler to the registry. Parameters: - registry: the parameter registry to add handlers to - handlerOptions: slice of handler configurations to register

Open
OID
0db2d2…952d:28
registerHandlers details

Inspect func

runValidator

func(fn func(...)) err .uverse.error

runValidator executes a validator function and converts panics to errors.

Open
OID
0db2d2…952d:29
runValidator details

Inspect func

stringValidator

func(s string) .uverse.error

Basic reusable validators for proposal-time type checking.

Open
OID
0db2d2…952d:31
stringValidator details

Inspect func

boolValidator

func(s string) .uverse.error

Basic reusable validators for proposal-time type checking.

Open
OID
0db2d2…952d:33
boolValidator details

Inspect func

uint64Validator

func(s string) .uverse.error

Basic reusable validators for proposal-time type checking.

Open
OID
0db2d2…952d:35
uint64Validator details

Inspect func

addressValidator

func(s string) .uverse.error

Basic reusable validators for proposal-time type checking.

Open
OID
0db2d2…952d:37
addressValidator details

Inspect func

numberValidator

func(kind v1.numberKind) v1.paramValidator
Open
OID
0db2d2…952d:38
numberValidator details

Inspect func

uint8RangeValidator

func(name string) v1.paramValidator
Open
OID
0db2d2…952d:39
uint8RangeValidator details

Inspect func

roleNameValidator

func(s string) .uverse.error
Open
OID
0db2d2…952d:40
roleNameValidator details

Inspect func

updatableRoleNameValidator

func(s string) .uverse.error
Open
OID
0db2d2…952d:41
updatableRoleNameValidator details

Inspect func

removableRoleNameValidator

func(s string) .uverse.error
Open
OID
0db2d2…952d:42
removableRoleNameValidator details

Inspect func

nonNegativeInt64Validator

func(name string) v1.paramValidator
Open
OID
0db2d2…952d:43
nonNegativeInt64Validator details

Inspect func

splitExecutionsRaw

func(executions string) []string
Open
OID
0db2d2…952d:44
splitExecutionsRaw details

Inspect func

parseExecutionMessage

func(msg string) (pkgPath string, function string, params []string, partCount int)
Open
OID
0db2d2…952d:45
parseExecutionMessage details

Inspect func

validateExecutions

func(numToExecute int64, msgs []string) .uverse.error

validateExecutions validates that all executions in a parameter change proposal correspond to registered handlers in the global parameter registry. This function performs comprehensive validation including: - Basic format validation (count, structure) - Handler existence verification in the registry - Parameter count validation against handler expectations Parameters: - numToExecute: number of parameter changes to execute - msgs: pre-split slice of execution messages, where each message is formatted as \<pkgPath>\*EXE\*\<function>\*EXE\*\<params> Returns: - error: validation error if any execution is invalid

Open
OID
0db2d2…952d:46
validateExecutions details

Inspect func

ProposalResolver

type

Value

v1.ProposalResolver

NewProposalResolver

func(proposal *governance.Proposal) *v1.ProposalResolver
Open
OID
0db2d2…952d:47
NewProposalResolver details

Inspect func

ProposalActionStatusResolver

type

Value

v1.ProposalActionStatusResolver

NewProposalActionStatusResolver

func(status *governance.ProposalActionStatus) *v1.ProposalActionStatusResolver
Open
OID
0db2d2…952d:49
NewProposalActionStatusResolver details

Inspect func

ProposalMetadataResolver

type

Value

v1.ProposalMetadataResolver

NewProposalMetadataResolver

func(metadata *governance.ProposalMetadata) *v1.ProposalMetadataResolver
Open
OID
0db2d2…952d:51
NewProposalMetadataResolver details

Inspect func

ProposalDataResolver

type

ProposalDataResolver handles business logic for proposal data.

Value

v1.ProposalDataResolver

NewProposalDataResolver

func(proposalData *governance.ProposalData) *v1.ProposalDataResolver
Open
OID
0db2d2…952d:53
NewProposalDataResolver details

Inspect func

NewProposalTextData

func() *governance.ProposalData

NewProposalTextData creates proposal data for a text proposal. Text proposals have no additional data requirements. Returns: - \*ProposalData: proposal data configured for text proposal

Open
OID
0db2d2…952d:54
NewProposalTextData details

Inspect func

NewProposalCommunityPoolSpendData

func(tokenPath string, to .uverse.address, amount int64, communityPoolPackagePath string) *governance.ProposalData

NewProposalCommunityPoolSpendData creates proposal data for a community pool spend proposal. Automatically generates the execution message for the token transfer. Parameters: - tokenPath: path of the token to transfer - to: recipient address for the transfer - amount: amount of tokens to transfer - communityPoolPackagePath: package path of the community pool contract Returns: - \*ProposalData: proposal data configured for community pool spending

Open
OID
0db2d2…952d:55
NewProposalCommunityPoolSpendData details

Inspect func

NewProposalExecutionData

func(numToExecute int64, executions string) *governance.ProposalData

NewProposalExecutionData creates proposal data for a parameter change proposal. Each message in executions should be formatted as \<pkgPath>\*EXE\*\<function>\*EXE\*\<params>, separated by \*GOV\* when there are multiple messages. Parameters: - numToExecute: number of parameter changes to execute - executions: raw encoded execution string with parameter changes Returns: - \*ProposalData: proposal data configured for parameter changes

Open
OID
0db2d2…952d:56
NewProposalExecutionData details

Inspect func

makeExecuteMessage

func(pkgPath string, function string, params []string) string

makeExecuteMessage creates a message to execute a function. Message format: \<pkgPath>\*EXE\*\<function>\*EXE\*\<params>.

Open
OID
0db2d2…952d:57
makeExecuteMessage details

Inspect func

ProposalScheduleStatusResolver

type

Value

v1.ProposalScheduleStatusResolver

NewProposalScheduleStatusResolver

func(status *governance.ProposalScheduleStatus) *v1.ProposalScheduleStatusResolver
Open
OID
0db2d2…952d:58
NewProposalScheduleStatusResolver details

Inspect func

NewProposalScheduleStatus

func(votingStartDelay int64, votingPeriod int64, executionDelay int64, executionWindow int64, createdAt int64) *governance.ProposalScheduleStatus

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

Open
OID
0db2d2…952d:60
NewProposalScheduleStatus details

Inspect func

ProposalStatusResolver

type

Value

v1.ProposalStatusResolver

NewProposalStatusResolver

func(status *governance.ProposalStatus) *v1.ProposalStatusResolver
Open
OID
0db2d2…952d:61
NewProposalStatusResolver details

Inspect func

NewProposalStatus

func(config governance.Config, maxVotingWeight int64, executable bool, createdAt int64, quorumWeight int64) *governance.ProposalStatus

NewProposalStatus creates a new proposal status with the specified configuration. This initializes all status components with the governance configuration and timing. Parameters: - config: governance configuration to use - maxVotingWeight: maximum voting weight for this proposal - executable: whether this proposal type can be executed - createdAt: timestamp when proposal was created Returns: - \*ProposalStatus: new proposal status instance

Open
OID
0db2d2…952d:63
NewProposalStatus details

Inspect func

ProposalVoteStatusResolver

type

Value

v1.ProposalVoteStatusResolver

NewProposalVoteStatusResolver

func(voteStatus *governance.ProposalVoteStatus) *v1.ProposalVoteStatusResolver
Open
OID
0db2d2…952d:64
NewProposalVoteStatusResolver details

Inspect func

numberKind

type

numberKind represents the type of number to parse.

Value

v1.numberKind

kindInt

v1.numberKind

Value

<zero>

kindInt64

v1.numberKind

Value

<zero>

kindUint64

v1.numberKind

Value

<zero>

parseNumber

func(s string, kind v1.numberKind) interface{...}

parseNumber parses a string to a number (int, int64, or uint64) with proper validation.

Open
OID
0db2d2…952d:66
parseNumber details

Inspect func

parseBool

func(s string) bool

parseBool parses a string to a boolean.

Open
OID
0db2d2…952d:68
parseBool details

Inspect func

parseInt

func(s string) int

parseInt parses a string to int with proper validation and overflow checking.

Open
OID
0db2d2…952d:69
parseInt details

Inspect func

parseInt64

func(s string) int64

parseInt64 parses a string to int64 with proper validation.

Open
OID
0db2d2…952d:70
parseInt64 details

Inspect func

parseUint64

func(s string) uint64

parseUint64 parses a string to uint64 with proper validation.

Open
OID
0db2d2…952d:71
parseUint64 details

Inspect func

VotingInfoResolver

type

Value

v1.VotingInfoResolver

NewVotingInfoResolver

func(votingInfo *governance.VotingInfo) *v1.VotingInfoResolver
Open
OID
0db2d2…952d:72
NewVotingInfoResolver details

Inspect func
assertCallerIsProposer : func(gv *v1.governanceV1, proposalID int64, caller .uverse.address) Inspect
assertIsValidSmoothingPeriod : func(smoothingPeriod int64) Inspect
assertIsValidToken : func(tokenPath string) Inspect
makeConfig : func(votingStartDelay int64, votingPeriod int64, votingWeightSmoothingDuration int64, quorum int64, proposalCreationThreshold int64, executionDelay int64, executionWindow int64) governance.Config Inspect
parameterSeparator : untyped string ="*EXE*"
messageSeparator : untyped string ="*GOV*"
maxTitleLength : untyped bigint =(255 <untyped> bigint)
maxDescriptionLength : untyped bigint =(10000 <untyped> bigint)
maxNumberOfExecution : untyped bigint =(10 <untyped> bigint)
maxSmoothingPeriod : untyped bigint =(2592000 <untyped> bigint)
errInvalidInput : untyped string ="[GNOSWAP-GOVERNANCE-001] invalid input"
errDataNotFound : untyped string ="[GNOSWAP-GOVERNANCE-002] requested data not found"
errNotEnoughBalance : untyped string ="[GNOSWAP-GOVERNANCE-003] not enough balance"
errAlreadyVoted : untyped string ="[GNOSWAP-GOVERNANCE-004] cannot vote twice"
errNotEnoughVotingWeight : untyped string ="[GNOSWAP-GOVERNANCE-005] not enough voting power"
errAlreadyCanceledProposal : untyped string ="[GNOSWAP-GOVERNANCE-006] cannot cancel already canceled proposal"
errUnableToCancelVotingProposal : untyped string ="[GNOSWAP-GOVERNANCE-007] unable to cancel voting proposal"
errTextProposalNotExecutable : untyped string ="[GNOSWAP-GOVERNANCE-008] cannot execute text proposal"
errUnableToVoteOutOfPeriod : untyped string ="[GNOSWAP-GOVERNANCE-009] unable to vote out of voting period"
errInvalidMessageFormat : untyped string ="[GNOSWAP-GOVERNANCE-010] invalid message format"
errAlreadyActiveProposal : untyped string ="[GNOSWAP-GOVERNANCE-011] already active proposal"
errProposalNotFound : untyped string ="[GNOSWAP-GOVERNANCE-012] proposal not found"
errProposalNotExecutable : untyped string ="[GNOSWAP-GOVERNANCE-013] proposal not executable"
errNotProposer : untyped string ="[GNOSWAP-GOVERNANCE-014] not proposer"
errInvalidConfiguration : untyped string ="[GNOSWAP-GOVERNANCE-015] invalid configuration"
errInvalidExecution : untyped string ="[GNOSWAP-GOVERNANCE-016] invalid execution: handler not found"
errInvalidSmoothingPeriod : untyped string ="[GNOSWAP-GOVERNANCE-017] invalid smoothing period"
errSpoofedRealm : untyped string ="[GNOSWAP-GOVERNANCE-018] spoofed realm: captured cur no longer matches live frame"
makeErrorWithDetails : func(message string, detail string) .uverse.error Inspect
executeCommunityPoolSpend : func(int, rlm .uverse.realm, proposal *governance.Proposal, parameterRegistry *v1.ParameterRegistry, executedAt int64, executedHeight int64, executedBy .uverse.address) .uverse.error Inspect
executeParameterChange : func(int, rlm .uverse.realm, proposal *governance.Proposal, parameterRegistry *v1.ParameterRegistry, executedAt int64, executedHeight int64, executedBy .uverse.address) .uverse.error Inspect
init.31 : func() Inspect
registerGovernanceV1 : func() Inspect
initStoreData : func(int, rlm .uverse.realm, governanceStore governance.IGovernanceStore) .uverse.error Inspect
formatConfigKey : func(version int64) string Inspect
governanceV1 : type =v1.governanceV1
NewGovernanceV1 : func(governanceStore governance.IGovernanceStore, stakerAccessor governance.GovStakerAccessor) governance.IGovernance Inspect
globalParameterRegistry : *v1.ParameterRegistry Inspect
init.38 : func() Inspect
GNS_TOKEN_KEY : untyped string ="gno.land/r/gnoswap/gns.GNS"
HALT_PATH : untyped string ="gno.land/r/gnoswap/halt"
RBAC_PATH : untyped string ="gno.land/r/gnoswap/rbac"
ACCESS_PATH : untyped string ="gno.land/r/gnoswap/access"
EMISSION_PATH : untyped string ="gno.land/r/gnoswap/emission"
COMMON_PATH : untyped string ="gno.land/r/gnoswap/common"
POOL_PATH : untyped string ="gno.land/r/gnoswap/pool"
POSITION_PATH : untyped string ="gno.land/r/gnoswap/position"
ROUTER_PATH : untyped string ="gno.land/r/gnoswap/router"
STAKER_PATH : untyped string ="gno.land/r/gnoswap/staker"
LAUNCHPAD_PATH : untyped string ="gno.land/r/gnoswap/launchpad"
PROTOCOL_FEE_PATH : untyped string ="gno.land/r/gnoswap/protocol_fee"
COMMUNITY_POOL_PATH : untyped string ="gno.land/r/gnoswap/community_pool"
GOV_GOVERNANCE_PATH : untyped string ="gno.land/r/gnoswap/gov/governance"
GOV_STAKER_PATH : untyped string ="gno.land/r/gnoswap/gov/staker"
ParameterHandler : type =v1.ParameterHandler
ParameterHandlerOptions : type =v1.ParameterHandlerOptions
paramValidator : type =v1.paramValidator
NewParameterHandlerOptions : func(pkgPath string, function string, paramCount int, handlerFunc func(...), paramValidators []v1.paramValidator) v1.ParameterHandler Inspect
ParameterRegistry : type =v1.ParameterRegistry
NewParameterRegistry : func() *v1.ParameterRegistry Inspect
makeHandlerKey : func(pkgPath string, function string) string Inspect
CreateParameterHandlers : func() *v1.ParameterRegistry Inspect
registerHandlers : func(registry *v1.ParameterRegistry, handlerOptions []*v1.ParameterHandlerOptions) Inspect
runValidator : func(fn func(...)) err .uverse.error Inspect
stringValidator : func(s string) .uverse.error Inspect
boolValidator : func(s string) .uverse.error Inspect
uint64Validator : func(s string) .uverse.error Inspect
addressValidator : func(s string) .uverse.error Inspect
numberValidator : func(kind v1.numberKind) v1.paramValidator Inspect
uint8RangeValidator : func(name string) v1.paramValidator Inspect
roleNameValidator : func(s string) .uverse.error Inspect
updatableRoleNameValidator : func(s string) .uverse.error Inspect
removableRoleNameValidator : func(s string) .uverse.error Inspect
nonNegativeInt64Validator : func(name string) v1.paramValidator Inspect
splitExecutionsRaw : func(executions string) []string Inspect
parseExecutionMessage : func(msg string) (pkgPath string, function string, params []string, partCount int) Inspect
validateExecutions : func(numToExecute int64, msgs []string) .uverse.error Inspect
ProposalResolver : type =v1.ProposalResolver
NewProposalResolver : func(proposal *governance.Proposal) *v1.ProposalResolver Inspect
ProposalActionStatusResolver : type =v1.ProposalActionStatusResolver
NewProposalActionStatusResolver : func(status *governance.ProposalActionStatus) *v1.ProposalActionStatusResolver Inspect
ProposalMetadataResolver : type =v1.ProposalMetadataResolver
NewProposalMetadataResolver : func(metadata *governance.ProposalMetadata) *v1.ProposalMetadataResolver Inspect
ProposalDataResolver : type =v1.ProposalDataResolver
NewProposalDataResolver : func(proposalData *governance.ProposalData) *v1.ProposalDataResolver Inspect
NewProposalTextData : func() *governance.ProposalData Inspect
NewProposalCommunityPoolSpendData : func(tokenPath string, to .uverse.address, amount int64, communityPoolPackagePath string) *governance.ProposalData Inspect
NewProposalExecutionData : func(numToExecute int64, executions string) *governance.ProposalData Inspect
makeExecuteMessage : func(pkgPath string, function string, params []string) string Inspect
ProposalScheduleStatusResolver : type =v1.ProposalScheduleStatusResolver
NewProposalScheduleStatusResolver : func(status *governance.ProposalScheduleStatus) *v1.ProposalScheduleStatusResolver Inspect
NewProposalScheduleStatus : func(votingStartDelay int64, votingPeriod int64, executionDelay int64, executionWindow int64, createdAt int64) *governance.ProposalScheduleStatus Inspect
ProposalStatusResolver : type =v1.ProposalStatusResolver
NewProposalStatusResolver : func(status *governance.ProposalStatus) *v1.ProposalStatusResolver Inspect
NewProposalStatus : func(config governance.Config, maxVotingWeight int64, executable bool, createdAt int64, quorumWeight int64) *governance.ProposalStatus Inspect
ProposalVoteStatusResolver : type =v1.ProposalVoteStatusResolver
NewProposalVoteStatusResolver : func(voteStatus *governance.ProposalVoteStatus) *v1.ProposalVoteStatusResolver Inspect
numberKind : type =v1.numberKind
kindInt : v1.numberKind =<zero>
kindInt64 : v1.numberKind =<zero>
kindUint64 : v1.numberKind =<zero>
parseNumber : func(s string, kind v1.numberKind) interface{...} Inspect
parseBool : func(s string) bool Inspect
parseInt : func(s string) int Inspect
parseInt64 : func(s string) int64 Inspect
parseUint64 : func(s string) uint64 Inspect
VotingInfoResolver : type =v1.VotingInfoResolver
NewVotingInfoResolver : func(votingInfo *governance.VotingInfo) *v1.VotingInfoResolver Inspect