gen

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	L1DataAvailabilityMode_name = map[int32]string{
		0: "Calldata",
		1: "Blob",
	}
	L1DataAvailabilityMode_value = map[string]int32{
		"Calldata": 0,
		"Blob":     1,
	}
)

Enum value maps for L1DataAvailabilityMode.

View Source
var (
	VolitionDomain_name = map[int32]string{
		0: "L1",
		1: "L2",
	}
	VolitionDomain_value = map[string]int32{
		"L1": 0,
		"L2": 1,
	}
)

Enum value maps for VolitionDomain.

View Source
var (
	Iteration_Direction_name = map[int32]string{
		0: "Forward",
		1: "Backward",
	}
	Iteration_Direction_value = map[string]int32{
		"Forward":  0,
		"Backward": 1,
	}
)

Enum value maps for Iteration_Direction.

View Source
var (
	PriceUnit_name = map[int32]string{
		0: "Wei",
		1: "Fri",
	}
	PriceUnit_value = map[string]int32{
		"Wei": 0,
		"Fri": 1,
	}
)

Enum value maps for PriceUnit.

View Source
var File_class_proto protoreflect.FileDescriptor
View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_event_proto protoreflect.FileDescriptor
View Source
var File_header_proto protoreflect.FileDescriptor
View Source
var File_receipt_proto protoreflect.FileDescriptor
View Source
var File_state_proto protoreflect.FileDescriptor
View Source
var File_transaction_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountSignature

type AccountSignature struct {
	Parts []*Felt252 `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountSignature) Descriptor deprecated

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

Deprecated: Use AccountSignature.ProtoReflect.Descriptor instead.

func (*AccountSignature) GetParts

func (x *AccountSignature) GetParts() []*Felt252

func (*AccountSignature) ProtoMessage

func (*AccountSignature) ProtoMessage()

func (*AccountSignature) ProtoReflect

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

func (*AccountSignature) Reset

func (x *AccountSignature) Reset()

func (*AccountSignature) String

func (x *AccountSignature) String() string

type Address

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

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetElements

func (x *Address) GetElements() []byte

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type BlockHeadersRequest

type BlockHeadersRequest struct {
	Iteration *Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeadersRequest) Descriptor deprecated

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

Deprecated: Use BlockHeadersRequest.ProtoReflect.Descriptor instead.

func (*BlockHeadersRequest) GetIteration

func (x *BlockHeadersRequest) GetIteration() *Iteration

func (*BlockHeadersRequest) ProtoMessage

func (*BlockHeadersRequest) ProtoMessage()

func (*BlockHeadersRequest) ProtoReflect

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

func (*BlockHeadersRequest) Reset

func (x *BlockHeadersRequest) Reset()

func (*BlockHeadersRequest) String

func (x *BlockHeadersRequest) String() string

type BlockHeadersResponse

type BlockHeadersResponse struct {

	// Types that are valid to be assigned to HeaderMessage:
	//
	//	*BlockHeadersResponse_Header
	//	*BlockHeadersResponse_Fin
	HeaderMessage isBlockHeadersResponse_HeaderMessage `protobuf_oneof:"header_message"`
	// contains filtered or unexported fields
}

Responses are sent ordered by the order given in the request.

func (*BlockHeadersResponse) Descriptor deprecated

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

Deprecated: Use BlockHeadersResponse.ProtoReflect.Descriptor instead.

func (*BlockHeadersResponse) GetFin

func (x *BlockHeadersResponse) GetFin() *Fin

func (*BlockHeadersResponse) GetHeader

func (x *BlockHeadersResponse) GetHeader() *SignedBlockHeader

func (*BlockHeadersResponse) GetHeaderMessage

func (x *BlockHeadersResponse) GetHeaderMessage() isBlockHeadersResponse_HeaderMessage

func (*BlockHeadersResponse) ProtoMessage

func (*BlockHeadersResponse) ProtoMessage()

func (*BlockHeadersResponse) ProtoReflect

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

func (*BlockHeadersResponse) Reset

func (x *BlockHeadersResponse) Reset()

func (*BlockHeadersResponse) String

func (x *BlockHeadersResponse) String() string

type BlockHeadersResponse_Fin

type BlockHeadersResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its header.
}

type BlockHeadersResponse_Header

type BlockHeadersResponse_Header struct {
	Header *SignedBlockHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}

type BlockID

type BlockID struct {
	Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Header *Hash  `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockID) Descriptor deprecated

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

Deprecated: Use BlockID.ProtoReflect.Descriptor instead.

func (*BlockID) GetHeader

func (x *BlockID) GetHeader() *Hash

func (*BlockID) GetNumber

func (x *BlockID) GetNumber() uint64

func (*BlockID) ProtoMessage

func (*BlockID) ProtoMessage()

func (*BlockID) ProtoReflect

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

func (*BlockID) Reset

func (x *BlockID) Reset()

func (*BlockID) String

func (x *BlockID) String() string

type BlockProof

type BlockProof struct {
	Proof [][]byte `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockProof) Descriptor deprecated

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

Deprecated: Use BlockProof.ProtoReflect.Descriptor instead.

func (*BlockProof) GetProof

func (x *BlockProof) GetProof() [][]byte

func (*BlockProof) ProtoMessage

func (*BlockProof) ProtoMessage()

func (*BlockProof) ProtoReflect

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

func (*BlockProof) Reset

func (x *BlockProof) Reset()

func (*BlockProof) String

func (x *BlockProof) String() string

type Cairo0Class

type Cairo0Class struct {
	Abi          string        `protobuf:"bytes,1,opt,name=abi,proto3" json:"abi,omitempty"`
	Externals    []*EntryPoint `protobuf:"bytes,2,rep,name=externals,proto3" json:"externals,omitempty"`
	L1Handlers   []*EntryPoint `protobuf:"bytes,3,rep,name=l1_handlers,json=l1Handlers,proto3" json:"l1_handlers,omitempty"`
	Constructors []*EntryPoint `protobuf:"bytes,4,rep,name=constructors,proto3" json:"constructors,omitempty"`
	// Compressed in base64 representation.
	Program string `protobuf:"bytes,5,opt,name=program,proto3" json:"program,omitempty"`
	// contains filtered or unexported fields
}

func (*Cairo0Class) Descriptor deprecated

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

Deprecated: Use Cairo0Class.ProtoReflect.Descriptor instead.

func (*Cairo0Class) GetAbi

func (x *Cairo0Class) GetAbi() string

func (*Cairo0Class) GetConstructors

func (x *Cairo0Class) GetConstructors() []*EntryPoint

func (*Cairo0Class) GetExternals

func (x *Cairo0Class) GetExternals() []*EntryPoint

func (*Cairo0Class) GetL1Handlers

func (x *Cairo0Class) GetL1Handlers() []*EntryPoint

func (*Cairo0Class) GetProgram

func (x *Cairo0Class) GetProgram() string

func (*Cairo0Class) ProtoMessage

func (*Cairo0Class) ProtoMessage()

func (*Cairo0Class) ProtoReflect

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

func (*Cairo0Class) Reset

func (x *Cairo0Class) Reset()

func (*Cairo0Class) String

func (x *Cairo0Class) String() string

type Cairo1Class

type Cairo1Class struct {
	Abi                  string             `protobuf:"bytes,1,opt,name=abi,proto3" json:"abi,omitempty"`
	EntryPoints          *Cairo1EntryPoints `protobuf:"bytes,2,opt,name=entry_points,json=entryPoints,proto3" json:"entry_points,omitempty"`
	Program              []*Felt252         `protobuf:"bytes,3,rep,name=program,proto3" json:"program,omitempty"`
	ContractClassVersion string             `protobuf:"bytes,4,opt,name=contract_class_version,json=contractClassVersion,proto3" json:"contract_class_version,omitempty"`
	// contains filtered or unexported fields
}

func (*Cairo1Class) Descriptor deprecated

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

Deprecated: Use Cairo1Class.ProtoReflect.Descriptor instead.

func (*Cairo1Class) GetAbi

func (x *Cairo1Class) GetAbi() string

func (*Cairo1Class) GetContractClassVersion

func (x *Cairo1Class) GetContractClassVersion() string

func (*Cairo1Class) GetEntryPoints

func (x *Cairo1Class) GetEntryPoints() *Cairo1EntryPoints

func (*Cairo1Class) GetProgram

func (x *Cairo1Class) GetProgram() []*Felt252

func (*Cairo1Class) ProtoMessage

func (*Cairo1Class) ProtoMessage()

func (*Cairo1Class) ProtoReflect

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

func (*Cairo1Class) Reset

func (x *Cairo1Class) Reset()

func (*Cairo1Class) String

func (x *Cairo1Class) String() string

type Cairo1EntryPoints

type Cairo1EntryPoints struct {
	Externals    []*SierraEntryPoint `protobuf:"bytes,1,rep,name=externals,proto3" json:"externals,omitempty"`
	L1Handlers   []*SierraEntryPoint `protobuf:"bytes,2,rep,name=l1_handlers,json=l1Handlers,proto3" json:"l1_handlers,omitempty"`
	Constructors []*SierraEntryPoint `protobuf:"bytes,3,rep,name=constructors,proto3" json:"constructors,omitempty"`
	// contains filtered or unexported fields
}

func (*Cairo1EntryPoints) Descriptor deprecated

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

Deprecated: Use Cairo1EntryPoints.ProtoReflect.Descriptor instead.

func (*Cairo1EntryPoints) GetConstructors

func (x *Cairo1EntryPoints) GetConstructors() []*SierraEntryPoint

func (*Cairo1EntryPoints) GetExternals

func (x *Cairo1EntryPoints) GetExternals() []*SierraEntryPoint

func (*Cairo1EntryPoints) GetL1Handlers

func (x *Cairo1EntryPoints) GetL1Handlers() []*SierraEntryPoint

func (*Cairo1EntryPoints) ProtoMessage

func (*Cairo1EntryPoints) ProtoMessage()

func (*Cairo1EntryPoints) ProtoReflect

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

func (*Cairo1EntryPoints) Reset

func (x *Cairo1EntryPoints) Reset()

func (*Cairo1EntryPoints) String

func (x *Cairo1EntryPoints) String() string

type Class

type Class struct {

	// Types that are valid to be assigned to Class:
	//
	//	*Class_Cairo0
	//	*Class_Cairo1
	Class     isClass_Class `protobuf_oneof:"class"`
	Domain    uint32        `protobuf:"varint,3,opt,name=domain,proto3" json:"domain,omitempty"`
	ClassHash *Hash         `protobuf:"bytes,4,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Class) Descriptor deprecated

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

Deprecated: Use Class.ProtoReflect.Descriptor instead.

func (*Class) GetCairo0

func (x *Class) GetCairo0() *Cairo0Class

func (*Class) GetCairo1

func (x *Class) GetCairo1() *Cairo1Class

func (*Class) GetClass

func (x *Class) GetClass() isClass_Class

func (*Class) GetClassHash

func (x *Class) GetClassHash() *Hash

func (*Class) GetDomain

func (x *Class) GetDomain() uint32

func (*Class) ProtoMessage

func (*Class) ProtoMessage()

func (*Class) ProtoReflect

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

func (*Class) Reset

func (x *Class) Reset()

func (*Class) String

func (x *Class) String() string

type Class_Cairo0

type Class_Cairo0 struct {
	Cairo0 *Cairo0Class `protobuf:"bytes,1,opt,name=cairo0,proto3,oneof"`
}

type Class_Cairo1

type Class_Cairo1 struct {
	Cairo1 *Cairo1Class `protobuf:"bytes,2,opt,name=cairo1,proto3,oneof"`
}

type ClassesRequest

type ClassesRequest struct {
	Iteration *Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	// contains filtered or unexported fields
}

func (*ClassesRequest) Descriptor deprecated

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

Deprecated: Use ClassesRequest.ProtoReflect.Descriptor instead.

func (*ClassesRequest) GetIteration

func (x *ClassesRequest) GetIteration() *Iteration

func (*ClassesRequest) ProtoMessage

func (*ClassesRequest) ProtoMessage()

func (*ClassesRequest) ProtoReflect

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

func (*ClassesRequest) Reset

func (x *ClassesRequest) Reset()

func (*ClassesRequest) String

func (x *ClassesRequest) String() string

type ClassesResponse

type ClassesResponse struct {

	// Types that are valid to be assigned to ClassMessage:
	//
	//	*ClassesResponse_Class
	//	*ClassesResponse_Fin
	ClassMessage isClassesResponse_ClassMessage `protobuf_oneof:"class_message"`
	// contains filtered or unexported fields
}

Responses are sent ordered by the order given in the request.

func (*ClassesResponse) Descriptor deprecated

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

Deprecated: Use ClassesResponse.ProtoReflect.Descriptor instead.

func (*ClassesResponse) GetClass

func (x *ClassesResponse) GetClass() *Class

func (*ClassesResponse) GetClassMessage

func (x *ClassesResponse) GetClassMessage() isClassesResponse_ClassMessage

func (*ClassesResponse) GetFin

func (x *ClassesResponse) GetFin() *Fin

func (*ClassesResponse) ProtoMessage

func (*ClassesResponse) ProtoMessage()

func (*ClassesResponse) ProtoReflect

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

func (*ClassesResponse) Reset

func (x *ClassesResponse) Reset()

func (*ClassesResponse) String

func (x *ClassesResponse) String() string

type ClassesResponse_Class

type ClassesResponse_Class struct {
	Class *Class `protobuf:"bytes,1,opt,name=class,proto3,oneof"`
}

type ClassesResponse_Fin

type ClassesResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its classes.
}

