Documentation ¶
Index ¶
- Variables
- func RegisterCodec(cdc *codec.Codec)
- type MsgBoxDeposit
- type MsgBoxDescription
- type MsgBoxDisableFeature
- func (ci MsgBoxDisableFeature) GetBoxId() string
- func (ci MsgBoxDisableFeature) GetFeature() 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) SetBoxId(boxId string)
- func (ci MsgBoxDisableFeature) SetFeature(feature 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 MsgBoxInterest
- type MsgDepositBox
- type MsgFutureBox
- type MsgLockBox
Constants ¶
This section is empty.
Variables ¶
var MsgCdc = codec.New()
Functions ¶
Types ¶
type MsgBoxDeposit ¶
type MsgBoxDeposit struct { BoxId string `json:"box_id"` Sender sdk.AccAddress `json:"sender"` Deposit sdk.Coin `json:"deposit"` Operation string `json:"operation"` }
MsgBoxDeposit
func NewMsgBoxDeposit ¶
func NewMsgBoxDeposit(boxId string, sender sdk.AccAddress, deposit sdk.Coin, operation string) MsgBoxDeposit
New MsgBoxDeposit Instance
func (MsgBoxDeposit) GetSignBytes ¶
func (msg MsgBoxDeposit) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgBoxDeposit) GetSigners ¶
func (msg MsgBoxDeposit) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (MsgBoxDeposit) String ¶
func (msg MsgBoxDeposit) String() string
func (MsgBoxDeposit) ValidateBasic ¶
func (msg MsgBoxDeposit) ValidateBasic() sdk.Error
Implements Msg. Ensures addresses are valid and Coin is positive
type MsgBoxDescription ¶
type MsgBoxDescription struct { BoxId string `json:"box_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 { BoxId string `json:"box_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) 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) SetBoxId ¶
func (ci MsgBoxDisableFeature) SetBoxId(boxId string)
func (MsgBoxDisableFeature) SetFeature ¶
func (ci MsgBoxDisableFeature) SetFeature(feature 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 MsgBoxInterest ¶
type MsgBoxInterest struct { BoxId string `json:"box_id"` Sender sdk.AccAddress `json:"sender"` Interest sdk.Coin `json:"interest"` Operation string `json:"operation"` }
MsgBoxInterest
func NewMsgBoxInterest ¶
func NewMsgBoxInterest(boxId string, sender sdk.AccAddress, interest sdk.Coin, operation string) MsgBoxInterest
New MsgBoxInterest Instance
func (MsgBoxInterest) GetSignBytes ¶
func (msg MsgBoxInterest) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgBoxInterest) GetSigners ¶
func (msg MsgBoxInterest) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (MsgBoxInterest) String ¶
func (msg MsgBoxInterest) String() string
func (MsgBoxInterest) ValidateBasic ¶
func (msg MsgBoxInterest) ValidateBasic() sdk.Error
Implements Msg. Ensures addresses are valid and Coin is positive
type MsgDepositBox ¶
type MsgDepositBox struct {
*params.BoxDepositParams
}
MsgDepositBox to allow a registered boxr to box new coins.
func NewMsgDepositBox ¶
func NewMsgDepositBox(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
type MsgFutureBox ¶
type MsgFutureBox struct {
*params.BoxFutureParams
}
MsgFutureBox to allow a registered boxr to box new coins.
func NewMsgFutureBox ¶
func NewMsgFutureBox(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
type MsgLockBox ¶
type MsgLockBox struct {
*params.BoxLockParams
}
MsgLockBox to allow a registered boxr to box new coins.
func NewMsgLockBox ¶
func NewMsgLockBox(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