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 ¶
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 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 Receipt ¶
func NewReceipt ¶
func NewReceipt() *Receipt
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
Click to show internal directories.
Click to hide internal directories.