type ConsensusSignature

type ConsensusSignature struct {
	R *Felt252 `protobuf:"bytes,1,opt,name=r,proto3" json:"r,omitempty"`
	S *Felt252 `protobuf:"bytes,2,opt,name=s,proto3" json:"s,omitempty"`
	// contains filtered or unexported fields
}

func (*ConsensusSignature) Descriptor deprecated

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

Deprecated: Use ConsensusSignature.ProtoReflect.Descriptor instead.

func (*ConsensusSignature) GetR

func (x *ConsensusSignature) GetR() *Felt252

func (*ConsensusSignature) GetS

func (x *ConsensusSignature) GetS() *Felt252

func (*ConsensusSignature) ProtoMessage

func (*ConsensusSignature) ProtoMessage()

func (*ConsensusSignature) ProtoReflect

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

func (*ConsensusSignature) Reset

func (x *ConsensusSignature) Reset()

func (*ConsensusSignature) String

func (x *ConsensusSignature) String() string

type ContractDiff

type ContractDiff struct {
	Address   *Address               `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Nonce     *Felt252               `protobuf:"bytes,2,opt,name=nonce,proto3,oneof" json:"nonce,omitempty"`                          // Present only if the nonce was updated
	ClassHash *Hash                  `protobuf:"bytes,3,opt,name=class_hash,json=classHash,proto3,oneof" json:"class_hash,omitempty"` // Present only if the contract was deployed or replaced in this block.
	Values    []*ContractStoredValue `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
	Domain    VolitionDomain         `protobuf:"varint,5,opt,name=domain,proto3,enum=VolitionDomain" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractDiff) Descriptor deprecated

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

Deprecated: Use ContractDiff.ProtoReflect.Descriptor instead.

func (*ContractDiff) GetAddress

func (x *ContractDiff) GetAddress() *Address

func (*ContractDiff) GetClassHash

func (x *ContractDiff) GetClassHash() *Hash

func (*ContractDiff) GetDomain

func (x *ContractDiff) GetDomain() VolitionDomain

func (*ContractDiff) GetNonce

func (x *ContractDiff) GetNonce() *Felt252

func (*ContractDiff) GetValues

func (x *ContractDiff) GetValues() []*ContractStoredValue

func (*ContractDiff) ProtoMessage

func (*ContractDiff) ProtoMessage()

func (*ContractDiff) ProtoReflect

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

func (*ContractDiff) Reset

func (x *ContractDiff) Reset()

func (*ContractDiff) String

func (x *ContractDiff) String() string

type ContractStoredValue

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

optimized for flat storage, not through a trie (not sharing key prefixes)

func (*ContractStoredValue) Descriptor deprecated

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

Deprecated: Use ContractStoredValue.ProtoReflect.Descriptor instead.

func (*ContractStoredValue) GetKey

func (x *ContractStoredValue) GetKey() *Felt252

func (*ContractStoredValue) GetValue

func (x *ContractStoredValue) GetValue() *Felt252

func (*ContractStoredValue) ProtoMessage

func (*ContractStoredValue) ProtoMessage()

func (*ContractStoredValue) ProtoReflect

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

func (*ContractStoredValue) Reset

func (x *ContractStoredValue) Reset()

func (*ContractStoredValue) String

func (x *ContractStoredValue) String() string

type DeclaredClass

type DeclaredClass struct {
	ClassHash         *Hash `protobuf:"bytes,1,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	CompiledClassHash *Hash `protobuf:"bytes,2,opt,name=compiled_class_hash,json=compiledClassHash,proto3,oneof" json:"compiled_class_hash,omitempty"` // Present only if the class is Cairo1
	// contains filtered or unexported fields
}

func (*DeclaredClass) Descriptor deprecated

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

Deprecated: Use DeclaredClass.ProtoReflect.Descriptor instead.

func (*DeclaredClass) GetClassHash

func (x *DeclaredClass) GetClassHash() *Hash

func (*DeclaredClass) GetCompiledClassHash

func (x *DeclaredClass) GetCompiledClassHash() *Hash

func (*DeclaredClass) ProtoMessage

func (*DeclaredClass) ProtoMessage()

func (*DeclaredClass) ProtoReflect

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

func (*DeclaredClass) Reset

func (x *DeclaredClass) Reset()

func (*DeclaredClass) String

func (x *DeclaredClass) String() string

type EntryPoint

type EntryPoint struct {
	Selector *Felt252 `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	Offset   uint64   `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*EntryPoint) Descriptor deprecated

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

Deprecated: Use EntryPoint.ProtoReflect.Descriptor instead.

func (*EntryPoint) GetOffset

func (x *EntryPoint) GetOffset() uint64

func (*EntryPoint) GetSelector

func (x *EntryPoint) GetSelector() *Felt252

func (*EntryPoint) ProtoMessage

func (*EntryPoint) ProtoMessage()

func (*EntryPoint) ProtoReflect

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

func (*EntryPoint) Reset

func (x *EntryPoint) Reset()

func (*EntryPoint) String

func (x *EntryPoint) String() string

type EthereumAddress

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

func (*EthereumAddress) Descriptor deprecated

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

Deprecated: Use EthereumAddress.ProtoReflect.Descriptor instead.

func (*EthereumAddress) GetElements

func (x *EthereumAddress) GetElements() []byte

func (*EthereumAddress) ProtoMessage

func (*EthereumAddress) ProtoMessage()

func (*EthereumAddress) ProtoReflect

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

func (*EthereumAddress) Reset

func (x *EthereumAddress) Reset()

func (*EthereumAddress) String

func (x *EthereumAddress) String() string

type Event

type Event struct {
	TransactionHash *Hash      `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	FromAddress     *Felt252   `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // looks like mistake?
	Keys            []*Felt252 `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"`
	Data            []*Felt252 `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty"`
	// 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() []*Felt252

func (*Event) GetFromAddress

func (x *Event) GetFromAddress() *Felt252

func (*Event) GetKeys

func (x *Event) GetKeys() []*Felt252

func (*Event) GetTransactionHash

func (x *Event) GetTransactionHash() *Hash

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 EventsRequest

type EventsRequest struct {
	Iteration *Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	// contains filtered or unexported fields
}

func (*EventsRequest) Descriptor deprecated

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

Deprecated: Use EventsRequest.ProtoReflect.Descriptor instead.

func (*EventsRequest) GetIteration

func (x *EventsRequest) GetIteration() *Iteration

func (*EventsRequest) ProtoMessage

func (*EventsRequest) ProtoMessage()

func (*EventsRequest) ProtoReflect

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

func (*EventsRequest) Reset

func (x *EventsRequest) Reset()

func (*EventsRequest) String

func (x *EventsRequest) String() string

type EventsResponse

type EventsResponse struct {

	// Types that are valid to be assigned to EventMessage:
	//
	//	*EventsResponse_Event
	//	*EventsResponse_Fin
	EventMessage isEventsResponse_EventMessage `protobuf_oneof:"event_message"`
	// contains filtered or unexported fields
}

Responses are sent ordered by the order given in the request.

func (*EventsResponse) Descriptor deprecated

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

Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead.

func (*EventsResponse) GetEvent

func (x *EventsResponse) GetEvent() *Event

func (*EventsResponse) GetEventMessage

func (x *EventsResponse) GetEventMessage() isEventsResponse_EventMessage

func (*EventsResponse) GetFin

func (x *EventsResponse) GetFin() *Fin

func (*EventsResponse) ProtoMessage

func (*EventsResponse) ProtoMessage()

func (*EventsResponse) ProtoReflect

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

func (*EventsResponse) Reset

func (x *EventsResponse) Reset()

func (*EventsResponse) String

func (x *EventsResponse) String() string

type EventsResponse_Event

type EventsResponse_Event struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3,oneof"`
}

type EventsResponse_Fin

type EventsResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its events.
}

type Felt252

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

func (*Felt252) Descriptor deprecated

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

Deprecated: Use Felt252.ProtoReflect.Descriptor instead.

func (*Felt252) GetElements

func (x *Felt252) GetElements() []byte

func (*Felt252) ProtoMessage

func (*Felt252) ProtoMessage()

func (*Felt252) ProtoReflect

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

func (*Felt252) Reset

func (x *Felt252) Reset()

func (*Felt252) String

func (x *Felt252) String() string

type Fin

type Fin struct {
	// contains filtered or unexported fields
}

mark the end of a stream of messages TBD: may not be required if we open a stream per request.

func (*Fin) Descriptor deprecated

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

Deprecated: Use Fin.ProtoReflect.Descriptor instead.

func (*Fin) ProtoMessage

func (*Fin) ProtoMessage()

func (*Fin) ProtoReflect

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

func (*Fin) Reset

func (x *Fin) Reset()

func (*Fin) String

func (x *Fin) String() string

type Hash

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

A hash value representable as a Felt252

func (*Hash) Descriptor deprecated

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

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetElements

func (x *Hash) GetElements() []byte

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect

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

func (*Hash) Reset

func (x *Hash) Reset()

func (*Hash) String

func (x *Hash) String() string

type Hash256

