msgs

package
v0.7.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MsgCdc = codec.New()

Functions

func RegisterCodec

func RegisterCodec(cdc *codec.Codec)

Register concrete types on codec codec

Types

type MsgBoxDescription

type MsgBoxDescription struct {
	Id          string         `json:"id"`
	Sender      sdk.AccAddress `json:"sender"`
	Description []byte         `json:"description"`
}

MsgBoxDescription to allow a registered owner to box new coins.

func NewMsgBoxDescription

func NewMsgBoxDescription(boxId string, sender sdk.AccAddress, description []byte) MsgBoxDescription

New MsgBoxDescription Instance

func (MsgBoxDescription) GetSignBytes

func (msg MsgBoxDescription) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBoxDescription) GetSigners

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

GetSigners Implements Msg.

func (MsgBoxDescription) Route

func (msg MsgBoxDescription) Route() string

Route Implements Msg.

func (MsgBoxDescription) String

func (msg MsgBoxDescription) String() string

func (MsgBoxDescription) Type

func (msg MsgBoxDescription) Type() string

Type Implements Msg.

func (MsgBoxDescription) ValidateBasic

func (msg MsgBoxDescription) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

type MsgBoxDisableFeature

type MsgBoxDisableFeature struct {
	Id      string         `json:"id"`
	Sender  sdk.AccAddress `json:"sender"`
	Feature string         `json:"feature"`
}

MsgBoxDisableFeature to allow a registered owner

func NewMsgBoxDisableFeature

func NewMsgBoxDisableFeature(boxId string, sender sdk.AccAddress, feature string) MsgBoxDisableFeature

New MsgBoxDisableFeature Instance

func (MsgBoxDisableFeature) GetFeature

func (ci MsgBoxDisableFeature) GetFeature() string

func (MsgBoxDisableFeature) GetId added in v0.6.0

func (ci MsgBoxDisableFeature) GetId() string

nolint

func (MsgBoxDisableFeature) GetSender

func (ci MsgBoxDisableFeature) GetSender() sdk.AccAddress

func (MsgBoxDisableFeature) GetSignBytes

func (msg MsgBoxDisableFeature) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBoxDisableFeature) GetSigners

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

GetSigners Implements Msg.

func (MsgBoxDisableFeature) Route

func (msg MsgBoxDisableFeature) Route() string

Route Implements Msg.

func (MsgBoxDisableFeature) SetFeature

func (ci MsgBoxDisableFeature) SetFeature(feature string)

func (MsgBoxDisableFeature) SetId added in v0.6.0

func (ci MsgBoxDisableFeature) SetId(boxId string)

func (MsgBoxDisableFeature) SetSender

func (ci MsgBoxDisableFeature) SetSender(sender sdk.AccAddress)

func (MsgBoxDisableFeature) String

func (msg MsgBoxDisableFeature) String() string

func (MsgBoxDisableFeature) Type

func (msg MsgBoxDisableFeature) Type() string

Type Implements Msg.

func (MsgBoxDisableFeature) ValidateBasic

func (msg MsgBoxDisableFeature) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

type MsgBoxInject added in v0.6.0

type MsgBoxInject struct {
	Id     string         `json:"id"`
	Sender sdk.AccAddress `json:"sender"`
	Amount sdk.Coin       `json:"amount"`
}

MsgBoxInject

func NewMsgBoxInject added in v0.6.0

func NewMsgBoxInject(boxId string, sender sdk.AccAddress, amount sdk.Coin) MsgBoxInject

New MsgBoxInject Instance

func (MsgBoxInject) GetSignBytes added in v0.6.0

func (msg MsgBoxInject) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBoxInject) GetSigners added in v0.6.0

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

GetSigners Implements Msg.

func (MsgBoxInject) Route added in v0.6.0

func (msg MsgBoxInject) Route() string

Route Implements Msg.

func (MsgBoxInject) String added in v0.6.0

func (msg MsgBoxInject) String() string

func (MsgBoxInject) Type added in v0.6.0

func (msg MsgBoxInject) Type() string

Type Implements Msg.

func (MsgBoxInject) ValidateBasic added in v0.6.0

