account

package
v0.0.0-...-31e81b3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Address         string           `json:"address"`
	Type            string           `json:"type"`
	Name            string           `json:"name"`
	ID              string           `json:"id"`
	Balance         int64            `json:"balance"`
	Allowance       int64            `json:"allowance"`
	LastWithdraw    int64            `json:"lastWithdraw"`
	IsWitness       bool             `json:"isWitness"`
	IsElected       bool             `json:"isElected"`
	Assets          map[string]int64 `json:"assetList"`
	TronPower       int64            `json:"tronPower"`
	TronPowerUsed   int64            `json:"tronPowerUsed"`
	FrozenBalance   int64            `json:"frozenBalance"`
	FrozenResources []FrozenResource `json:"frozenList"`
	Votes           map[string]int64 `json:"voteList"`
	BWTotal         int64            `json:"bandwidthTotal"`
	BWUsed          int64            `json:"bandwidthUsed"`
	EnergyTotal     int64            `json:"energyTotal"`
	EnergyUsed      int64            `json:"energyUsed"`
}

type FrozenResource

type FrozenResource struct {
	Type       core.ResourceCode
	Amount     int64
	DelegateTo string
	Expire     int64
}

Jump to

Keyboard shortcuts

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