types

package
v0.0.0-...-121ef1c Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModuleName -
	ModuleName = "shit"

	// StoreKey -
	StoreKey = ModuleName

	// QuerierRoute -
	QuerierRoute = ModuleName
)
View Source
const RouterKey = ModuleName

RouterKey -

Variables

View Source
var ModuleCdc = codec.New()

ModuleCdc -

Functions

func RegisterCodec

func RegisterCodec(cdc *codec.Codec)

RegisterCodec -

Types

type MsgAddTargets

type MsgAddTargets struct {
	ID      string
	Owner   sdk.AccAddress
	Targets []string
}

MsgAddTargets -

func NewMsgAddTargets

func NewMsgAddTargets(id string, owner sdk.AccAddress, targets []string) MsgAddTargets

NewMsgAddTargets -

func (MsgAddTargets) GetSignBytes

func (msg MsgAddTargets) GetSignBytes() []byte

GetSignBytes -

func (MsgAddTargets) GetSigners

func (msg MsgAddTargets) GetSigners() []sdk.AccAddress

GetSigners -

func (MsgAddTargets) Route

func (msg MsgAddTargets) Route() string

Route -

func (MsgAddTargets) Type

func (msg MsgAddTargets) Type() string

Type -

func (MsgAddTargets) ValidateBasic

func (msg MsgAddTargets) ValidateBasic() sdk.Error

ValidateBasic - 모집단 추가 ValidateBasic

type MsgShit

type MsgShit struct {
	ID        string
	ShitType  uint8
	Amount    uint16
	Informant sdk.AccAddress
	Comment   string
}

MsgShit -

func NewMsgShit

func NewMsgShit(id string, shitType uint8, amount uint16, informant sdk.AccAddress, comment string) MsgShit

NewMsgShit -

func (MsgShit) GetSignBytes

func (msg MsgShit) GetSignBytes() []byte

GetSignBytes -

func (MsgShit) GetSigners

func (msg MsgShit) GetSigners() []sdk.AccAddress

GetSigners -

func (MsgShit) Route

func (msg MsgShit) Route() string

Route -

func (MsgShit) Type

func (msg MsgShit) Type() string

Type -

func (MsgShit) ValidateBasic

func (msg MsgShit) ValidateBasic() sdk.Error

ValidateBasic -

type MsgSorry

type MsgSorry struct {
	ID        string
	ShitType  uint8
	Amount    uint16
	Informant sdk.AccAddress
	Opponent  sdk.AccAddress
	Comment   string
}

MsgSorry -

func NewMsgSorry

func NewMsgSorry(id string, owner sdk.AccAddress, nonce string) MsgSorry

NewMsgSorry -

type MsgUpdateTargets

type MsgUpdateTargets struct {
	ID      string
	Owner   sdk.AccAddress
	Targets []string
}

MsgUpdateTargets -

func NewMsgUpdateTargets

func NewMsgUpdateTargets(id string, owner sdk.AccAddress, targets []string) MsgUpdateTargets

NewMsgUpdateTargets -

func (MsgUpdateTargets) GetSignBytes

func (msg MsgUpdateTargets) GetSignBytes() []byte

GetSignBytes -

func (MsgUpdateTargets) GetSigners

func (msg MsgUpdateTargets) GetSigners() []sdk.AccAddress

GetSigners -

func (MsgUpdateTargets) Route

func (msg MsgUpdateTargets) Route() string

Route -

func (MsgUpdateTargets) Type

func (msg MsgUpdateTargets) Type() string

Type -

func (MsgUpdateTargets) ValidateBasic

func (msg MsgUpdateTargets) ValidateBasic() sdk.Error

ValidateBasic -

type QueryResShitIDs

type QueryResShitIDs []string

QueryResShitIDs -

func (QueryResShitIDs) String

func (n QueryResShitIDs) String() string

type Shit

type Shit struct {
	ID        string         `json:"id"`
	ShitType  uint8          `json:"shit_type"`
	Amount    uint64         `json:"amount"`
	Informant sdk.AccAddress `json:"informant"`
	Comment   string         `jsong:"comment"`
}

Shit -

func (Shit) String

func (s Shit) String() string

type Shits

type Shits []*Shit

Shits -

Jump to

Keyboard shortcuts

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