Documentation ¶
Index ¶
- Constants
- func RegisterWire(cdc *wire.Codec)
- type TokenRecoverRequest
- func (msg TokenRecoverRequest) GetInvolvedAddresses() []sdk.AccAddress
- func (msg TokenRecoverRequest) GetSignBytes() []byte
- func (m TokenRecoverRequest) GetSigners() []sdk.AccAddress
- func (TokenRecoverRequest) Route() string
- func (TokenRecoverRequest) Type() string
- func (msg TokenRecoverRequest) ValidateBasic() sdk.Error
Constants ¶
View Source
const ( Route = "recover" MsgType = "request_token" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TokenRecoverRequest ¶
type TokenRecoverRequest struct { TokenSymbol string `json:"token_symbol"` Amount uint64 `json:"amount"` Recipient string `json:"recipient"` // eth address }
func NewTokenRecoverRequestMsg ¶
func NewTokenRecoverRequestMsg(tokenSymbol string, amount uint64, recipient string) TokenRecoverRequest
func (TokenRecoverRequest) GetInvolvedAddresses ¶
func (msg TokenRecoverRequest) GetInvolvedAddresses() []sdk.AccAddress
GetInvolvedAddresses implements types.Msg.
func (TokenRecoverRequest) GetSignBytes ¶
func (msg TokenRecoverRequest) GetSignBytes() []byte
GetSignBytes implements types.Msg.
func (TokenRecoverRequest) GetSigners ¶
func (m TokenRecoverRequest) GetSigners() []sdk.AccAddress
GetSigners implements types.Msg.
func (TokenRecoverRequest) Route ¶
func (TokenRecoverRequest) Route() string
Route implements types.Msg.
func (TokenRecoverRequest) Type ¶
func (TokenRecoverRequest) Type() string
Type implements types.Msg.
func (TokenRecoverRequest) ValidateBasic ¶
func (msg TokenRecoverRequest) ValidateBasic() sdk.Error
ValidateBasic implements types.Msg.
Click to show internal directories.
Click to hide internal directories.