pb

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Event

type Event struct {
	Type             string                      `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id               []byte                      `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Index            []byte                      `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"`
	EventTimestamp   int64                       `protobuf:"varint,4,opt,name=eventTimestamp,proto3" json:"eventTimestamp,omitempty"`
	MessageTimestamp int64                       `protobuf:"varint,5,opt,name=messageTimestamp,proto3" json:"messageTimestamp,omitempty"`
	Data             map[string][]byte           `` /* 149-byte string literal not displayed */
	Signatures       map[string]*Event_Signature `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetData

func (x *Event) GetData() map[string][]byte

func (*Event) GetEventTimestamp added in v0.4.2

func (x *Event) GetEventTimestamp() int64

func (*Event) GetId

func (x *Event) GetId() []byte

func (*Event) GetIndex

func (x *Event) GetIndex() []byte

func (*Event) GetMessageTimestamp added in v0.4.2

func (x *Event) GetMessageTimestamp() int64

func (*Event) GetSignatures

func (x *Event) GetSignatures() map[string]*Event_Signature

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 Event_Signature added in v0.4.2

type Event_Signature struct {
	Signer    []byte `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_Signature) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Event_Signature.ProtoReflect.Descriptor instead.

func (*Event_Signature) GetSignature added in v0.4.2

func (x *Event_Signature) GetSignature() []byte

func (*Event_Signature) GetSigner added in v0.4.2

func (x *Event_Signature) GetSigner() []byte

func (*Event_Signature) ProtoMessage added in v0.4.2

func (*Event_Signature) ProtoMessage()

func (*Event_Signature) ProtoReflect added in v0.4.2

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

func (*Event_Signature) Reset added in v0.4.2

func (x *Event_Signature) Reset()

func (*Event_Signature) String added in v0.4.2

func (x *Event_Signature) String() string

type Price added in v0.6.0

type Price struct {

	// Price:
	Wat string `protobuf:"bytes,1,opt,name=wat,proto3" json:"wat,omitempty"`  // asset name
	Val []byte `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`  // big.Int encoded as bytes
	Age int64  `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"` // timestamp
	// Ethereum Signature:
	Vrs []byte `protobuf:"bytes,4,opt,name=vrs,proto3" json:"vrs,omitempty"` // v, r, s combined into one byte array
	// Starknet Signature:
	StarkR  []byte `protobuf:"bytes,5,opt,name=starkR,proto3" json:"starkR,omitempty"`
	StarkS  []byte `protobuf:"bytes,6,opt,name=starkS,proto3" json:"starkS,omitempty"`
	StarkPK []byte `protobuf:"bytes,7,opt,name=starkPK,proto3" json:"starkPK,omitempty"`
	// Additional data:
	Trace   []byte `protobuf:"bytes,8,opt,name=trace,proto3" json:"trace,omitempty"`
	Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Price) Descriptor deprecated added in v0.6.0

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

Deprecated: Use Price.ProtoReflect.Descriptor instead.

func (*Price) GetAge added in v0.6.0

func (x *Price) GetAge() int64

func (*Price) GetStarkPK added in v0.6.0

func (x *Price) GetStarkPK() []byte

func (*Price) GetStarkR added in v0.6.0

func (x *Price) GetStarkR() []byte

func (*Price) GetStarkS added in v0.6.0

func (x *Price) GetStarkS() []byte

func (*Price) GetTrace added in v0.6.0

func (x *Price) GetTrace() []byte

func (*Price) GetVal added in v0.6.0

func (x *Price) GetVal() []byte

func (*Price) GetVersion added in v0.6.0

func (x *Price) GetVersion() string

func (*Price) GetVrs added in v0.6.0

func (x *Price) GetVrs() []byte

func (*Price) GetWat added in v0.6.0

func (x *Price) GetWat() string

func (*Price) ProtoMessage added in v0.6.0

func (*Price) ProtoMessage()

func (*Price) ProtoReflect added in v0.6.0

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

func (*Price) Reset added in v0.6.0

func (x *Price) Reset()

func (*Price) String added in v0.6.0

func (x *Price) String() string

Jump to

Keyboard shortcuts

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