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 ¶
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) GetSigners ¶
func (msg MsgAddTargets) GetSigners() []sdk.AccAddress
GetSigners -
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 -
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) ValidateBasic ¶
func (msg MsgUpdateTargets) ValidateBasic() sdk.Error
ValidateBasic -
type QueryResShitIDs ¶
type QueryResShitIDs []string
QueryResShitIDs -
func (QueryResShitIDs) String ¶
func (n QueryResShitIDs) String() string
Click to show internal directories.
Click to hide internal directories.