schema

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 1 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountBalanceUpdate

type AccountBalanceUpdate struct {
	Address []byte
	Balance []byte
	Nonce   int64
	Tokens  []*AccountTokenData
}

func NewAccountBalanceUpdate

func NewAccountBalanceUpdate() *AccountBalanceUpdate

func (*AccountBalanceUpdate) Schema

func (o *AccountBalanceUpdate) Schema() avro.Schema

type AccountTokenData

type AccountTokenData struct {
	Nonce      int64
	Identifier string
	Balance    []byte
	Properties string
}

func NewAccountTokenData

func NewAccountTokenData() *AccountTokenData

func (*AccountTokenData) Schema

func (o *AccountTokenData) Schema() avro.Schema

type EpochStartInfo

type EpochStartInfo struct {
	TotalSupply                      []byte
	TotalToDistribute                []byte
	TotalNewlyMinted                 []byte
	RewardsPerBlock                  []byte
	RewardsForProtocolSustainability []byte
	NodePrice                        []byte
	PrevEpochStartRound              int64
	PrevEpochStartHash               []byte
}

func NewEpochStartInfo

func NewEpochStartInfo() *EpochStartInfo

func (*EpochStartInfo) Schema

func (o *EpochStartInfo) Schema() avro.Schema

type Event

type Event struct {
	Address    []byte
	Identifier []byte
	Topics     [][]byte
	Data       []byte
}

func NewEvent

func NewEvent() *Event

func (*Event) Schema

func (o *Event) Schema() avro.Schema

type HyperBlock

type HyperBlock struct {
	Hash                   []byte
	PrevBlockHash          []byte
	StateRootHash          []byte
	Nonce                  int64
	Round                  int64
	Epoch                  int32
	NumTxs                 int32
	AccumulatedFees        []byte
	DeveloperFees          []byte
	AccumulatedFeesInEpoch []byte
	DeveloperFeesInEpoch   []byte
	Timestamp              int64
	EpochStartInfo         *EpochStartInfo
	ShardBlocks            []*ShardBlocks
	Transactions           []*Transaction
	Status                 string
}

func NewHyperBlock

func NewHyperBlock() *HyperBlock

func (*HyperBlock) Schema

func (o *HyperBlock) Schema() avro.Schema

type Log

type Log struct {
	Address []byte
	Events  []*Event
}

func NewLog

func NewLog() *Log

func (*Log) Schema

func (o *Log) Schema() avro.Schema

type Receipt

type Receipt struct {
	TxHash []byte
	Value  []byte
	Sender []byte
	Data   []byte
}

func NewReceipt

func NewReceipt() *Receipt

func (*Receipt) Schema

func (o *Receipt) Schema() avro.Schema

type ShardBlocks

type ShardBlocks struct {
	Hash            []byte
	Nonce           int64
	Round           int64
	Shard           int32
	RootHash        []byte
	MiniBlockHashes [][]byte
	StateChanges    []*AccountBalanceUpdate
}

func NewShardBlocks

func NewShardBlocks() *ShardBlocks

func (*ShardBlocks) Schema

func (o *ShardBlocks) Schema() avro.Schema

type Transaction

type Transaction struct {
	Type                              string
	ProcessingTypeOnSource            string
	ProcessingTypeOnDestination       string
	Hash                              []byte
	Nonce                             int64
	Round                             int64
	Epoch                             int32
	Value                             []byte
	Receiver                          []byte
	Sender                            []byte
	SenderUserName                    []byte
	ReceiverUserName                  []byte
	GasPrice                          int64
	GasLimit                          int64
	Data                              []byte
	CodeMetadata                      []byte
	Code                              []byte
	PreviousTransactionHash           []byte
	OriginalTransactionHash           []byte
	ReturnMessage                     string
	OriginalSender                    []byte
	Signature                         []byte
	SourceShard                       int32
	DestinationShard                  int32
	BlockNonce                        int64
	BlockHash                         []byte
	NotarizedAtSourceInMetaNonce      int64
	NotarizedAtSourceInMetaHash       []byte
	NotarizedAtDestinationInMetaNonce int64
	NotarizedAtDestinationInMetaHash  []byte
	MiniBlockType                     string
	MiniBlockHash                     []byte
	HyperBlockNonce                   int64
	HyperBlockHash                    []byte
	Timestamp                         int64
	Receipt                           *Receipt
	Log                               *Log
	Status                            string
	Tokens                            []string
	ESDTValues                        [][]byte
	Receivers                         [][]byte
	ReceiversShardIDs                 []int32
	Operation                         string
	Function                          string
	InitiallyPaidFee                  []byte
	IsRelayed                         bool
	IsRefund                          bool
	CallType                          string
	RelayerAddress                    []byte
	RelayedValue                      []byte
	ChainID                           string
	Version                           int32
	Options                           int32
}

func NewTransaction

func NewTransaction() *Transaction

func (*Transaction) Schema

func (o *Transaction) Schema() avro.Schema

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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