bank

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildBankBurnMsg added in v0.10.0

func BuildBankBurnMsg(from sdk.AccAddress, coins sdk.Coins) sdk.Msg

BuildBankBurnMsg builds the burning coin msg

func BuildBankSendMsg added in v0.10.0

func BuildBankSendMsg(from sdk.AccAddress, to sdk.AccAddress, coins sdk.Coins) sdk.Msg

BuildBankSendMsg builds the sending coins msg

Types

type BaseAccount

type BaseAccount struct {
	Address       sdk.AccAddress `json:"address"`
	Coins         []string       `json:"coins"`
	PubKey        crypto.PubKey  `json:"public_key"`
	AccountNumber uint64         `json:"account_number"`
	Sequence      uint64         `json:"sequence"`
}

func ConvertAccountCoin

func ConvertAccountCoin(cliCtx context.CLIContext, acc auth.Account) (BaseAccount, error)

type TokenStats added in v0.10.0

type TokenStats struct {
	LoosenToken []string `json:"loosen_token"`
	BurnedToken []string `json:"burned_token"`
	BondedToken string   `json:"bonded_token"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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