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: 0

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