func (msg MsgBoxInject) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

type MsgBoxInjectCancel added in v0.6.0

type MsgBoxInjectCancel struct {
	Id     string         `json:"id"`
	Sender sdk.AccAddress `json:"sender"`
	Amount sdk.Coin       `json:"amount"`
}

MsgBoxInjectCancel

func NewMsgBoxInjectCancel added in v0.6.0

func NewMsgBoxInjectCancel(boxId string, sender sdk.AccAddress, amount sdk.Coin) MsgBoxInjectCancel

New MsgBoxInjectCancel Instance

func (MsgBoxInjectCancel) GetSignBytes added in v0.6.0

func (msg MsgBoxInjectCancel) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBoxInjectCancel) GetSigners added in v0.6.0

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

GetSigners Implements Msg.

func (MsgBoxInjectCancel) Route added in v0.6.0

func (msg MsgBoxInjectCancel) Route() string

Route Implements Msg.

func (MsgBoxInjectCancel) String added in v0.6.0

func (msg MsgBoxInjectCancel) String() string

func (MsgBoxInjectCancel) Type added in v0.6.0

func (msg MsgBoxInjectCancel) Type() string

Type Implements Msg.

func (MsgBoxInjectCancel) ValidateBasic added in v0.6.0

func (msg MsgBoxInjectCancel) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

type MsgBoxInterestCancel added in v0.6.0

type MsgBoxInterestCancel struct {
	Id     string         `json:"id"`
	Sender sdk.AccAddress `json:"sender"`
	Amount sdk.Coin       `json:"amount"`
}

MsgBoxInterestCancel

func NewMsgBoxInterestCancel added in v0.6.0

func NewMsgBoxInterestCancel(boxId string, sender sdk.AccAddress, interest sdk.Coin) MsgBoxInterestCancel

New MsgBoxInterestCancel Instance

func (MsgBoxInterestCancel) GetSignBytes added in v0.6.0

func (msg MsgBoxInterestCancel) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBoxInterestCancel) GetSigners added in v0.6.0

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

GetSigners Implements Msg.

func (MsgBoxInterestCancel) Route added in v0.6.0

func (msg MsgBoxInterestCancel) Route() string

Route Implements Msg.

func (MsgBoxInterestCancel) String added in v0.6.0

func (msg MsgBoxInterestCancel) String() string

func (MsgBoxInterestCancel) Type added in v0.6.0

func (msg MsgBoxInterestCancel) Type() string

Type Implements Msg.

func (MsgBoxInterestCancel) ValidateBasic added in v0.6.0

func (msg MsgBoxInterestCancel) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

type MsgBoxInterestInject added in v0.6.0

type MsgBoxInterestInject struct {
	Id     string         `json:"id"`
	Sender sdk.AccAddress `json:"sender"`
	Amount sdk.Coin       `json:"amount"`
}

MsgBoxInterestInject

func NewMsgBoxInterestInject added in v0.6.0

func NewMsgBoxInterestInject(boxId string, sender sdk.AccAddress, interest sdk.Coin) MsgBoxInterestInject

New MsgBoxInterestInject Instance

func (MsgBoxInterestInject) GetSignBytes added in v0.6.0

func (msg MsgBoxInterestInject) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBoxInterestInject) GetSigners added in v0.6.0

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

GetSigners Implements Msg.

func (MsgBoxInterestInject) Route added in v0.6.0

func (msg MsgBoxInterestInject) Route() string

Route Implements Msg.

func (MsgBoxInterestInject) String added in v0.6.0

func (msg MsgBoxInterestInject) String() string

func (MsgBoxInterestInject) Type added in v0.6.0

func (msg MsgBoxInterestInject) Type() string

Type Implements Msg.

func (MsgBoxInterestInject) ValidateBasic added in v0.6.0

func (msg MsgBoxInterestInject) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

type MsgBoxWithdraw added in v0.6.0

type MsgBoxWithdraw struct {
	Id     string         `json:"id"`
	Sender sdk.AccAddress `json:"sender"`
}

MsgBoxWithdraw

