cw

package
v6.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct{}

Queryies

type AdminResp

type AdminResp struct {
	Admin string `json:"admin"`
}

Queryies

type GroupExecMsg

type GroupExecMsg struct {
	UpdateAdmin   *UpdateAdmin   `json:"update_admin,omitempty"`
	UpdateMembers *UpdateMembers `json:"update_members,omitempty"`
}

Transaction msgs

func (GroupExecMsg) Marshal

func (msg GroupExecMsg) Marshal() ([]byte, error)

type GroupInitMsg

type GroupInitMsg struct {
	Admin   string   `json:"admin,omitempty"`
	Members []Member `json:"members"`
}

init msg

func (GroupInitMsg) Marshal

func (msg GroupInitMsg) Marshal() ([]byte, error)

type GroupQuery

type GroupQuery struct {
	Admin       *Admin         `json:"admin,omitempty"`
	Hooks       *Admin         `json:"hooks,omitempty"`
	ListMembers *ListMembers   `json:"list_members,omitempty"`
	Member      *MemberRequest `json:"member,omitempty"`
}

type ListMembers

type ListMembers struct {
	StartAfter string `json:"start_after,omitempty"`
	Limit      uint64 `json:"limit,omitempty"`
}

type ListMembersResponse

type ListMembersResponse struct {
	Members []Member `json:"members"`
}

type Member

type Member struct {
	Addr   string `json:"addr"`
	Weight uint64 `json:"weight"`
}

type MemberRequest

type MemberRequest struct {
	Addr     string `json:"addr"`
	AtHeight uint64 `json:"at_height,omitempty"`
}

type MemberResponse

type MemberResponse struct {
	Weight uint64 `json:"weight"`
}

type QATest

type QATest struct {
	setup.E2ETestSuite
}

type UpdateAdmin

type UpdateAdmin struct {
	Admin string `json:"admin,omitempty"`
}

type UpdateMembers

type UpdateMembers struct {
	Remove []string `json:"remove"`
	Add    []Member `json:"add"`
}

Jump to

Keyboard shortcuts

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