Realm

gno.land/r/gnoswap/gov/governance

Render

this realm has no Render() output

Query (read-only)

non-crossing functions · no tx, no wallet needed
ExistsProposal(proposalID int64) → bool
ExistsVotingInfo(proposalID int64, addr string) → bool
GetConfig(configVersion int64) → struct{VotingStartDelay int64; VotingPeriod int64; VotingWeightSmoothingDuration int64; Quorum int64; ProposalCreationThreshold int64; ExecutionDelay int64; ExecutionWindow int64}, interface {Error func() string}
GetConfigVersionByProposalId(proposalId int64) → int64, interface {Error func() string}
GetCurrentProposalID() → int64
GetCurrentVotingWeightSnapshot() → int64, int64, interface {Error func() string}
GetDescriptionByProposalId(proposalId int64) → string, interface {Error func() string}
GetImplementationPackagePath() → string
GetLatestConfig() → struct{VotingStartDelay int64; VotingPeriod int64; VotingWeightSmoothingDuration int64; Quorum int64; ProposalCreationThreshold int64; ExecutionDelay int64; ExecutionWindow int64}
GetLatestConfigVersion() → int64
GetMaxSmoothingPeriod() → int64
GetNayByProposalId(proposalId int64) → int64, interface {Error func() string}
GetOldestActiveProposalSnapshotTime() → int64, bool
GetProposal(proposalID int64) → *gno.land/r/gnoswap/gov/governance.Proposal, interface {Error func() string}
GetProposalCommunityPoolSpendInfo(proposalID int64) → *gno.land/r/gnoswap/gov/governance.CommunityPoolSpendInfo, interface {Error func() string}
GetProposalCount() → int
GetProposalCreatedAt(proposalId int64) → int64, interface {Error func() string}
GetProposalCreatedHeight(proposalId int64) → int64, interface {Error func() string}
GetProposalExecutionInfo(proposalID int64) → *gno.land/r/gnoswap/gov/governance.ExecutionInfo, interface {Error func() string}
GetProposalIDs(offset int, count int) → []int64
GetProposalStatusByProposalId(proposalId int64) → string, interface {Error func() string}
GetProposalTypeByProposalId(proposalId int64) → string, interface {Error func() string}
GetProposerByProposalId(proposalId int64) → string, interface {Error func() string}
GetQuorumAmountByProposalId(proposalId int64) → int64, interface {Error func() string}
GetTitleByProposalId(proposalId int64) → string, interface {Error func() string}
GetUserProposalCount(user string) → int
GetUserProposalIDs(user string, offset int, count int) → []int64
GetVotedAt(proposalID int64, addr string) → int64, interface {Error func() string}
GetVotedHeight(proposalID int64, addr string) → int64, interface {Error func() string}
GetVoteStatus(proposalId int64) → int64, int64, int64, int64, interface {Error func() string}
GetVoteWeight(proposalID int64, addr string) → int64, interface {Error func() string}
GetVotingInfo(proposalID int64, addr string) → *gno.land/r/gnoswap/gov/governance.VotingInfo, interface {Error func() string}
GetVotingInfoAddresses(proposalID int64, offset int, count int) → [].uverse.address
GetVotingInfoCount(proposalID int64) → int
GetYeaByProposalId(proposalId int64) → int64, interface {Error func() string}
NewCommunityPoolSpendInfo(to string, tokenPath string, amount int64) → *gno.land/r/gnoswap/gov/governance.CommunityPoolSpendInfo
NewConfig(votingStartDelay int64, votingPeriod int64, votingWeightSmoothingDuration int64, quorum int64, proposalCreationThreshold int64, executionDelay int64, executionWindow int64) → struct{VotingStartDelay int64; VotingPeriod int64; VotingWeightSmoothingDuration int64; Quorum int64; ProposalCreationThreshold int64; ExecutionDelay int64; ExecutionWindow int64}
NewConfigPtr(votingStartDelay int64, votingPeriod int64, votingWeightSmoothingDuration int64, quorum int64, proposalCreationThreshold int64, executionDelay int64, executionWindow int64) → *gno.land/r/gnoswap/gov/governance.Config
NewConfigTree() → *gno.land/p/nt/bptree/v0.BPTree
NewCounter() → *gno.land/r/gnoswap/gov/governance.Counter
NewDefaultConfig() → struct{VotingStartDelay int64; VotingPeriod int64; VotingWeightSmoothingDuration int64; Quorum int64; ProposalCreationThreshold int64; ExecutionDelay int64; ExecutionWindow int64}
NewExecutionInfo(num int64, msgs []string) → *gno.land/r/gnoswap/gov/governance.ExecutionInfo
NewParameterChangeInfo(pkgPath string, function string, params []string) → struct{pkgPath string; function string; params []string}
NewProposal(proposalID int64, status *gno.land/r/gnoswap/gov/governance.ProposalStatus, metadata *gno.land/r/gnoswap/gov/governance.ProposalMetadata, data *gno.land/r/gnoswap/gov/governance.ProposalData, proposerAddress string, configVersion int64, snapshotTime int64, createdHeight int64) → *gno.land/r/gnoswap/gov/governance.Proposal
NewProposalActionStatus(executable bool) → *gno.land/r/gnoswap/gov/governance.ProposalActionStatus
NewProposalData(proposalType string, communityPoolSpend *gno.land/r/gnoswap/gov/governance.CommunityPoolSpendInfo, execution *gno.land/r/gnoswap/gov/governance.ExecutionInfo) → *gno.land/r/gnoswap/gov/governance.ProposalData
NewProposalMetadata(title string, description string) → *gno.land/r/gnoswap/gov/governance.ProposalMetadata
NewProposalScheduleStatus(createTime int64, activeTime int64, votingEndTime int64, executableTime int64, expiredTime int64) → *gno.land/r/gnoswap/gov/governance.ProposalScheduleStatus
NewProposalStatusBy(schedule *gno.land/r/gnoswap/gov/governance.ProposalScheduleStatus, actionStatus *gno.land/r/gnoswap/gov/governance.ProposalActionStatus, voteStatus *gno.land/r/gnoswap/gov/governance.ProposalVoteStatus) → *gno.land/r/gnoswap/gov/governance.ProposalStatus
NewProposalTree() → *gno.land/p/nt/bptree/v0.BPTree
NewProposalUserVotingInfoTree() → *gno.land/p/nt/bptree/v0.BPTree
NewProposalVoteStatus(maxVotingWeight int64, quorumAmount int64) → *gno.land/r/gnoswap/gov/governance.ProposalVoteStatus
NewUserProposalTree() → *gno.land/p/nt/bptree/v0.BPTree
NewVotingInfo(availableVoteWeight int64) → *gno.land/r/gnoswap/gov/governance.VotingInfo
NewVotingInfoTree() → *gno.land/p/nt/bptree/v0.BPTree