func NewMsgBoxWithdraw added in v0.6.0

func NewMsgBoxWithdraw(boxId string, sender sdk.AccAddress) MsgBoxWithdraw

New MsgBoxWithdraw Instance

func (MsgBoxWithdraw) GetSignBytes added in v0.6.0

func (msg MsgBoxWithdraw) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBoxWithdraw) GetSigners added in v0.6.0

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

GetSigners Implements Msg.

func (MsgBoxWithdraw) Route added in v0.6.0

func (msg MsgBoxWithdraw) Route() string

Route Implements Msg.

func (MsgBoxWithdraw) String added in v0.6.0

func (msg MsgBoxWithdraw) String() string

func (MsgBoxWithdraw) Type added in v0.6.0

func (msg MsgBoxWithdraw) Type() string

Type Implements Msg.

func (MsgBoxWithdraw) ValidateBasic added in v0.6.0

func (msg MsgBoxWithdraw) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

type MsgDepositBox

type MsgDepositBox struct {
	Sender                   sdk.AccAddress `json:"sender"`
	*params.BoxDepositParams `json:"params"`
}

MsgDepositBox to allow a registered boxr to box new coins.

func NewMsgDepositBox

func NewMsgDepositBox(sender sdk.AccAddress, params *params.BoxDepositParams) MsgDepositBox

func (MsgDepositBox) GetSignBytes

func (msg MsgDepositBox) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgDepositBox) GetSigners

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

GetSigners Implements Msg.

func (MsgDepositBox) Route

func (msg MsgDepositBox) Route() string

Route Implements Msg.

func (MsgDepositBox) String

func (msg MsgDepositBox) String() string

func (MsgDepositBox) Type

func (msg MsgDepositBox) Type() string

Type Implements Msg.789

func (MsgDepositBox) ValidateBasic

func (msg MsgDepositBox) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

func (MsgDepositBox) ValidateService added in v0.6.0

func (msg MsgDepositBox) ValidateService() sdk.Error

type MsgFutureBox

type MsgFutureBox struct {
	Sender                  sdk.AccAddress `json:"sender"`
	*params.BoxFutureParams `json:"params"`
}

MsgFutureBox to allow a registered boxr to box new coins.

func NewMsgFutureBox

func NewMsgFutureBox(sender sdk.AccAddress, params *params.BoxFutureParams) MsgFutureBox

func (MsgFutureBox) GetSignBytes

func (msg MsgFutureBox) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgFutureBox) GetSigners

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

GetSigners Implements Msg.

func (MsgFutureBox) Route

func (msg MsgFutureBox) Route() string

Route Implements Msg.

func (MsgFutureBox) String

func (msg MsgFutureBox) String() string

func (MsgFutureBox) Type

func (msg MsgFutureBox) Type() string

Type Implements Msg.789

func (MsgFutureBox) ValidateBasic

func (msg MsgFutureBox) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

func (MsgFutureBox) ValidateService added in v0.6.0

func (msg MsgFutureBox) ValidateService() sdk.Error

type MsgLockBox

type MsgLockBox struct {
	Sender                sdk.AccAddress `json:"sender"`
	*params.BoxLockParams `json:"params"`
}

MsgLockBox to allow a registered boxr to box new coins.

func NewMsgLockBox

func NewMsgLockBox(sender sdk.AccAddress, params *params.BoxLockParams) MsgLockBox

func (MsgLockBox) GetSignBytes

func (msg MsgLockBox) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgLockBox) GetSigners

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

GetSigners Implements Msg.

func (MsgLockBox) Route

func (msg MsgLockBox) Route() string

Route Implements Msg.

func (MsgLockBox) String

func (msg MsgLockBox) String() string

func (MsgLockBox) Type

func (msg MsgLockBox) Type() string

Type Implements Msg.789

func (MsgLockBox) ValidateBasic

func (msg MsgLockBox) ValidateBasic() sdk.Error

Implements Msg. Ensures addresses are valid and Coin is positive

func (MsgLockBox) ValidateService added in v0.6.0

func (msg MsgLockBox) ValidateService() sdk.Error

Jump to

Keyboard shortcuts

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