type Hash256 struct {

	// Required to be 32 bytes long
	Elements []byte `protobuf:"bytes,1,opt,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

A 256 bit hash value (like Keccak256)

func (*Hash256) Descriptor deprecated

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

Deprecated: Use Hash256.ProtoReflect.Descriptor instead.

func (*Hash256) GetElements

func (x *Hash256) GetElements() []byte

func (*Hash256) ProtoMessage

func (*Hash256) ProtoMessage()

func (*Hash256) ProtoReflect

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

func (*Hash256) Reset

func (x *Hash256) Reset()

func (*Hash256) String

func (x *Hash256) String() string

type Hashes

type Hashes struct {
	Items []*Hash `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Hashes) Descriptor deprecated

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

Deprecated: Use Hashes.ProtoReflect.Descriptor instead.

func (*Hashes) GetItems

func (x *Hashes) GetItems() []*Hash

func (*Hashes) ProtoMessage

func (*Hashes) ProtoMessage()

func (*Hashes) ProtoReflect

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

func (*Hashes) Reset

func (x *Hashes) Reset()

func (*Hashes) String

func (x *Hashes) String() string

type Iteration

type Iteration struct {

	// Types that are valid to be assigned to Start:
	//
	//	*Iteration_BlockNumber
	//	*Iteration_Header
	Start     isIteration_Start   `protobuf_oneof:"start"`
	Direction Iteration_Direction `protobuf:"varint,3,opt,name=direction,proto3,enum=Iteration_Direction" json:"direction,omitempty"`
	Limit     uint64              `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	Step      uint64              `protobuf:"varint,5,opt,name=step,proto3" json:"step,omitempty"` // to allow interleaving from several nodes
	// contains filtered or unexported fields
}

func (*Iteration) Descriptor deprecated

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

Deprecated: Use Iteration.ProtoReflect.Descriptor instead.

func (*Iteration) GetBlockNumber

func (x *Iteration) GetBlockNumber() uint64

func (*Iteration) GetDirection

func (x *Iteration) GetDirection() Iteration_Direction

func (*Iteration) GetHeader

func (x *Iteration) GetHeader() *Hash

func (*Iteration) GetLimit

func (x *Iteration) GetLimit() uint64

func (*Iteration) GetStart

func (x *Iteration) GetStart() isIteration_Start

func (*Iteration) GetStep

func (x *Iteration) GetStep() uint64

func (*Iteration) ProtoMessage

func (*Iteration) ProtoMessage()

func (*Iteration) ProtoReflect

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

func (*Iteration) Reset

func (x *Iteration) Reset()

func (*Iteration) String

func (x *Iteration) String() string

type Iteration_BlockNumber

type Iteration_BlockNumber struct {
	BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3,oneof"`
}

type Iteration_Direction

type Iteration_Direction int32
const (
	Iteration_Forward  Iteration_Direction = 0
	Iteration_Backward Iteration_Direction = 1
)

func (Iteration_Direction) Descriptor

func (Iteration_Direction) Enum

func (Iteration_Direction) EnumDescriptor deprecated

func (Iteration_Direction) EnumDescriptor() ([]byte, []int)

Deprecated: Use Iteration_Direction.Descriptor instead.

func (Iteration_Direction) Number

func (Iteration_Direction) String

func (x Iteration_Direction) String() string

func (Iteration_Direction) Type

type Iteration_Header

type Iteration_Header struct {
	Header *Hash `protobuf:"bytes,2,opt,name=header,proto3,oneof"`
}

type L1DataAvailabilityMode

type L1DataAvailabilityMode int32
const (
	L1DataAvailabilityMode_Calldata L1DataAvailabilityMode = 0
	L1DataAvailabilityMode_Blob     L1DataAvailabilityMode = 1
)

func (L1DataAvailabilityMode) Descriptor

func (L1DataAvailabilityMode) Enum

func (L1DataAvailabilityMode) EnumDescriptor deprecated

