spec

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 (
	Fin_Error_name = map[int32]string{
		0: "busy",
		1: "too_much",
		2: "unknown",
		3: "pruned",
	}
	Fin_Error_value = map[string]int32{
		"busy":     0,
		"too_much": 1,
		"unknown":  2,
		"pruned":   3,
	}
)

Enum value maps for Fin_Error.

View Source
var File_p2p_proto_block_proto protoreflect.FileDescriptor
View Source
var File_p2p_proto_common_proto protoreflect.FileDescriptor
View Source
var File_p2p_proto_event_proto protoreflect.FileDescriptor
View Source
var File_p2p_proto_receipt_proto protoreflect.FileDescriptor
View Source
var File_p2p_proto_snapshot_proto protoreflect.FileDescriptor
View Source
var File_p2p_proto_state_proto protoreflect.FileDescriptor
View Source
var File_p2p_proto_transaction_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountSignature added in v0.7.0

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

func (*AccountSignature) Descriptor deprecated added in v0.7.0

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

Deprecated: Use AccountSignature.ProtoReflect.Descriptor instead.

func (*AccountSignature) GetParts added in v0.7.0

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

func (*AccountSignature) ProtoMessage added in v0.7.0

func (*AccountSignature) ProtoMessage()

func (*AccountSignature) ProtoReflect added in v0.7.0

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

func (*AccountSignature) Reset added in v0.7.0

func (x *AccountSignature) Reset()

func (*AccountSignature) String added in v0.7.0

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 BlockBodiesRequest added in v0.7.0

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

result is (StateDiff*, Classes*, BlockProof?)* currently in creation order (incr/dec), but may change in the future

