tlb

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 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 AccountState added in v0.3.0

type AccountState struct {
	IsValid     bool
	Address     *address.Address
	StorageInfo StorageInfo

	AccountStorage
}

func (*AccountState) LoadFromCell added in v0.3.0

func (a *AccountState) LoadFromCell(loader *cell.LoadCell) error

type AccountStorage added in v0.3.0

type AccountStorage struct {
	LastTransactionLT uint64
	Balance           Grams
}

func (*AccountStorage) LoadFromCell added in v0.3.0

func (s *AccountStorage) LoadFromCell(loader *cell.LoadCell) error

type BlockInfo

type BlockInfo struct {
	Workchain int32
	Shard     int64
	SeqNo     int32
	RootHash  []byte
	FileHash  []byte
}

func (*BlockInfo) Load

func (b *BlockInfo) Load(data []byte) ([]byte, error)

func (*BlockInfo) Serialize

func (b *BlockInfo) Serialize() []byte

type Grams added in v0.3.0

type Grams struct {
	// contains filtered or unexported fields
}

func (Grams) NanoTON added in v0.3.0

func (g Grams) NanoTON() *big.Int

func (Grams) TON added in v0.3.0

func (g Grams) TON() string

type StorageInfo added in v0.3.0

type StorageInfo struct {
	StorageUsed StorageUsed
	LastPaid    uint32
	DuePayment  *big.Int
}

func (*StorageInfo) LoadFromCell added in v0.3.0

func (s *StorageInfo) LoadFromCell(loader *cell.LoadCell) error

type StorageUsed added in v0.3.0

type StorageUsed struct {
	BitsUsed        uint64
	CellsUsed       uint64
	PublicCellsUsed uint64
}

func (*StorageUsed) LoadFromCell added in v0.3.0

func (s *StorageUsed) LoadFromCell(loader *cell.LoadCell) error

Jump to

Keyboard shortcuts

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