Documentation ¶
Index ¶
- Variables
- func RegisterCodec(cdc *codec.Codec)
- type MsgBoxDescription
- type MsgBoxDisableFeature
- func (ci MsgBoxDisableFeature) GetFeature() string
- func (ci MsgBoxDisableFeature) GetId() string
- func (ci MsgBoxDisableFeature) GetSender() sdk.AccAddress
- func (msg MsgBoxDisableFeature) GetSignBytes() []byte
- func (msg MsgBoxDisableFeature) GetSigners() []sdk.AccAddress
- func (msg MsgBoxDisableFeature) Route() string
- func (ci MsgBoxDisableFeature) SetFeature(feature string)
- func (ci MsgBoxDisableFeature) SetId(boxId string)
- func (ci MsgBoxDisableFeature) SetSender(sender sdk.AccAddress)
- func (msg MsgBoxDisableFeature) String() string
- func (msg MsgBoxDisableFeature) Type() string
- func (msg MsgBoxDisableFeature) ValidateBasic() sdk.Error
- type MsgBoxInject
- type MsgBoxInjectCancel
- func (msg MsgBoxInjectCancel) GetSignBytes() []byte
- func (msg MsgBoxInjectCancel) GetSigners() []sdk.AccAddress
- func (msg MsgBoxInjectCancel) Route() string
- func (msg MsgBoxInjectCancel) String() string
- func (msg MsgBoxInjectCancel) Type() string
- func (msg MsgBoxInjectCancel) ValidateBasic() sdk.Error
- type MsgBoxInterestCancel
- func (msg MsgBoxInterestCancel) GetSignBytes() []byte
- func (msg MsgBoxInterestCancel) GetSigners() []sdk.AccAddress
- func (msg MsgBoxInterestCancel) Route() string
- func (msg MsgBoxInterestCancel) String() string
- func (msg MsgBoxInterestCancel) Type() string
- func (msg MsgBoxInterestCancel) ValidateBasic() sdk.Error
- type MsgBoxInterestInject
- func (msg MsgBoxInterestInject) GetSignBytes() []byte
- func (msg MsgBoxInterestInject) GetSigners() []sdk.AccAddress
- func (msg MsgBoxInterestInject) Route() string
- func (msg MsgBoxInterestInject) String() string
- func (msg MsgBoxInterestInject) Type() string
- func (msg MsgBoxInterestInject) ValidateBasic() sdk.Error
- type MsgBoxWithdraw
- type MsgDepositBox
- func (msg MsgDepositBox) GetSignBytes() []byte
- func (msg MsgDepositBox) GetSigners() []sdk.AccAddress
- func (msg MsgDepositBox) Route() string
- func (msg MsgDepositBox) String() string
- func (msg MsgDepositBox) Type() string
- func (msg MsgDepositBox) ValidateBasic() sdk.Error
- func (msg MsgDepositBox) ValidateService() sdk.Error
- type MsgFutureBox
- func (msg MsgFutureBox) GetSignBytes() []byte
- func (msg MsgFutureBox) GetSigners() []sdk.AccAddress
- func (msg MsgFutureBox) Route() string
- func (msg MsgFutureBox) String() string
- func (msg MsgFutureBox) Type() string
- func (msg MsgFutureBox) ValidateBasic() sdk.Error
- func (msg MsgFutureBox) ValidateService() sdk.Error
- type MsgLockBox
- func (msg MsgLockBox) GetSignBytes() []byte
- func (msg MsgLockBox) GetSigners() []sdk.AccAddress
- func (msg MsgLockBox) Route() string
- func (msg MsgLockBox) String() string
- func (msg MsgLockBox) Type() string
- func (msg MsgLockBox) ValidateBasic() sdk.Error
- func (msg MsgLockBox) ValidateService() sdk.Error
Constants ¶
This section is empty.
Variables ¶
var MsgCdc = codec.New()
Functions ¶
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) String ¶
func (msg MsgBoxDescription) String() string
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) String ¶
func (msg MsgDepositBox) String() string
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) String ¶
func (msg MsgFutureBox) String() string
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) String ¶
func (msg MsgLockBox) String() string
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