func (*BlockBodiesRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use BlockBodiesRequest.ProtoReflect.Descriptor instead.

func (*BlockBodiesRequest) GetIteration added in v0.7.0

func (x *BlockBodiesRequest) GetIteration() *Iteration

func (*BlockBodiesRequest) ProtoMessage added in v0.7.0

func (*BlockBodiesRequest) ProtoMessage()

func (*BlockBodiesRequest) ProtoReflect added in v0.7.0

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

func (*BlockBodiesRequest) Reset added in v0.7.0

func (x *BlockBodiesRequest) Reset()

func (*BlockBodiesRequest) String added in v0.7.0

func (x *BlockBodiesRequest) String() string

type BlockBodiesResponse added in v0.7.0

type BlockBodiesResponse struct {
	Id *BlockID `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // may not appear if Fin is sent to end the whole response
	// Types that are assignable to BodyMessage:
	//
	//	*BlockBodiesResponse_Diff
	//	*BlockBodiesResponse_Classes
	//	*BlockBodiesResponse_Proof
	//	*BlockBodiesResponse_Fin
	BodyMessage isBlockBodiesResponse_BodyMessage `protobuf_oneof:"body_message"`
	// contains filtered or unexported fields
}

func (*BlockBodiesResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use BlockBodiesResponse.ProtoReflect.Descriptor instead.

func (*BlockBodiesResponse) GetBodyMessage added in v0.7.0

func (m *BlockBodiesResponse) GetBodyMessage() isBlockBodiesResponse_BodyMessage

func (*BlockBodiesResponse) GetClasses added in v0.7.0

func (x *BlockBodiesResponse) GetClasses() *Classes

func (*BlockBodiesResponse) GetDiff added in v0.7.0

func (x *BlockBodiesResponse) GetDiff() *StateDiff

func (*BlockBodiesResponse) GetFin added in v0.7.0

func (x *BlockBodiesResponse) GetFin() *Fin

func (*BlockBodiesResponse) GetId added in v0.7.0

func (x *BlockBodiesResponse) GetId() *BlockID

func (*BlockBodiesResponse) GetProof added in v0.7.0

func (x *BlockBodiesResponse) GetProof() *BlockProof

func (*BlockBodiesResponse) ProtoMessage added in v0.7.0

func (*BlockBodiesResponse) ProtoMessage()

func (*BlockBodiesResponse) ProtoReflect added in v0.7.0

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

func (*BlockBodiesResponse) Reset added in v0.7.0

func (x *BlockBodiesResponse) Reset()

func (*BlockBodiesResponse) String added in v0.7.0

func (x *BlockBodiesResponse) String() string

type BlockBodiesResponse_Classes added in v0.7.0

type BlockBodiesResponse_Classes struct {
	Classes *Classes `protobuf:"bytes,3,opt,name=classes,proto3,oneof"`
}

type BlockBodiesResponse_Diff added in v0.7.0

type BlockBodiesResponse_Diff struct {
	Diff *StateDiff `protobuf:"bytes,2,opt,name=diff,proto3,oneof"`
}

type BlockBodiesResponse_Fin added in v0.7.0

type BlockBodiesResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,5,opt,name=fin,proto3,oneof"`
}

type BlockBodiesResponse_Proof added in v0.7.0

type BlockBodiesResponse_Proof struct {
	Proof *BlockProof `protobuf:"bytes,4,opt,name=proof,proto3,oneof"`
}

type BlockHeader

type BlockHeader struct {
	ParentHash       *Hash                  `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	Number           uint64                 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	Time             *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // TODO: see if this needs to be Felt252 or can be converted
	SequencerAddress *Address               `protobuf:"bytes,4,opt,name=sequencer_address,json=sequencerAddress,proto3" json:"sequencer_address,omitempty"`
	StateDiffs       *Merkle                `protobuf:"bytes,5,opt,name=state_diffs,json=stateDiffs,proto3" json:"state_diffs,omitempty"` //  By order of (contract, key), taking last in case of duplicates.
	// This means the proposer needs to sort after finishing the block (TBD: patricia? )
	// State is optional and appears every X blocks for the last block. This is to support
	// snapshot sync and also so that light nodes can sync on state without state diffs.
	State     *Patricia `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`                          // hash of contract and class patricia tries. Same as in L1. Later more trees will be included
	ProofFact *Hash     `protobuf:"bytes,7,opt,name=proof_fact,json=proofFact,proto3" json:"proof_fact,omitempty"` // for Kth block behind. A hash of the output of the proof
	// The following merkles can be built on the fly while sequencing/validating txs.
	Transactions    *Merkle  `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          *Merkle  `protobuf:"bytes,9,opt,name=events,proto3" json:"events,omitempty"`                                           // By order of issuance. TBD: in receipts?
	Receipts        *Merkle  `protobuf:"bytes,10,opt,name=receipts,proto3" json:"receipts,omitempty"`                                      // By order of issuance.
	ProtocolVersion string   `protobuf:"bytes,11,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // Starknet version
	GasPrice        *Felt252 `protobuf:"bytes,12,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	// 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 (*BlockHeader) Descriptor deprecated

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

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetEvents

func (x *BlockHeader) GetEvents() *Merkle

func (*BlockHeader) GetGasPrice added in v0.10.0

func (x *BlockHeader) GetGasPrice() *Felt252

func (*BlockHeader) GetNumber added in v0.7.0

func (x *BlockHeader) GetNumber() uint64

func (*BlockHeader) GetParentHash added in v0.10.0

func (x *BlockHeader) GetParentHash() *Hash

func (*BlockHeader) GetProofFact

func (x *BlockHeader) GetProofFact() *Hash

func (*BlockHeader) GetProtocolVersion

func (x *BlockHeader) GetProtocolVersion() string

func (*BlockHeader) GetReceipts

func (x *BlockHeader) GetReceipts() *Merkle

func (*BlockHeader) GetSequencerAddress

func (x *BlockHeader) GetSequencerAddress() *Address

func (*BlockHeader) GetState

func (x *BlockHeader) GetState() *Patricia

func (*BlockHeader) GetStateDiffs

func (x *BlockHeader) GetStateDiffs() *Merkle

func (*BlockHeader) GetTime

func (x *BlockHeader) GetTime() *timestamppb.Timestamp

func (*BlockHeader) GetTransactions

func (x *BlockHeader) GetTransactions() *Merkle

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

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

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

type BlockHeadersRequest added in v0.7.0

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

result is (BlockHeader, Signature?)* in order of creation (incr/dec)

func (*BlockHeadersRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use BlockHeadersRequest.ProtoReflect.Descriptor instead.

func (*BlockHeadersRequest) GetIteration added in v0.7.0

func (x *BlockHeadersRequest) GetIteration() *Iteration

func (*BlockHeadersRequest) ProtoMessage added in v0.7.0

func (*BlockHeadersRequest) ProtoMessage()

func (*BlockHeadersRequest) ProtoReflect added in v0.7.0

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

func (*BlockHeadersRequest) Reset added in v0.7.0

func (x *BlockHeadersRequest) Reset()

func (*BlockHeadersRequest) String added in v0.7.0

func (x *BlockHeadersRequest) String() string

type BlockHeadersResponse added in v0.7.0

type BlockHeadersResponse struct {
	Part []*BlockHeadersResponsePart `protobuf:"bytes,1,rep,name=part,proto3" json:"part,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeadersResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use BlockHeadersResponse.ProtoReflect.Descriptor instead.

func (*BlockHeadersResponse) GetPart added in v0.7.0

func (*BlockHeadersResponse) ProtoMessage added in v0.7.0

func (*BlockHeadersResponse) ProtoMessage()

func (*BlockHeadersResponse) ProtoReflect added in v0.7.0

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

func (*BlockHeadersResponse) Reset added in v0.7.0

func (x *BlockHeadersResponse) Reset()

func (*BlockHeadersResponse) String added in v0.7.0

func (x *BlockHeadersResponse) String() string

type BlockHeadersResponsePart added in v0.7.0

type BlockHeadersResponsePart struct {

	// Types that are assignable to HeaderMessage:
	//
	//	*BlockHeadersResponsePart_Header
	//	*BlockHeadersResponsePart_Signatures
	//	*BlockHeadersResponsePart_Fin
	HeaderMessage isBlockHeadersResponsePart_HeaderMessage `protobuf_oneof:"header_message"`
	// contains filtered or unexported fields
}

func (*BlockHeadersResponsePart) Descriptor deprecated added in v0.7.0

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

Deprecated: Use BlockHeadersResponsePart.ProtoReflect.Descriptor instead.

func (*BlockHeadersResponsePart) GetFin added in v0.7.0

func (x *BlockHeadersResponsePart) GetFin() *Fin

func (*BlockHeadersResponsePart) GetHeader added in v0.7.0

func (x *BlockHeadersResponsePart) GetHeader() *BlockHeader

func (*BlockHeadersResponsePart) GetHeaderMessage added in v0.7.0

func (m *BlockHeadersResponsePart) GetHeaderMessage() isBlockHeadersResponsePart_HeaderMessage

func (*BlockHeadersResponsePart) GetSignatures added in v0.7.0

func (x *BlockHeadersResponsePart) GetSignatures() *Signatures

func (*BlockHeadersResponsePart) ProtoMessage added in v0.7.0

func (*BlockHeadersResponsePart) ProtoMessage()

func (*BlockHeadersResponsePart) ProtoReflect added in v0.7.0

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

func (*BlockHeadersResponsePart) Reset added in v0.7.0

func (x *BlockHeadersResponsePart) Reset()

func (*BlockHeadersResponsePart) String added in v0.7.0

func (x *BlockHeadersResponsePart) String() string

type BlockHeadersResponsePart_Fin added in v0.7.0

type BlockHeadersResponsePart_Fin struct {
	Fin *Fin `protobuf:"bytes,3,opt,name=fin,proto3,oneof"` // no support for interleaving for now
}

type BlockHeadersResponsePart_Header added in v0.7.0

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

type BlockHeadersResponsePart_Signatures added in v0.7.0

type BlockHeadersResponsePart_Signatures struct {
	Signatures *Signatures `protobuf:"bytes,2,opt,name=signatures,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 added in v0.7.0

func (x *BlockID) GetHeader() *Hash

func (*BlockID) GetNumber added in v0.7.0

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,opt,name=proof,proto3" json:"proof,omitempty"` // proof size is currently 142K
	// 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 added in v0.10.0

type Cairo0Class struct {
	Abi          []byte        `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"`
	Program      []byte        `protobuf:"bytes,5,opt,name=program,proto3" json:"program,omitempty"`
	// contains filtered or unexported fields
}

func (*Cairo0Class) Descriptor deprecated added in v0.10.0

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

Deprecated: Use Cairo0Class.ProtoReflect.Descriptor instead.

func (*Cairo0Class) GetAbi added in v0.10.0

func (x *Cairo0Class) GetAbi() []byte

func (*Cairo0Class) GetConstructors added in v0.10.0

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

func (*Cairo0Class) GetExternals added in v0.10.0

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

func (*Cairo0Class) GetL1Handlers added in v0.10.0

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

func (*Cairo0Class) GetProgram added in v0.10.0

func (x *Cairo0Class) GetProgram() []byte

func (*Cairo0Class) ProtoMessage added in v0.10.0

func (*Cairo0Class) ProtoMessage()

func (*Cairo0Class) ProtoReflect added in v0.10.0

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

func (*Cairo0Class) Reset added in v0.10.0

func (x *Cairo0Class) Reset()

func (*Cairo0Class) String added in v0.10.0

func (x *Cairo0Class) String() string

type Cairo1Class added in v0.10.0

type Cairo1Class struct {
	Abi                  []byte             `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"`
	Compiled             []byte             `protobuf:"bytes,5,opt,name=compiled,proto3" json:"compiled,omitempty"`
	// contains filtered or unexported fields
}

func (*Cairo1Class) Descriptor deprecated added in v0.10.0

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

Deprecated: Use Cairo1Class.ProtoReflect.Descriptor instead.

func (*Cairo1Class) GetAbi added in v0.10.0

func (x *Cairo1Class) GetAbi() []byte

func (*Cairo1Class) GetCompiled added in v0.10.0

func (x *Cairo1Class) GetCompiled() []byte

func (*Cairo1Class) GetContractClassVersion added in v0.10.0

func (x *Cairo1Class) GetContractClassVersion() string

func (*Cairo1Class) GetEntryPoints added in v0.10.0

func (x *Cairo1Class) GetEntryPoints() *Cairo1EntryPoints

func (*Cairo1Class) GetProgram added in v0.10.0

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

func (*Cairo1Class) ProtoMessage added in v0.10.0

func (*Cairo1Class) ProtoMessage()

func (*Cairo1Class) ProtoReflect added in v0.10.0

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

func (*Cairo1Class) Reset added in v0.10.0

func (x *Cairo1Class) Reset()

func (*Cairo1Class) String added in v0.10.0

func (x *Cairo1Class) String() string

type Cairo1EntryPoints added in v0.10.0

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

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

Deprecated: Use Cairo1EntryPoints.ProtoReflect.Descriptor instead.

func (*Cairo1EntryPoints) GetConstructors added in v0.10.0

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

func (*Cairo1EntryPoints) GetExternals added in v0.10.0

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

func (*Cairo1EntryPoints) GetL1Handlers added in v0.10.0

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

func (*Cairo1EntryPoints) ProtoMessage added in v0.10.0

func (*Cairo1EntryPoints) ProtoMessage()

func (*Cairo1EntryPoints) ProtoReflect added in v0.10.0

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

func (*Cairo1EntryPoints) Reset added in v0.10.0

func (x *Cairo1EntryPoints) Reset()

func (*Cairo1EntryPoints) String added in v0.10.0

func (x *Cairo1EntryPoints) String() string

type Class

type Class struct {

	// Types that are assignable to Class:
	//
	//	*Class_Cairo0
	//	*Class_Cairo1
	Class isClass_Class `protobuf_oneof:"class"`
	// contains filtered or unexported fields
}

is it better to separate the definition from the hashes? (will need to repeate the hashes for the definitions stream) or, make the definitions optional? maybe it is enough to know only that a class exists, not its definition which may be fetched lazily later.

func (*Class) Descriptor deprecated

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

Deprecated: Use Class.ProtoReflect.Descriptor instead.

func (*Class) GetCairo0 added in v0.10.0

func (x *Class) GetCairo0() *Cairo0Class

func (*Class) GetCairo1 added in v0.10.0

func (x *Class) GetCairo1() *Cairo1Class

func (*Class) GetClass added in v0.10.0

func (m *Class) GetClass() isClass_Class

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 ClassRangeRequest added in v0.7.0

type ClassRangeRequest struct {
	Root           *Hash  `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	Start          *Hash  `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End            *Hash  `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	ChunksPerProof uint32 `protobuf:"varint,4,opt,name=chunks_per_proof,json=chunksPerProof,proto3" json:"chunks_per_proof,omitempty"`
	// contains filtered or unexported fields
}

duplicate of GetContractRange. Can introduce a 'type' instead. result is (Classes+, PatriciaRangeProof)*

func (*ClassRangeRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ClassRangeRequest.ProtoReflect.Descriptor instead.

func (*ClassRangeRequest) GetChunksPerProof added in v0.7.0

func (x *ClassRangeRequest) GetChunksPerProof() uint32

func (*ClassRangeRequest) GetEnd added in v0.7.0

func (x *ClassRangeRequest) GetEnd() *Hash

func (*ClassRangeRequest) GetRoot added in v0.7.0

func (x *ClassRangeRequest) GetRoot() *Hash

func (*ClassRangeRequest) GetStart added in v0.7.0

func (x *ClassRangeRequest) GetStart() *Hash

func (*ClassRangeRequest) ProtoMessage added in v0.7.0

func (*ClassRangeRequest) ProtoMessage()

func (*ClassRangeRequest) ProtoReflect added in v0.7.0

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

func (*ClassRangeRequest) Reset added in v0.7.0

func (x *ClassRangeRequest) Reset()

func (*ClassRangeRequest) String added in v0.7.0

func (x *ClassRangeRequest) String() string

type ClassRangeResponse added in v0.7.0

type ClassRangeResponse struct {
	Root          *Hash `protobuf:"bytes,1,opt,name=root,proto3,oneof" json:"root,omitempty"`                                        // may not appear if Fin is sent to end the whole response
	ContractsRoot *Hash `protobuf:"bytes,2,opt,name=contracts_root,json=contractsRoot,proto3,oneof" json:"contracts_root,omitempty"` // may not appear if Fin is sent to end the whole response
	ClassesRoot   *Hash `protobuf:"bytes,3,opt,name=classes_root,json=classesRoot,proto3,oneof" json:"classes_root,omitempty"`       // may not appear if Fin is sent to end the whole response
	// Types that are assignable to Responses:
	//
	//	*ClassRangeResponse_Classes
	//	*ClassRangeResponse_Fin
	Responses isClassRangeResponse_Responses `protobuf_oneof:"responses"`
	// contains filtered or unexported fields
}

func (*ClassRangeResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ClassRangeResponse.ProtoReflect.Descriptor instead.

func (*ClassRangeResponse) GetClasses added in v0.7.0

func (x *ClassRangeResponse) GetClasses() *Classes

func (*ClassRangeResponse) GetClassesRoot added in v0.7.0

func (x *ClassRangeResponse) GetClassesRoot() *Hash

func (*ClassRangeResponse) GetContractsRoot added in v0.7.0

func (x *ClassRangeResponse) GetContractsRoot() *Hash

func (*ClassRangeResponse) GetFin added in v0.7.0

func (x *ClassRangeResponse) GetFin() *Fin

func (*ClassRangeResponse) GetResponses added in v0.7.0

func (m *ClassRangeResponse) GetResponses() isClassRangeResponse_Responses

func (*ClassRangeResponse) GetRoot added in v0.7.0

func (x *ClassRangeResponse) GetRoot() *Hash

func (*ClassRangeResponse) ProtoMessage added in v0.7.0

func (*ClassRangeResponse) ProtoMessage()

func (*ClassRangeResponse) ProtoReflect added in v0.7.0

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

func (*ClassRangeResponse) Reset added in v0.7.0

func (x *ClassRangeResponse) Reset()

func (*ClassRangeResponse) String added in v0.7.0

func (x *ClassRangeResponse) String() string

type ClassRangeResponse_Classes added in v0.7.0

type ClassRangeResponse_Classes struct {
	Classes *Classes `protobuf:"bytes,4,opt,name=classes,proto3,oneof"`
}

type ClassRangeResponse_Fin added in v0.7.0

type ClassRangeResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,5,opt,name=fin,proto3,oneof"`
}

type Class_Cairo0 added in v0.10.0

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

type Class_Cairo1 added in v0.10.0

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

type Classes

type Classes struct {
	Domain  uint32   `protobuf:"varint,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Classes []*Class `protobuf:"bytes,2,rep,name=classes,proto3" json:"classes,omitempty"`
	// contains filtered or unexported fields
}

func (*Classes) Descriptor deprecated

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

Deprecated: Use Classes.ProtoReflect.Descriptor instead.

func (*Classes) GetClasses

func (x *Classes) GetClasses() []*Class

func (*Classes) GetDomain added in v0.7.0

func (x *Classes) GetDomain() uint32

func (*Classes) ProtoMessage

func (*Classes) ProtoMessage()

func (*Classes) ProtoReflect

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

func (*Classes) Reset

func (x *Classes) Reset()

func (*Classes) String

func (x *Classes) String() string

type ConsensusSignature added in v0.7.0

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

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

Deprecated: Use ConsensusSignature.ProtoReflect.Descriptor instead.

func (*ConsensusSignature) GetR added in v0.7.0

func (x *ConsensusSignature) GetR() *Felt252

func (*ConsensusSignature) GetS added in v0.7.0

func (x *ConsensusSignature) GetS() *Felt252

func (*ConsensusSignature) ProtoMessage added in v0.7.0

func (*ConsensusSignature) ProtoMessage()

func (*ConsensusSignature) ProtoReflect added in v0.7.0

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

func (*ConsensusSignature) Reset added in v0.7.0

func (x *ConsensusSignature) Reset()

func (*ConsensusSignature) String added in v0.7.0

func (x *ConsensusSignature) String() string

type ContractRange

type ContractRange struct {
	State []*ContractState `protobuf:"bytes,1,rep,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

stream of leaves in the contracts tree

func (*ContractRange) Descriptor deprecated

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

Deprecated: Use ContractRange.ProtoReflect.Descriptor instead.

func (*ContractRange) GetState

func (x *ContractRange) GetState() []*ContractState

func (*ContractRange) ProtoMessage

func (*ContractRange) ProtoMessage()

func (*ContractRange) ProtoReflect

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

func (*ContractRange) Reset

func (x *ContractRange) Reset()

func (*ContractRange) String

func (x *ContractRange) String() string

type ContractRangeRequest added in v0.7.0

type ContractRangeRequest struct {
	Domain         uint32   `protobuf:"varint,1,opt,name=domain,proto3" json:"domain,omitempty"` // volition
	StateRoot      *Hash    `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	Start          *Address `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	End            *Address `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"`
	ChunksPerProof uint32   `protobuf:"varint,5,opt,name=chunks_per_proof,json=chunksPerProof,proto3" json:"chunks_per_proof,omitempty"` // how many ContractRange items to send before sending a proof
	// contains filtered or unexported fields
}

request a range from the contract state tree that matches the given root (block) starts at 'start' and ends no more than 'end'. the result is (ContractRange+, PatriciaRangeProof)*

func (*ContractRangeRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ContractRangeRequest.ProtoReflect.Descriptor instead.

func (*ContractRangeRequest) GetChunksPerProof added in v0.7.0

func (x *ContractRangeRequest) GetChunksPerProof() uint32

func (*ContractRangeRequest) GetDomain added in v0.7.0

func (x *ContractRangeRequest) GetDomain() uint32

func (*ContractRangeRequest) GetEnd added in v0.7.0

func (x *ContractRangeRequest) GetEnd() *Address

func (*ContractRangeRequest) GetStart added in v0.7.0

func (x *ContractRangeRequest) GetStart() *Address

func (*ContractRangeRequest) GetStateRoot added in v0.7.0

func (x *ContractRangeRequest) GetStateRoot() *Hash

func (*ContractRangeRequest) ProtoMessage added in v0.7.0

func (*ContractRangeRequest) ProtoMessage()

func (*ContractRangeRequest) ProtoReflect added in v0.7.0

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

func (*ContractRangeRequest) Reset added in v0.7.0

func (x *ContractRangeRequest) Reset()

func (*ContractRangeRequest) String added in v0.7.0

func (x *ContractRangeRequest) String() string

type ContractRangeResponse added in v0.7.0

type ContractRangeResponse struct {
	Root          *Hash `protobuf:"bytes,1,opt,name=root,proto3,oneof" json:"root,omitempty"`                                        // may not appear if Fin is sent to end the whole response
	ContractsRoot *Hash `protobuf:"bytes,2,opt,name=contracts_root,json=contractsRoot,proto3,oneof" json:"contracts_root,omitempty"` // may not appear if Fin is sent to end the whole response
	ClassesRoot   *Hash `protobuf:"bytes,3,opt,name=classes_root,json=classesRoot,proto3,oneof" json:"classes_root,omitempty"`       // may not appear if Fin is sent to end the whole response
	// Types that are assignable to Responses:
	//
	//	*ContractRangeResponse_Range
	//	*ContractRangeResponse_Fin
	Responses isContractRangeResponse_Responses `protobuf_oneof:"responses"`
	// contains filtered or unexported fields
}

func (*ContractRangeResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ContractRangeResponse.ProtoReflect.Descriptor instead.

func (*ContractRangeResponse) GetClassesRoot added in v0.7.0

func (x *ContractRangeResponse) GetClassesRoot() *Hash

func (*ContractRangeResponse) GetContractsRoot added in v0.7.0

func (x *ContractRangeResponse) GetContractsRoot() *Hash

func (*ContractRangeResponse) GetFin added in v0.7.0

func (x *ContractRangeResponse) GetFin() *Fin

func (*ContractRangeResponse) GetRange added in v0.7.0

func (x *ContractRangeResponse) GetRange() *ContractRange

func (*ContractRangeResponse) GetResponses added in v0.7.0

func (m *ContractRangeResponse) GetResponses() isContractRangeResponse_Responses

func (*ContractRangeResponse) GetRoot added in v0.7.0

func (x *ContractRangeResponse) GetRoot() *Hash

func (*ContractRangeResponse) ProtoMessage added in v0.7.0

func (*ContractRangeResponse) ProtoMessage()

func (*ContractRangeResponse) ProtoReflect added in v0.7.0

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

func (*ContractRangeResponse) Reset added in v0.7.0

func (x *ContractRangeResponse) Reset()

func (*ContractRangeResponse) String added in v0.7.0

func (x *ContractRangeResponse) String() string

type ContractRangeResponse_Fin added in v0.7.0

type ContractRangeResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,5,opt,name=fin,proto3,oneof"`
}

type ContractRangeResponse_Range added in v0.7.0

type ContractRangeResponse_Range struct {
	Range *ContractRange `protobuf:"bytes,4,opt,name=range,proto3,oneof"`
}

type ContractState

type ContractState struct {
	Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // the key
	Class   *Hash    `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`
	Storage *Hash    `protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"` // patricia
	Nonce   uint64   `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

leafs of the contract state tree

func (*ContractState) Descriptor deprecated

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

Deprecated: Use ContractState.ProtoReflect.Descriptor instead.

func (*ContractState) GetAddress

func (x *ContractState) GetAddress() *Address

func (*ContractState) GetClass

func (x *ContractState) GetClass() *Hash

func (*ContractState) GetNonce

func (x *ContractState) GetNonce() uint64

func (*ContractState) GetStorage

func (x *ContractState) GetStorage() *Hash

func (*ContractState) ProtoMessage

func (*ContractState) ProtoMessage()

func (*ContractState) ProtoReflect

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

func (*ContractState) Reset

func (x *ContractState) Reset()

func (*ContractState) String

func (x *ContractState) String() string

type ContractStorage added in v0.7.0

type ContractStorage struct {
	KeyValue []*ContractStoredValue `protobuf:"bytes,2,rep,name=keyValue,proto3" json:"keyValue,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractStorage) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ContractStorage.ProtoReflect.Descriptor instead.

func (*ContractStorage) GetKeyValue added in v0.7.0

func (x *ContractStorage) GetKeyValue() []*ContractStoredValue

func (*ContractStorage) ProtoMessage added in v0.7.0

func (*ContractStorage) ProtoMessage()

func (*ContractStorage) ProtoReflect added in v0.7.0

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

func (*ContractStorage) Reset added in v0.7.0

func (x *ContractStorage) Reset()

func (*ContractStorage) String added in v0.7.0

func (x *ContractStorage) String() string

type ContractStorageRequest added in v0.7.0

type ContractStorageRequest struct {
	Domain    uint32               `protobuf:"varint,1,opt,name=domain,proto3" json:"domain,omitempty"` // volition
	StateRoot *Hash                `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	Query     []*StorageRangeQuery `protobuf:"bytes,3,rep,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

result is (ContractStorageRange+, PatriciaRangeProof)*

func (*ContractStorageRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ContractStorageRequest.ProtoReflect.Descriptor instead.

func (*ContractStorageRequest) GetDomain added in v0.7.0

func (x *ContractStorageRequest) GetDomain() uint32

func (*ContractStorageRequest) GetQuery added in v0.7.0

func (x *ContractStorageRequest) GetQuery() []*StorageRangeQuery

func (*ContractStorageRequest) GetStateRoot added in v0.7.0

func (x *ContractStorageRequest) GetStateRoot() *Hash

func (*ContractStorageRequest) ProtoMessage added in v0.7.0

func (*ContractStorageRequest) ProtoMessage()

func (*ContractStorageRequest) ProtoReflect added in v0.7.0

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

func (*ContractStorageRequest) Reset added in v0.7.0

func (x *ContractStorageRequest) Reset()

func (*ContractStorageRequest) String added in v0.7.0

func (x *ContractStorageRequest) String() string

type ContractStorageResponse added in v0.7.0

type ContractStorageResponse struct {
	StateRoot *Hash `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3,oneof" json:"state_root,omitempty"` // may not appear if Fin is sent to end the whole response
	// Types that are assignable to Responses:
	//
	//	*ContractStorageResponse_Storage
	//	*ContractStorageResponse_Fin
	Responses isContractStorageResponse_Responses `protobuf_oneof:"responses"`
	// contains filtered or unexported fields
}

func (*ContractStorageResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ContractStorageResponse.ProtoReflect.Descriptor instead.

func (*ContractStorageResponse) GetFin added in v0.7.0

func (x *ContractStorageResponse) GetFin() *Fin

func (*ContractStorageResponse) GetResponses added in v0.7.0

func (m *ContractStorageResponse) GetResponses() isContractStorageResponse_Responses

func (*ContractStorageResponse) GetStateRoot added in v0.7.0

func (x *ContractStorageResponse) GetStateRoot() *Hash

func (*ContractStorageResponse) GetStorage added in v0.7.0

func (x *ContractStorageResponse) GetStorage() *ContractStorage

func (*ContractStorageResponse) ProtoMessage added in v0.7.0

func (*ContractStorageResponse) ProtoMessage()

func (*ContractStorageResponse) ProtoReflect added in v0.7.0

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

func (*ContractStorageResponse) Reset added in v0.7.0

func (x *ContractStorageResponse) Reset()

func (*ContractStorageResponse) String added in v0.7.0

func (x *ContractStorageResponse) String() string

type ContractStorageResponse_Fin added in v0.7.0

type ContractStorageResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,3,opt,name=fin,proto3,oneof"`
}

type ContractStorageResponse_Storage added in v0.7.0

type ContractStorageResponse_Storage struct {
	Storage *ContractStorage `protobuf:"bytes,2,opt,name=storage,proto3,oneof"`
}

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 CurrentBlockHeaderRequest added in v0.10.0

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

Requests a peer's CurrentBlockHeader

func (*CurrentBlockHeaderRequest) Descriptor deprecated added in v0.10.0

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

Deprecated: Use CurrentBlockHeaderRequest.ProtoReflect.Descriptor instead.

func (*CurrentBlockHeaderRequest) ProtoMessage added in v0.10.0

func (*CurrentBlockHeaderRequest) ProtoMessage()

func (*CurrentBlockHeaderRequest) ProtoReflect added in v0.10.0

func (*CurrentBlockHeaderRequest) Reset added in v0.10.0

func (x *CurrentBlockHeaderRequest) Reset()

func (*CurrentBlockHeaderRequest) String added in v0.10.0

func (x *CurrentBlockHeaderRequest) String() string

type EntryPoint added in v0.10.0

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

func (*EntryPoint) Descriptor deprecated added in v0.10.0

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

Deprecated: Use EntryPoint.ProtoReflect.Descriptor instead.

func (*EntryPoint) GetOffset added in v0.10.0

func (x *EntryPoint) GetOffset() *Felt252

func (*EntryPoint) GetSelector added in v0.10.0

func (x *EntryPoint) GetSelector() *Felt252

func (*EntryPoint) ProtoMessage added in v0.10.0

func (*EntryPoint) ProtoMessage()

func (*EntryPoint) ProtoReflect added in v0.10.0

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

func (*EntryPoint) Reset added in v0.10.0

func (x *EntryPoint) Reset()

func (*EntryPoint) String added in v0.10.0

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,2,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	Keys            []*Felt252 `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
	Data            []*Felt252 `protobuf:"bytes,4,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 added in v0.10.0

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 Events

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

func (*Events) Descriptor deprecated

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

Deprecated: Use Events.ProtoReflect.Descriptor instead.

func (*Events) GetItems added in v0.7.0

func (x *Events) GetItems() []*Event

func (*Events) ProtoMessage

func (*Events) ProtoMessage()

func (*Events) ProtoReflect

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

func (*Events) Reset

func (x *Events) Reset()

func (*Events) String

func (x *Events) String() string

type EventsRequest added in v0.7.0

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

func (*EventsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use EventsRequest.ProtoReflect.Descriptor instead.

func (*EventsRequest) GetIteration added in v0.7.0

func (x *EventsRequest) GetIteration() *Iteration

func (*EventsRequest) ProtoMessage added in v0.7.0

func (*EventsRequest) ProtoMessage()

func (*EventsRequest) ProtoReflect added in v0.7.0

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

func (*EventsRequest) Reset added in v0.7.0

func (x *EventsRequest) Reset()

func (*EventsRequest) String added in v0.7.0

func (x *EventsRequest) String() string

type EventsResponse added in v0.7.0

type EventsResponse struct {
	Id *BlockID `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // may not appear if Fin is sent to end the whole response
	// Types that are assignable to Responses:
	//
	//	*EventsResponse_Events
	//	*EventsResponse_Fin
	Responses isEventsResponse_Responses `protobuf_oneof:"responses"`
	// contains filtered or unexported fields
}

can be several in a single reply

func (*EventsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead.

func (*EventsResponse) GetEvents added in v0.7.0

func (x *EventsResponse) GetEvents() *Events

func (*EventsResponse) GetFin added in v0.7.0

func (x *EventsResponse) GetFin() *Fin

func (*EventsResponse) GetId added in v0.7.0

func (x *EventsResponse) GetId() *BlockID

func (*EventsResponse) GetResponses added in v0.7.0

func (m *EventsResponse) GetResponses() isEventsResponse_Responses

func (*EventsResponse) ProtoMessage added in v0.7.0

func (*EventsResponse) ProtoMessage()

func (*EventsResponse) ProtoReflect added in v0.7.0

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

func (*EventsResponse) Reset added in v0.7.0

func (x *EventsResponse) Reset()

func (*EventsResponse) String added in v0.7.0

func (x *EventsResponse) String() string

type EventsResponse_Events added in v0.7.0

type EventsResponse_Events struct {
	Events *Events `protobuf:"bytes,2,opt,name=events,proto3,oneof"`
}

type EventsResponse_Fin added in v0.7.0

type EventsResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,3,opt,name=fin,proto3,oneof"`
}

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

type Fin struct {
	Error *Fin_Error `protobuf:"varint,1,opt,name=error,proto3,enum=Fin_Error,oneof" json:"error,omitempty"`
	// 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 added in v0.7.0

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

Deprecated: Use Fin.ProtoReflect.Descriptor instead.

func (*Fin) GetError added in v0.7.0

func (x *Fin) GetError() Fin_Error

func (*Fin) ProtoMessage added in v0.7.0

func (*Fin) ProtoMessage()

func (*Fin) ProtoReflect added in v0.7.0

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

func (*Fin) Reset added in v0.7.0

func (x *Fin) Reset()

func (*Fin) String added in v0.7.0

func (x *Fin) String() string

type Fin_Error added in v0.7.0

type Fin_Error int32
const (
	Fin_busy     Fin_Error = 0
	Fin_too_much Fin_Error = 1
	Fin_unknown  Fin_Error = 2
	Fin_pruned   Fin_Error = 3
)

func (Fin_Error) Descriptor added in v0.7.0

func (Fin_Error) Descriptor() protoreflect.EnumDescriptor

func (Fin_Error) Enum added in v0.7.0

func (x Fin_Error) Enum() *Fin_Error

func (Fin_Error) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use Fin_Error.Descriptor instead.

func (Fin_Error) Number added in v0.7.0

func (x Fin_Error) Number() protoreflect.EnumNumber

func (Fin_Error) String added in v0.7.0

func (x Fin_Error) String() string

func (Fin_Error) Type added in v0.7.0

type Hash

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

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 Hashes added in v0.7.0

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

func (*Hashes) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Hashes.ProtoReflect.Descriptor instead.

func (*Hashes) GetItems added in v0.7.0

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

func (*Hashes) ProtoMessage added in v0.7.0

func (*Hashes) ProtoMessage()

func (*Hashes) ProtoReflect added in v0.7.0

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

func (*Hashes) Reset added in v0.7.0

func (x *Hashes) Reset()

func (*Hashes) String added in v0.7.0

func (x *Hashes) String() string

type Iteration added in v0.7.0

type Iteration struct {

	// Types that are assignable 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 added in v0.7.0

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

Deprecated: Use Iteration.ProtoReflect.Descriptor instead.

func (*Iteration) GetBlockNumber added in v0.7.0

func (x *Iteration) GetBlockNumber() uint64

func (*Iteration) GetDirection added in v0.7.0

func (x *Iteration) GetDirection() Iteration_Direction

func (*Iteration) GetHeader added in v0.7.0

func (x *Iteration) GetHeader() *Hash

func (*Iteration) GetLimit added in v0.7.0

func (x *Iteration) GetLimit() uint64

func (*Iteration) GetStart added in v0.7.0

func (m *Iteration) GetStart() isIteration_Start

func (*Iteration) GetStep added in v0.7.0

func (x *Iteration) GetStep() uint64

func (*Iteration) ProtoMessage added in v0.7.0

func (*Iteration) ProtoMessage()

func (*Iteration) ProtoReflect added in v0.7.0

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

func (*Iteration) Reset added in v0.7.0

func (x *Iteration) Reset()

func (*Iteration) String added in v0.7.0

func (x *Iteration) String() string

type Iteration_BlockNumber added in v0.7.0

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

type Iteration_Direction added in v0.7.0

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

func (Iteration_Direction) Descriptor added in v0.7.0

func (Iteration_Direction) Enum added in v0.7.0

func (Iteration_Direction) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use Iteration_Direction.Descriptor instead.

func (Iteration_Direction) Number added in v0.7.0

func (Iteration_Direction) String added in v0.7.0

func (x Iteration_Direction) String() string

func (Iteration_Direction) Type added in v0.7.0

type Iteration_Header added in v0.7.0

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

type Merkle

type Merkle struct {
	NLeaves uint32 `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 (*Merkle) Descriptor deprecated

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

Deprecated: Use Merkle.ProtoReflect.Descriptor instead.

func (*Merkle) GetNLeaves

func (x *Merkle) GetNLeaves() uint32

func (*Merkle) GetRoot

func (x *Merkle) GetRoot() *Hash

func (*Merkle) ProtoMessage

func (*Merkle) ProtoMessage()

func (*Merkle) ProtoReflect

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

func (*Merkle) Reset

func (x *Merkle) Reset()

func (*Merkle) String

func (x *Merkle) String() string

type MessageToL1

type MessageToL1 struct {
	FromAddress *Felt252         `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	Payload     []*Felt252       `protobuf:"bytes,2,rep,name=payload,proto3" json:"payload,omitempty"`
	ToAddress   *EthereumAddress `protobuf:"bytes,3,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 MessageToL2

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

func (*MessageToL2) Descriptor deprecated

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

Deprecated: Use MessageToL2.ProtoReflect.Descriptor instead.

func (*MessageToL2) GetEntryPointSelector

func (x *MessageToL2) GetEntryPointSelector() *Felt252

func (*MessageToL2) GetFromAddress

func (x *MessageToL2) GetFromAddress() *EthereumAddress

func (*MessageToL2) GetNonce

func (x *MessageToL2) GetNonce() *Felt252

func (*MessageToL2) GetPayload

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

func (*MessageToL2) GetToAddress

func (x *MessageToL2) GetToAddress() *Felt252

func (*MessageToL2) ProtoMessage

func (*MessageToL2) ProtoMessage()

func (*MessageToL2) ProtoReflect

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

func (*MessageToL2) Reset

func (x *MessageToL2) Reset()

func (*MessageToL2) String

func (x *MessageToL2) String() string

type NewBlock

type NewBlock struct {

	// Types that are assignable to MaybeFull:
	//
	//	*NewBlock_Id
	//	*NewBlock_Header
	//	*NewBlock_Body
	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 and GetBlockBodies 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) GetBody added in v0.7.0

func (x *NewBlock) GetBody() *BlockBodiesResponse

func (*NewBlock) GetHeader added in v0.7.0

func (x *NewBlock) GetHeader() *BlockHeadersResponse

func (*NewBlock) GetId

func (x *NewBlock) GetId() *BlockID

func (*NewBlock) GetMaybeFull added in v0.7.0

func (m *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_Body added in v0.7.0

type NewBlock_Body struct {
	Body *BlockBodiesResponse `protobuf:"bytes,3,opt,name=body,proto3,oneof"`
}

type NewBlock_Header added in v0.7.0

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

type NewBlock_Id added in v0.7.0

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

type Patricia added in v0.7.0

type Patricia struct {
	Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Root   *Hash  `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

func (*Patricia) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Patricia.ProtoReflect.Descriptor instead.

func (*Patricia) GetHeight added in v0.7.0

func (x *Patricia) GetHeight() uint32

func (*Patricia) GetRoot added in v0.7.0

func (x *Patricia) GetRoot() *Hash

func (*Patricia) ProtoMessage added in v0.7.0

func (*Patricia) ProtoMessage()

func (*Patricia) ProtoReflect added in v0.7.0

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

func (*Patricia) Reset added in v0.7.0

func (x *Patricia) Reset()

func (*Patricia) String added in v0.7.0

func (x *Patricia) String() string

type PatriciaNode

type PatriciaNode struct {

	// Types that are assignable to Node:
	//
	//	*PatriciaNode_Edge_
	//	*PatriciaNode_Binary_
	Node isPatriciaNode_Node `protobuf_oneof:"node"`
	// contains filtered or unexported fields
}

func (*PatriciaNode) Descriptor deprecated

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

Deprecated: Use PatriciaNode.ProtoReflect.Descriptor instead.

func (*PatriciaNode) GetBinary

func (x *PatriciaNode) GetBinary() *PatriciaNode_Binary

func (*PatriciaNode) GetEdge

func (x *PatriciaNode) GetEdge() *PatriciaNode_Edge

func (*PatriciaNode) GetNode

func (m *PatriciaNode) GetNode() isPatriciaNode_Node

func (*PatriciaNode) ProtoMessage

func (*PatriciaNode) ProtoMessage()

func (*PatriciaNode) ProtoReflect

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

func (*PatriciaNode) Reset

func (x *PatriciaNode) Reset()

func (*PatriciaNode) String

func (x *PatriciaNode) String() string

type PatriciaNode_Binary

type PatriciaNode_Binary struct {
	Left  *Felt252 `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
	Right *Felt252 `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"`
	// contains filtered or unexported fields
}

func (*PatriciaNode_Binary) Descriptor deprecated

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

Deprecated: Use PatriciaNode_Binary.ProtoReflect.Descriptor instead.

func (*PatriciaNode_Binary) GetLeft

func (x *PatriciaNode_Binary) GetLeft() *Felt252

func (*PatriciaNode_Binary) GetRight

func (x *PatriciaNode_Binary) GetRight() *Felt252

func (*PatriciaNode_Binary) ProtoMessage

func (*PatriciaNode_Binary) ProtoMessage()

func (*PatriciaNode_Binary) ProtoReflect

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

func (*PatriciaNode_Binary) Reset

func (x *PatriciaNode_Binary) Reset()

func (*PatriciaNode_Binary) String

func (x *PatriciaNode_Binary) String() string

type PatriciaNode_Binary_

type PatriciaNode_Binary_ struct {
	Binary *PatriciaNode_Binary `protobuf:"bytes,2,opt,name=binary,proto3,oneof"`
}

type PatriciaNode_Edge

type PatriciaNode_Edge struct {
	Length uint32   `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	Path   *Felt252 `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // as bits of left/right
	Value  *Felt252 `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PatriciaNode_Edge) Descriptor deprecated

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

Deprecated: Use PatriciaNode_Edge.ProtoReflect.Descriptor instead.

func (*PatriciaNode_Edge) GetLength

func (x *PatriciaNode_Edge) GetLength() uint32

func (*PatriciaNode_Edge) GetPath

func (x *PatriciaNode_Edge) GetPath() *Felt252

func (*PatriciaNode_Edge) GetValue

func (x *PatriciaNode_Edge) GetValue() *Felt252

func (*PatriciaNode_Edge) ProtoMessage

func (*PatriciaNode_Edge) ProtoMessage()

func (*PatriciaNode_Edge) ProtoReflect

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

func (*PatriciaNode_Edge) Reset

func (x *PatriciaNode_Edge) Reset()

func (*PatriciaNode_Edge) String

func (x *PatriciaNode_Edge) String() string

type PatriciaNode_Edge_

type PatriciaNode_Edge_ struct {
	Edge *PatriciaNode_Edge `protobuf:"bytes,1,opt,name=edge,proto3,oneof"`
}

type PatriciaRangeProof

type PatriciaRangeProof struct {
	Nodes []*PatriciaNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

non leaf nodes required to build the trie given the range (leaves)

func (*PatriciaRangeProof) Descriptor deprecated

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

Deprecated: Use PatriciaRangeProof.ProtoReflect.Descriptor instead.

func (*PatriciaRangeProof) GetNodes

func (x *PatriciaRangeProof) GetNodes() []*PatriciaNode

func (*PatriciaRangeProof) ProtoMessage

func (*PatriciaRangeProof) ProtoMessage()

func (*PatriciaRangeProof) ProtoReflect

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

func (*PatriciaRangeProof) Reset

func (x *PatriciaRangeProof) Reset()

func (*PatriciaRangeProof) String

func (x *PatriciaRangeProof) 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 Receipt

type Receipt struct {

	// Types that are assignable 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 added in v0.10.0

func (m *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 added in v0.7.0

type Receipt_Common struct {
	TransactionHash    *Hash                       `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	ActualFee          *Felt252                    `protobuf:"bytes,2,opt,name=actual_fee,json=actualFee,proto3" json:"actual_fee,omitempty"`
	MessagesSent       []*MessageToL1              `protobuf:"bytes,3,rep,name=messages_sent,json=messagesSent,proto3" json:"messages_sent,omitempty"`
	ExecutionResources *Receipt_ExecutionResources `protobuf:"bytes,4,opt,name=execution_resources,json=executionResources,proto3" json:"execution_resources,omitempty"`
	RevertReason       string                      `protobuf:"bytes,5,opt,name=revert_reason,json=revertReason,proto3" json:"revert_reason,omitempty"`
	ConsumedMessage    *MessageToL2                `protobuf:"bytes,6,opt,name=consumed_message,json=consumedMessage,proto3,oneof" json:"consumed_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_Common) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Receipt_Common.ProtoReflect.Descriptor instead.

func (*Receipt_Common) GetActualFee added in v0.7.0

func (x *Receipt_Common) GetActualFee() *Felt252

func (*Receipt_Common) GetConsumedMessage added in v0.10.0

func (x *Receipt_Common) GetConsumedMessage() *MessageToL2

func (*Receipt_Common) GetExecutionResources added in v0.7.0

func (x *Receipt_Common) GetExecutionResources() *Receipt_ExecutionResources

func (*Receipt_Common) GetMessagesSent added in v0.7.0

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

func (*Receipt_Common) GetRevertReason added in v0.7.0

func (x *Receipt_Common) GetRevertReason() string

func (*Receipt_Common) GetTransactionHash added in v0.7.0

func (x *Receipt_Common) GetTransactionHash() *Hash

func (*Receipt_Common) ProtoMessage added in v0.7.0

func (*Receipt_Common) ProtoMessage()

func (*Receipt_Common) ProtoReflect added in v0.7.0

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

func (*Receipt_Common) Reset added in v0.7.0

func (x *Receipt_Common) Reset()

func (*Receipt_Common) String added in v0.7.0

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

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

Deprecated: Use Receipt_Declare.ProtoReflect.Descriptor instead.

func (*Receipt_Declare) GetCommon added in v0.7.0

func (x *Receipt_Declare) GetCommon() *Receipt_Common

func (*Receipt_Declare) ProtoMessage added in v0.7.0

func (*Receipt_Declare) ProtoMessage()

func (*Receipt_Declare) ProtoReflect added in v0.7.0

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

func (*Receipt_Declare) Reset added in v0.7.0

func (x *Receipt_Declare) Reset()

func (*Receipt_Declare) String added in v0.7.0

func (x *Receipt_Declare) String() string

type Receipt_Declare_ added in v0.7.0

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

type Receipt_Deploy added in v0.7.0

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

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

Deprecated: Use Receipt_Deploy.ProtoReflect.Descriptor instead.

func (*Receipt_Deploy) GetCommon added in v0.7.0

func (x *Receipt_Deploy) GetCommon() *Receipt_Common

func (*Receipt_Deploy) GetContractAddress added in v0.7.0

func (x *Receipt_Deploy) GetContractAddress() *Felt252

func (*Receipt_Deploy) ProtoMessage added in v0.7.0

func (*Receipt_Deploy) ProtoMessage()

func (*Receipt_Deploy) ProtoReflect added in v0.7.0

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

func (*Receipt_Deploy) Reset added in v0.7.0

func (x *Receipt_Deploy) Reset()

func (*Receipt_Deploy) String added in v0.7.0

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

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

Deprecated: Use Receipt_DeployAccount.ProtoReflect.Descriptor instead.

func (*Receipt_DeployAccount) GetCommon added in v0.7.0

func (x *Receipt_DeployAccount) GetCommon() *Receipt_Common

func (*Receipt_DeployAccount) GetContractAddress added in v0.7.0

func (x *Receipt_DeployAccount) GetContractAddress() *Felt252

func (*Receipt_DeployAccount) ProtoMessage added in v0.7.0

func (*Receipt_DeployAccount) ProtoMessage()

func (*Receipt_DeployAccount) ProtoReflect added in v0.7.0

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

func (*Receipt_DeployAccount) Reset added in v0.7.0

func (x *Receipt_DeployAccount) Reset()

func (*Receipt_DeployAccount) String added in v0.7.0

func (x *Receipt_DeployAccount) String() string

type Receipt_DeployAccount_ added in v0.7.0

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

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"`
	// contains filtered or unexported fields
}

func (*Receipt_ExecutionResources) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Receipt_ExecutionResources.ProtoReflect.Descriptor instead.

func (*Receipt_ExecutionResources) GetBuiltins added in v0.7.0

func (*Receipt_ExecutionResources) GetMemoryHoles added in v0.7.0

func (x *Receipt_ExecutionResources) GetMemoryHoles() uint32

func (*Receipt_ExecutionResources) GetSteps added in v0.7.0

func (x *Receipt_ExecutionResources) GetSteps() uint32

func (*Receipt_ExecutionResources) ProtoMessage added in v0.7.0

func (*Receipt_ExecutionResources) ProtoMessage()

func (*Receipt_ExecutionResources) ProtoReflect added in v0.7.0

func (*Receipt_ExecutionResources) Reset added in v0.7.0

func (x *Receipt_ExecutionResources) Reset()

func (*Receipt_ExecutionResources) String added in v0.7.0

func (x *Receipt_ExecutionResources) String() string

type Receipt_ExecutionResources_BuiltinCounter added in v0.7.0

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"`
	// contains filtered or unexported fields
}

func (*Receipt_ExecutionResources_BuiltinCounter) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Receipt_ExecutionResources_BuiltinCounter.ProtoReflect.Descriptor instead.

func (*Receipt_ExecutionResources_BuiltinCounter) GetBitwise added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) GetEcOp added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) GetEcdsa added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) GetKeccak added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) GetOutput added in v0.10.0

func (*Receipt_ExecutionResources_BuiltinCounter) GetPedersen added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) GetPoseidon added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) ProtoMessage added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) ProtoReflect added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) Reset added in v0.7.0

func (*Receipt_ExecutionResources_BuiltinCounter) String added in v0.7.0

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

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

Deprecated: Use Receipt_Invoke.ProtoReflect.Descriptor instead.

func (*Receipt_Invoke) GetCommon added in v0.7.0

func (x *Receipt_Invoke) GetCommon() *Receipt_Common

func (*Receipt_Invoke) ProtoMessage added in v0.7.0

func (*Receipt_Invoke) ProtoMessage()

func (*Receipt_Invoke) ProtoReflect added in v0.7.0

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

func (*Receipt_Invoke) Reset added in v0.7.0

func (x *Receipt_Invoke) Reset()

func (*Receipt_Invoke) String added in v0.7.0

func (x *Receipt_Invoke) String() string

type Receipt_Invoke_ added in v0.7.0

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 *Hash           `protobuf:"bytes,2,opt,name=msg_hash,json=msgHash,proto3" json:"msg_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt_L1Handler) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Receipt_L1Handler.ProtoReflect.Descriptor instead.

func (*Receipt_L1Handler) GetCommon added in v0.7.0

func (x *Receipt_L1Handler) GetCommon() *Receipt_Common

func (*Receipt_L1Handler) GetMsgHash added in v0.7.0

func (x *Receipt_L1Handler) GetMsgHash() *Hash

func (*Receipt_L1Handler) ProtoMessage added in v0.7.0

func (*Receipt_L1Handler) ProtoMessage()

func (*Receipt_L1Handler) ProtoReflect added in v0.7.0

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

func (*Receipt_L1Handler) Reset added in v0.7.0

func (x *Receipt_L1Handler) Reset()

func (*Receipt_L1Handler) String added in v0.7.0

func (x *Receipt_L1Handler) String() string

type Receipt_L1Handler_ added in v0.7.0

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

type Receipts

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

func (*Receipts) Descriptor deprecated

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

Deprecated: Use Receipts.ProtoReflect.Descriptor instead.

func (*Receipts) GetItems added in v0.7.0

func (x *Receipts) GetItems() []*Receipt

func (*Receipts) ProtoMessage

func (*Receipts) ProtoMessage()

func (*Receipts) ProtoReflect

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

func (*Receipts) Reset

func (x *Receipts) Reset()

func (*Receipts) String

func (x *Receipts) String() string

type ReceiptsRequest added in v0.7.0

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

func (*ReceiptsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ReceiptsRequest.ProtoReflect.Descriptor instead.

func (*ReceiptsRequest) GetIteration added in v0.7.0

func (x *ReceiptsRequest) GetIteration() *Iteration

func (*ReceiptsRequest) ProtoMessage added in v0.7.0

func (*ReceiptsRequest) ProtoMessage()

func (*ReceiptsRequest) ProtoReflect added in v0.7.0

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

func (*ReceiptsRequest) Reset added in v0.7.0

func (x *ReceiptsRequest) Reset()

func (*ReceiptsRequest) String added in v0.7.0

func (x *ReceiptsRequest) String() string

type ReceiptsResponse added in v0.7.0

type ReceiptsResponse struct {
	Id *BlockID `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // may not appear if Fin is sent to end the whole response
	// Types that are assignable to Responses:
	//
	//	*ReceiptsResponse_Receipts
	//	*ReceiptsResponse_Fin
	Responses isReceiptsResponse_Responses `protobuf_oneof:"responses"`
	// contains filtered or unexported fields
}

func (*ReceiptsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ReceiptsResponse.ProtoReflect.Descriptor instead.

func (*ReceiptsResponse) GetFin added in v0.7.0

func (x *ReceiptsResponse) GetFin() *Fin

func (*ReceiptsResponse) GetId added in v0.7.0

func (x *ReceiptsResponse) GetId() *BlockID

func (*ReceiptsResponse) GetReceipts added in v0.7.0

func (x *ReceiptsResponse) GetReceipts() *Receipts

func (*ReceiptsResponse) GetResponses added in v0.7.0

func (m *ReceiptsResponse) GetResponses() isReceiptsResponse_Responses

func (*ReceiptsResponse) ProtoMessage added in v0.7.0

func (*ReceiptsResponse) ProtoMessage()

func (*ReceiptsResponse) ProtoReflect added in v0.7.0

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

func (*ReceiptsResponse) Reset added in v0.7.0

func (x *ReceiptsResponse) Reset()

func (*ReceiptsResponse) String added in v0.7.0

func (x *ReceiptsResponse) String() string

type ReceiptsResponse_Fin added in v0.7.0

type ReceiptsResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,3,opt,name=fin,proto3,oneof"`
}

type ReceiptsResponse_Receipts added in v0.7.0

type ReceiptsResponse_Receipts struct {
	Receipts *Receipts `protobuf:"bytes,2,opt,name=receipts,proto3,oneof"`
}

type ResourceLimits added in v0.7.0

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

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

Deprecated: Use ResourceLimits.ProtoReflect.Descriptor instead.

func (*ResourceLimits) GetMaxAmount added in v0.7.0

func (x *ResourceLimits) GetMaxAmount() *Felt252

func (*ResourceLimits) GetMaxPricePerUnit added in v0.7.0

func (x *ResourceLimits) GetMaxPricePerUnit() *Felt252

func (*ResourceLimits) ProtoMessage added in v0.7.0

func (*ResourceLimits) ProtoMessage()

func (*ResourceLimits) ProtoReflect added in v0.7.0

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

func (*ResourceLimits) Reset added in v0.7.0

func (x *ResourceLimits) Reset()

func (*ResourceLimits) String added in v0.7.0

func (x *ResourceLimits) String() string

type SierraEntryPoint added in v0.10.0

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

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

Deprecated: Use SierraEntryPoint.ProtoReflect.Descriptor instead.

func (*SierraEntryPoint) GetIndex added in v0.10.0

func (x *SierraEntryPoint) GetIndex() uint64

func (*SierraEntryPoint) GetSelector added in v0.10.0

func (x *SierraEntryPoint) GetSelector() *Felt252

func (*SierraEntryPoint) ProtoMessage added in v0.10.0

func (*SierraEntryPoint) ProtoMessage()

func (*SierraEntryPoint) ProtoReflect added in v0.10.0

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

func (*SierraEntryPoint) Reset added in v0.10.0

func (x *SierraEntryPoint) Reset()

func (*SierraEntryPoint) String added in v0.10.0

func (x *SierraEntryPoint) String() string

type Signatures

type Signatures struct {
	Block      *BlockID              `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Signatures []*ConsensusSignature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` //
	// contains filtered or unexported fields
}

for now, we assume a small consensus, so this fits in 1M. Else, these will be repeated

func (*Signatures) Descriptor deprecated

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

Deprecated: Use Signatures.ProtoReflect.Descriptor instead.

func (*Signatures) GetBlock added in v0.7.0

func (x *Signatures) GetBlock() *BlockID

func (*Signatures) GetSignatures

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

func (*Signatures) ProtoMessage

func (*Signatures) ProtoMessage()

func (*Signatures) ProtoReflect

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

func (*Signatures) Reset

func (x *Signatures) Reset()

func (*Signatures) String

func (x *Signatures) String() string

type StateDiff

type StateDiff struct {
	Domain            uint32                               `protobuf:"varint,1,opt,name=domain,proto3" json:"domain,omitempty"` // volition state domain
	ContractDiffs     []*StateDiff_ContractDiff            `protobuf:"bytes,2,rep,name=contract_diffs,json=contractDiffs,proto3" json:"contract_diffs,omitempty"`
	ReplacedClasses   []*StateDiff_ContractAddrToClassHash `protobuf:"bytes,3,rep,name=replaced_classes,json=replacedClasses,proto3" json:"replaced_classes,omitempty"`
	DeployedContracts []*StateDiff_ContractAddrToClassHash `protobuf:"bytes,4,rep,name=deployed_contracts,json=deployedContracts,proto3" json:"deployed_contracts,omitempty"`
	// contains filtered or unexported fields
}

func (*StateDiff) Descriptor deprecated

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

Deprecated: Use StateDiff.ProtoReflect.Descriptor instead.

func (*StateDiff) GetContractDiffs

func (x *StateDiff) GetContractDiffs() []*StateDiff_ContractDiff

func (*StateDiff) GetDeployedContracts added in v0.10.0

func (x *StateDiff) GetDeployedContracts() []*StateDiff_ContractAddrToClassHash

func (*StateDiff) GetDomain added in v0.7.0

func (x *StateDiff) GetDomain() uint32

func (*StateDiff) GetReplacedClasses added in v0.10.0

func (x *StateDiff) GetReplacedClasses() []*StateDiff_ContractAddrToClassHash

func (*StateDiff) ProtoMessage

func (*StateDiff) ProtoMessage()

func (*StateDiff) ProtoReflect

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

func (*StateDiff) Reset

func (x *StateDiff) Reset()

func (*StateDiff) String

func (x *StateDiff) String() string

type StateDiff_ContractAddrToClassHash added in v0.10.0

type StateDiff_ContractAddrToClassHash struct {
	ContractAddr *Address `protobuf:"bytes,1,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"`
	ClassHash    *Hash    `protobuf:"bytes,2,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*StateDiff_ContractAddrToClassHash) Descriptor deprecated added in v0.10.0

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

Deprecated: Use StateDiff_ContractAddrToClassHash.ProtoReflect.Descriptor instead.

func (*StateDiff_ContractAddrToClassHash) GetClassHash added in v0.10.0

func (x *StateDiff_ContractAddrToClassHash) GetClassHash() *Hash

func (*StateDiff_ContractAddrToClassHash) GetContractAddr added in v0.10.0

func (x *StateDiff_ContractAddrToClassHash) GetContractAddr() *Address

func (*StateDiff_ContractAddrToClassHash) ProtoMessage added in v0.10.0

func (*StateDiff_ContractAddrToClassHash) ProtoMessage()

func (*StateDiff_ContractAddrToClassHash) ProtoReflect added in v0.10.0

func (*StateDiff_ContractAddrToClassHash) Reset added in v0.10.0

func (*StateDiff_ContractAddrToClassHash) String added in v0.10.0

type StateDiff_ContractDiff

type StateDiff_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"`
	ClassHash *Felt252               `protobuf:"bytes,3,opt,name=class_hash,json=classHash,proto3,oneof" json:"class_hash,omitempty"` // can change for replace_class or new contract
	Values    []*ContractStoredValue `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

a bit more efficient than the state sync separation

func (*StateDiff_ContractDiff) Descriptor deprecated

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

Deprecated: Use StateDiff_ContractDiff.ProtoReflect.Descriptor instead.

func (*StateDiff_ContractDiff) GetAddress

func (x *StateDiff_ContractDiff) GetAddress() *Address

func (*StateDiff_ContractDiff) GetClassHash

func (x *StateDiff_ContractDiff) GetClassHash() *Felt252

func (*StateDiff_ContractDiff) GetNonce

func (x *StateDiff_ContractDiff) GetNonce() *Felt252

func (*StateDiff_ContractDiff) GetValues

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

func (*StateDiff_ContractDiff) ProtoMessage

func (*StateDiff_ContractDiff) ProtoMessage()

func (*StateDiff_ContractDiff) ProtoReflect

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

func (*StateDiff_ContractDiff) Reset

func (x *StateDiff_ContractDiff) Reset()

func (*StateDiff_ContractDiff) String

func (x *StateDiff_ContractDiff) String() string

type StorageLeafQuery

type StorageLeafQuery struct {
	ContractStorageRoot *Hash    `protobuf:"bytes,1,opt,name=contract_storage_root,json=contractStorageRoot,proto3" json:"contract_storage_root,omitempty"`
	Key                 *Felt252 `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

A position in some contract's state tree is identified by the state tree's root and the key in it

func (*StorageLeafQuery) Descriptor deprecated

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

Deprecated: Use StorageLeafQuery.ProtoReflect.Descriptor instead.

func (*StorageLeafQuery) GetContractStorageRoot added in v0.7.0

func (x *StorageLeafQuery) GetContractStorageRoot() *Hash

func (*StorageLeafQuery) GetKey

func (x *StorageLeafQuery) GetKey() *Felt252

func (*StorageLeafQuery) ProtoMessage

func (*StorageLeafQuery) ProtoMessage()

func (*StorageLeafQuery) ProtoReflect

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

func (*StorageLeafQuery) Reset

func (x *StorageLeafQuery) Reset()

func (*StorageLeafQuery) String

func (x *StorageLeafQuery) String() string

type StorageRangeQuery

type StorageRangeQuery struct {
	Start *StorageLeafQuery `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End   *StorageLeafQuery `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageRangeQuery) Descriptor deprecated

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

Deprecated: Use StorageRangeQuery.ProtoReflect.Descriptor instead.

func (*StorageRangeQuery) GetEnd

func (x *StorageRangeQuery) GetEnd() *StorageLeafQuery

func (*StorageRangeQuery) GetStart

func (x *StorageRangeQuery) GetStart() *StorageLeafQuery

func (*StorageRangeQuery) ProtoMessage

func (*StorageRangeQuery) ProtoMessage()

func (*StorageRangeQuery) ProtoReflect

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

func (*StorageRangeQuery) Reset

func (x *StorageRangeQuery) Reset()

func (*StorageRangeQuery) String

func (x *StorageRangeQuery) String() string

type Transaction

type Transaction struct {

	// Types that are assignable 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"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetDeclareV0 added in v0.7.0

func (x *Transaction) GetDeclareV0() *Transaction_DeclareV0

func (*Transaction) GetDeclareV1 added in v0.7.0

func (x *Transaction) GetDeclareV1() *Transaction_DeclareV1

func (*Transaction) GetDeclareV2 added in v0.7.0

func (x *Transaction) GetDeclareV2() *Transaction_DeclareV2

func (*Transaction) GetDeclareV3 added in v0.7.0

func (x *Transaction) GetDeclareV3() *Transaction_DeclareV3

func (*Transaction) GetDeploy added in v0.7.0

func (x *Transaction) GetDeploy() *Transaction_Deploy

func (*Transaction) GetDeployAccountV1 added in v0.7.0

func (x *Transaction) GetDeployAccountV1() *Transaction_DeployAccountV1

func (*Transaction) GetDeployAccountV3 added in v0.7.0

func (x *Transaction) GetDeployAccountV3() *Transaction_DeployAccountV3

func (*Transaction) GetInvokeV0 added in v0.7.0

func (x *Transaction) GetInvokeV0() *Transaction_InvokeV0

func (*Transaction) GetInvokeV1 added in v0.7.0

func (x *Transaction) GetInvokeV1() *Transaction_InvokeV1

func (*Transaction) GetInvokeV3 added in v0.7.0

func (x *Transaction) GetInvokeV3() *Transaction_InvokeV3

func (*Transaction) GetL1Handler

func (x *Transaction) GetL1Handler() *Transaction_L1HandlerV1

func (*Transaction) GetTxn

func (m *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 Transaction_DeclareV0 added in v0.7.0

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

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

Deprecated: Use Transaction_DeclareV0.ProtoReflect.Descriptor instead.

func (*Transaction_DeclareV0) GetClassHash added in v0.7.0

func (x *Transaction_DeclareV0) GetClassHash() *Hash

func (*Transaction_DeclareV0) GetMaxFee added in v0.7.0

func (x *Transaction_DeclareV0) GetMaxFee() *Felt252

func (*Transaction_DeclareV0) GetSender added in v0.7.0

func (x *Transaction_DeclareV0) GetSender() *Address

func (*Transaction_DeclareV0) GetSignature added in v0.7.0

func (x *Transaction_DeclareV0) GetSignature() *AccountSignature

func (*Transaction_DeclareV0) ProtoMessage added in v0.7.0

func (*Transaction_DeclareV0) ProtoMessage()

func (*Transaction_DeclareV0) ProtoReflect added in v0.7.0

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

func (*Transaction_DeclareV0) Reset added in v0.7.0

func (x *Transaction_DeclareV0) Reset()

func (*Transaction_DeclareV0) String added in v0.7.0

func (x *Transaction_DeclareV0) String() string

type Transaction_DeclareV0_ added in v0.7.0

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

type Transaction_DeclareV1 added in v0.7.0

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

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

Deprecated: Use Transaction_DeclareV1.ProtoReflect.Descriptor instead.

func (*Transaction_DeclareV1) GetClassHash added in v0.7.0

func (x *Transaction_DeclareV1) GetClassHash() *Hash

func (*Transaction_DeclareV1) GetMaxFee added in v0.7.0

func (x *Transaction_DeclareV1) GetMaxFee() *Felt252

func (*Transaction_DeclareV1) GetNonce added in v0.7.0

func (x *Transaction_DeclareV1) GetNonce() *Felt252

func (*Transaction_DeclareV1) GetSender added in v0.7.0

func (x *Transaction_DeclareV1) GetSender() *Address

func (*Transaction_DeclareV1) GetSignature added in v0.7.0

func (x *Transaction_DeclareV1) GetSignature() *AccountSignature

func (*Transaction_DeclareV1) ProtoMessage added in v0.7.0

func (*Transaction_DeclareV1) ProtoMessage()

func (*Transaction_DeclareV1) ProtoReflect added in v0.7.0

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

func (*Transaction_DeclareV1) Reset added in v0.7.0

func (x *Transaction_DeclareV1) Reset()

func (*Transaction_DeclareV1) String added in v0.7.0

func (x *Transaction_DeclareV1) String() string

type Transaction_DeclareV1_ added in v0.7.0

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

type Transaction_DeclareV2 added in v0.7.0

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 *Felt252          `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 added in v0.7.0

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

Deprecated: Use Transaction_DeclareV2.ProtoReflect.Descriptor instead.

func (*Transaction_DeclareV2) GetClassHash added in v0.7.0

func (x *Transaction_DeclareV2) GetClassHash() *Hash

func (*Transaction_DeclareV2) GetCompiledClassHash added in v0.7.0

func (x *Transaction_DeclareV2) GetCompiledClassHash() *Felt252

func (*Transaction_DeclareV2) GetMaxFee added in v0.7.0

func (x *Transaction_DeclareV2) GetMaxFee() *Felt252

func (*Transaction_DeclareV2) GetNonce added in v0.7.0

func (x *Transaction_DeclareV2) GetNonce() *Felt252

func (*Transaction_DeclareV2) GetSender added in v0.7.0

func (x *Transaction_DeclareV2) GetSender() *Address

func (*Transaction_DeclareV2) GetSignature added in v0.7.0

func (x *Transaction_DeclareV2) GetSignature() *AccountSignature

func (*Transaction_DeclareV2) ProtoMessage added in v0.7.0

func (*Transaction_DeclareV2) ProtoMessage()

func (*Transaction_DeclareV2) ProtoReflect added in v0.7.0

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

func (*Transaction_DeclareV2) Reset added in v0.7.0

func (x *Transaction_DeclareV2) Reset()

func (*Transaction_DeclareV2) String added in v0.7.0

func (x *Transaction_DeclareV2) String() string

type Transaction_DeclareV2_ added in v0.7.0

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

type Transaction_DeclareV3 added in v0.7.0

type Transaction_DeclareV3 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 *Felt252          `protobuf:"bytes,6,opt,name=compiled_class_hash,json=compiledClassHash,proto3" json:"compiled_class_hash,omitempty"`
	L1Gas             *ResourceLimits   `protobuf:"bytes,7,opt,name=l1_gas,json=l1Gas,proto3" json:"l1_gas,omitempty"`
	L2Gas             *ResourceLimits   `protobuf:"bytes,8,opt,name=l2_gas,json=l2Gas,proto3" json:"l2_gas,omitempty"`
	Tip               *Felt252          `protobuf:"bytes,9,opt,name=tip,proto3" json:"tip,omitempty"`
	Paymaster         *Address          `protobuf:"bytes,10,opt,name=paymaster,proto3" json:"paymaster,omitempty"`
	NonceDomain       string            `protobuf:"bytes,11,opt,name=nonce_domain,json=nonceDomain,proto3" json:"nonce_domain,omitempty"`
	FeeDomain         string            `protobuf:"bytes,12,opt,name=fee_domain,json=feeDomain,proto3" json:"fee_domain,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_DeclareV3) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Transaction_DeclareV3.ProtoReflect.Descriptor instead.

func (*Transaction_DeclareV3) GetClassHash added in v0.7.0

func (x *Transaction_DeclareV3) GetClassHash() *Hash

func (*Transaction_DeclareV3) GetCompiledClassHash added in v0.7.0

func (x *Transaction_DeclareV3) GetCompiledClassHash() *Felt252

func (*Transaction_DeclareV3) GetFeeDomain added in v0.7.0

func (x *Transaction_DeclareV3) GetFeeDomain() string

func (*Transaction_DeclareV3) GetL1Gas added in v0.7.0

func (x *Transaction_DeclareV3) GetL1Gas() *ResourceLimits

func (*Transaction_DeclareV3) GetL2Gas added in v0.7.0

func (x *Transaction_DeclareV3) GetL2Gas() *ResourceLimits

func (*Transaction_DeclareV3) GetMaxFee added in v0.7.0

func (x *Transaction_DeclareV3) GetMaxFee() *Felt252

func (*Transaction_DeclareV3) GetNonce added in v0.7.0

func (x *Transaction_DeclareV3) GetNonce() *Felt252

func (*Transaction_DeclareV3) GetNonceDomain added in v0.7.0

func (x *Transaction_DeclareV3) GetNonceDomain() string

func (*Transaction_DeclareV3) GetPaymaster added in v0.7.0

func (x *Transaction_DeclareV3) GetPaymaster() *Address

func (*Transaction_DeclareV3) GetSender added in v0.7.0

func (x *Transaction_DeclareV3) GetSender() *Address

func (*Transaction_DeclareV3) GetSignature added in v0.7.0

func (x *Transaction_DeclareV3) GetSignature() *AccountSignature

func (*Transaction_DeclareV3) GetTip added in v0.7.0

func (x *Transaction_DeclareV3) GetTip() *Felt252

func (*Transaction_DeclareV3) ProtoMessage added in v0.7.0

func (*Transaction_DeclareV3) ProtoMessage()

func (*Transaction_DeclareV3) ProtoReflect added in v0.7.0

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

func (*Transaction_DeclareV3) Reset added in v0.7.0

func (x *Transaction_DeclareV3) Reset()

func (*Transaction_DeclareV3) String added in v0.7.0

func (x *Transaction_DeclareV3) String() string

type Transaction_DeclareV3_ added in v0.7.0

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

type Transaction_Deploy added in v0.7.0

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"`
	// contains filtered or unexported fields
}

func (*Transaction_Deploy) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Transaction_Deploy.ProtoReflect.Descriptor instead.

func (*Transaction_Deploy) GetAddressSalt added in v0.7.0

func (x *Transaction_Deploy) GetAddressSalt() *Felt252

func (*Transaction_Deploy) GetCalldata added in v0.7.0

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

func (*Transaction_Deploy) GetClassHash added in v0.7.0

func (x *Transaction_Deploy) GetClassHash() *Hash

func (*Transaction_Deploy) ProtoMessage added in v0.7.0

func (*Transaction_Deploy) ProtoMessage()

func (*Transaction_Deploy) ProtoReflect added in v0.7.0

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

func (*Transaction_Deploy) Reset added in v0.7.0

func (x *Transaction_Deploy) Reset()

func (*Transaction_Deploy) String added in v0.7.0

func (x *Transaction_Deploy) String() string

type Transaction_DeployAccountV1 added in v0.7.0

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

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

Deprecated: Use Transaction_DeployAccountV1.ProtoReflect.Descriptor instead.

func (*Transaction_DeployAccountV1) GetAddressSalt added in v0.7.0

func (x *Transaction_DeployAccountV1) GetAddressSalt() *Felt252

func (*Transaction_DeployAccountV1) GetCalldata added in v0.7.0

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

func (*Transaction_DeployAccountV1) GetClassHash added in v0.7.0

func (x *Transaction_DeployAccountV1) GetClassHash() *Hash

func (*Transaction_DeployAccountV1) GetMaxFee added in v0.7.0

func (x *Transaction_DeployAccountV1) GetMaxFee() *Felt252

func (*Transaction_DeployAccountV1) GetNonce added in v0.7.0

func (x *Transaction_DeployAccountV1) GetNonce() *Felt252

func (*Transaction_DeployAccountV1) GetSignature added in v0.7.0

func (x *Transaction_DeployAccountV1) GetSignature() *AccountSignature

func (*Transaction_DeployAccountV1) ProtoMessage added in v0.7.0

func (*Transaction_DeployAccountV1) ProtoMessage()

func (*Transaction_DeployAccountV1) ProtoReflect added in v0.7.0

func (*Transaction_DeployAccountV1) Reset added in v0.7.0

func (x *Transaction_DeployAccountV1) Reset()

func (*Transaction_DeployAccountV1) String added in v0.7.0

func (x *Transaction_DeployAccountV1) String() string

type Transaction_DeployAccountV1_ added in v0.7.0

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

type Transaction_DeployAccountV3 added in v0.7.0

type Transaction_DeployAccountV3 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"`
	L1Gas       *ResourceLimits   `protobuf:"bytes,7,opt,name=l1_gas,json=l1Gas,proto3" json:"l1_gas,omitempty"`
	L2Gas       *ResourceLimits   `protobuf:"bytes,8,opt,name=l2_gas,json=l2Gas,proto3" json:"l2_gas,omitempty"`
	Tip         *Felt252          `protobuf:"bytes,9,opt,name=tip,proto3" json:"tip,omitempty"`
	Paymaster   *Address          `protobuf:"bytes,10,opt,name=paymaster,proto3" json:"paymaster,omitempty"`
	NonceDomain string            `protobuf:"bytes,11,opt,name=nonce_domain,json=nonceDomain,proto3" json:"nonce_domain,omitempty"`
	FeeDomain   string            `protobuf:"bytes,12,opt,name=fee_domain,json=feeDomain,proto3" json:"fee_domain,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_DeployAccountV3) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Transaction_DeployAccountV3.ProtoReflect.Descriptor instead.

func (*Transaction_DeployAccountV3) GetAddressSalt added in v0.7.0

func (x *Transaction_DeployAccountV3) GetAddressSalt() *Felt252

func (*Transaction_DeployAccountV3) GetCalldata added in v0.7.0

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

func (*Transaction_DeployAccountV3) GetClassHash added in v0.7.0

func (x *Transaction_DeployAccountV3) GetClassHash() *Hash

func (*Transaction_DeployAccountV3) GetFeeDomain added in v0.7.0

func (x *Transaction_DeployAccountV3) GetFeeDomain() string

func (*Transaction_DeployAccountV3) GetL1Gas added in v0.7.0

func (*Transaction_DeployAccountV3) GetL2Gas added in v0.7.0

func (*Transaction_DeployAccountV3) GetMaxFee added in v0.7.0

func (x *Transaction_DeployAccountV3) GetMaxFee() *Felt252

func (*Transaction_DeployAccountV3) GetNonce added in v0.7.0

func (x *Transaction_DeployAccountV3) GetNonce() *Felt252

func (*Transaction_DeployAccountV3) GetNonceDomain added in v0.7.0

func (x *Transaction_DeployAccountV3) GetNonceDomain() string

func (*Transaction_DeployAccountV3) GetPaymaster added in v0.7.0

func (x *Transaction_DeployAccountV3) GetPaymaster() *Address

func (*Transaction_DeployAccountV3) GetSignature added in v0.7.0

func (x *Transaction_DeployAccountV3) GetSignature() *AccountSignature

func (*Transaction_DeployAccountV3) GetTip added in v0.7.0

func (x *Transaction_DeployAccountV3) GetTip() *Felt252

func (*Transaction_DeployAccountV3) ProtoMessage added in v0.7.0

func (*Transaction_DeployAccountV3) ProtoMessage()

func (*Transaction_DeployAccountV3) ProtoReflect added in v0.7.0

func (*Transaction_DeployAccountV3) Reset added in v0.7.0

func (x *Transaction_DeployAccountV3) Reset()

func (*Transaction_DeployAccountV3) String added in v0.7.0

func (x *Transaction_DeployAccountV3) String() string

type Transaction_DeployAccountV3_ added in v0.7.0

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

type Transaction_Deploy_ added in v0.7.0

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

type Transaction_InvokeV0 added in v0.7.0

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

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

Deprecated: Use Transaction_InvokeV0.ProtoReflect.Descriptor instead.

func (*Transaction_InvokeV0) GetAddress added in v0.7.0

func (x *Transaction_InvokeV0) GetAddress() *Address

func (*Transaction_InvokeV0) GetCalldata added in v0.7.0

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

func (*Transaction_InvokeV0) GetEntryPointSelector added in v0.7.0

func (x *Transaction_InvokeV0) GetEntryPointSelector() *Felt252

func (*Transaction_InvokeV0) GetMaxFee added in v0.7.0

func (x *Transaction_InvokeV0) GetMaxFee() *Felt252

func (*Transaction_InvokeV0) GetSignature added in v0.7.0

func (x *Transaction_InvokeV0) GetSignature() *AccountSignature

func (*Transaction_InvokeV0) ProtoMessage added in v0.7.0

func (*Transaction_InvokeV0) ProtoMessage()

func (*Transaction_InvokeV0) ProtoReflect added in v0.7.0

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

func (*Transaction_InvokeV0) Reset added in v0.7.0

func (x *Transaction_InvokeV0) Reset()

func (*Transaction_InvokeV0) String added in v0.7.0

func (x *Transaction_InvokeV0) String() string

type Transaction_InvokeV0_ added in v0.7.0

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

type Transaction_InvokeV1 added in v0.7.0

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

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

Deprecated: Use Transaction_InvokeV1.ProtoReflect.Descriptor instead.

func (*Transaction_InvokeV1) GetCalldata added in v0.7.0

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

func (*Transaction_InvokeV1) GetMaxFee added in v0.7.0

func (x *Transaction_InvokeV1) GetMaxFee() *Felt252

func (*Transaction_InvokeV1) GetNonce added in v0.10.0

func (x *Transaction_InvokeV1) GetNonce() *Felt252

func (*Transaction_InvokeV1) GetSender added in v0.7.0

func (x *Transaction_InvokeV1) GetSender() *Address

func (*Transaction_InvokeV1) GetSignature added in v0.7.0

func (x *Transaction_InvokeV1) GetSignature() *AccountSignature

func (*Transaction_InvokeV1) ProtoMessage added in v0.7.0

func (*Transaction_InvokeV1) ProtoMessage()

func (*Transaction_InvokeV1) ProtoReflect added in v0.7.0

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

func (*Transaction_InvokeV1) Reset added in v0.7.0

func (x *Transaction_InvokeV1) Reset()

func (*Transaction_InvokeV1) String added in v0.7.0

func (x *Transaction_InvokeV1) String() string

type Transaction_InvokeV1_ added in v0.7.0

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

type Transaction_InvokeV3 added in v0.7.0

type Transaction_InvokeV3 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"`
	L1Gas       *ResourceLimits   `protobuf:"bytes,5,opt,name=l1_gas,json=l1Gas,proto3" json:"l1_gas,omitempty"`
	L2Gas       *ResourceLimits   `protobuf:"bytes,6,opt,name=l2_gas,json=l2Gas,proto3" json:"l2_gas,omitempty"`
	Tip         *Felt252          `protobuf:"bytes,7,opt,name=tip,proto3" json:"tip,omitempty"`
	Paymaster   *Address          `protobuf:"bytes,8,opt,name=paymaster,proto3" json:"paymaster,omitempty"`
	NonceDomain string            `protobuf:"bytes,9,opt,name=nonce_domain,json=nonceDomain,proto3" json:"nonce_domain,omitempty"`
	FeeDomain   string            `protobuf:"bytes,10,opt,name=fee_domain,json=feeDomain,proto3" json:"fee_domain,omitempty"`
	Nonce       *Felt252          `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction_InvokeV3) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Transaction_InvokeV3.ProtoReflect.Descriptor instead.

func (*Transaction_InvokeV3) GetCalldata added in v0.7.0

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

func (*Transaction_InvokeV3) GetFeeDomain added in v0.7.0

func (x *Transaction_InvokeV3) GetFeeDomain() string

func (*Transaction_InvokeV3) GetL1Gas added in v0.7.0

func (x *Transaction_InvokeV3) GetL1Gas() *ResourceLimits

func (*Transaction_InvokeV3) GetL2Gas added in v0.7.0

func (x *Transaction_InvokeV3) GetL2Gas() *ResourceLimits

func (*Transaction_InvokeV3) GetMaxFee added in v0.7.0

func (x *Transaction_InvokeV3) GetMaxFee() *Felt252

func (*Transaction_InvokeV3) GetNonce added in v0.10.0

func (x *Transaction_InvokeV3) GetNonce() *Felt252

func (*Transaction_InvokeV3) GetNonceDomain added in v0.7.0

func (x *Transaction_InvokeV3) GetNonceDomain() string

func (*Transaction_InvokeV3) GetPaymaster added in v0.7.0

func (x *Transaction_InvokeV3) GetPaymaster() *Address

func (*Transaction_InvokeV3) GetSender added in v0.7.0

func (x *Transaction_InvokeV3) GetSender() *Address

func (*Transaction_InvokeV3) GetSignature added in v0.7.0

func (x *Transaction_InvokeV3) GetSignature() *AccountSignature

func (*Transaction_InvokeV3) GetTip added in v0.7.0

func (x *Transaction_InvokeV3) GetTip() *Felt252

func (*Transaction_InvokeV3) ProtoMessage added in v0.7.0

func (*Transaction_InvokeV3) ProtoMessage()

func (*Transaction_InvokeV3) ProtoReflect added in v0.7.0

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

func (*Transaction_InvokeV3) Reset added in v0.7.0

func (x *Transaction_InvokeV3) Reset()

func (*Transaction_InvokeV3) String added in v0.7.0

func (x *Transaction_InvokeV3) String() string

type Transaction_InvokeV3_ added in v0.7.0

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_L1HandlerV1 `protobuf:"bytes,11,opt,name=l1_handler,json=l1Handler,proto3,oneof"`
}

type Transaction_L1HandlerV1 added in v0.7.0

type Transaction_L1HandlerV1 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_L1HandlerV1) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Transaction_L1HandlerV1.ProtoReflect.Descriptor instead.

func (*Transaction_L1HandlerV1) GetAddress added in v0.7.0

func (x *Transaction_L1HandlerV1) GetAddress() *Address

func (*Transaction_L1HandlerV1) GetCalldata added in v0.7.0

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

func (*Transaction_L1HandlerV1) GetEntryPointSelector added in v0.7.0

func (x *Transaction_L1HandlerV1) GetEntryPointSelector() *Felt252

func (*Transaction_L1HandlerV1) GetNonce added in v0.7.0

func (x *Transaction_L1HandlerV1) GetNonce() *Felt252

func (*Transaction_L1HandlerV1) ProtoMessage added in v0.7.0

func (*Transaction_L1HandlerV1) ProtoMessage()

func (*Transaction_L1HandlerV1) ProtoReflect added in v0.7.0

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

func (*Transaction_L1HandlerV1) Reset added in v0.7.0

func (x *Transaction_L1HandlerV1) Reset()

func (*Transaction_L1HandlerV1) String added in v0.7.0

func (x *Transaction_L1HandlerV1) String() string

type Transactions

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

can be several in a single reply

func (*Transactions) Descriptor deprecated

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

Deprecated: Use Transactions.ProtoReflect.Descriptor instead.

func (*Transactions) GetItems added in v0.7.0

func (x *Transactions) GetItems() []*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 added in v0.7.0

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

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

Deprecated: Use TransactionsRequest.ProtoReflect.Descriptor instead.

func (*TransactionsRequest) GetIteration added in v0.7.0

func (x *TransactionsRequest) GetIteration() *Iteration

func (*TransactionsRequest) ProtoMessage added in v0.7.0

func (*TransactionsRequest) ProtoMessage()

func (*TransactionsRequest) ProtoReflect added in v0.7.0

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

func (*TransactionsRequest) Reset added in v0.7.0

func (x *TransactionsRequest) Reset()

func (*TransactionsRequest) String added in v0.7.0

func (x *TransactionsRequest) String() string

type TransactionsResponse added in v0.7.0

type TransactionsResponse struct {
	Id *BlockID `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // may not appear if Fin is sent to end the whole response
	// Types that are assignable to Responses:
	//
	//	*TransactionsResponse_Transactions
	//	*TransactionsResponse_Fin
	Responses isTransactionsResponse_Responses `protobuf_oneof:"responses"`
	// contains filtered or unexported fields
}

func (*TransactionsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use TransactionsResponse.ProtoReflect.Descriptor instead.

func (*TransactionsResponse) GetFin added in v0.7.0

func (x *TransactionsResponse) GetFin() *Fin

func (*TransactionsResponse) GetId added in v0.7.0

func (x *TransactionsResponse) GetId() *BlockID

func (*TransactionsResponse) GetResponses added in v0.7.0

func (m *TransactionsResponse) GetResponses() isTransactionsResponse_Responses

func (*TransactionsResponse) GetTransactions added in v0.7.0

func (x *TransactionsResponse) GetTransactions() *Transactions

func (*TransactionsResponse) ProtoMessage added in v0.7.0

func (*TransactionsResponse) ProtoMessage()

func (*TransactionsResponse) ProtoReflect added in v0.7.0

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

func (*TransactionsResponse) Reset added in v0.7.0

func (x *TransactionsResponse) Reset()

func (*TransactionsResponse) String added in v0.7.0

func (x *TransactionsResponse) String() string

type TransactionsResponse_Fin added in v0.7.0

type TransactionsResponse_Fin struct {
	Fin *Fin `protobuf:"bytes,3,opt,name=fin,proto3,oneof"`
}

type TransactionsResponse_Transactions added in v0.7.0

type TransactionsResponse_Transactions struct {
	Transactions *Transactions `protobuf:"bytes,2,opt,name=transactions,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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