pbastar

package
v0.0.0-...-aefc514 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sf_astar_type_v1_type_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Attribute) Descriptor deprecated

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

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetKey

func (x *Attribute) GetKey() string

func (*Attribute) GetValue

func (x *Attribute) GetValue() string

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

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

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

type BigInt

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

func (*BigInt) Descriptor deprecated

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

Deprecated: Use BigInt.ProtoReflect.Descriptor instead.

func (*BigInt) GetBytes

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

func (*BigInt) ProtoMessage

func (*BigInt) ProtoMessage()

func (*BigInt) ProtoReflect

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

func (*BigInt) Reset

func (x *BigInt) Reset()

func (*BigInt) String

func (x *BigInt) String() string

type Block

type Block struct {
	Height       uint64         `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Hash         string         `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	PrevHash     string         `protobuf:"bytes,3,opt,name=prevHash,proto3" json:"prevHash,omitempty"`
	Timestamp    uint64         `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Transactions []*Transaction `protobuf:"bytes,5,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetHash

func (x *Block) GetHash() string

func (*Block) GetHeight

func (x *Block) GetHeight() uint64

func (*Block) GetPrevHash

func (x *Block) GetPrevHash() string

func (*Block) GetTimestamp

func (x *Block) GetTimestamp() uint64

func (*Block) GetTransactions

func (x *Block) GetTransactions() []*Transaction

func (*Block) ID

func (b *Block) ID() string

func (*Block) Number

func (b *Block) Number() uint64

func (*Block) PreviousID

func (b *Block) PreviousID() string

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

func (*Block) Time

func (b *Block) Time() time.Time

type Event

type Event struct {
	Type       string       `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAttributes

func (x *Event) GetAttributes() []*Attribute

func (*Event) GetType

func (x *Event) GetType() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Transaction

type Transaction struct {
	Type     string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Hash     string   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Sender   string   `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver string   `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Amount   *BigInt  `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	Fee      *BigInt  `protobuf:"bytes,6,opt,name=fee,proto3" json:"fee,omitempty"`
	Success  bool     `protobuf:"varint,7,opt,name=success,proto3" json:"success,omitempty"`
	Events   []*Event `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetAmount

func (x *Transaction) GetAmount() *BigInt

func (*Transaction) GetEvents

func (x *Transaction) GetEvents() []*Event

func (*Transaction) GetFee

func (x *Transaction) GetFee() *BigInt

func (*Transaction) GetHash

func (x *Transaction) GetHash() string

func (*Transaction) GetReceiver

func (x *Transaction) GetReceiver() string

func (*Transaction) GetSender

func (x *Transaction) GetSender() string

func (*Transaction) GetSuccess

func (x *Transaction) GetSuccess() bool

func (*Transaction) GetType

func (x *Transaction) GetType() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

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

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

Jump to

Keyboard shortcuts

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