pb

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sample_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BigInt

type BigInt struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BigInt) Descriptor deprecated

func (*BigInt) Descriptor() ([]byte, []int)

Deprecated: Use BigInt.ProtoReflect.Descriptor instead.

func (*BigInt) GetValue

func (x *BigInt) GetValue() []byte

func (*BigInt) MarshalToSizedBufferVT

func (m *BigInt) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BigInt) MarshalToVT

func (m *BigInt) MarshalToVT(dAtA []byte) (int, error)

func (*BigInt) MarshalVT

func (m *BigInt) MarshalVT() (dAtA []byte, err error)

func (*BigInt) ProtoMessage

func (*BigInt) ProtoMessage()

func (*BigInt) ProtoReflect

func (x *BigInt) ProtoReflect() protoreflect.Message

func (*BigInt) Reset

func (x *BigInt) Reset()

func (*BigInt) SizeVT

func (m *BigInt) SizeVT() (n int)

func (*BigInt) String

func (x *BigInt) String() string

func (*BigInt) UnmarshalVT

func (m *BigInt) UnmarshalVT(dAtA []byte) error

type TokenHistory

type TokenHistory struct {
	BlockNumber     uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	BlockHash       []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	AccountAddress  []byte `protobuf:"bytes,3,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	ContractAddress []byte `protobuf:"bytes,4,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	ContractType    uint32 `protobuf:"varint,5,opt,name=contract_type,json=contractType,proto3" json:"contract_type,omitempty"`
	FromAddress     []byte `protobuf:"bytes,6,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	ToAddress       []byte `protobuf:"bytes,7,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	TxnHash         []byte `protobuf:"bytes,8,opt,name=txn_hash,json=txnHash,proto3" json:"txn_hash,omitempty"`
	TxnIndex        uint32 `protobuf:"varint,9,opt,name=txn_index,json=txnIndex,proto3" json:"txn_index,omitempty"`
	TxnLogIndex     uint32 `protobuf:"varint,10,opt,name=txn_log_index,json=txnLogIndex,proto3" json:"txn_log_index,omitempty"`
	// deprecated in favour of token_ids and amounts
	LogData string `protobuf:"bytes,11,opt,name=log_data,json=logData,proto3" json:"log_data,omitempty"`
	// Timestamp when the event occurred
	Ts *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=ts,proto3" json:"ts,omitempty"`
	// Lists for token IDs and amounts
	TokenIds []*BigInt `protobuf:"bytes,13,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
	Amounts  []*BigInt `protobuf:"bytes,14,rep,name=amounts,proto3" json:"amounts,omitempty"`
	// contains filtered or unexported fields
}

TokenHistory represents blockchain token transaction history

func (*TokenHistory) Descriptor deprecated

func (*TokenHistory) Descriptor() ([]byte, []int)

Deprecated: Use TokenHistory.ProtoReflect.Descriptor instead.

func (*TokenHistory) GetAccountAddress

func (x *TokenHistory) GetAccountAddress() []byte

func (*TokenHistory) GetAmounts

func (x *TokenHistory) GetAmounts() []*BigInt

func (*TokenHistory) GetBlockHash

func (x *TokenHistory) GetBlockHash() []byte

func (*TokenHistory) GetBlockNumber

func (x *TokenHistory) GetBlockNumber() uint64

func (*TokenHistory) GetContractAddress

func (x *TokenHistory) GetContractAddress() []byte

func (*TokenHistory) GetContractType

func (x *TokenHistory) GetContractType() uint32

func (*TokenHistory) GetFromAddress

func (x *TokenHistory) GetFromAddress() []byte

func (*TokenHistory) GetLogData

func (x *TokenHistory) GetLogData() string

func (*TokenHistory) GetToAddress

func (x *TokenHistory) GetToAddress() []byte

func (*TokenHistory) GetTokenIds

func (x *TokenHistory) GetTokenIds() []*BigInt

func (*TokenHistory) GetTs

func (x *TokenHistory) GetTs() *timestamppb.Timestamp

func (*TokenHistory) GetTxnHash

func (x *TokenHistory) GetTxnHash() []byte

func (*TokenHistory) GetTxnIndex

func (x *TokenHistory) GetTxnIndex() uint32

func (*TokenHistory) GetTxnLogIndex

func (x *TokenHistory) GetTxnLogIndex() uint32

func (*TokenHistory) MarshalToSizedBufferVT

func (m *TokenHistory) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TokenHistory) MarshalToVT

func (m *TokenHistory) MarshalToVT(dAtA []byte) (int, error)

func (*TokenHistory) MarshalVT

func (m *TokenHistory) MarshalVT() (dAtA []byte, err error)

func (*TokenHistory) ProtoMessage

func (*TokenHistory) ProtoMessage()

func (*TokenHistory) ProtoReflect

func (x *TokenHistory) ProtoReflect() protoreflect.Message

func (*TokenHistory) Reset

func (x *TokenHistory) Reset()

func (*TokenHistory) SizeVT

func (m *TokenHistory) SizeVT() (n int)

func (*TokenHistory) String

func (x *TokenHistory) String() string

func (*TokenHistory) UnmarshalVT

func (m *TokenHistory) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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