recover

package
v0.10.18 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Route   = "recover"
	MsgType = "request_token"
)

Variables

This section is empty.

Functions

func RegisterWire

func RegisterWire(cdc *wire.Codec)

Register concrete types on wire codec

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.

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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