types

package
v0.7.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepositBoxInfo

type DepositBoxInfo struct {
	Id               string           `json:"id"`
	BoxType          string           `json:"type"`
	Status           string           `json:"status"`
	Owner            sdk.AccAddress   `json:"owner"`
	Name             string           `json:"name"`
	CreatedTime      int64            `json:"created_time"`
	TotalAmount      types.BoxToken   `json:"total_amount"`
	Description      string           `json:"description"`
	TransferDisabled bool             `json:"transfer_disabled"`
	Deposit          types.DepositBox `json:"deposit"`
}

func (DepositBoxInfo) String

func (bi DepositBoxInfo) String() string

nolint

type DepositBoxInfos

type DepositBoxInfos []DepositBoxInfo

func (DepositBoxInfos) String

func (bi DepositBoxInfos) String() string

nolint

type FutureBoxInfo

type FutureBoxInfo struct {
	Id               string          `json:"id"`
	BoxType          string          `json:"type"`
	Status           string          `json:"status"`
	Owner            sdk.AccAddress  `json:"owner"`
	Name             string          `json:"name"`
	CreatedTime      int64           `json:"created_time"`
	TotalAmount      types.BoxToken  `json:"total_amount"`
	Description      string          `json:"description"`
	TransferDisabled bool            `json:"transfer_disabled"`
	Future           types.FutureBox `json:"future"`
}

func (FutureBoxInfo) String

func (bi FutureBoxInfo) String() string

nolint

type FutureBoxInfos

type FutureBoxInfos []FutureBoxInfo

func (FutureBoxInfos) String

func (bi FutureBoxInfos) String() string

nolint

type LockBoxInfo

type LockBoxInfo struct {
	Id               string         `json:"id"`
	BoxType          string         `json:"type"`
	Status           string         `json:"status"`
	Owner            sdk.AccAddress `json:"owner"`
	Name             string         `json:"name"`
	CreatedTime      int64          `json:"created_time"`
	TotalAmount      types.BoxToken `json:"total_amount"`
	Description      string         `json:"description"`
	TransferDisabled bool           `json:"transfer_disabled"`
	Lock             types.LockBox  `json:"lock"`
}

func (LockBoxInfo) String

func (bi LockBoxInfo) String() string

nolint

type LockBoxInfos

type LockBoxInfos []LockBoxInfo

func (LockBoxInfos) String

func (bi LockBoxInfos) String() string

nolint

Jump to

Keyboard shortcuts

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