recover

package
v0.10.24 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MPL-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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