contract

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	VoteYes     = "yes"
	VoteNo      = "no"
	VoteAbstain = "abstain"
	VoteVeto    = "veto"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EngagementMember

type EngagementMember struct {
	Addr   string `json:"member"`
	Points uint64 `json:"points"`
}

type OCGovProposalExecute

type OCGovProposalExecute struct {
	ProposalID uint64 `json:"proposal_id"`
}

type OCGovProposalMsg

type OCGovProposalMsg struct {
	Propose *OCGovProposalSubmit  `json:"propose,omitempty"`
	Vote    *OCGovProposalVote    `json:"vote,omitempty"`
	Execute *OCGovProposalExecute `json:"execute,omitempty"`
}

type OCGovProposalSubmit

type OCGovProposalSubmit struct {
	Title       string   `json:"title"`
	Description string   `json:"description"`
	Proposal    Proposal `json:"proposal"`
}

type OCGovProposalVote

type OCGovProposalVote struct {
	ProposalID          uint64 `json:"proposal_id"`
	OCGovProposalOption string `json:"vote"`
}

type Proposal

type Proposal struct {
	GrantEngagement EngagementMember `json:"grant_engagement"`
}

type ReflectHandleMsg

type ReflectHandleMsg struct {
	ReflectSubMsg *ReflectSubPayload `json:"reflect_sub_msg,omitempty"`
}

type ReflectSubPayload

type ReflectSubPayload struct {
	Msgs []wasmvmtypes.SubMsg `json:"msgs"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL