Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountBalanceUpdate ¶
func NewAccountBalanceUpdate ¶
func NewAccountBalanceUpdate() *AccountBalanceUpdate
func (*AccountBalanceUpdate) Schema ¶
func (o *AccountBalanceUpdate) Schema() avro.Schema
type Block ¶
type Block struct { Nonce int64 Round int64 Epoch int32 Hash []byte MiniBlocks []*MiniBlock NotarizedBlocksHashes [][]byte Proposer int64 Validators []int64 PubKeysBitmap []byte Size int64 Timestamp int64 StateRootHash []byte PrevHash []byte ShardID int32 TxCount int32 AccumulatedFees []byte DeveloperFees []byte EpochStartBlock bool EpochStartInfo *EpochStartInfo }
type BlockResult ¶
type BlockResult struct { Block *Block Transactions []*Transaction SCResults []*SCResult Receipts []*Receipt Logs []*Log StateChanges []*AccountBalanceUpdate }
func NewBlockResult ¶
func NewBlockResult() *BlockResult
func (*BlockResult) Schema ¶
func (o *BlockResult) Schema() avro.Schema
type EpochStartInfo ¶
type EpochStartInfo struct { TotalSupply []byte TotalToDistribute []byte TotalNewlyMinted []byte RewardsPerBlock []byte RewardsForProtocolSustainability []byte NodePrice []byte PrevEpochStartRound int32 PrevEpochStartHash []byte }
func NewEpochStartInfo ¶
func NewEpochStartInfo() *EpochStartInfo
func (*EpochStartInfo) Schema ¶
func (o *EpochStartInfo) Schema() avro.Schema
type MiniBlock ¶
type MiniBlock struct { Hash []byte SenderShardID int32 ReceiverShardID int32 Type int32 Timestamp int64 TxHashes [][]byte }
func NewMiniBlock ¶
func NewMiniBlock() *MiniBlock
type Receipt ¶
type Receipt struct { Hash []byte Value []byte Sender []byte Data []byte TxHash []byte Timestamp int64 }
func NewReceipt ¶
func NewReceipt() *Receipt
type SCResult ¶
type SCResult struct { Hash []byte Nonce int64 GasLimit int64 GasPrice int64 Value []byte Sender []byte Receiver []byte RelayerAddr []byte RelayedValue []byte Code []byte Data []byte PrevTxHash []byte OriginalTxHash []byte CallType int32 CodeMetadata []byte ReturnMessage []byte Timestamp int64 }
func NewSCResult ¶
func NewSCResult() *SCResult
type Transaction ¶
type Transaction struct { Hash []byte MiniBlockHash []byte BlockHash []byte Nonce int64 Round int64 Value []byte Receiver []byte Sender []byte ReceiverShard int32 SenderShard int32 GasPrice int64 GasLimit int64 Data []byte Signature []byte Timestamp int64 SenderUserName []byte ReceiverUserName []byte }
func NewTransaction ¶
func NewTransaction() *Transaction
func (*Transaction) Schema ¶
func (o *Transaction) Schema() avro.Schema
Click to show internal directories.
Click to hide internal directories.