Call functions (state-changing)

signs a tx via Adena
Cancel(proposalId int64)
Execute(proposalId int64)
ProposeCommunityPoolSpend(title string, description string, to string, tokenPath string, amount int64)
ProposeParameterChange(title string, description string, numToExecute int64, executions string)
ProposeText(title string, description string)
Reconfigure(votingStartDelay int64, votingPeriod int64, votingWeightSmoothingDuration int64, quorum int64, proposalCreationThreshold int64, executionDelay int64, executionWindow int64)
RegisterInitializer(initializer func(int, .uverse.realm, gno.land/r/gnoswap/gov/governance.IGovernanceStore, gno.land/r/gnoswap/gov/governance.GovStakerAccessor) gno.land/r/gnoswap/gov/governance.IGovernance)
UpgradeImpl(targetPackagePath string)
Vote(proposalId int64, yes bool)

All exported functions (65)

show raw signatures
NameParamsReturns
NewConfig [{"Name": "votingStartDelay", "Type": "int64", "Value": ""}, {"Name": "votingPeriod", "Type": "int64", "Value": ""}, {"Name": "votingWeightSmoothingDuration", "Type": "int64", "Value": ""}, {"Name": "quorum", "Type": "int64", "Value": ""}, {"Name": "proposalCreationThreshold", "Type": "int64", "Value": ""}, {"Name": "executionDelay", "Type": "int64", "Value": ""}, {"Name": "executionWindow", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "struct{VotingStartDelay int64; VotingPeriod int64; VotingWeightSmoothingDuration int64; Quorum int64; ProposalCreationThreshold int64; ExecutionDelay int64; ExecutionWindow int64}", "Value": ""}]
NewConfigPtr [{"Name": "votingStartDelay", "Type": "int64", "Value": ""}, {"Name": "votingPeriod", "Type": "int64", "Value": ""}, {"Name": "votingWeightSmoothingDuration", "Type": "int64", "Value": ""}, {"Name": "quorum", "Type": "int64", "Value": ""}, {"Name": "proposalCreationThreshold", "Type": "int64", "Value": ""}, {"Name": "executionDelay", "Type": "int64", "Value": ""}, {"Name": "executionWindow", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.Config", "Value": ""}]
NewDefaultConfig [{"Name": ".res.0", "Type": "struct{VotingStartDelay int64; VotingPeriod int64; VotingWeightSmoothingDuration int64; Quorum int64; ProposalCreationThreshold int64; ExecutionDelay int64; ExecutionWindow int64}", "Value": ""}]
NewConfigTree [{"Name": ".res.0", "Type": "*gno.land/p/nt/bptree/v0.BPTree", "Value": ""}]
NewCounter [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.Counter", "Value": ""}]
GetLatestConfigVersion [{"Name": ".res.0", "Type": "int64", "Value": ""}]
GetCurrentProposalID [{"Name": ".res.0", "Type": "int64", "Value": ""}]
GetMaxSmoothingPeriod [{"Name": ".res.0", "Type": "int64", "Value": ""}]
GetLatestConfig [{"Name": ".res.0", "Type": "struct{VotingStartDelay int64; VotingPeriod int64; VotingWeightSmoothingDuration int64; Quorum int64; ProposalCreationThreshold int64; ExecutionDelay int64; ExecutionWindow int64}", "Value": ""}]
GetConfig [{"Name": "configVersion", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "struct{VotingStartDelay int64; VotingPeriod int64; VotingWeightSmoothingDuration int64; Quorum int64; ProposalCreationThreshold int64; ExecutionDelay int64; ExecutionWindow int64}", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetProposalCount [{"Name": ".res.0", "Type": "int", "Value": ""}]
GetProposalIDs [{"Name": "offset", "Type": "int", "Value": ""}, {"Name": "count", "Type": "int", "Value": ""}] [{"Name": ".res.0", "Type": "[]int64", "Value": ""}]
ExistsProposal [{"Name": "proposalID", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "bool", "Value": ""}]
GetProposal [{"Name": "proposalID", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.Proposal", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetProposerByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetProposalTypeByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetYeaByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetNayByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetConfigVersionByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetQuorumAmountByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetTitleByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetDescriptionByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetProposalStatusByProposalId [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetProposalCreatedAt [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetProposalCreatedHeight [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetVoteStatus [{"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": "quorum", "Type": "int64", "Value": ""}, {"Name": "maxVotingWeight", "Type": "int64", "Value": ""}, {"Name": "yesWeight", "Type": "int64", "Value": ""}, {"Name": "noWeight", "Type": "int64", "Value": ""}, {"Name": "err", "Type": "interface {Error func() string}", "Value": ""}]
GetVotingInfoCount [{"Name": "proposalID", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int", "Value": ""}]
GetVotingInfoAddresses [{"Name": "proposalID", "Type": "int64", "Value": ""}, {"Name": "offset", "Type": "int", "Value": ""}, {"Name": "count", "Type": "int", "Value": ""}] [{"Name": ".res.0", "Type": "[].uverse.address", "Value": ""}]
ExistsVotingInfo [{"Name": "proposalID", "Type": "int64", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "bool", "Value": ""}]
GetVotingInfo [{"Name": "proposalID", "Type": "int64", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.VotingInfo", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetVoteWeight [{"Name": "proposalID", "Type": "int64", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetVotedHeight [{"Name": "proposalID", "Type": "int64", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetVotedAt [{"Name": "proposalID", "Type": "int64", "Value": ""}, {"Name": "addr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetProposalCommunityPoolSpendInfo [{"Name": "proposalID", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.CommunityPoolSpendInfo", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetProposalExecutionInfo [{"Name": "proposalID", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.ExecutionInfo", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
GetUserProposalCount [{"Name": "user", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int", "Value": ""}]
GetUserProposalIDs [{"Name": "user", "Type": "string", "Value": ""}, {"Name": "offset", "Type": "int", "Value": ""}, {"Name": "count", "Type": "int", "Value": ""}] [{"Name": ".res.0", "Type": "[]int64", "Value": ""}]
GetOldestActiveProposalSnapshotTime [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "bool", "Value": ""}]
GetCurrentVotingWeightSnapshot [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "int64", "Value": ""}, {"Name": ".res.2", "Type": "interface {Error func() string}", "Value": ""}]
NewProposal [{"Name": "proposalID", "Type": "int64", "Value": ""}, {"Name": "status", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalStatus", "Value": ""}, {"Name": "metadata", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalMetadata", "Value": ""}, {"Name": "data", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalData", "Value": ""}, {"Name": "proposerAddress", "Type": "string", "Value": ""}, {"Name": "configVersion", "Type": "int64", "Value": ""}, {"Name": "snapshotTime", "Type": "int64", "Value": ""}, {"Name": "createdHeight", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.Proposal", "Value": ""}]
NewProposalTree [{"Name": ".res.0", "Type": "*gno.land/p/nt/bptree/v0.BPTree", "Value": ""}]
NewUserProposalTree [{"Name": ".res.0", "Type": "*gno.land/p/nt/bptree/v0.BPTree", "Value": ""}]
NewVotingInfoTree [{"Name": ".res.0", "Type": "*gno.land/p/nt/bptree/v0.BPTree", "Value": ""}]
NewProposalUserVotingInfoTree [{"Name": ".res.0", "Type": "*gno.land/p/nt/bptree/v0.BPTree", "Value": ""}]
NewProposalActionStatus [{"Name": "executable", "Type": "bool", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalActionStatus", "Value": ""}]
NewProposalMetadata [{"Name": "title", "Type": "string", "Value": ""}, {"Name": "description", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalMetadata", "Value": ""}]
NewProposalData [{"Name": "proposalType", "Type": "string", "Value": ""}, {"Name": "communityPoolSpend", "Type": "*gno.land/r/gnoswap/gov/governance.CommunityPoolSpendInfo", "Value": ""}, {"Name": "execution", "Type": "*gno.land/r/gnoswap/gov/governance.ExecutionInfo", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalData", "Value": ""}]
NewCommunityPoolSpendInfo [{"Name": "to", "Type": "string", "Value": ""}, {"Name": "tokenPath", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.CommunityPoolSpendInfo", "Value": ""}]
NewExecutionInfo [{"Name": "num", "Type": "int64", "Value": ""}, {"Name": "msgs", "Type": "[]string", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.ExecutionInfo", "Value": ""}]
NewParameterChangeInfo [{"Name": "pkgPath", "Type": "string", "Value": ""}, {"Name": "function", "Type": "string", "Value": ""}, {"Name": "params", "Type": "[]string", "Value": ""}] [{"Name": ".res.0", "Type": "struct{pkgPath string; function string; params []string}", "Value": ""}]
NewProposalScheduleStatus [{"Name": "createTime", "Type": "int64", "Value": ""}, {"Name": "activeTime", "Type": "int64", "Value": ""}, {"Name": "votingEndTime", "Type": "int64", "Value": ""}, {"Name": "executableTime", "Type": "int64", "Value": ""}, {"Name": "expiredTime", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalScheduleStatus", "Value": ""}]
NewProposalStatusBy [{"Name": "schedule", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalScheduleStatus", "Value": ""}, {"Name": "actionStatus", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalActionStatus", "Value": ""}, {"Name": "voteStatus", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalVoteStatus", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalStatus", "Value": ""}]
NewProposalVoteStatus [{"Name": "maxVotingWeight", "Type": "int64", "Value": ""}, {"Name": "quorumAmount", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.ProposalVoteStatus", "Value": ""}]
ProposeText [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "title", "Type": "string", "Value": ""}, {"Name": "description", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
ProposeCommunityPoolSpend [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "title", "Type": "string", "Value": ""}, {"Name": "description", "Type": "string", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "tokenPath", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
ProposeParameterChange [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "title", "Type": "string", "Value": ""}, {"Name": "description", "Type": "string", "Value": ""}, {"Name": "numToExecute", "Type": "int64", "Value": ""}, {"Name": "executions", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Vote [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "proposalId", "Type": "int64", "Value": ""}, {"Name": "yes", "Type": "bool", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
Execute [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Cancel [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "proposalId", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Reconfigure [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "votingStartDelay", "Type": "int64", "Value": ""}, {"Name": "votingPeriod", "Type": "int64", "Value": ""}, {"Name": "votingWeightSmoothingDuration", "Type": "int64", "Value": ""}, {"Name": "quorum", "Type": "int64", "Value": ""}, {"Name": "proposalCreationThreshold", "Type": "int64", "Value": ""}, {"Name": "executionDelay", "Type": "int64", "Value": ""}, {"Name": "executionWindow", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
NewGovernanceStore [{"Name": "kvStore", "Type": "interface {AddAuthorizedCaller func(int, .uverse.realm, .uverse.address, gno.land/p/gnoswap/store.Permission) .uverse.error; Delete func(int, .uverse.realm, string) .uverse.error; Get func(string) (interface {}, .uverse.error); GetAddress func(string) (.uverse.address, .uverse.error); GetAllKeys func() ([]string, .uverse.error); GetAuthorizedCallers func() (map[.uverse.address]gno.land/p/gnoswap/store.Permission, .uverse.error); GetBPTree func(string) (*gno.land/p/nt/bptree/v0.BPTree, .uverse.error); GetBool func(string) (bool, .uverse.error); GetDomainAddress func() .uverse.address; GetInt64 func(string) (int64, .uverse.error); GetString func(string) (string, .uverse.error); GetUint64 func(string) (uint64, .uverse.error); Has func(string) bool; IsWriteAuthorized func(.uverse.address) bool; RemoveAuthorizedCaller func(int, .uverse.realm, .uverse.address) .uverse.error; Set func(int, .uverse.realm, string, interface {}) .uverse.error; UpdateAuthorizedCaller func(int, .uverse.realm, .uverse.address, gno.land/p/gnoswap/store.Permission) .uverse.error}", "Value": ""}] [{"Name": ".res.0", "Type": "interface {AddUserProposal func(int, .uverse.realm, string, int64) .uverse.error; GetConfig func(int64) (gno.land/r/gnoswap/gov/governance.Config, bool); GetConfigCounter func() *gno.land/r/gnoswap/gov/governance.Counter; GetProposal func(int64) (*gno.land/r/gnoswap/gov/governance.Proposal, bool); GetProposalCounter func() *gno.land/r/gnoswap/gov/governance.Counter; GetProposalUserVotingInfos func() *gno.land/p/nt/bptree/v0.BPTree; GetProposalVotingInfos func(int64) (*gno.land/p/nt/bptree/v0.BPTree, bool); GetProposals func() *gno.land/p/nt/bptree/v0.BPTree; GetUserProposalIDs func(string) ([]int64, bool); HasConfigCounterStoreKey func() bool; HasConfigsStoreKey func() bool; HasProposalCounterStoreKey func() bool; HasProposalUserVotingInfosStoreKey func() bool; HasProposalsStoreKey func() bool; HasUserProposalsStoreKey func() bool; RemoveUserProposal func(int, .uverse.realm, string, int64) .uverse.error; SetConfig func(int, .uverse.realm, int64, gno.land/r/gnoswap/gov/governance.Config) .uverse.error; SetConfigCounter func(int, .uverse.realm, *gno.land/r/gnoswap/gov/governance.Counter) .uverse.error; SetConfigs func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetProposal func(int, .uverse.realm, int64, *gno.land/r/gnoswap/gov/governance.Proposal) .uverse.error; SetProposalCounter func(int, .uverse.realm, *gno.land/r/gnoswap/gov/governance.Counter) .uverse.error; SetProposalUserVotingInfos func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetProposalVotingInfos func(int, .uverse.realm, int64, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetProposals func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error; SetUserProposals func(int, .uverse.realm, *gno.land/p/nt/bptree/v0.BPTree) .uverse.error}", "Value": ""}]
RegisterInitializer [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "initializer", "Type": "func(int, .uverse.realm, gno.land/r/gnoswap/gov/governance.IGovernanceStore, gno.land/r/gnoswap/gov/governance.GovStakerAccessor) gno.land/r/gnoswap/gov/governance.IGovernance", "Value": ""}]
UpgradeImpl [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "targetPackagePath", "Type": "string", "Value": ""}]
GetImplementationPackagePath [{"Name": ".res.0", "Type": "string", "Value": ""}]
NewVotingInfo [{"Name": "availableVoteWeight", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/r/gnoswap/gov/governance.VotingInfo", "Value": ""}]

Files

Storage

{
  "raw": "storage: 137964, deposit: 13796400"
}