Documentation ¶
Index ¶
- Variables
- type AccountSignature
- type Address
- type BlockBodiesRequest
- func (*BlockBodiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockBodiesRequest) GetIteration() *Iteration
- func (*BlockBodiesRequest) ProtoMessage()
- func (x *BlockBodiesRequest) ProtoReflect() protoreflect.Message
- func (x *BlockBodiesRequest) Reset()
- func (x *BlockBodiesRequest) String() string
- type BlockBodiesResponse
- func (*BlockBodiesResponse) Descriptor() ([]byte, []int)deprecated
- func (m *BlockBodiesResponse) GetBodyMessage() isBlockBodiesResponse_BodyMessage
- func (x *BlockBodiesResponse) GetClasses() *Classes
- func (x *BlockBodiesResponse) GetDiff() *StateDiff
- func (x *BlockBodiesResponse) GetFin() *Fin
- func (x *BlockBodiesResponse) GetId() *BlockID
- func (x *BlockBodiesResponse) GetProof() *BlockProof
- func (*BlockBodiesResponse) ProtoMessage()
- func (x *BlockBodiesResponse) ProtoReflect() protoreflect.Message
- func (x *BlockBodiesResponse) Reset()
- func (x *BlockBodiesResponse) String() string
- type BlockBodiesResponse_Classes
- type BlockBodiesResponse_Diff
- type BlockBodiesResponse_Fin
- type BlockBodiesResponse_Proof
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeader) GetEvents() *Merkle
- func (x *BlockHeader) GetNumber() uint64
- func (x *BlockHeader) GetParentHeader() *Hash
- func (x *BlockHeader) GetProofFact() *Hash
- func (x *BlockHeader) GetReceipts() *Merkle
- func (x *BlockHeader) GetSequencerAddress() *Address
- func (x *BlockHeader) GetState() *Patricia
- func (x *BlockHeader) GetStateDiffs() *Merkle
- func (x *BlockHeader) GetTime() *timestamppb.Timestamp
- func (x *BlockHeader) GetTransactions() *Merkle
- func (*BlockHeader) ProtoMessage()
- func (x *BlockHeader) ProtoReflect() protoreflect.Message
- func (x *BlockHeader) Reset()
- func (x *BlockHeader) String() string
- type BlockHeadersRequest
- func (*BlockHeadersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeadersRequest) GetIteration() *Iteration
- func (*BlockHeadersRequest) ProtoMessage()
- func (x *BlockHeadersRequest) ProtoReflect() protoreflect.Message
- func (x *BlockHeadersRequest) Reset()
- func (x *BlockHeadersRequest) String() string
- type BlockHeadersResponse
- func (*BlockHeadersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeadersResponse) GetPart() []*BlockHeadersResponsePart
- func (*BlockHeadersResponse) ProtoMessage()
- func (x *BlockHeadersResponse) ProtoReflect() protoreflect.Message
- func (x *BlockHeadersResponse) Reset()
- func (x *BlockHeadersResponse) String() string
- type BlockHeadersResponsePart
- func (*BlockHeadersResponsePart) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeadersResponsePart) GetFin() *Fin
- func (x *BlockHeadersResponsePart) GetHeader() *BlockHeader
- func (m *BlockHeadersResponsePart) GetHeaderMessage() isBlockHeadersResponsePart_HeaderMessage
- func (x *BlockHeadersResponsePart) GetSignatures() *Signatures
- func (*BlockHeadersResponsePart) ProtoMessage()
- func (x *BlockHeadersResponsePart) ProtoReflect() protoreflect.Message
- func (x *BlockHeadersResponsePart) Reset()
- func (x *BlockHeadersResponsePart) String() string
- type BlockHeadersResponsePart_Fin
- type BlockHeadersResponsePart_Header
- type BlockHeadersResponsePart_Signatures
- type BlockID
- type BlockProof
- type Class
- func (*Class) Descriptor() ([]byte, []int)deprecated
- func (x *Class) GetCompiledHash() *Hash
- func (x *Class) GetDefinition() []byte
- func (x *Class) GetPartNum() uint32
- func (x *Class) GetTotalParts() uint32
- func (*Class) ProtoMessage()
- func (x *Class) ProtoReflect() protoreflect.Message
- func (x *Class) Reset()
- func (x *Class) String() string
- type ClassRangeRequest
- func (*ClassRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClassRangeRequest) GetChunksPerProof() uint32
- func (x *ClassRangeRequest) GetEnd() *Hash
- func (x *ClassRangeRequest) GetRoot() *Hash
- func (x *ClassRangeRequest) GetStart() *Hash
- func (*ClassRangeRequest) ProtoMessage()
- func (x *ClassRangeRequest) ProtoReflect() protoreflect.Message
- func (x *ClassRangeRequest) Reset()
- func (x *ClassRangeRequest) String() string
- type ClassRangeResponse
- func (*ClassRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClassRangeResponse) GetClasses() *Classes
- func (x *ClassRangeResponse) GetClassesRoot() *Hash
- func (x *ClassRangeResponse) GetContractsRoot() *Hash
- func (x *ClassRangeResponse) GetFin() *Fin
- func (m *ClassRangeResponse) GetResponses() isClassRangeResponse_Responses
- func (x *ClassRangeResponse) GetRoot() *Hash
- func (*ClassRangeResponse) ProtoMessage()
- func (x *ClassRangeResponse) ProtoReflect() protoreflect.Message
- func (x *ClassRangeResponse) Reset()
- func (x *ClassRangeResponse) String() string
- type ClassRangeResponse_Classes
- type ClassRangeResponse_Fin
- type Classes
- type ConsensusSignature
- func (*ConsensusSignature) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusSignature) GetR() *Felt252
- func (x *ConsensusSignature) GetS() *Felt252
- func (*ConsensusSignature) ProtoMessage()
- func (x *ConsensusSignature) ProtoReflect() protoreflect.Message
- func (x *ConsensusSignature) Reset()
- func (x *ConsensusSignature) String() string
- type ContractRange
- type ContractRangeRequest
- func (*ContractRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContractRangeRequest) GetChunksPerProof() uint32
- func (x *ContractRangeRequest) GetDomain() uint32
- func (x *ContractRangeRequest) GetEnd() *Address
- func (x *ContractRangeRequest) GetStart() *Address
- func (x *ContractRangeRequest) GetStateRoot() *Hash
- func (*ContractRangeRequest) ProtoMessage()
- func (x *ContractRangeRequest) ProtoReflect() protoreflect.Message
- func (x *ContractRangeRequest) Reset()
- func (x *ContractRangeRequest) String() string
- type ContractRangeResponse
- func (*ContractRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContractRangeResponse) GetClassesRoot() *Hash
- func (x *ContractRangeResponse) GetContractsRoot() *Hash
- func (x *ContractRangeResponse) GetFin() *Fin
- func (x *ContractRangeResponse) GetRange() *ContractRange
- func (m *ContractRangeResponse) GetResponses() isContractRangeResponse_Responses
- func (x *ContractRangeResponse) GetRoot() *Hash
- func (*ContractRangeResponse) ProtoMessage()
- func (x *ContractRangeResponse) ProtoReflect() protoreflect.Message
- func (x *ContractRangeResponse) Reset()
- func (x *ContractRangeResponse) String() string
- type ContractRangeResponse_Fin
- type ContractRangeResponse_Range
- type ContractState
- func (*ContractState) Descriptor() ([]byte, []int)deprecated
- func (x *ContractState) GetAddress() *Address
- func (x *ContractState) GetClass() *Hash
- func (x *ContractState) GetNonce() uint64
- func (x *ContractState) GetStorage() *Hash
- func (*ContractState) ProtoMessage()
- func (x *ContractState) ProtoReflect() protoreflect.Message
- func (x *ContractState) Reset()
- func (x *ContractState) String() string
- type ContractStorage
- func (*ContractStorage) Descriptor() ([]byte, []int)deprecated
- func (x *ContractStorage) GetKeyValue() []*ContractStoredValue
- func (*ContractStorage) ProtoMessage()
- func (x *ContractStorage) ProtoReflect() protoreflect.Message
- func (x *ContractStorage) Reset()
- func (x *ContractStorage) String() string
- type ContractStorageRequest
- func (*ContractStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContractStorageRequest) GetDomain() uint32
- func (x *ContractStorageRequest) GetQuery() []*StorageRangeQuery
- func (x *ContractStorageRequest) GetStateRoot() *Hash
- func (*ContractStorageRequest) ProtoMessage()
- func (x *ContractStorageRequest) ProtoReflect() protoreflect.Message
- func (x *ContractStorageRequest) Reset()
- func (x *ContractStorageRequest) String() string
- type ContractStorageResponse
- func (*ContractStorageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContractStorageResponse) GetFin() *Fin
- func (m *ContractStorageResponse) GetResponses() isContractStorageResponse_Responses
- func (x *ContractStorageResponse) GetStateRoot() *Hash
- func (x *ContractStorageResponse) GetStorage() *ContractStorage
- func (*ContractStorageResponse) ProtoMessage()
- func (x *ContractStorageResponse) ProtoReflect() protoreflect.Message
- func (x *ContractStorageResponse) Reset()
- func (x *ContractStorageResponse) String() string
- type ContractStorageResponse_Fin
- type ContractStorageResponse_Storage
- type ContractStoredValue
- func (*ContractStoredValue) Descriptor() ([]byte, []int)deprecated
- func (x *ContractStoredValue) GetKey() *Felt252
- func (x *ContractStoredValue) GetValue() *Felt252
- func (*ContractStoredValue) ProtoMessage()
- func (x *ContractStoredValue) ProtoReflect() protoreflect.Message
- func (x *ContractStoredValue) Reset()
- func (x *ContractStoredValue) String() string
- type EthereumAddress
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetData() []*Felt252
- func (x *Event) GetFromAddress() *Felt252
- func (x *Event) GetKeys() []*Felt252
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Events
- type EventsRequest
- type EventsResponse
- func (*EventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EventsResponse) GetEvents() *Events
- func (x *EventsResponse) GetFin() *Fin
- func (x *EventsResponse) GetId() *BlockID
- func (m *EventsResponse) GetResponses() isEventsResponse_Responses
- func (*EventsResponse) ProtoMessage()
- func (x *EventsResponse) ProtoReflect() protoreflect.Message
- func (x *EventsResponse) Reset()
- func (x *EventsResponse) String() string
- type EventsResponse_Events
- type EventsResponse_Fin
- type Felt252
- type Fin
- type Fin_Error
- type Hash
- type Hashes
- type Iteration
- func (*Iteration) Descriptor() ([]byte, []int)deprecated
- func (x *Iteration) GetBlockNumber() uint64
- func (x *Iteration) GetDirection() Iteration_Direction
- func (x *Iteration) GetHeader() *Hash
- func (x *Iteration) GetLimit() uint64
- func (m *Iteration) GetStart() isIteration_Start
- func (x *Iteration) GetStep() uint64
- func (*Iteration) ProtoMessage()
- func (x *Iteration) ProtoReflect() protoreflect.Message
- func (x *Iteration) Reset()
- func (x *Iteration) String() string
- type Iteration_BlockNumber
- type Iteration_Direction
- func (Iteration_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x Iteration_Direction) Enum() *Iteration_Direction
- func (Iteration_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x Iteration_Direction) Number() protoreflect.EnumNumber
- func (x Iteration_Direction) String() string
- func (Iteration_Direction) Type() protoreflect.EnumType
- type Iteration_Header
- type Merkle
- type MessageToL1
- func (*MessageToL1) Descriptor() ([]byte, []int)deprecated
- func (x *MessageToL1) GetFromAddress() *Felt252
- func (x *MessageToL1) GetPayload() []*Felt252
- func (x *MessageToL1) GetToAddress() *EthereumAddress
- func (*MessageToL1) ProtoMessage()
- func (x *MessageToL1) ProtoReflect() protoreflect.Message
- func (x *MessageToL1) Reset()
- func (x *MessageToL1) String() string
- type MessageToL2
- func (*MessageToL2) Descriptor() ([]byte, []int)deprecated
- func (x *MessageToL2) GetEntryPointSelector() *Felt252
- func (x *MessageToL2) GetFromAddress() *EthereumAddress
- func (x *MessageToL2) GetNonce() *Felt252
- func (x *MessageToL2) GetPayload() []*Felt252
- func (x *MessageToL2) GetToAddress() *Felt252
- func (*MessageToL2) ProtoMessage()
- func (x *MessageToL2) ProtoReflect() protoreflect.Message
- func (x *MessageToL2) Reset()
- func (x *MessageToL2) String() string
- type NewBlock
- func (*NewBlock) Descriptor() ([]byte, []int)deprecated
- func (x *NewBlock) GetBody() *BlockBodiesResponse
- func (x *NewBlock) GetHeader() *BlockHeadersResponse
- func (x *NewBlock) GetId() *BlockID
- func (m *NewBlock) GetMaybeFull() isNewBlock_MaybeFull
- func (*NewBlock) ProtoMessage()
- func (x *NewBlock) ProtoReflect() protoreflect.Message
- func (x *NewBlock) Reset()
- func (x *NewBlock) String() string
- type NewBlock_Body
- type NewBlock_Header
- type NewBlock_Id
- type Patricia
- type PatriciaNode
- func (*PatriciaNode) Descriptor() ([]byte, []int)deprecated
- func (x *PatriciaNode) GetBinary() *PatriciaNode_Binary
- func (x *PatriciaNode) GetEdge() *PatriciaNode_Edge
- func (m *PatriciaNode) GetNode() isPatriciaNode_Node
- func (*PatriciaNode) ProtoMessage()
- func (x *PatriciaNode) ProtoReflect() protoreflect.Message
- func (x *PatriciaNode) Reset()
- func (x *PatriciaNode) String() string
- type PatriciaNode_Binary
- func (*PatriciaNode_Binary) Descriptor() ([]byte, []int)deprecated
- func (x *PatriciaNode_Binary) GetLeft() *Felt252
- func (x *PatriciaNode_Binary) GetRight() *Felt252
- func (*PatriciaNode_Binary) ProtoMessage()
- func (x *PatriciaNode_Binary) ProtoReflect() protoreflect.Message
- func (x *PatriciaNode_Binary) Reset()
- func (x *PatriciaNode_Binary) String() string
- type PatriciaNode_Binary_
- type PatriciaNode_Edge
- func (*PatriciaNode_Edge) Descriptor() ([]byte, []int)deprecated
- func (x *PatriciaNode_Edge) GetLength() uint32
- func (x *PatriciaNode_Edge) GetPath() *Felt252
- func (x *PatriciaNode_Edge) GetValue() *Felt252
- func (*PatriciaNode_Edge) ProtoMessage()
- func (x *PatriciaNode_Edge) ProtoReflect() protoreflect.Message
- func (x *PatriciaNode_Edge) Reset()
- func (x *PatriciaNode_Edge) String() string
- type PatriciaNode_Edge_
- type PatriciaRangeProof
- func (*PatriciaRangeProof) Descriptor() ([]byte, []int)deprecated
- func (x *PatriciaRangeProof) GetNodes() []*PatriciaNode
- func (*PatriciaRangeProof) ProtoMessage()
- func (x *PatriciaRangeProof) ProtoReflect() protoreflect.Message
- func (x *PatriciaRangeProof) Reset()
- func (x *PatriciaRangeProof) String() string
- type PeerID
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt) GetDeclare() *Receipt_Declare
- func (x *Receipt) GetDeployAccount() *Receipt_DeployAccount
- func (x *Receipt) GetDeprecatedDeploy() *Receipt_Deploy
- func (x *Receipt) GetInvoke() *Receipt_Invoke
- func (x *Receipt) GetL1Handler() *Receipt_L1Handler
- func (m *Receipt) GetReceipt() isReceipt_Receipt
- func (*Receipt) ProtoMessage()
- func (x *Receipt) ProtoReflect() protoreflect.Message
- func (x *Receipt) Reset()
- func (x *Receipt) String() string
- type Receipt_Common
- func (*Receipt_Common) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt_Common) GetActualFee() *Felt252
- func (x *Receipt_Common) GetExecutionResources() *Receipt_ExecutionResources
- func (x *Receipt_Common) GetMessagesSent() []*MessageToL1
- func (x *Receipt_Common) GetRevertReason() string
- func (x *Receipt_Common) GetTransactionHash() *Hash
- func (*Receipt_Common) ProtoMessage()
- func (x *Receipt_Common) ProtoReflect() protoreflect.Message
- func (x *Receipt_Common) Reset()
- func (x *Receipt_Common) String() string
- type Receipt_Declare
- type Receipt_Declare_
- type Receipt_Deploy
- func (*Receipt_Deploy) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt_Deploy) GetCommon() *Receipt_Common
- func (x *Receipt_Deploy) GetContractAddress() *Felt252
- func (*Receipt_Deploy) ProtoMessage()
- func (x *Receipt_Deploy) ProtoReflect() protoreflect.Message
- func (x *Receipt_Deploy) Reset()
- func (x *Receipt_Deploy) String() string
- type Receipt_DeployAccount
- func (*Receipt_DeployAccount) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt_DeployAccount) GetCommon() *Receipt_Common
- func (x *Receipt_DeployAccount) GetContractAddress() *Felt252
- func (*Receipt_DeployAccount) ProtoMessage()
- func (x *Receipt_DeployAccount) ProtoReflect() protoreflect.Message
- func (x *Receipt_DeployAccount) Reset()
- func (x *Receipt_DeployAccount) String() string
- type Receipt_DeployAccount_
- type Receipt_DeprecatedDeploy
- type Receipt_ExecutionResources
- func (*Receipt_ExecutionResources) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt_ExecutionResources) GetBuiltins() *Receipt_ExecutionResources_BuiltinCounter
- func (x *Receipt_ExecutionResources) GetMemoryHoles() uint32
- func (x *Receipt_ExecutionResources) GetSteps() uint32
- func (*Receipt_ExecutionResources) ProtoMessage()
- func (x *Receipt_ExecutionResources) ProtoReflect() protoreflect.Message
- func (x *Receipt_ExecutionResources) Reset()
- func (x *Receipt_ExecutionResources) String() string
- type Receipt_ExecutionResources_BuiltinCounter
- func (*Receipt_ExecutionResources_BuiltinCounter) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetBitwise() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetEcOp() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetEcdsa() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetKeccak() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetPedersen() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetPoseidon() uint32
- func (x *Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck() uint32
- func (*Receipt_ExecutionResources_BuiltinCounter) ProtoMessage()
- func (x *Receipt_ExecutionResources_BuiltinCounter) ProtoReflect() protoreflect.Message
- func (x *Receipt_ExecutionResources_BuiltinCounter) Reset()
- func (x *Receipt_ExecutionResources_BuiltinCounter) String() string
- type Receipt_Invoke
- type Receipt_Invoke_
- type Receipt_L1Handler
- func (*Receipt_L1Handler) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt_L1Handler) GetCommon() *Receipt_Common
- func (x *Receipt_L1Handler) GetMsgHash() *Hash
- func (*Receipt_L1Handler) ProtoMessage()
- func (x *Receipt_L1Handler) ProtoReflect() protoreflect.Message
- func (x *Receipt_L1Handler) Reset()
- func (x *Receipt_L1Handler) String() string
- type Receipt_L1Handler_
- type Receipts
- type ReceiptsRequest
- type ReceiptsResponse
- func (*ReceiptsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptsResponse) GetFin() *Fin
- func (x *ReceiptsResponse) GetId() *BlockID
- func (x *ReceiptsResponse) GetReceipts() *Receipts
- func (m *ReceiptsResponse) GetResponses() isReceiptsResponse_Responses
- func (*ReceiptsResponse) ProtoMessage()
- func (x *ReceiptsResponse) ProtoReflect() protoreflect.Message
- func (x *ReceiptsResponse) Reset()
- func (x *ReceiptsResponse) String() string
- type ReceiptsResponse_Fin
- type ReceiptsResponse_Receipts
- type ResourceLimits
- func (*ResourceLimits) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceLimits) GetMaxAmount() *Felt252
- func (x *ResourceLimits) GetMaxPricePerUnit() *Felt252
- func (*ResourceLimits) ProtoMessage()
- func (x *ResourceLimits) ProtoReflect() protoreflect.Message
- func (x *ResourceLimits) Reset()
- func (x *ResourceLimits) String() string
- type Signatures
- func (*Signatures) Descriptor() ([]byte, []int)deprecated
- func (x *Signatures) GetBlock() *BlockID
- func (x *Signatures) GetSignatures() []*ConsensusSignature
- func (*Signatures) ProtoMessage()
- func (x *Signatures) ProtoReflect() protoreflect.Message
- func (x *Signatures) Reset()
- func (x *Signatures) String() string
- type StateDiff
- func (*StateDiff) Descriptor() ([]byte, []int)deprecated
- func (x *StateDiff) GetContractDiffs() []*StateDiff_ContractDiff
- func (x *StateDiff) GetDomain() uint32
- func (*StateDiff) ProtoMessage()
- func (x *StateDiff) ProtoReflect() protoreflect.Message
- func (x *StateDiff) Reset()
- func (x *StateDiff) String() string
- type StateDiff_ContractDiff
- func (*StateDiff_ContractDiff) Descriptor() ([]byte, []int)deprecated
- func (x *StateDiff_ContractDiff) GetAddress() *Address
- func (x *StateDiff_ContractDiff) GetClassHash() *Felt252
- func (x *StateDiff_ContractDiff) GetNonce() *Felt252
- func (x *StateDiff_ContractDiff) GetValues() []*ContractStoredValue
- func (*StateDiff_ContractDiff) ProtoMessage()
- func (x *StateDiff_ContractDiff) ProtoReflect() protoreflect.Message
- func (x *StateDiff_ContractDiff) Reset()
- func (x *StateDiff_ContractDiff) String() string
- type StorageLeafQuery
- func (*StorageLeafQuery) Descriptor() ([]byte, []int)deprecated
- func (x *StorageLeafQuery) GetContractStorageRoot() *Hash
- func (x *StorageLeafQuery) GetKey() *Felt252
- func (*StorageLeafQuery) ProtoMessage()
- func (x *StorageLeafQuery) ProtoReflect() protoreflect.Message
- func (x *StorageLeafQuery) Reset()
- func (x *StorageLeafQuery) String() string
- type StorageRangeQuery
- func (*StorageRangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *StorageRangeQuery) GetEnd() *StorageLeafQuery
- func (x *StorageRangeQuery) GetStart() *StorageLeafQuery
- func (*StorageRangeQuery) ProtoMessage()
- func (x *StorageRangeQuery) ProtoReflect() protoreflect.Message
- func (x *StorageRangeQuery) Reset()
- func (x *StorageRangeQuery) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetDeclareV0() *Transaction_DeclareV0
- func (x *Transaction) GetDeclareV1() *Transaction_DeclareV1
- func (x *Transaction) GetDeclareV2() *Transaction_DeclareV2
- func (x *Transaction) GetDeclareV3() *Transaction_DeclareV3
- func (x *Transaction) GetDeploy() *Transaction_Deploy
- func (x *Transaction) GetDeployAccountV1() *Transaction_DeployAccountV1
- func (x *Transaction) GetDeployAccountV3() *Transaction_DeployAccountV3
- func (x *Transaction) GetInvokeV0() *Transaction_InvokeV0
- func (x *Transaction) GetInvokeV1() *Transaction_InvokeV1
- func (x *Transaction) GetInvokeV3() *Transaction_InvokeV3
- func (x *Transaction) GetL1Handler() *Transaction_L1HandlerV1
- func (m *Transaction) GetTxn() isTransaction_Txn
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type Transaction_DeclareV0
- func (*Transaction_DeclareV0) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_DeclareV0) GetClassHash() *Hash
- func (x *Transaction_DeclareV0) GetMaxFee() *Felt252
- func (x *Transaction_DeclareV0) GetSender() *Address
- func (x *Transaction_DeclareV0) GetSignature() *AccountSignature
- func (*Transaction_DeclareV0) ProtoMessage()
- func (x *Transaction_DeclareV0) ProtoReflect() protoreflect.Message
- func (x *Transaction_DeclareV0) Reset()
- func (x *Transaction_DeclareV0) String() string
- type Transaction_DeclareV0_
- type Transaction_DeclareV1
- func (*Transaction_DeclareV1) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_DeclareV1) GetClassHash() *Hash
- func (x *Transaction_DeclareV1) GetMaxFee() *Felt252
- func (x *Transaction_DeclareV1) GetNonce() *Felt252
- func (x *Transaction_DeclareV1) GetSender() *Address
- func (x *Transaction_DeclareV1) GetSignature() *AccountSignature
- func (*Transaction_DeclareV1) ProtoMessage()
- func (x *Transaction_DeclareV1) ProtoReflect() protoreflect.Message
- func (x *Transaction_DeclareV1) Reset()
- func (x *Transaction_DeclareV1) String() string
- type Transaction_DeclareV1_
- type Transaction_DeclareV2
- func (*Transaction_DeclareV2) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_DeclareV2) GetClassHash() *Hash
- func (x *Transaction_DeclareV2) GetCompiledClassHash() *Felt252
- func (x *Transaction_DeclareV2) GetMaxFee() *Felt252
- func (x *Transaction_DeclareV2) GetNonce() *Felt252
- func (x *Transaction_DeclareV2) GetSender() *Address
- func (x *Transaction_DeclareV2) GetSignature() *AccountSignature
- func (*Transaction_DeclareV2) ProtoMessage()
- func (x *Transaction_DeclareV2) ProtoReflect() protoreflect.Message
- func (x *Transaction_DeclareV2) Reset()
- func (x *Transaction_DeclareV2) String() string
- type Transaction_DeclareV2_
- type Transaction_DeclareV3
- func (*Transaction_DeclareV3) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_DeclareV3) GetClassHash() *Hash
- func (x *Transaction_DeclareV3) GetCompiledClassHash() *Felt252
- func (x *Transaction_DeclareV3) GetFeeDomain() string
- func (x *Transaction_DeclareV3) GetL1Gas() *ResourceLimits
- func (x *Transaction_DeclareV3) GetL2Gas() *ResourceLimits
- func (x *Transaction_DeclareV3) GetMaxFee() *Felt252
- func (x *Transaction_DeclareV3) GetNonce() *Felt252
- func (x *Transaction_DeclareV3) GetNonceDomain() string
- func (x *Transaction_DeclareV3) GetPaymaster() *Address
- func (x *Transaction_DeclareV3) GetSender() *Address
- func (x *Transaction_DeclareV3) GetSignature() *AccountSignature
- func (x *Transaction_DeclareV3) GetTip() *Felt252
- func (*Transaction_DeclareV3) ProtoMessage()
- func (x *Transaction_DeclareV3) ProtoReflect() protoreflect.Message
- func (x *Transaction_DeclareV3) Reset()
- func (x *Transaction_DeclareV3) String() string
- type Transaction_DeclareV3_
- type Transaction_Deploy
- func (*Transaction_Deploy) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Deploy) GetAddressSalt() *Felt252
- func (x *Transaction_Deploy) GetCalldata() []*Felt252
- func (x *Transaction_Deploy) GetClassHash() *Hash
- func (*Transaction_Deploy) ProtoMessage()
- func (x *Transaction_Deploy) ProtoReflect() protoreflect.Message
- func (x *Transaction_Deploy) Reset()
- func (x *Transaction_Deploy) String() string
- type Transaction_DeployAccountV1
- func (*Transaction_DeployAccountV1) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_DeployAccountV1) GetAddressSalt() *Felt252
- func (x *Transaction_DeployAccountV1) GetCalldata() []*Felt252
- func (x *Transaction_DeployAccountV1) GetClassHash() *Hash
- func (x *Transaction_DeployAccountV1) GetMaxFee() *Felt252
- func (x *Transaction_DeployAccountV1) GetNonce() *Felt252
- func (x *Transaction_DeployAccountV1) GetSignature() *AccountSignature
- func (*Transaction_DeployAccountV1) ProtoMessage()
- func (x *Transaction_DeployAccountV1) ProtoReflect() protoreflect.Message
- func (x *Transaction_DeployAccountV1) Reset()
- func (x *Transaction_DeployAccountV1) String() string
- type Transaction_DeployAccountV1_
- type Transaction_DeployAccountV3
- func (*Transaction_DeployAccountV3) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_DeployAccountV3) GetAddressSalt() *Felt252
- func (x *Transaction_DeployAccountV3) GetCalldata() []*Felt252
- func (x *Transaction_DeployAccountV3) GetClassHash() *Hash
- func (x *Transaction_DeployAccountV3) GetFeeDomain() string
- func (x *Transaction_DeployAccountV3) GetL1Gas() *ResourceLimits
- func (x *Transaction_DeployAccountV3) GetL2Gas() *ResourceLimits
- func (x *Transaction_DeployAccountV3) GetMaxFee() *Felt252
- func (x *Transaction_DeployAccountV3) GetNonce() *Felt252
- func (x *Transaction_DeployAccountV3) GetNonceDomain() string
- func (x *Transaction_DeployAccountV3) GetPaymaster() *Address
- func (x *Transaction_DeployAccountV3) GetSignature() *AccountSignature
- func (x *Transaction_DeployAccountV3) GetTip() *Felt252
- func (*Transaction_DeployAccountV3) ProtoMessage()
- func (x *Transaction_DeployAccountV3) ProtoReflect() protoreflect.Message
- func (x *Transaction_DeployAccountV3) Reset()
- func (x *Transaction_DeployAccountV3) String() string
- type Transaction_DeployAccountV3_
- type Transaction_Deploy_
- type Transaction_InvokeV0
- func (*Transaction_InvokeV0) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_InvokeV0) GetAddress() *Address
- func (x *Transaction_InvokeV0) GetCalldata() []*Felt252
- func (x *Transaction_InvokeV0) GetEntryPointSelector() *Felt252
- func (x *Transaction_InvokeV0) GetMaxFee() *Felt252
- func (x *Transaction_InvokeV0) GetSignature() *AccountSignature
- func (*Transaction_InvokeV0) ProtoMessage()
- func (x *Transaction_InvokeV0) ProtoReflect() protoreflect.Message
- func (x *Transaction_InvokeV0) Reset()
- func (x *Transaction_InvokeV0) String() string
- type Transaction_InvokeV0_
- type Transaction_InvokeV1
- func (*Transaction_InvokeV1) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_InvokeV1) GetCalldata() []*Felt252
- func (x *Transaction_InvokeV1) GetClassHash() *Hash
- func (x *Transaction_InvokeV1) GetMaxFee() *Felt252
- func (x *Transaction_InvokeV1) GetSender() *Address
- func (x *Transaction_InvokeV1) GetSignature() *AccountSignature
- func (*Transaction_InvokeV1) ProtoMessage()
- func (x *Transaction_InvokeV1) ProtoReflect() protoreflect.Message
- func (x *Transaction_InvokeV1) Reset()
- func (x *Transaction_InvokeV1) String() string
- type Transaction_InvokeV1_
- type Transaction_InvokeV3
- func (*Transaction_InvokeV3) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_InvokeV3) GetCalldata() []*Felt252
- func (x *Transaction_InvokeV3) GetClassHash() *Hash
- func (x *Transaction_InvokeV3) GetFeeDomain() string
- func (x *Transaction_InvokeV3) GetL1Gas() *ResourceLimits
- func (x *Transaction_InvokeV3) GetL2Gas() *ResourceLimits
- func (x *Transaction_InvokeV3) GetMaxFee() *Felt252
- func (x *Transaction_InvokeV3) GetNonceDomain() string
- func (x *Transaction_InvokeV3) GetPaymaster() *Address
- func (x *Transaction_InvokeV3) GetSender() *Address
- func (x *Transaction_InvokeV3) GetSignature() *AccountSignature
- func (x *Transaction_InvokeV3) GetTip() *Felt252
- func (*Transaction_InvokeV3) ProtoMessage()
- func (x *Transaction_InvokeV3) ProtoReflect() protoreflect.Message
- func (x *Transaction_InvokeV3) Reset()
- func (x *Transaction_InvokeV3) String() string
- type Transaction_InvokeV3_
- type Transaction_L1Handler
- type Transaction_L1HandlerV1
- func (*Transaction_L1HandlerV1) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_L1HandlerV1) GetAddress() *Address
- func (x *Transaction_L1HandlerV1) GetCalldata() []*Felt252
- func (x *Transaction_L1HandlerV1) GetEntryPointSelector() *Felt252
- func (x *Transaction_L1HandlerV1) GetNonce() *Felt252
- func (*Transaction_L1HandlerV1) ProtoMessage()
- func (x *Transaction_L1HandlerV1) ProtoReflect() protoreflect.Message
- func (x *Transaction_L1HandlerV1) Reset()
- func (x *Transaction_L1HandlerV1) String() string
- type Transactions
- type TransactionsRequest
- func (*TransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsRequest) GetIteration() *Iteration
- func (*TransactionsRequest) ProtoMessage()
- func (x *TransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionsRequest) Reset()
- func (x *TransactionsRequest) String() string
- type TransactionsResponse
- func (*TransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsResponse) GetFin() *Fin
- func (x *TransactionsResponse) GetId() *BlockID
- func (m *TransactionsResponse) GetResponses() isTransactionsResponse_Responses
- func (x *TransactionsResponse) GetTransactions() *Transactions
- func (*TransactionsResponse) ProtoMessage()
- func (x *TransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionsResponse) Reset()
- func (x *TransactionsResponse) String() string
- type TransactionsResponse_Fin
- type TransactionsResponse_Transactions
Constants ¶
This section is empty.
Variables ¶
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.
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.
var File_p2p_proto_block_proto protoreflect.FileDescriptor
var File_p2p_proto_common_proto protoreflect.FileDescriptor
var File_p2p_proto_event_proto protoreflect.FileDescriptor
var File_p2p_proto_receipt_proto protoreflect.FileDescriptor
var File_p2p_proto_snapshot_proto protoreflect.FileDescriptor
var File_p2p_proto_state_proto protoreflect.FileDescriptor
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) GetElements ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
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 { ParentHeader *Hash `protobuf:"bytes,1,opt,name=parent_header,json=parentHeader,proto3" json:"parent_header,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. // 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) GetNumber ¶ added in v0.7.0
func (x *BlockHeader) GetNumber() uint64
func (*BlockHeader) GetParentHeader ¶ added in v0.7.0
func (x *BlockHeader) GetParentHeader() *Hash
func (*BlockHeader) GetProofFact ¶
func (x *BlockHeader) GetProofFact() *Hash
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 (x *BlockHeadersResponse) GetPart() []*BlockHeadersResponsePart
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) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) ProtoReflect ¶
func (x *BlockID) ProtoReflect() protoreflect.Message
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 Class ¶
type Class struct { CompiledHash *Hash `protobuf:"bytes,2,opt,name=compiled_hash,json=compiledHash,proto3" json:"compiled_hash,omitempty"` // TBD: add also/instead CASM definition (instead of every node compiling)? Definition []byte `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` // compressed? size limit or split to chunks. TotalParts *uint32 `protobuf:"varint,4,opt,name=total_parts,json=totalParts,proto3,oneof" json:"total_parts,omitempty"` // if a class is too large to be sent in one message PartNum *uint32 `protobuf:"varint,5,opt,name=part_num,json=partNum,proto3,oneof" json:"part_num,omitempty"` // 0 based // 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) GetCompiledHash ¶
func (*Class) GetDefinition ¶
func (*Class) GetPartNum ¶ added in v0.7.0
func (*Class) GetTotalParts ¶ added in v0.7.0
func (*Class) ProtoMessage ¶
func (*Class) ProtoMessage()
func (*Class) ProtoReflect ¶
func (x *Class) ProtoReflect() protoreflect.Message
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 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) GetClasses ¶
func (*Classes) ProtoMessage ¶
func (*Classes) ProtoMessage()
func (*Classes) ProtoReflect ¶
func (x *Classes) ProtoReflect() protoreflect.Message
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 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 { FromAddress *Felt252 `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` Keys []*Felt252 `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` Data []*Felt252 `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetFromAddress ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Events) ProtoMessage()
func (*Events) ProtoReflect ¶
func (x *Events) ProtoReflect() protoreflect.Message
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) GetElements ¶
func (*Felt252) ProtoMessage ¶
func (*Felt252) ProtoMessage()
func (*Felt252) ProtoReflect ¶
func (x *Felt252) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶ added in v0.7.0
func (*Fin) ProtoMessage()
func (*Fin) ProtoReflect ¶ added in v0.7.0
func (x *Fin) ProtoReflect() protoreflect.Message
type Fin_Error ¶ added in v0.7.0
type Fin_Error int32
func (Fin_Error) Descriptor ¶ added in v0.7.0
func (Fin_Error) Descriptor() protoreflect.EnumDescriptor
func (Fin_Error) EnumDescriptor
deprecated
added in
v0.7.0
func (Fin_Error) Number ¶ added in v0.7.0
func (x Fin_Error) Number() protoreflect.EnumNumber
func (Fin_Error) Type ¶ added in v0.7.0
func (Fin_Error) Type() protoreflect.EnumType
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) GetElements ¶
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶
func (x *Hash) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶ added in v0.7.0
func (*Hashes) ProtoMessage()
func (*Hashes) ProtoReflect ¶ added in v0.7.0
func (x *Hashes) ProtoReflect() protoreflect.Message
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) GetBlockNumber ¶ added in v0.7.0
func (*Iteration) GetDirection ¶ added in v0.7.0
func (x *Iteration) GetDirection() Iteration_Direction
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
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) Descriptor() protoreflect.EnumDescriptor
func (Iteration_Direction) Enum ¶ added in v0.7.0
func (x Iteration_Direction) Enum() *Iteration_Direction
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 (x Iteration_Direction) Number() protoreflect.EnumNumber
func (Iteration_Direction) String ¶ added in v0.7.0
func (x Iteration_Direction) String() string
func (Iteration_Direction) Type ¶ added in v0.7.0
func (Iteration_Direction) Type() protoreflect.EnumType
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) GetNLeaves ¶
func (*Merkle) ProtoMessage ¶
func (*Merkle) ProtoMessage()
func (*Merkle) ProtoReflect ¶
func (x *Merkle) ProtoReflect() protoreflect.Message
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) 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) 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
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) ProtoMessage ¶ added in v0.7.0
func (*Patricia) ProtoMessage()
func (*Patricia) ProtoReflect ¶ added in v0.7.0
func (x *Patricia) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*PeerID) ProtoMessage()
func (*PeerID) ProtoReflect ¶
func (x *PeerID) ProtoReflect() protoreflect.Message
type Receipt ¶
type Receipt struct { // Types that are assignable to Receipt: // // *Receipt_Invoke_ // *Receipt_L1Handler_ // *Receipt_Declare_ // *Receipt_DeprecatedDeploy // *Receipt_DeployAccount_ Receipt isReceipt_Receipt `protobuf_oneof:"receipt"` // contains filtered or unexported fields }
func (*Receipt) Descriptor
deprecated
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) GetReceipt ¶
func (m *Receipt) GetReceipt() isReceipt_Receipt
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶
func (x *Receipt) ProtoReflect() protoreflect.Message
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"` // 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) 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 (x *Receipt_ExecutionResources) GetBuiltins() *Receipt_ExecutionResources_BuiltinCounter
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 (x *Receipt_ExecutionResources) ProtoReflect() protoreflect.Message
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"` // 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 (x *Receipt_ExecutionResources_BuiltinCounter) GetBitwise() uint32
func (*Receipt_ExecutionResources_BuiltinCounter) GetEcOp ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) GetEcOp() uint32
func (*Receipt_ExecutionResources_BuiltinCounter) GetEcdsa ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) GetEcdsa() uint32
func (*Receipt_ExecutionResources_BuiltinCounter) GetKeccak ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) GetKeccak() uint32
func (*Receipt_ExecutionResources_BuiltinCounter) GetPedersen ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) GetPedersen() uint32
func (*Receipt_ExecutionResources_BuiltinCounter) GetPoseidon ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) GetPoseidon() uint32
func (*Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) GetRangeCheck() uint32
func (*Receipt_ExecutionResources_BuiltinCounter) ProtoMessage ¶ added in v0.7.0
func (*Receipt_ExecutionResources_BuiltinCounter) ProtoMessage()
func (*Receipt_ExecutionResources_BuiltinCounter) ProtoReflect ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) ProtoReflect() protoreflect.Message
func (*Receipt_ExecutionResources_BuiltinCounter) Reset ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) Reset()
func (*Receipt_ExecutionResources_BuiltinCounter) String ¶ added in v0.7.0
func (x *Receipt_ExecutionResources_BuiltinCounter) String() string
type Receipt_Invoke ¶
type Receipt_Invoke struct { Common *Receipt_Common `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` // contains filtered or unexported fields }
func (*Receipt_Invoke) Descriptor
deprecated
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) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) ProtoReflect ¶
func (x *Receipts) ProtoReflect() protoreflect.Message
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 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"` // contains filtered or unexported fields }
func (*StateDiff) Descriptor
deprecated
func (*StateDiff) GetContractDiffs ¶
func (x *StateDiff) GetContractDiffs() []*StateDiff_ContractDiff
func (*StateDiff) ProtoMessage ¶
func (*StateDiff) ProtoMessage()
func (*StateDiff) ProtoReflect ¶
func (x *StateDiff) ProtoReflect() protoreflect.Message
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 (x *Transaction_DeployAccountV1) ProtoReflect() protoreflect.Message
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 (x *Transaction_DeployAccountV3) GetL1Gas() *ResourceLimits
func (*Transaction_DeployAccountV3) GetL2Gas ¶ added in v0.7.0
func (x *Transaction_DeployAccountV3) GetL2Gas() *ResourceLimits
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 (x *Transaction_DeployAccountV3) ProtoReflect() protoreflect.Message
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"` ClassHash *Hash `protobuf:"bytes,4,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"` Calldata []*Felt252 `protobuf:"bytes,5,rep,name=calldata,proto3" json:"calldata,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) GetClassHash ¶ added in v0.7.0
func (x *Transaction_InvokeV1) GetClassHash() *Hash
func (*Transaction_InvokeV1) GetMaxFee ¶ added in v0.7.0
func (x *Transaction_InvokeV1) GetMaxFee() *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"` ClassHash *Hash `protobuf:"bytes,4,opt,name=class_hash,json=classHash,proto3" json:"class_hash,omitempty"` Calldata []*Felt252 `protobuf:"bytes,5,rep,name=calldata,proto3" json:"calldata,omitempty"` L1Gas *ResourceLimits `protobuf:"bytes,6,opt,name=l1_gas,json=l1Gas,proto3" json:"l1_gas,omitempty"` L2Gas *ResourceLimits `protobuf:"bytes,7,opt,name=l2_gas,json=l2Gas,proto3" json:"l2_gas,omitempty"` Tip *Felt252 `protobuf:"bytes,8,opt,name=tip,proto3" json:"tip,omitempty"` Paymaster *Address `protobuf:"bytes,9,opt,name=paymaster,proto3" json:"paymaster,omitempty"` NonceDomain string `protobuf:"bytes,10,opt,name=nonce_domain,json=nonceDomain,proto3" json:"nonce_domain,omitempty"` FeeDomain string `protobuf:"bytes,11,opt,name=fee_domain,json=feeDomain,proto3" json:"fee_domain,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) GetClassHash ¶ added in v0.7.0
func (x *Transaction_InvokeV3) GetClassHash() *Hash
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) 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,5,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,2,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"`
}