func (L1DataAvailabilityMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use L1DataAvailabilityMode.Descriptor instead.

func (L1DataAvailabilityMode) Number

func (L1DataAvailabilityMode) String

func (x L1DataAvailabilityMode) String() string

func (L1DataAvailabilityMode) Type

type MessageToL1

type MessageToL1 struct {
	FromAddress *Felt252         `protobuf:"bytes,2,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	Payload     []*Felt252       `protobuf:"bytes,3,rep,name=payload,proto3" json:"payload,omitempty"`
	ToAddress   *EthereumAddress `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageToL1) Descriptor deprecated

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

Deprecated: Use MessageToL1.ProtoReflect.Descriptor instead.

func (*MessageToL1) GetFromAddress

func (x *MessageToL1) GetFromAddress() *Felt252

func (*MessageToL1) GetPayload

func (x *MessageToL1) GetPayload() []*Felt252

func (*MessageToL1) GetToAddress

func (x *MessageToL1) GetToAddress() *EthereumAddress

func (*MessageToL1) ProtoMessage

func (*MessageToL1) ProtoMessage()

func (*MessageToL1) ProtoReflect

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

func (*MessageToL1) Reset

func (x *MessageToL1) Reset()

func (*MessageToL1) String

func (x *MessageToL1) String() string

type NewBlock

type NewBlock struct {

	// Types that are valid to be assigned to MaybeFull:
	//
	//	*NewBlock_Id
	//	*NewBlock_Header
	MaybeFull isNewBlock_MaybeFull `protobuf_oneof:"maybe_full"`
	// contains filtered or unexported fields
}

sent to all peers (except the ones this was received from, if any). for a fraction of peers, also send the GetBlockHeaders response (as if they asked for it for this block)

func (*NewBlock) Descriptor deprecated

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

Deprecated: Use NewBlock.ProtoReflect.Descriptor instead.

func (*NewBlock) GetHeader

func (x *NewBlock) GetHeader() *BlockHeadersResponse

func (*NewBlock) GetId

func (x *NewBlock) GetId() *BlockID

func (*NewBlock) GetMaybeFull

func (x *NewBlock) GetMaybeFull() isNewBlock_MaybeFull

func (*NewBlock) ProtoMessage

func (*NewBlock) ProtoMessage()

func (*NewBlock) ProtoReflect

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

func (*NewBlock) Reset

func (x *NewBlock) Reset()

func (*NewBlock) String

func (x *NewBlock) String() string

type NewBlock_Header

type NewBlock_Header struct {
	Header *BlockHeadersResponse `protobuf:"bytes,2,opt,name=header,proto3,oneof"`
}

type NewBlock_Id

type NewBlock_Id struct {
	Id *BlockID `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type Patricia

type Patricia struct {
	NLeaves uint64 `protobuf:"varint,1,opt,name=n_leaves,json=nLeaves,proto3" json:"n_leaves,omitempty"` // needed to know the height, so as to how many nodes to expect in a proof.
	// and also when receiving all leaves, how many to expect
	Root *Hash `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

func (*Patricia) Descriptor deprecated

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

Deprecated: Use Patricia.ProtoReflect.Descriptor instead.

func (*Patricia) GetNLeaves

func (x *Patricia) GetNLeaves() uint64

func (*Patricia) GetRoot

func (x *Patricia) GetRoot() *Hash

func (*Patricia) ProtoMessage

func (*Patricia) ProtoMessage()

func (*Patricia) ProtoReflect

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

func (*Patricia) Reset

func (x *Patricia) Reset()

func (*Patricia) String

func (x *Patricia) String() string

type PeerID

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

func (*PeerID) Descriptor deprecated

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

Deprecated: Use PeerID.ProtoReflect.Descriptor instead.

func (*PeerID) GetId

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

func (*PeerID) ProtoMessage

func (*PeerID) ProtoMessage()

func (*PeerID) ProtoReflect

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

func (*PeerID) Reset

func (x *PeerID) Reset()

func (*PeerID) String

func (x *PeerID) String() string

type PriceUnit

type PriceUnit int32
const (
	PriceUnit_Wei PriceUnit = 0
	PriceUnit_Fri PriceUnit = 1
)

func (PriceUnit) Descriptor

func (PriceUnit) Descriptor() protoreflect.EnumDescriptor

func (PriceUnit) Enum

func (x PriceUnit) Enum() *PriceUnit

func (PriceUnit) EnumDescriptor deprecated

func (PriceUnit) EnumDescriptor() ([]byte, []int)

Deprecated: Use PriceUnit.Descriptor instead.

func (PriceUnit) Number

func (x PriceUnit) Number() protoreflect.EnumNumber

func (PriceUnit) String

func (x PriceUnit) String() string

func (PriceUnit) Type

type Receipt

type Receipt struct {

	// Types that are valid to be assigned to Type:
	//
	//	*Receipt_Invoke_
	//	*Receipt_L1Handler_
	//	*Receipt_Declare_
	//	*Receipt_DeprecatedDeploy
	//	*Receipt_DeployAccount_
	Type isReceipt_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Receipt) Descriptor deprecated

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

Deprecated: Use Receipt.ProtoReflect.Descriptor instead.

func (*Receipt) GetDeclare

func (x *Receipt) GetDeclare() *Receipt_Declare

func (*Receipt) GetDeployAccount

func (x *Receipt) GetDeployAccount() *Receipt_DeployAccount

func (*Receipt) GetDeprecatedDeploy

func (x *Receipt) GetDeprecatedDeploy() *Receipt_Deploy

func (*Receipt) GetInvoke

func (x *Receipt) GetInvoke() *Receipt_Invoke

func (*Receipt) GetL1Handler

func (x *Receipt) GetL1Handler() *Receipt_L1Handler

func (*Receipt) GetType

func (x *Receipt) GetType() isReceipt_Type

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) ProtoReflect

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

func (*Receipt) Reset

func (x *Receipt) Reset()

func (*Receipt) String

func (x *Receipt) String() string

type Receipt_Common

type Receipt_Common struct {
	ActualFee          *Felt252                    `protobuf:"bytes,2,opt,name=actual_fee,json=actualFee,proto3" json:"actual_fee,omitempty"`
	PriceUnit          PriceUnit                   `protobuf:"varint,3,opt,name=price_unit,json=priceUnit,proto3,enum=PriceUnit" json:"price_unit,omitempty"`
	MessagesSent       []*MessageToL1              `protobuf:"bytes,4,rep,name=messages_sent,json=messagesSent,proto3" json:"messages_sent,omitempty"`
	ExecutionResources *Receipt_ExecutionResources `protobuf:"bytes,5,opt,name=execution_resources,json=executionResources,proto3" json:"execution_resources,omitempty"`
	RevertReason       *string                     `protobuf:"bytes,6,opt,name=revert_reason,json=revertReason,proto3,oneof" json:"revert_reason,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_Common) Descriptor deprecated

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

Deprecated: Use Receipt_Common.ProtoReflect.Descriptor instead.

func (*Receipt_Common) GetActualFee

func (x *Receipt_Common) GetActualFee() *Felt252

func (*Receipt_Common) GetExecutionResources

func (x *Receipt_Common) GetExecutionResources() *Receipt_ExecutionResources

func (*Receipt_Common) GetMessagesSent

func (x *Receipt_Common) GetMessagesSent() []*MessageToL1

func (*Receipt_Common) GetPriceUnit

func (x *Receipt_Common) GetPriceUnit() PriceUnit

func (*Receipt_Common) GetRevertReason

func (x *Receipt_Common) GetRevertReason() string

func (*Receipt_Common) ProtoMessage

func (*Receipt_Common) ProtoMessage()

func (*Receipt_Common) ProtoReflect

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

func (*Receipt_Common) Reset

func (x *Receipt_Common) Reset()

func (*Receipt_Common) String

func (x *Receipt_Common) String() string

type Receipt_Declare

type Receipt_Declare struct {
	Common *Receipt_Common `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_Declare) Descriptor deprecated

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

Deprecated: Use Receipt_Declare.ProtoReflect.Descriptor instead.

func (*Receipt_Declare) GetCommon

func (x *Receipt_Declare) GetCommon() *Receipt_Common

func (*Receipt_Declare) ProtoMessage

func (*Receipt_Declare) ProtoMessage()

func (*Receipt_Declare) ProtoReflect

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

func (*Receipt_Declare) Reset

func (x *Receipt_Declare) Reset()

func (*Receipt_Declare) String

func (x *Receipt_Declare) String() string

type Receipt_Declare_

type Receipt_Declare_ struct {
	Declare *Receipt_Declare `protobuf:"bytes,3,opt,name=declare,proto3,oneof"`
}

type Receipt_Deploy

type Receipt_Deploy struct {
	Common          *Receipt_Common `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	ContractAddress *Felt252        `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_Deploy) Descriptor deprecated

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

Deprecated: Use Receipt_Deploy.ProtoReflect.Descriptor instead.

func (*Receipt_Deploy) GetCommon

func (x *Receipt_Deploy) GetCommon() *Receipt_Common

func (*Receipt_Deploy) GetContractAddress

func (x *Receipt_Deploy) GetContractAddress() *Felt252

func (*Receipt_Deploy) ProtoMessage

func (*Receipt_Deploy) ProtoMessage()

func (*Receipt_Deploy) ProtoReflect

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

func (*Receipt_Deploy) Reset

func (x *Receipt_Deploy) Reset()

func (*Receipt_Deploy) String

func (x *Receipt_Deploy) String() string

type Receipt_DeployAccount

type Receipt_DeployAccount struct {
	Common          *Receipt_Common `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	ContractAddress *Felt252        `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_DeployAccount) Descriptor deprecated

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

Deprecated: Use Receipt_DeployAccount.ProtoReflect.Descriptor instead.

func (*Receipt_DeployAccount) GetCommon

func (x *Receipt_DeployAccount) GetCommon() *Receipt_Common

func (*Receipt_DeployAccount) GetContractAddress

func (x *Receipt_DeployAccount) GetContractAddress() *Felt252

func (*Receipt_DeployAccount) ProtoMessage

func (*Receipt_DeployAccount) ProtoMessage()

func (*Receipt_DeployAccount) ProtoReflect

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

func (*Receipt_DeployAccount) Reset

func (x *Receipt_DeployAccount) Reset()

func (*Receipt_DeployAccount) String

func (x *Receipt_DeployAccount) String() string

type Receipt_DeployAccount_

type Receipt_DeployAccount_ struct {
	DeployAccount *Receipt_DeployAccount `protobuf:"bytes,5,opt,name=deploy_account,json=deployAccount,proto3,oneof"`
}

type Receipt_DeprecatedDeploy

type Receipt_DeprecatedDeploy struct {
	DeprecatedDeploy *Receipt_Deploy `protobuf:"bytes,4,opt,name=deprecated_deploy,json=deprecatedDeploy,proto3,oneof"`
}

type Receipt_ExecutionResources

type Receipt_ExecutionResources struct {
	Builtins       *Receipt_ExecutionResources_BuiltinCounter `protobuf:"bytes,1,opt,name=builtins,proto3" json:"builtins,omitempty"`
	Steps          uint32                                     `protobuf:"varint,2,opt,name=steps,proto3" json:"steps,omitempty"`
	MemoryHoles    uint32                                     `protobuf:"varint,3,opt,name=memory_holes,json=memoryHoles,proto3" json:"memory_holes,omitempty"`
	L1Gas          *Felt252                                   `protobuf:"bytes,4,opt,name=l1_gas,json=l1Gas,proto3" json:"l1_gas,omitempty"`
	L1DataGas      *Felt252                                   `protobuf:"bytes,5,opt,name=l1_data_gas,json=l1DataGas,proto3" json:"l1_data_gas,omitempty"`
	TotalL1Gas     *Felt252                                   `protobuf:"bytes,6,opt,name=total_l1_gas,json=totalL1Gas,proto3" json:"total_l1_gas,omitempty"`
	TotalL1DataGas *Felt252                                   `protobuf:"bytes,7,opt,name=total_l1_data_gas,json=totalL1DataGas,proto3" json:"total_l1_data_gas,omitempty"`
	L2Gas          *Felt252                                   `protobuf:"bytes,8,opt,name=l2_gas,json=l2Gas,proto3" json:"l2_gas,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_ExecutionResources) Descriptor deprecated

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

Deprecated: Use Receipt_ExecutionResources.ProtoReflect.Descriptor instead.

func (*Receipt_ExecutionResources) GetBuiltins

func (*Receipt_ExecutionResources) GetL1DataGas

func (x *Receipt_ExecutionResources) GetL1DataGas() *Felt252

func (*Receipt_ExecutionResources) GetL1Gas

func (x *Receipt_ExecutionResources) GetL1Gas() *Felt252

func (*Receipt_ExecutionResources) GetL2Gas

func (x *Receipt_ExecutionResources) GetL2Gas() *Felt252

func (*Receipt_ExecutionResources) GetMemoryHoles

func (x *Receipt_ExecutionResources) GetMemoryHoles() uint32

func (*Receipt_ExecutionResources) GetSteps

func (x *Receipt_ExecutionResources) GetSteps() uint32

func (*Receipt_ExecutionResources) GetTotalL1DataGas

func (x *Receipt_ExecutionResources) GetTotalL1DataGas() *Felt252

func (*Receipt_ExecutionResources) GetTotalL1Gas

func (x *Receipt_ExecutionResources) GetTotalL1Gas() *Felt252

func (*Receipt_ExecutionResources) ProtoMessage

func (*Receipt_ExecutionResources) ProtoMessage()

func (*Receipt_ExecutionResources) ProtoReflect

func (*Receipt_ExecutionResources) Reset

func (x *Receipt_ExecutionResources) Reset()

func (*Receipt_ExecutionResources) String

func (x *Receipt_ExecutionResources) String() string

type Receipt_ExecutionResources_BuiltinCounter

type Receipt_ExecutionResources_BuiltinCounter struct {
	Bitwise      uint32 `protobuf:"varint,1,opt,name=bitwise,proto3" json:"bitwise,omitempty"`
	Ecdsa        uint32 `protobuf:"varint,2,opt,name=ecdsa,proto3" json:"ecdsa,omitempty"`
	EcOp         uint32 `protobuf:"varint,3,opt,name=ec_op,json=ecOp,proto3" json:"ec_op,omitempty"`
	Pedersen     uint32 `protobuf:"varint,4,opt,name=pedersen,proto3" json:"pedersen,omitempty"`
	RangeCheck   uint32 `protobuf:"varint,5,opt,name=range_check,json=rangeCheck,proto3" json:"range_check,omitempty"`
	Poseidon     uint32 `protobuf:"varint,6,opt,name=poseidon,proto3" json:"poseidon,omitempty"`
	Keccak       uint32 `protobuf:"varint,7,opt,name=keccak,proto3" json:"keccak,omitempty"`
	Output       uint32 `protobuf:"varint,8,opt,name=output,proto3" json:"output,omitempty"`
	AddMod       uint32 `protobuf:"varint,9,opt,name=add_mod,json=addMod,proto3" json:"add_mod,omitempty"`
	MulMod       uint32 `protobuf:"varint,10,opt,name=mul_mod,json=mulMod,proto3" json:"mul_mod,omitempty"`
	RangeCheck96 uint32 `protobuf:"varint,11,opt,name=range_check96,json=rangeCheck96,proto3" json:"range_check96,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_ExecutionResources_BuiltinCounter) Descriptor deprecated

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

Deprecated: Use Receipt_ExecutionResources_BuiltinCounter.ProtoReflect.Descriptor instead.

func (*Receipt_ExecutionResources_BuiltinCounter) GetAddMod

func (*Receipt_ExecutionResources_BuiltinCounter) GetBitwise

func (*Receipt_ExecutionResources_BuiltinCounter) GetEcOp

func (*Receipt_ExecutionResources_BuiltinCounter) GetEcdsa

func (*Receipt_ExecutionResources_BuiltinCounter) GetKeccak

func (*Receipt_ExecutionResources_BuiltinCounter) GetMulMod

func (*Receipt_ExecutionResources_BuiltinCounter) GetOutput

func (*Receipt_ExecutionResources_BuiltinCounter) GetPedersen

func (*Receipt_ExecutionResources_BuiltinCounter) GetPoseidon

func (*Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck

func (*Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck96

func (*Receipt_ExecutionResources_BuiltinCounter) ProtoMessage

func (*Receipt_ExecutionResources_BuiltinCounter) ProtoReflect

func (*Receipt_ExecutionResources_BuiltinCounter) Reset

func (*Receipt_ExecutionResources_BuiltinCounter) String

type Receipt_Invoke

type Receipt_Invoke struct {
	Common *Receipt_Common `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_Invoke) Descriptor deprecated

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

Deprecated: Use Receipt_Invoke.ProtoReflect.Descriptor instead.

func (*Receipt_Invoke) GetCommon

func (x *Receipt_Invoke) GetCommon() *Receipt_Common

func (*Receipt_Invoke) ProtoMessage

func (*Receipt_Invoke) ProtoMessage()

func (*Receipt_Invoke) ProtoReflect

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

func (*Receipt_Invoke) Reset

func (x *Receipt_Invoke) Reset()

func (*Receipt_Invoke) String

func (x *Receipt_Invoke) String() string

type Receipt_Invoke_

type Receipt_Invoke_ struct {
	Invoke *Receipt_Invoke `protobuf:"bytes,1,opt,name=invoke,proto3,oneof"`
}

type Receipt_L1Handler

type Receipt_L1Handler struct {
	Common  *Receipt_Common `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	MsgHash *Hash256        `protobuf:"bytes,2,opt,name=msg_hash,json=msgHash,proto3" json:"msg_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_L1Handler) Descriptor deprecated

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

Deprecated: Use Receipt_L1Handler.ProtoReflect.Descriptor instead.

func (*Receipt_L1Handler) GetCommon

func (x *Receipt_L1Handler) GetCommon() *Receipt_Common

func (*Receipt_L1Handler) GetMsgHash

func (x *Receipt_L1Handler) GetMsgHash() *Hash256

func (*Receipt_L1Handler) ProtoMessage

func (*Receipt_L1Handler) ProtoMessage()

func (*Receipt_L1Handler) ProtoReflect

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

func (*Receipt_L1Handler) Reset

func (x *Receipt_L1Handler) Reset()

func (*Receipt_L1Handler) String

func (x *Receipt_L1Handler) String() string

type Receipt_L1Handler_

type Receipt_L1Handler_ struct {
	L1Handler *Receipt_L1Handler `protobuf:"bytes,2,opt,name=l1_handler,json=l1Handler,proto3,oneof"`
}

type ResourceBounds

type ResourceBounds struct {
	L1Gas *ResourceLimits `protobuf:"bytes,1,opt,name=l1_gas,json=l1Gas,proto3" json:"l1_gas,omitempty"`
	// This can be None only in transactions that don't support l2 gas.
	// Starting from 0.14.0, MempoolTransaction and ConsensusTransaction shouldn't have None here.
	L1DataGas *ResourceLimits `protobuf:"bytes,2,opt,name=l1_data_gas,json=l1DataGas,proto3,oneof" json:"l1_data_gas,omitempty"`
	L2Gas     *ResourceLimits `protobuf:"bytes,3,opt,name=l2_gas,json=l2Gas,proto3" json:"l2_gas,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceBounds) Descriptor deprecated

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

Deprecated: Use ResourceBounds.ProtoReflect.Descriptor instead.

func (*ResourceBounds) GetL1DataGas

func (x *ResourceBounds) GetL1DataGas() *ResourceLimits

func (*ResourceBounds) GetL1Gas

func (x *ResourceBounds) GetL1Gas() *ResourceLimits

func (*ResourceBounds) GetL2Gas

func (x *ResourceBounds) GetL2Gas() *ResourceLimits

func (*ResourceBounds) ProtoMessage

func (*ResourceBounds) ProtoMessage()

func (*ResourceBounds) ProtoReflect

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

func (*ResourceBounds) Reset

func (x *ResourceBounds) Reset()

func (*ResourceBounds) String

func (x *ResourceBounds) String() string

type ResourceLimits

type ResourceLimits struct {
	MaxAmount       *Felt252 `protobuf:"bytes,1,opt,name=max_amount,json=maxAmount,proto3" json:"max_amount,omitempty"`
	MaxPricePerUnit *Felt252 `protobuf:"bytes,2,opt,name=max_price_per_unit,json=maxPricePerUnit,proto3" json:"max_price_per_unit,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceLimits) Descriptor deprecated

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

Deprecated: Use ResourceLimits.ProtoReflect.Descriptor instead.

func (*ResourceLimits) GetMaxAmount

func (x *ResourceLimits) GetMaxAmount() *Felt252

func (*ResourceLimits) GetMaxPricePerUnit

func (x *ResourceLimits) GetMaxPricePerUnit() *Felt252

func (*ResourceLimits) ProtoMessage

func (*ResourceLimits) ProtoMessage()

func (*ResourceLimits) ProtoReflect

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

func (*ResourceLimits) Reset

func (x *ResourceLimits) Reset()

func (*ResourceLimits) String

func (x *ResourceLimits) String() string

type SierraEntryPoint

type SierraEntryPoint struct {
	Index    uint64   `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Selector *Felt252 `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`
	// contains filtered or unexported fields
}

func (*SierraEntryPoint) Descriptor deprecated

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

Deprecated: Use SierraEntryPoint.ProtoReflect.Descriptor instead.

func (*SierraEntryPoint) GetIndex

func (x *SierraEntryPoint) GetIndex() uint64

func (*SierraEntryPoint) GetSelector

func (x *SierraEntryPoint) GetSelector() *Felt252

func (*SierraEntryPoint) ProtoMessage

func (*SierraEntryPoint) ProtoMessage()

func (*SierraEntryPoint) ProtoReflect

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

func (*SierraEntryPoint) Reset

func (x *SierraEntryPoint) Reset()

func (*SierraEntryPoint) String

func (x *SierraEntryPoint) String() string

type SignedBlockHeader

type SignedBlockHeader struct {
	BlockHash           *Hash                `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` //  For the structure of the block hash, see https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/header/#block_hash
	ParentHash          *Hash                `protobuf:"bytes,2,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	Number              uint64               `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` // This can be deduced from context. We can consider removing this field.
	Time                uint64               `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`     // Encoded in Unix time.
	SequencerAddress    *Address             `protobuf:"bytes,5,opt,name=sequencer_address,json=sequencerAddress,proto3" json:"sequencer_address,omitempty"`
	StateRoot           *Hash                `protobuf:"bytes,6,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`                                 // Patricia root of contract and class patricia tries. Each of those tries are of height 251. Same as in L1. Later more trees will be included
	StateDiffCommitment *StateDiffCommitment `protobuf:"bytes,7,opt,name=state_diff_commitment,json=stateDiffCommitment,proto3" json:"state_diff_commitment,omitempty"` // The state diff commitment returned  by the Starknet Feeder Gateway
	// For more info, see https://community.starknet.io/t/introducing-p2p-authentication-and-mismatch-resolution-in-v0-12-2/97993
	// The leaves contain a hash of the transaction hash and transaction signature.
	Transactions           *Patricia              `protobuf:"bytes,8,opt,name=transactions,proto3" json:"transactions,omitempty"`                               // By order of execution. TBD: required? the client can execute (powerful machine) and match state diff
	Events                 *Patricia              `protobuf:"bytes,9,opt,name=events,proto3" json:"events,omitempty"`                                           // By order of issuance. TBD: in receipts?
	Receipts               *Hash                  `protobuf:"bytes,10,opt,name=receipts,proto3" json:"receipts,omitempty"`                                      // By order of issuance. This is a patricia root. No need for length because it's the same length as transactions.
	ProtocolVersion        string                 `protobuf:"bytes,11,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // Starknet version
	L1GasPriceFri          *Uint128               `protobuf:"bytes,12,opt,name=l1_gas_price_fri,json=l1GasPriceFri,proto3" json:"l1_gas_price_fri,omitempty"`
	L1GasPriceWei          *Uint128               `protobuf:"bytes,13,opt,name=l1_gas_price_wei,json=l1GasPriceWei,proto3" json:"l1_gas_price_wei,omitempty"`
	L1DataGasPriceFri      *Uint128               `protobuf:"bytes,14,opt,name=l1_data_gas_price_fri,json=l1DataGasPriceFri,proto3" json:"l1_data_gas_price_fri,omitempty"`
	L1DataGasPriceWei      *Uint128               `protobuf:"bytes,15,opt,name=l1_data_gas_price_wei,json=l1DataGasPriceWei,proto3" json:"l1_data_gas_price_wei,omitempty"`
	L2GasPriceFri          *Uint128               `protobuf:"bytes,16,opt,name=l2_gas_price_fri,json=l2GasPriceFri,proto3" json:"l2_gas_price_fri,omitempty"`
	L2GasPriceWei          *Uint128               `protobuf:"bytes,17,opt,name=l2_gas_price_wei,json=l2GasPriceWei,proto3" json:"l2_gas_price_wei,omitempty"`
	L1DataAvailabilityMode L1DataAvailabilityMode `` /* 161-byte string literal not displayed */
	// for now, we assume a small consensus, so this fits in 1M. Else, these will be repeated and extracted from this message.
	Signatures []*ConsensusSignature `protobuf:"bytes,19,rep,name=signatures,proto3" json:"signatures,omitempty"` // can be more explicit here about the signature structure as this is not part of account abstraction
	// contains filtered or unexported fields
}

Note: commitments may change to be for the previous blocks like comet/tendermint hash of block header sent to L1

func (*SignedBlockHeader) Descriptor deprecated

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

Deprecated: Use SignedBlockHeader.ProtoReflect.Descriptor instead.

func (*SignedBlockHeader) GetBlockHash

func (x *SignedBlockHeader) GetBlockHash() *Hash

func (*SignedBlockHeader) GetEvents

func (x *SignedBlockHeader) GetEvents() *Patricia

func (*SignedBlockHeader) GetL1DataAvailabilityMode

func (x *SignedBlockHeader) GetL1DataAvailabilityMode() L1DataAvailabilityMode

func (*SignedBlockHeader) GetL1DataGasPriceFri

func (x *SignedBlockHeader) GetL1DataGasPriceFri() *Uint128

func (*SignedBlockHeader) GetL1DataGasPriceWei

func (x *SignedBlockHeader) GetL1DataGasPriceWei() *Uint128

func (*SignedBlockHeader) GetL1GasPriceFri

func (x *SignedBlockHeader) GetL1GasPriceFri() *Uint128

func (*SignedBlockHeader) GetL1GasPriceWei

func (x *SignedBlockHeader) GetL1GasPriceWei() *Uint128

func (*SignedBlockHeader) GetL2GasPriceFri

func (x *SignedBlockHeader) GetL2GasPriceFri() *Uint128

func (*SignedBlockHeader) GetL2GasPriceWei

func (x *SignedBlockHeader) GetL2GasPriceWei() *Uint128

func (*SignedBlockHeader) GetNumber

func (x *SignedBlockHeader) GetNumber() uint64

func (*SignedBlockHeader) GetParentHash

func (x *SignedBlockHeader) GetParentHash() *Hash

func (*SignedBlockHeader) GetProtocolVersion

func (x *SignedBlockHeader) GetProtocolVersion() string

func (*SignedBlockHeader) GetReceipts

func (x *SignedBlockHeader) GetReceipts() *Hash

func (*SignedBlockHeader) GetSequencerAddress

func (x *SignedBlockHeader) GetSequencerAddress() *Address

func (*SignedBlockHeader) GetSignatures

func (x *SignedBlockHeader) GetSignatures() []*ConsensusSignature

func (*SignedBlockHeader) GetStateDiffCommitment

func (x *SignedBlockHeader) GetStateDiffCommitment() *StateDiffCommitment

func (*SignedBlockHeader) GetStateRoot

func (x *SignedBlockHeader) GetStateRoot() *Hash

func (*SignedBlockHeader) GetTime

func (x *SignedBlockHeader) GetTime() uint64

func (*SignedBlockHeader) GetTransactions

func (x *SignedBlockHeader) GetTransactions() *Patricia

func (*SignedBlockHeader) ProtoMessage

func (*SignedBlockHeader) ProtoMessage()

func (*SignedBlockHeader) ProtoReflect

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

func (*SignedBlockHeader) Reset

func (x *SignedBlockHeader) Reset()

func (*SignedBlockHeader) String

func (x *SignedBlockHeader) String() string

type StateDiffCommitment

type StateDiffCommitment struct {
	StateDiffLength uint64 `protobuf:"varint,1,opt,name=state_diff_length,json=stateDiffLength,proto3" json:"state_diff_length,omitempty"`
	Root            *Hash  `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

func (*StateDiffCommitment) Descriptor deprecated

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

Deprecated: Use StateDiffCommitment.ProtoReflect.Descriptor instead.

func (*StateDiffCommitment) GetRoot

func (x *StateDiffCommitment) GetRoot() *Hash

func (*StateDiffCommitment) GetStateDiffLength

func (x *StateDiffCommitment) GetStateDiffLength() uint64

func (*StateDiffCommitment) ProtoMessage

func (*StateDiffCommitment) ProtoMessage()

func (*StateDiffCommitment) ProtoReflect

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

func (*StateDiffCommitment) Reset

func (x *StateDiffCommitment) Reset()

func (*StateDiffCommitment) String

func (x *StateDiffCommitment) String() string

type StateDiffsRequest

type StateDiffsRequest struct {
	Iteration *Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	// contains filtered or unexported fields
}

func (*StateDiffsRequest) Descriptor deprecated

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

Deprecated: Use StateDiffsRequest.ProtoReflect.Descriptor instead.

func (*StateDiffsRequest) GetIteration

func (x *StateDiffsRequest) GetIteration() *Iteration

func (*StateDiffsRequest) ProtoMessage

func (*StateDiffsRequest) ProtoMessage()

func (*StateDiffsRequest) ProtoReflect

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

func (*StateDiffsRequest) Reset

func (x *StateDiffsRequest) Reset()

func (*StateDiffsRequest) String

func (x *StateDiffsRequest) String() string

type StateDiffsResponse

type StateDiffsResponse struct {

	// All of the messages related to a block need to be sent before a message from the next block is sent.
	//
	// Types that are valid to be assigned to StateDiffMessage:
	//
	//	*StateDiffsResponse_ContractDiff
	//	*StateDiffsResponse_DeclaredClass
	//	*StateDiffsResponse_Fin
	StateDiffMessage isStateDiffsResponse_StateDiffMessage `protobuf_oneof:"state_diff_message"`
	// contains filtered or unexported fields
}

Responses are sent ordered by the order given in the request.

func (*StateDiffsResponse) Descriptor deprecated

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

Deprecated: Use StateDiffsResponse.ProtoReflect.Descriptor instead.

func (*StateDiffsResponse) GetContractDiff

func (x *StateDiffsResponse) GetContractDiff() *ContractDiff

func (*StateDiffsResponse) GetDeclaredClass

func (x *StateDiffsResponse) GetDeclaredClass() *DeclaredClass

func (*StateDiffsResponse) GetFin

func (x *StateDiffsResponse) GetFin() *Fin

func (*StateDiffsResponse) GetStateDiffMessage

func (x *StateDiffsResponse) GetStateDiffMessage() isStateDiffsResponse_StateDiffMessage

func (*StateDiffsResponse) ProtoMessage

func (*StateDiffsResponse) ProtoMessage()

func (*StateDiffsResponse) ProtoReflect

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

func (*StateDiffsResponse) Reset

func (x *StateDiffsResponse) Reset()

func (*StateDiffsResponse) String

func (x *StateDiffsResponse) String() string

type StateDiffsResponse_ContractDiff

type StateDiffsResponse_ContractDiff struct {
	ContractDiff *ContractDiff `protobuf:"bytes,1,opt,name=contract_diff,json=contractDiff,proto3,oneof"` // Multiple contract diffs for the same contract may appear continuously if the diff is too large or if it's more convenient.
}

type StateDiffsResponse_DeclaredClass

type StateDiffsResponse_DeclaredClass struct {
	DeclaredClass *DeclaredClass `protobuf:"bytes,2,opt,name=declared_class,json=declaredClass,proto3,oneof"`
}

type StateDiffsResponse_Fin

type StateDiffsResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,3,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its state diff.
}

type Transaction

type Transaction struct {

	// Types that are valid to be assigned to Txn:
	//
	//	*Transaction_DeclareV0_
	//	*Transaction_DeclareV1_
	//	*Transaction_DeclareV2_
	//	*Transaction_DeclareV3_
	//	*Transaction_Deploy_
	//	*Transaction_DeployAccountV1_
	//	*Transaction_DeployAccountV3_
	//	*Transaction_InvokeV0_
	//	*Transaction_InvokeV1_
	//	*Transaction_InvokeV3_
	//	*Transaction_L1Handler
	Txn             isTransaction_Txn `protobuf_oneof:"txn"`
	TransactionHash *Hash             `protobuf:"bytes,12,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	// contains filtered or unexported fields
}

This is a transaction that is already accepted in a block. Once we have a mempool, we will define a separate message for BroadcastedTransaction.

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetDeclareV0

func (x *Transaction) GetDeclareV0() *Transaction_DeclareV0

func (*Transaction) GetDeclareV1

func (x *Transaction) GetDeclareV1() *Transaction_DeclareV1

func (*Transaction) GetDeclareV2

func (x *Transaction) GetDeclareV2() *Transaction_DeclareV2

func (*Transaction) GetDeclareV3

func (x *Transaction) GetDeclareV3() *Transaction_DeclareV3

func (*Transaction) GetDeploy

func (x *Transaction) GetDeploy() *Transaction_Deploy

func (*Transaction) GetDeployAccountV1

func (x *Transaction) GetDeployAccountV1() *Transaction_DeployAccountV1

func (*Transaction) GetDeployAccountV3

func (x *Transaction) GetDeployAccountV3() *Transaction_DeployAccountV3

func (*Transaction) GetInvokeV0

func (x *Transaction) GetInvokeV0() *Transaction_InvokeV0

func (*Transaction) GetInvokeV1

func (x *Transaction) GetInvokeV1() *Transaction_InvokeV1

func (*Transaction) GetInvokeV3

func (x *Transaction) GetInvokeV3() *Transaction_InvokeV3

func (*Transaction) GetL1Handler

func (x *Transaction) GetL1Handler() *Transaction_L1HandlerV0

func (*Transaction) GetTransactionHash

func (x *Transaction) GetTransactionHash() *Hash

func (*Transaction) GetTxn

func (x *Transaction) GetTxn() isTransaction_Txn

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

type TransactionWithReceipt

type TransactionWithReceipt struct {
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Receipt     *Receipt     `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionWithReceipt) Descriptor deprecated

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

Deprecated: Use TransactionWithReceipt.ProtoReflect.Descriptor instead.

func (*TransactionWithReceipt) GetReceipt

func (x *TransactionWithReceipt) GetReceipt() *Receipt

func (*TransactionWithReceipt) GetTransaction

func (x *TransactionWithReceipt) GetTransaction() *Transaction

func (*TransactionWithReceipt) ProtoMessage

func (*TransactionWithReceipt) ProtoMessage()

func (*TransactionWithReceipt) ProtoReflect

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

func (*TransactionWithReceipt) Reset

func (x *TransactionWithReceipt) Reset()

func (*TransactionWithReceipt) String

func (x *TransactionWithReceipt) String() string

type Transaction_DeclareV0

type Transaction_DeclareV0 struct {
	Sender    *Address          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MaxFee    *Felt252          `protobuf:"bytes,2,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"`
	Signature *AccountSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	ClassHash *Hash             `protobuf:"bytes,4,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_DeclareV0) Descriptor deprecated

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

Deprecated: Use Transaction_DeclareV0.ProtoReflect.Descriptor instead.

func (*Transaction_DeclareV0) GetClassHash

func (x *Transaction_DeclareV0) GetClassHash() *Hash

func (*Transaction_DeclareV0) GetMaxFee

func (x *Transaction_DeclareV0) GetMaxFee() *Felt252

func (*Transaction_DeclareV0) GetSender

func (x *Transaction_DeclareV0) GetSender() *Address

func (*Transaction_DeclareV0) GetSignature

func (x *Transaction_DeclareV0) GetSignature() *AccountSignature

func (*Transaction_DeclareV0) ProtoMessage

func (*Transaction_DeclareV0) ProtoMessage()

func (*Transaction_DeclareV0) ProtoReflect

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

func (*Transaction_DeclareV0) Reset

func (x *Transaction_DeclareV0) Reset()

func (*Transaction_DeclareV0) String

func (x *Transaction_DeclareV0) String() string

type Transaction_DeclareV0_

type Transaction_DeclareV0_ struct {
	DeclareV0 *Transaction_DeclareV0 `protobuf:"bytes,1,opt,name=declare_v0,json=declareV0,proto3,oneof"`
}

type Transaction_DeclareV1

type Transaction_DeclareV1 struct {
	Sender    *Address          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MaxFee    *Felt252          `protobuf:"bytes,2,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"`
	Signature *AccountSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	ClassHash *Hash             `protobuf:"bytes,4,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	Nonce     *Felt252          `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_DeclareV1) Descriptor deprecated

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

Deprecated: Use Transaction_DeclareV1.ProtoReflect.Descriptor instead.

func (*Transaction_DeclareV1) GetClassHash

func (x *Transaction_DeclareV1) GetClassHash() *Hash

func (*Transaction_DeclareV1) GetMaxFee

func (x *Transaction_DeclareV1) GetMaxFee() *Felt252

func (*Transaction_DeclareV1) GetNonce

func (x *Transaction_DeclareV1) GetNonce() *Felt252

func (*Transaction_DeclareV1) GetSender

func (x *Transaction_DeclareV1) GetSender() *Address

func (*Transaction_DeclareV1) GetSignature

func (x *Transaction_DeclareV1) GetSignature() *AccountSignature

func (*Transaction_DeclareV1) ProtoMessage

func (*Transaction_DeclareV1) ProtoMessage()

func (*Transaction_DeclareV1) ProtoReflect

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

func (*Transaction_DeclareV1) Reset

func (x *Transaction_DeclareV1) Reset()

func (*Transaction_DeclareV1) String

func (x *Transaction_DeclareV1) String() string

type Transaction_DeclareV1_

type Transaction_DeclareV1_ struct {
	DeclareV1 *Transaction_DeclareV1 `protobuf:"bytes,2,opt,name=declare_v1,json=declareV1,proto3,oneof"`
}

type Transaction_DeclareV2

type Transaction_DeclareV2 struct {
	Sender            *Address          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MaxFee            *Felt252          `protobuf:"bytes,2,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"`
	Signature         *AccountSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	ClassHash         *Hash             `protobuf:"bytes,4,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	Nonce             *Felt252          `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	CompiledClassHash *Hash             `protobuf:"bytes,6,opt,name=compiled_class_hash,json=compiledClassHash,proto3" json:"compiled_class_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_DeclareV2) Descriptor deprecated

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

Deprecated: Use Transaction_DeclareV2.ProtoReflect.Descriptor instead.

func (*Transaction_DeclareV2) GetClassHash

func (x *Transaction_DeclareV2) GetClassHash() *Hash

func (*Transaction_DeclareV2) GetCompiledClassHash

func (x *Transaction_DeclareV2) GetCompiledClassHash() *Hash

func (*Transaction_DeclareV2) GetMaxFee

func (x *Transaction_DeclareV2) GetMaxFee() *Felt252

func (*Transaction_DeclareV2) GetNonce

func (x *Transaction_DeclareV2) GetNonce() *Felt252

func (*Transaction_DeclareV2) GetSender

func (x *Transaction_DeclareV2) GetSender() *Address

func (*Transaction_DeclareV2) GetSignature

func (x *Transaction_DeclareV2) GetSignature() *AccountSignature

func (*Transaction_DeclareV2) ProtoMessage

func (*Transaction_DeclareV2) ProtoMessage()

func (*Transaction_DeclareV2) ProtoReflect

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

func (*Transaction_DeclareV2) Reset

func (x *Transaction_DeclareV2) Reset()

func (*Transaction_DeclareV2) String

func (x *Transaction_DeclareV2) String() string

type Transaction_DeclareV2_

type Transaction_DeclareV2_ struct {
	DeclareV2 *Transaction_DeclareV2 `protobuf:"bytes,3,opt,name=declare_v2,json=declareV2,proto3,oneof"`
}

type Transaction_DeclareV3

type Transaction_DeclareV3 struct {
	Sender                    *Address          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Signature                 *AccountSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	ClassHash                 *Hash             `protobuf:"bytes,3,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	Nonce                     *Felt252          `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	CompiledClassHash         *Hash             `protobuf:"bytes,5,opt,name=compiled_class_hash,json=compiledClassHash,proto3" json:"compiled_class_hash,omitempty"`
	ResourceBounds            *ResourceBounds   `protobuf:"bytes,6,opt,name=resource_bounds,json=resourceBounds,proto3" json:"resource_bounds,omitempty"`
	Tip                       uint64            `protobuf:"varint,7,opt,name=tip,proto3" json:"tip,omitempty"`
	PaymasterData             []*Felt252        `protobuf:"bytes,8,rep,name=paymaster_data,json=paymasterData,proto3" json:"paymaster_data,omitempty"`
	AccountDeploymentData     []*Felt252        `` /* 126-byte string literal not displayed */
	NonceDataAvailabilityMode VolitionDomain    `` /* 162-byte string literal not displayed */
	FeeDataAvailabilityMode   VolitionDomain    `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

see https://external.integration.starknet.io/feeder_gateway/get_transaction?transactionHash=0x41d1f5206ef58a443e7d3d1ca073171ec25fa75313394318fc83a074a6631c3

func (*Transaction_DeclareV3) Descriptor deprecated

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

Deprecated: Use Transaction_DeclareV3.ProtoReflect.Descriptor instead.

func (*Transaction_DeclareV3) GetAccountDeploymentData

func (x *Transaction_DeclareV3) GetAccountDeploymentData() []*Felt252

func (*Transaction_DeclareV3) GetClassHash

func (x *Transaction_DeclareV3) GetClassHash() *Hash

func (*Transaction_DeclareV3) GetCompiledClassHash

func (x *Transaction_DeclareV3) GetCompiledClassHash() *Hash

func (*Transaction_DeclareV3) GetFeeDataAvailabilityMode

func (x *Transaction_DeclareV3) GetFeeDataAvailabilityMode() VolitionDomain

func (*Transaction_DeclareV3) GetNonce

func (x *Transaction_DeclareV3) GetNonce() *Felt252

func (*Transaction_DeclareV3) GetNonceDataAvailabilityMode

func (x *Transaction_DeclareV3) GetNonceDataAvailabilityMode() VolitionDomain

func (*Transaction_DeclareV3) GetPaymasterData

func (x *Transaction_DeclareV3) GetPaymasterData() []*Felt252

func (*Transaction_DeclareV3) GetResourceBounds

func (x *Transaction_DeclareV3) GetResourceBounds() *ResourceBounds

func (*Transaction_DeclareV3) GetSender

func (x *Transaction_DeclareV3) GetSender() *Address

func (*Transaction_DeclareV3) GetSignature

func (x *Transaction_DeclareV3) GetSignature() *AccountSignature

func (*Transaction_DeclareV3) GetTip

func (x *Transaction_DeclareV3) GetTip() uint64

func (*Transaction_DeclareV3) ProtoMessage

func (*Transaction_DeclareV3) ProtoMessage()

func (*Transaction_DeclareV3) ProtoReflect

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

func (*Transaction_DeclareV3) Reset

func (x *Transaction_DeclareV3) Reset()

func (*Transaction_DeclareV3) String

func (x *Transaction_DeclareV3) String() string

type Transaction_DeclareV3_

type Transaction_DeclareV3_ struct {
	DeclareV3 *Transaction_DeclareV3 `protobuf:"bytes,4,opt,name=declare_v3,json=declareV3,proto3,oneof"`
}

type Transaction_Deploy

type Transaction_Deploy struct {
	ClassHash   *Hash      `protobuf:"bytes,1,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	AddressSalt *Felt252   `protobuf:"bytes,2,opt,name=address_salt,json=addressSalt,proto3" json:"address_salt,omitempty"`
	Calldata    []*Felt252 `protobuf:"bytes,3,rep,name=calldata,proto3" json:"calldata,omitempty"`
	Version     uint32     `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_Deploy) Descriptor deprecated

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

Deprecated: Use Transaction_Deploy.ProtoReflect.Descriptor instead.

func (*Transaction_Deploy) GetAddressSalt

func (x *Transaction_Deploy) GetAddressSalt() *Felt252

func (*Transaction_Deploy) GetCalldata

func (x *Transaction_Deploy) GetCalldata() []*Felt252

func (*Transaction_Deploy) GetClassHash

func (x *Transaction_Deploy) GetClassHash() *Hash

func (*Transaction_Deploy) GetVersion

func (x *Transaction_Deploy) GetVersion() uint32

func (*Transaction_Deploy) ProtoMessage

func (*Transaction_Deploy) ProtoMessage()

func (*Transaction_Deploy) ProtoReflect

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

func (*Transaction_Deploy) Reset

func (x *Transaction_Deploy) Reset()

func (*Transaction_Deploy) String

func (x *Transaction_Deploy) String() string

type Transaction_DeployAccountV1

type Transaction_DeployAccountV1 struct {
	MaxFee      *Felt252          `protobuf:"bytes,1,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"`
	Signature   *AccountSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	ClassHash   *Hash             `protobuf:"bytes,3,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	Nonce       *Felt252          `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	AddressSalt *Felt252          `protobuf:"bytes,5,opt,name=address_salt,json=addressSalt,proto3" json:"address_salt,omitempty"`
	Calldata    []*Felt252        `protobuf:"bytes,6,rep,name=calldata,proto3" json:"calldata,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_DeployAccountV1) Descriptor deprecated

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

Deprecated: Use Transaction_DeployAccountV1.ProtoReflect.Descriptor instead.

func (*Transaction_DeployAccountV1) GetAddressSalt

func (x *Transaction_DeployAccountV1) GetAddressSalt() *Felt252

func (*Transaction_DeployAccountV1) GetCalldata

func (x *Transaction_DeployAccountV1) GetCalldata() []*Felt252

func (*Transaction_DeployAccountV1) GetClassHash

func (x *Transaction_DeployAccountV1) GetClassHash() *Hash

func (*Transaction_DeployAccountV1) GetMaxFee

func (x *Transaction_DeployAccountV1) GetMaxFee() *Felt252

func (*Transaction_DeployAccountV1) GetNonce

func (x *Transaction_DeployAccountV1) GetNonce() *Felt252

func (*Transaction_DeployAccountV1) GetSignature

func (x *Transaction_DeployAccountV1) GetSignature() *AccountSignature

func (*Transaction_DeployAccountV1) ProtoMessage

func (*Transaction_DeployAccountV1) ProtoMessage()

func (*Transaction_DeployAccountV1) ProtoReflect

func (*Transaction_DeployAccountV1) Reset

func (x *Transaction_DeployAccountV1) Reset()

func (*Transaction_DeployAccountV1) String

func (x *Transaction_DeployAccountV1) String() string

type Transaction_DeployAccountV1_

type Transaction_DeployAccountV1_ struct {
	DeployAccountV1 *Transaction_DeployAccountV1 `protobuf:"bytes,6,opt,name=deploy_account_v1,json=deployAccountV1,proto3,oneof"`
}

type Transaction_DeployAccountV3

type Transaction_DeployAccountV3 struct {
	Signature                 *AccountSignature `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	ClassHash                 *Hash             `protobuf:"bytes,2,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	Nonce                     *Felt252          `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	AddressSalt               *Felt252          `protobuf:"bytes,4,opt,name=address_salt,json=addressSalt,proto3" json:"address_salt,omitempty"`
	Calldata                  []*Felt252        `protobuf:"bytes,5,rep,name=calldata,proto3" json:"calldata,omitempty"`
	ResourceBounds            *ResourceBounds   `protobuf:"bytes,6,opt,name=resource_bounds,json=resourceBounds,proto3" json:"resource_bounds,omitempty"`
	Tip                       uint64            `protobuf:"varint,7,opt,name=tip,proto3" json:"tip,omitempty"`
	PaymasterData             []*Felt252        `protobuf:"bytes,8,rep,name=paymaster_data,json=paymasterData,proto3" json:"paymaster_data,omitempty"`
	NonceDataAvailabilityMode VolitionDomain    `` /* 161-byte string literal not displayed */
	FeeDataAvailabilityMode   VolitionDomain    `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

see https://external.integration.starknet.io/feeder_gateway/get_transaction?transactionHash=0x29fd7881f14380842414cdfdd8d6c0b1f2174f8916edcfeb1ede1eb26ac3ef0

func (*Transaction_DeployAccountV3) Descriptor deprecated

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

Deprecated: Use Transaction_DeployAccountV3.ProtoReflect.Descriptor instead.

func (*Transaction_DeployAccountV3) GetAddressSalt

func (x *Transaction_DeployAccountV3) GetAddressSalt() *Felt252

func (*Transaction_DeployAccountV3) GetCalldata

func (x *Transaction_DeployAccountV3) GetCalldata() []*Felt252

func (*Transaction_DeployAccountV3) GetClassHash

func (x *Transaction_DeployAccountV3) GetClassHash() *Hash

func (*Transaction_DeployAccountV3) GetFeeDataAvailabilityMode

func (x *Transaction_DeployAccountV3) GetFeeDataAvailabilityMode() VolitionDomain

func (*Transaction_DeployAccountV3) GetNonce

func (x *Transaction_DeployAccountV3) GetNonce() *Felt252

func (*Transaction_DeployAccountV3) GetNonceDataAvailabilityMode

func (x *Transaction_DeployAccountV3) GetNonceDataAvailabilityMode() VolitionDomain

func (*Transaction_DeployAccountV3) GetPaymasterData

func (x *Transaction_DeployAccountV3) GetPaymasterData() []*Felt252

func (*Transaction_DeployAccountV3) GetResourceBounds

func (x *Transaction_DeployAccountV3) GetResourceBounds() *ResourceBounds

func (*Transaction_DeployAccountV3) GetSignature

func (x *Transaction_DeployAccountV3) GetSignature() *AccountSignature

func (*Transaction_DeployAccountV3) GetTip

func (x *Transaction_DeployAccountV3) GetTip() uint64

func (*Transaction_DeployAccountV3) ProtoMessage

func (*Transaction_DeployAccountV3) ProtoMessage()

func (*Transaction_DeployAccountV3) ProtoReflect

func (*Transaction_DeployAccountV3) Reset

func (x *Transaction_DeployAccountV3) Reset()

func (*Transaction_DeployAccountV3) String

func (x *Transaction_DeployAccountV3) String() string

type Transaction_DeployAccountV3_

type Transaction_DeployAccountV3_ struct {
	DeployAccountV3 *Transaction_DeployAccountV3 `protobuf:"bytes,7,opt,name=deploy_account_v3,json=deployAccountV3,proto3,oneof"`
}

type Transaction_Deploy_

type Transaction_Deploy_ struct {
	Deploy *Transaction_Deploy `protobuf:"bytes,5,opt,name=deploy,proto3,oneof"`
}

type Transaction_InvokeV0

type Transaction_InvokeV0 struct {
	MaxFee             *Felt252          `protobuf:"bytes,1,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"`
	Signature          *AccountSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	Address            *Address          `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	EntryPointSelector *Felt252          `protobuf:"bytes,4,opt,name=entry_point_selector,json=entryPointSelector,proto3" json:"entry_point_selector,omitempty"`
	Calldata           []*Felt252        `protobuf:"bytes,5,rep,name=calldata,proto3" json:"calldata,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_InvokeV0) Descriptor deprecated

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

Deprecated: Use Transaction_InvokeV0.ProtoReflect.Descriptor instead.

func (*Transaction_InvokeV0) GetAddress

func (x *Transaction_InvokeV0) GetAddress() *Address

func (*Transaction_InvokeV0) GetCalldata

func (x *Transaction_InvokeV0) GetCalldata() []*Felt252

func (*Transaction_InvokeV0) GetEntryPointSelector

func (x *Transaction_InvokeV0) GetEntryPointSelector() *Felt252

func (*Transaction_InvokeV0) GetMaxFee

func (x *Transaction_InvokeV0) GetMaxFee() *Felt252

func (*Transaction_InvokeV0) GetSignature

func (x *Transaction_InvokeV0) GetSignature() *AccountSignature

func (*Transaction_InvokeV0) ProtoMessage

func (*Transaction_InvokeV0) ProtoMessage()

func (*Transaction_InvokeV0) ProtoReflect

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

func (*Transaction_InvokeV0) Reset

func (x *Transaction_InvokeV0) Reset()

func (*Transaction_InvokeV0) String

func (x *Transaction_InvokeV0) String() string

type Transaction_InvokeV0_

type Transaction_InvokeV0_ struct {
	InvokeV0 *Transaction_InvokeV0 `protobuf:"bytes,8,opt,name=invoke_v0,json=invokeV0,proto3,oneof"`
}

type Transaction_InvokeV1

type Transaction_InvokeV1 struct {
	Sender    *Address          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MaxFee    *Felt252          `protobuf:"bytes,2,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"`
	Signature *AccountSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	Calldata  []*Felt252        `protobuf:"bytes,4,rep,name=calldata,proto3" json:"calldata,omitempty"`
	Nonce     *Felt252          `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_InvokeV1) Descriptor deprecated

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

Deprecated: Use Transaction_InvokeV1.ProtoReflect.Descriptor instead.

func (*Transaction_InvokeV1) GetCalldata

func (x *Transaction_InvokeV1) GetCalldata() []*Felt252

func (*Transaction_InvokeV1) GetMaxFee

func (x *Transaction_InvokeV1) GetMaxFee() *Felt252

func (*Transaction_InvokeV1) GetNonce

func (x *Transaction_InvokeV1) GetNonce() *Felt252

func (*Transaction_InvokeV1) GetSender

func (x *Transaction_InvokeV1) GetSender() *Address

func (*Transaction_InvokeV1) GetSignature

func (x *Transaction_InvokeV1) GetSignature() *AccountSignature

func (*Transaction_InvokeV1) ProtoMessage

func (*Transaction_InvokeV1) ProtoMessage()

func (*Transaction_InvokeV1) ProtoReflect

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

func (*Transaction_InvokeV1) Reset

func (x *Transaction_InvokeV1) Reset()

func (*Transaction_InvokeV1) String

func (x *Transaction_InvokeV1) String() string

type Transaction_InvokeV1_

type Transaction_InvokeV1_ struct {
	InvokeV1 *Transaction_InvokeV1 `protobuf:"bytes,9,opt,name=invoke_v1,json=invokeV1,proto3,oneof"`
}

type Transaction_InvokeV3

type Transaction_InvokeV3 struct {
	Sender                    *Address          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Signature                 *AccountSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	Calldata                  []*Felt252        `protobuf:"bytes,3,rep,name=calldata,proto3" json:"calldata,omitempty"`
	ResourceBounds            *ResourceBounds   `protobuf:"bytes,4,opt,name=resource_bounds,json=resourceBounds,proto3" json:"resource_bounds,omitempty"`
	Tip                       uint64            `protobuf:"varint,5,opt,name=tip,proto3" json:"tip,omitempty"`
	PaymasterData             []*Felt252        `protobuf:"bytes,6,rep,name=paymaster_data,json=paymasterData,proto3" json:"paymaster_data,omitempty"`
	AccountDeploymentData     []*Felt252        `` /* 126-byte string literal not displayed */
	NonceDataAvailabilityMode VolitionDomain    `` /* 161-byte string literal not displayed */
	FeeDataAvailabilityMode   VolitionDomain    `` /* 155-byte string literal not displayed */
	Nonce                     *Felt252          `protobuf:"bytes,10,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

see https://external.integration.starknet.io/feeder_gateway/get_transaction?transactionHash=0x41906f1c314cca5f43170ea75d3b1904196a10101190d2b12a41cc61cfd17c

func (*Transaction_InvokeV3) Descriptor deprecated

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

Deprecated: Use Transaction_InvokeV3.ProtoReflect.Descriptor instead.

func (*Transaction_InvokeV3) GetAccountDeploymentData

func (x *Transaction_InvokeV3) GetAccountDeploymentData() []*Felt252

func (*Transaction_InvokeV3) GetCalldata

func (x *Transaction_InvokeV3) GetCalldata() []*Felt252

func (*Transaction_InvokeV3) GetFeeDataAvailabilityMode

func (x *Transaction_InvokeV3) GetFeeDataAvailabilityMode() VolitionDomain

func (*Transaction_InvokeV3) GetNonce

func (x *Transaction_InvokeV3) GetNonce() *Felt252

func (*Transaction_InvokeV3) GetNonceDataAvailabilityMode

func (x *Transaction_InvokeV3) GetNonceDataAvailabilityMode() VolitionDomain

func (*Transaction_InvokeV3) GetPaymasterData

func (x *Transaction_InvokeV3) GetPaymasterData() []*Felt252

func (*Transaction_InvokeV3) GetResourceBounds

func (x *Transaction_InvokeV3) GetResourceBounds() *ResourceBounds

func (*Transaction_InvokeV3) GetSender

func (x *Transaction_InvokeV3) GetSender() *Address

func (*Transaction_InvokeV3) GetSignature

func (x *Transaction_InvokeV3) GetSignature() *AccountSignature

func (*Transaction_InvokeV3) GetTip

func (x *Transaction_InvokeV3) GetTip() uint64

func (*Transaction_InvokeV3) ProtoMessage

func (*Transaction_InvokeV3) ProtoMessage()

func (*Transaction_InvokeV3) ProtoReflect

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

func (*Transaction_InvokeV3) Reset

func (x *Transaction_InvokeV3) Reset()

func (*Transaction_InvokeV3) String

func (x *Transaction_InvokeV3) String() string

type Transaction_InvokeV3_

type Transaction_InvokeV3_ struct {
	InvokeV3 *Transaction_InvokeV3 `protobuf:"bytes,10,opt,name=invoke_v3,json=invokeV3,proto3,oneof"`
}

type Transaction_L1Handler

type Transaction_L1Handler struct {
	L1Handler *Transaction_L1HandlerV0 `protobuf:"bytes,11,opt,name=l1_handler,json=l1Handler,proto3,oneof"`
}

type Transaction_L1HandlerV0

type Transaction_L1HandlerV0 struct {
	Nonce              *Felt252   `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Address            *Address   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	EntryPointSelector *Felt252   `protobuf:"bytes,3,opt,name=entry_point_selector,json=entryPointSelector,proto3" json:"entry_point_selector,omitempty"`
	Calldata           []*Felt252 `protobuf:"bytes,4,rep,name=calldata,proto3" json:"calldata,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_L1HandlerV0) Descriptor deprecated

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

Deprecated: Use Transaction_L1HandlerV0.ProtoReflect.Descriptor instead.

func (*Transaction_L1HandlerV0) GetAddress

func (x *Transaction_L1HandlerV0) GetAddress() *Address

func (*Transaction_L1HandlerV0) GetCalldata

func (x *Transaction_L1HandlerV0) GetCalldata() []*Felt252

func (*Transaction_L1HandlerV0) GetEntryPointSelector

func (x *Transaction_L1HandlerV0) GetEntryPointSelector() *Felt252

func (*Transaction_L1HandlerV0) GetNonce

func (x *Transaction_L1HandlerV0) GetNonce() *Felt252

func (*Transaction_L1HandlerV0) ProtoMessage

func (*Transaction_L1HandlerV0) ProtoMessage()

func (*Transaction_L1HandlerV0) ProtoReflect

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

func (*Transaction_L1HandlerV0) Reset

func (x *Transaction_L1HandlerV0) Reset()

func (*Transaction_L1HandlerV0) String

func (x *Transaction_L1HandlerV0) String() string

type Transactions

type Transactions struct {
	Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*Transactions) Descriptor deprecated

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

Deprecated: Use Transactions.ProtoReflect.Descriptor instead.

func (*Transactions) GetTransactions

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

func (*Transactions) ProtoMessage

func (*Transactions) ProtoMessage()

func (*Transactions) ProtoReflect

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

func (*Transactions) Reset

func (x *Transactions) Reset()

func (*Transactions) String

func (x *Transactions) String() string

type TransactionsRequest

type TransactionsRequest struct {
	Iteration *Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	// contains filtered or unexported fields
}

TBD: can support a flag to return tx hashes only, good for standalone mempool to remove them, or any node that keeps track of transaction streaming in the consensus.

func (*TransactionsRequest) Descriptor deprecated

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

Deprecated: Use TransactionsRequest.ProtoReflect.Descriptor instead.

func (*TransactionsRequest) GetIteration

func (x *TransactionsRequest) GetIteration() *Iteration

func (*TransactionsRequest) ProtoMessage

func (*TransactionsRequest) ProtoMessage()

func (*TransactionsRequest) ProtoReflect

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

func (*TransactionsRequest) Reset

func (x *TransactionsRequest) Reset()

func (*TransactionsRequest) String

func (x *TransactionsRequest) String() string

type TransactionsResponse

type TransactionsResponse struct {

	// Types that are valid to be assigned to TransactionMessage:
	//
	//	*TransactionsResponse_TransactionWithReceipt
	//	*TransactionsResponse_Fin
	TransactionMessage isTransactionsResponse_TransactionMessage `protobuf_oneof:"transaction_message"`
	// contains filtered or unexported fields
}

Responses are sent ordered by the order given in the request. The order inside each block is according to the execution order.

func (*TransactionsResponse) Descriptor deprecated

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

Deprecated: Use TransactionsResponse.ProtoReflect.Descriptor instead.

func (*TransactionsResponse) GetFin

func (x *TransactionsResponse) GetFin() *Fin

func (*TransactionsResponse) GetTransactionMessage

func (x *TransactionsResponse) GetTransactionMessage() isTransactionsResponse_TransactionMessage

func (*TransactionsResponse) GetTransactionWithReceipt

func (x *TransactionsResponse) GetTransactionWithReceipt() *TransactionWithReceipt

func (*TransactionsResponse) ProtoMessage

func (*TransactionsResponse) ProtoMessage()

func (*TransactionsResponse) ProtoReflect

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

func (*TransactionsResponse) Reset

func (x *TransactionsResponse) Reset()

func (*TransactionsResponse) String

func (x *TransactionsResponse) String() string

type TransactionsResponse_Fin

type TransactionsResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its transactions.
}

type TransactionsResponse_TransactionWithReceipt

type TransactionsResponse_TransactionWithReceipt struct {
	TransactionWithReceipt *TransactionWithReceipt `protobuf:"bytes,1,opt,name=transaction_with_receipt,json=transactionWithReceipt,proto3,oneof"`
}

type Uint128

type Uint128 struct {
	Low  uint64 `protobuf:"varint,1,opt,name=low,proto3" json:"low,omitempty"`
	High uint64 `protobuf:"varint,2,opt,name=high,proto3" json:"high,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint128) Descriptor deprecated

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

Deprecated: Use Uint128.ProtoReflect.Descriptor instead.

func (*Uint128) GetHigh

func (x *Uint128) GetHigh() uint64

func (*Uint128) GetLow

func (x *Uint128) GetLow() uint64

func (*Uint128) ProtoMessage

func (*Uint128) ProtoMessage()

func (*Uint128) ProtoReflect

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

func (*Uint128) Reset

func (x *Uint128) Reset()

func (*Uint128) String

func (x *Uint128) String() string

type VolitionDomain

type VolitionDomain int32
const (
	VolitionDomain_L1 VolitionDomain = 0
	VolitionDomain_L2 VolitionDomain = 1
)

func (VolitionDomain) Descriptor

func (VolitionDomain) Enum

func (x VolitionDomain) Enum() *VolitionDomain

func (VolitionDomain) EnumDescriptor deprecated

func (VolitionDomain) EnumDescriptor() ([]byte, []int)

Deprecated: Use VolitionDomain.Descriptor instead.

func (VolitionDomain) Number

func (VolitionDomain) String

func (x VolitionDomain) String() string

func (VolitionDomain) Type

Jump to

Keyboard shortcuts

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